/* ===========================
   Reset & Base Styles
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --deep-blue: #0a0e27;
    --dark-purple: #1a1247;
    --purple: #4a3f8f;
    --light-blue: #6dd5ed;
    --accent-blue: #2193b0;
    --glow-color: #6dd5ed;
    --text-light: #e8f0ff;
    --text-gray: #a8b9d6;
    
    /* Typography */
    --font-main: 'Poppins', sans-serif;
    
    /* Spacing */
    --section-padding: 120px 20px;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: linear-gradient(180deg, var(--deep-blue) 0%, var(--dark-purple) 50%, #0d0421 100%);
    color: var(--text-light);
    overflow-x: hidden;
    min-height: 100vh;
}

/* ===========================
   Particle Background
   =========================== */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* ===========================
   Sound Toggle
   =========================== */
.sound-toggle {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 1000;
    background: rgba(109, 213, 237, 0.1);
    border: 2px solid rgba(109, 213, 237, 0.3);
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.sound-toggle:hover {
    background: rgba(109, 213, 237, 0.2);
    border-color: rgba(109, 213, 237, 0.5);
    transform: scale(1.1);
}

.sound-toggle svg {
    color: var(--light-blue);
}

/* ===========================
   Hero Section
   =========================== */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 2;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 14, 39, 0.7) 0%, rgba(26, 18, 71, 0.9) 100%);
}

.hero-content {
    text-align: center;
    z-index: 10;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(3rem, 12vw, 8rem);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease-out;
}

.glow-text {
    color: var(--text-light);
    text-shadow: 
        0 0 10px rgba(109, 213, 237, 0.5),
        0 0 20px rgba(109, 213, 237, 0.3),
        0 0 30px rgba(109, 213, 237, 0.2);
    animation: breatheGlow 3s ease-in-out infinite;
}

