/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #0a0e27;
    --secondary-dark: #0f1535;
    --accent-blue: #1a2850;
    --bright-blue: #2563eb;
    --light-blue: #3b82f6;
    --gold: #ffd700;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --success: #10b981;
}

body {
    font-family: 'Outfit', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 50%, var(--accent-blue) 100%);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--primary-dark);
    border-left: 1px solid rgba(37, 99, 235, 0.2);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--bright-blue), var(--light-blue));
    border-radius: 10px;
    border: 2px solid var(--primary-dark);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--light-blue), var(--bright-blue));
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
}

/* Firefox Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--bright-blue) var(--primary-dark);
}

/* Animated Background */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.3) 0%, transparent 70%);
    animation: float 20s infinite ease-in-out;
}

.circle-1 {
    width: 400px;
    height: 400px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 300px;
    height: 300px;
    top: 60%;
    right: 15%;
    animation-delay: 5s;
}

.circle-3 {
    width: 500px;
    height: 500px;
    bottom: 5%;
    left: 50%;
    animation-delay: 10s;
}

.circle-4 {
    width: 350px;
    height: 350px;
    top: 30%;
    right: 30%;
    animation-delay: 15s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translate(50px, -50px) scale(1.1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-30px, 40px) scale(0.9);
        opacity: 0.4;
    }
    75% {
        transform: translate(40px, 60px) scale(1.05);
        opacity: 0.6;
    }
}

/* Hamburger Menu */
.hamburger-menu {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 110;
    width: 50px;
    height: 50px;
    background: rgba(37, 99, 235, 0.2);
    border: 2px solid var(--bright-blue);
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.hamburger-menu:hover {
    background: var(--bright-blue);
    transform: scale(1.05);
}

.hamburger-box {
    width: 24px;
    height: 18px;
    position: relative;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    width: 24px;
    height: 3px;
    background: white;
    border-radius: 3px;
    position: absolute;
    transition: all 0.3s ease;
}

.hamburger-inner {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: '';
}

.hamburger-inner::before {
    top: -8px;
}

.hamburger-inner::after {
    top: 8px;
}

.hamburger-menu.active .hamburger-inner {
    background: transparent;
}

.hamburger-menu.active .hamburger-inner::before {
    transform: rotate(45deg);
    top: 0;
}

.hamburger-menu.active .hamburger-inner::after {
    transform: rotate(-45deg);
    top: 0;
}

/* Menu Backdrop */
.menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    right: -500px;
    width: 450px;
    height: 100%;
    background: linear-gradient(180deg, var(--secondary-dark), var(--primary-dark));
    z-index: 100;
    overflow-y: auto;
    transition: right 0.3s ease;
    border-left: 2px solid rgba(37, 99, 235, 0.5);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
}

.menu-overlay.active {
    right: 0;
}

/* Menu Overlay Scrollbar */
.menu-overlay::-webkit-scrollbar {
    width: 8px;
}

.menu-overlay::-webkit-scrollbar-track {
    background: rgba(10, 14, 39, 0.5);
}

.menu-overlay::-webkit-scrollbar-thumb {
    background: var(--bright-blue);
    border-radius: 10px;
}

.menu-overlay::-webkit-scrollbar-thumb:hover {
    background: var(--light-blue);
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 2px solid rgba(37, 99, 235, 0.3);
}

.menu-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--bright-blue);
    letter-spacing: 2px;
}

.menu-close {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.menu-close:hover {
    color: var(--bright-blue);
}

/* Menu Tabs */
.menu-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(37, 99, 235, 0.2);
}