@keyframes breatheGlow {
    0%, 100% {
        text-shadow: 
            0 0 10px rgba(109, 213, 237, 0.5),
            0 0 20px rgba(109, 213, 237, 0.3),
            0 0 30px rgba(109, 213, 237, 0.2);
    }
    50% {
        text-shadow: 
            0 0 20px rgba(109, 213, 237, 0.8),
            0 0 30px rgba(109, 213, 237, 0.5),
            0 0 40px rgba(109, 213, 237, 0.3);
    }
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.btn {
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn span {
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--light-blue) 100%);
    color: white;
    border: none;
    box-shadow: 0 10px 30px rgba(109, 213, 237, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(109, 213, 237, 0.5);
    animation: vibrate 0.3s ease-in-out;
}

.btn-secondary {
    background: rgba(109, 213, 237, 0.1);
    color: var(--light-blue);
    border: 2px solid var(--light-blue);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(109, 213, 237, 0.2);
    transform: translateY(-3px);
    animation: vibrate 0.3s ease-in-out;
}

.btn-outline {
    background: transparent;
    color: var(--light-blue);
    border: 2px solid var(--light-blue);
}

.btn-outline:hover {
    background: rgba(109, 213, 237, 0.1);
    transform: translateY(-3px);
}

@keyframes vibrate {
    0%, 100% { transform: translateY(-3px) translateX(0); }
    25% { transform: translateY(-3px) translateX(-2px); }
    75% { transform: translateY(-3px) translateX(2px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid var(--light-blue);
    border-radius: 25px;
    position: relative;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--light-blue);
    border-radius: 50%;
    animation: scrollDot 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes scrollDot {
    0% { top: 10px; opacity: 1; }
    100% { top: 30px; opacity: 0; }
}

/* ===========================
   Sections Base
   =========================== */
section {
    position: relative;
    z-index: 2;
    padding: var(--section-padding);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    text-align: center;
    margin-bottom: 80px;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===========================
   Trailer Section
   =========================== */
.trailer-section {
    background: radial-gradient(ellipse at center, rgba(74, 63, 143, 0.2) 0%, transparent 70%);
}

.stars-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, white, transparent);
    background-size: 200% 200%;
    animation: starsMove 100s linear infinite;
    opacity: 0.3;
    z-index: -1;
}

@keyframes starsMove {
    0% { background-position: 0 0, 0 0, 0 0, 0 0, 0 0; }
    100% { background-position: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%; }
}

.trailer-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(109, 213, 237, 0.3);
    border: 2px solid rgba(109, 213, 237, 0.2);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

.trailer-caption {
    text-align: center;
    margin-top: 30px;
    font-size: 1.5rem;
    color: var(--text-gray);
    font-style: italic;
}

/* ===========================
   About Section
   =========================== */
.about-section {
    background: linear-gradient(180deg, transparent 0%, rgba(26, 18, 71, 0.3) 100%);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.about-content .features-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
}


.features-icons {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.feature-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
}

.feature-icon:hover {
    transform: translateY(-5px);
}

.feature-icon svg {
    color: var(--light-blue);
    filter: drop-shadow(0 0 10px rgba(109, 213, 237, 0.5));
}

.feature-icon span {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* ===========================
   Features Section
   =========================== */
.features-section {
    background: linear-gradient(180deg, transparent 0%, rgba(13, 4, 33, 0.5) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-card {
    background: rgba(74, 63, 143, 0.1);
    border: 2px solid rgba(109, 213, 237, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(109, 213, 237, 0.5);
    background: rgba(74, 63, 143, 0.2);
}

.feature-icon-large {
    font-size: 4rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px rgba(109, 213, 237, 0.5));
}

.feature-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--light-blue);
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* ===========================
   Developer Section
   =========================== */
.developer-section {
    text-align: center;
    background: radial-gradient(ellipse at center, rgba(26, 18, 71, 0.4) 0%, transparent 70%);
}

.developer-description {
    max-width: 700px;
    margin: 0 auto 60px;
    font-size: 1.2rem;
    color: var(--text-gray);
    line-height: 1.8;
}

.tech-logos {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.tech-logo {
    padding: 20px 35px;
    background: rgba(74, 63, 143, 0.2);
    border: 2px solid rgba(109, 213, 237, 0.3);
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--light-blue);
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.tech-logo:hover {
    transform: translateY(-5px);
    border-color: var(--light-blue);
    box-shadow: 0 10px 30px rgba(109, 213, 237, 0.3);
}

/* ===========================
   Community Section
   =========================== */
.community-section {
    position: relative;
    overflow: hidden;
}

.ripple-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(109, 213, 237, 0.1) 0%, transparent 70%);
    animation: ripple 4s ease-in-out infinite;
    z-index: -1;
}

@keyframes ripple {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.5; }
}

.community-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.community-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 30px 40px;
    background: rgba(74, 63, 143, 0.2);
    border: 2px solid rgba(109, 213, 237, 0.3);
    border-radius: 20px;
    text-decoration: none;
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.community-btn:hover {
    transform: translateY(-10px);
    border-color: var(--light-blue);
    background: rgba(74, 63, 143, 0.3);
    box-shadow: 0 15px 40px rgba(109, 213, 237, 0.3);
}

.community-btn svg {
    color: var(--light-blue);
}

/* ===========================
   Footer
   =========================== */
.footer {
    position: relative;
    z-index: 2;
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 14, 39, 0.9) 100%);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content p {
    color: var(--text-gray);
    margin-bottom: 10px;
    font-size: 1rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.social-icons a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(74, 63, 143, 0.2);
    border: 2px solid rgba(109, 213, 237, 0.3);
    border-radius: 50%;
    color: var(--light-blue);
    transition: var(--transition-smooth);
}

.social-icons a:hover {
    background: rgba(109, 213, 237, 0.2);
    border-color: var(--light-blue);
    transform: translateY(-5px) rotate(360deg);
}

/* ===========================
   Scroll Animations
   =========================== */
[data-aos] {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-aos="fade-up"] {
    transform: translateY(50px);
}

[data-aos="fade-right"] {
    transform: translateX(-50px);
}

[data-aos="fade-left"] {
    transform: translateX(50px);
}

[data-aos="zoom-in"] {
    transform: scale(0.8);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 1024px) {
    .about-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .features-icons {
        justify-content: center;
    }
    
    .tech-logos {
        gap: 20px;
    }
    
    .community-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .community-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .sound-toggle {
        top: 20px;
        right: 20px;
        width: 48px;
        height: 48px;
    }
    
    .section-title {
        margin-bottom: 50px;
    }
    
    .trailer-caption {
        font-size: 1.2rem;
    }
}

/* ===========================
   Print Styles
   =========================== */
@media print {
    #particles,
    .sound-toggle,
    .scroll-indicator,
    .hero-video {
        display: none;
    }
}