.menu-tab {
    flex: 1;
    min-width: 100px;
    padding: 0.75rem 1rem;
    background: rgba(37, 99, 235, 0.1);
    border: 2px solid rgba(37, 99, 235, 0.3);
    border-radius: 8px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-tab:hover,
.menu-tab.active {
    background: var(--bright-blue);
    color: white;
    border-color: var(--bright-blue);
}

/* Menu Content */
.menu-content {
    padding: 2rem;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Social Grid */
.social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: rgba(37, 99, 235, 0.1);
    border: 2px solid rgba(37, 99, 235, 0.3);
    border-radius: 12px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.social-card:hover {
    background: rgba(37, 99, 235, 0.3);
    transform: translateY(-5px);
    border-color: var(--bright-blue);
}

.social-card i {
    font-size: 2rem;
}

.social-card.kick:hover {
    border-color: #53fc18;
}

.social-card.twitter:hover {
    border-color: #1da1f2;
}

.social-card.discord:hover {
    border-color: #5865f2;
}

.social-card.instagram:hover {
    border-color: #e4405f;
}

/* About Content */
.about-content {
    text-align: center;
}

.about-content h3 {
    font-size: 1.8rem;
    color: var(--bright-blue);
    margin-bottom: 1rem;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.cta-box {
    margin-top: 2rem;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--bright-blue);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background: var(--light-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.5);
}

/* Hero Section */
.hero-section {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.hero-logo {
    width: 150px;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 20px rgba(37, 99, 235, 0.8));
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* Glitch Effect */
.glitch-wrapper {
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: 8px;
    background: linear-gradient(135deg, var(--bright-blue), var(--light-blue), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(37, 99, 235, 0.5);
    }
    50% {
        text-shadow: 0 0 40px rgba(37, 99, 235, 0.8);
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 4px;
    margin-bottom: 3rem;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    background: rgba(15, 21, 53, 0.6);
    border: 2px solid rgba(37, 99, 235, 0.3);
    border-radius: 15px;
    padding: 2rem;
    min-width: 180px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    border-color: var(--bright-blue);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--bright-blue);
    margin-bottom: 1rem;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid;
}

.btn-primary {
    background: var(--bright-blue);
    color: white;
    border-color: var(--bright-blue);
}

.btn-primary:hover {
    background: var(--light-blue);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.6);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: var(--bright-blue);
}

.btn-secondary:hover {
    background: var(--bright-blue);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.4);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.feature-card {
    background: rgba(15, 21, 53, 0.6);
    border: 2px solid rgba(37, 99, 235, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--bright-blue);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.4);
}

.feature-icon {
    font-size: 3.5rem;
    color: var(--bright-blue);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.feature-card p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--bright-blue);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.feature-link:hover {
    color: var(--light-blue);
    gap: 1rem;
}

/* Footer */
.footer {
    position: relative;
    z-index: 1;
    background: rgba(10, 14, 39, 0.8);
    border-top: 2px solid rgba(37, 99, 235, 0.3);
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.footer-brand strong {
    color: var(--bright-blue);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-social a {
    width: 50px;
    height: 50px;
    background: rgba(37, 99, 235, 0.2);
    border: 2px solid var(--bright-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--bright-blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.5);
}

.footer-copyright {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Fixed positioning for hamburger menu on mobile */
    .hamburger-menu {
        position: absolute;
        top: 1rem;
        right: 1rem;
        z-index: 110;
    }

    /* Move logo to top-middle on mobile */
    .hero-logo {
        position: absolute;
        top: 1rem;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        margin-bottom: 0;
        z-index: 105;
    }

    /* Adjust hero section padding to account for fixed logo */
    .hero-section {
        padding-top: 100px;
    }

    .menu-overlay {
        width: 90%;
        max-width: 400px;
    }

    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-item {
        min-width: 150px;
        padding: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary,
    .btn-secondary {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .social-grid {
        grid-template-columns: 1fr;
    }

    .menu-tabs {
        flex-direction: column;
    }

    .menu-tab {
        width: 100%;
    }
}

@media (max-width: 480px) {
    /* Ensure logo stays fixed on very small screens */
    .hero-logo {
        position: absolute;
        top: 1rem;
        left: 50%;
        transform: translateX(-50%);
        width: 70px;
        z-index: 105;
    }

    /* Ensure hamburger menu stays fixed */
    .hamburger-menu {
        position: absolute;
        top: 1rem;
        right: 1rem;
        z-index: 110;
    }

    .hero-title {
        font-size: 2rem;
    }

    .stat-value {
        font-size: 2rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}