* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

:root {
    --bg-deep-black: #000000;
    --bg-card-dark: #0a0a0f;
    --neon-blue: #0071e3;
    --neon-blue-glow: rgba(0, 113, 227, 0.3);
    --text-white: #f5f5f7;
    --text-gray: #86868b;
    --text-faint: rgba(255, 255, 255, 0.3);
    --border-color: #1c1c22;
    --surface-subtle: rgba(255, 255, 255, 0.03);
    --nav-bg: rgba(0, 0, 0, 0.75);
    --nav-mobile-bg: rgba(0, 0, 0, 0.96);
    --overlay-bg: rgba(0, 0, 0, 0.85);
    --input-bg: #000000;
}

html[data-theme="light"] {
    --bg-deep-black: #f3f4f7;
    --bg-card-dark: #ffffff;
    --neon-blue: #0071e3;
    --neon-blue-glow: rgba(0, 113, 227, 0.22);
    --text-white: #101216;
    --text-gray: #5a5e66;
    --text-faint: rgba(16, 18, 22, 0.4);
    --border-color: #e2e4e9;
    --surface-subtle: rgba(16, 18, 22, 0.035);
    --nav-bg: rgba(255, 255, 255, 0.78);
    --nav-mobile-bg: rgba(255, 255, 255, 0.97);
    --overlay-bg: rgba(10, 10, 15, 0.6);
    --input-bg: #f3f4f7;
}

html, body {
    background-color: var(--bg-deep-black);
    color: var(--text-white);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
    transition: background-color 0.35s ease, color 0.35s ease;
}

.site-loader {
    position: fixed;
    inset: 0;
    z-index: 999999999;
    background-color: var(--bg-deep-black);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.site-loader.loader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.4rem;
}

.loader-logo {
    height: 52px;
    width: auto;
    object-fit: contain;
    animation: loaderPulse 1.4s ease-in-out infinite;
}

.loader-bar {
    width: 140px;
    height: 3px;
    border-radius: 4px;
    background-color: var(--surface-subtle);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.loader-bar-fill {
    display: block;
    height: 100%;
    width: 40%;
    border-radius: 4px;
    background-color: var(--neon-blue);
    box-shadow: 0 0 12px var(--neon-blue-glow);
    animation: loaderBarMove 1.1s ease-in-out infinite;
}

@keyframes loaderPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(0.94); }
}

@keyframes loaderBarMove {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(120%); }
    100% { transform: translateX(-100%); }
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.4;
}

.section {
    padding: 120px 24px 80px 24px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    overflow: hidden;
}

.section-title {
    font-family: 'Chakra Petch', 'Inter', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 3.5rem;
    text-align: center;
}

.text-gradient {
    background: linear-gradient(180deg, #ffffff 0%, #0071e3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

html[data-theme="light"] .text-gradient {
    background: linear-gradient(180deg, #101216 0%, #0071e3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-primary {
    display: inline-block;
    background: var(--neon-blue);
    color: #f5f5f7;
    padding: 14px 36px;
    border-radius: 24px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    box-shadow: 0 8px 24px var(--neon-blue-glow);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 113, 227, 0.5);
}

.btn-secondary {
    display: inline-block;
    background: var(--surface-subtle);
    color: var(--text-white);
    padding: 12px 28px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.25s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: var(--neon-blue);
    border-color: var(--neon-blue);
    color: #f5f5f7;
    box-shadow: 0 4px 12px var(--neon-blue-glow);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 10000;
    transition: background-color 0.35s ease, border-color 0.35s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    height: 54px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 100%;
}

.nav-logo {
    height: 36px;
    width: auto;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.nav-logo:hover {
    transform: scale(1.04);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.2rem;
}

.nav-menu a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: -0.01em;
    transition: color 0.25s ease;
}

.nav-menu a:hover {
    color: var(--text-white);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background-color: var(--surface-subtle);
    color: var(--text-white);
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.25s ease;
}

.theme-toggle:hover {
    border-color: var(--neon-blue);
    color: var(--neon-blue);
    transform: scale(1.06);
}

.hamburger {
    display: none;
    cursor: pointer;
    padding: 4px;
}

.bar {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    transition: all 0.25s ease;
    background-color: var(--text-white);
}

.hero-section {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
}

.hero-content {
    padding: 0 20px;
}

.hero-content h1 {
    font-family: 'Chakra Petch', 'Inter', sans-serif;
    font-size: 4.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.35rem;
    color: var(--text-gray);
    max-width: 640px;
    margin: 0 auto 3rem auto;
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.partners-marquee {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 6rem;
    overflow: hidden;
    padding: 30px 0;
    background: transparent;
    border-top: 1px solid var(--surface-subtle);
    border-bottom: 1px solid var(--surface-subtle);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: scrollMarquee 28s linear infinite;
    gap: 6rem;
}

.partner-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-gray);
    font-weight: 500;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
    white-space: nowrap;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.partner-logo:hover {
    opacity: 0.9;
}

.partner-logo i {
    font-size: 1.4rem;
    color: var(--text-white);
}

@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.apple-carousel {
    display: flex;
    gap: 1.8rem;
    overflow-x: auto;
    padding: 24px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.apple-carousel::-webkit-scrollbar {
    display: none;
}

.carousel-card {
    flex: 0 0 420px;
    height: 500px;
    background-color: var(--bg-card-dark);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 28px;
    border: 1px solid var(--border-color);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    scroll-snap-align: start;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 113, 227, 0.4);
    box-shadow: 0 20px 40px rgba(0, 113, 227, 0.15);
}

.card-badge {
    position: absolute;
    top: 2.5rem;
    left: 3rem;
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.card-badge.live {
    background-color: rgba(239, 68, 68, 0.15);
    color: #ff453a;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.card-badge.upcoming {
    background-color: rgba(0, 113, 227, 0.15);
    color: #64d2ff;
    border: 1px solid rgba(0, 113, 227, 0.25);
}

.carousel-card span {
    text-transform: uppercase;
    font-size: 0.75rem;
    color: #64d2ff;
    font-weight: 600;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.6rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.carousel-card h3 {
    font-family: 'Chakra Petch', 'Inter', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
    color: #f5f5f7;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

.carousel-card p {
    color: #e5e5ea;
    font-size: 0.95rem;
    margin-bottom: 1.8rem;
    text-shadow: 0 2px 6px rgba(0,0,0,0.8);
}

.poster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.8rem;
    width: 100%;
}

.poster-item {
    background-color: var(--bg-card-dark);
    aspect-ratio: 3/4;
    border-radius: 22px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.poster-item:hover {
    transform: scale(1.02);
    border-color: rgba(0, 113, 227, 0.3);
}

.poster-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--border-color);
    padding: 24px;
    text-align: center;
}

.poster-icon {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
    color: var(--surface-subtle);
}

.poster-placeholder span {
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 400;
}

.team-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2.5rem;
    width: 100%;
}

.team-card {
    background-color: transparent;
    width: 320px;
    height: 400px;
    perspective: 1000px;
    cursor: pointer;
}

.team-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.team-card.flipped .team-card-inner {
    transform: rotateY(180deg);
}

.team-card-front, .team-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.team-card-front {
    background-color: var(--bg-card-dark);
}

.photo-placeholder {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background-color: var(--bg-deep-black);
    border: 1px dashed var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    overflow: hidden;
    color: var(--text-faint);
    margin-bottom: 1.8rem;
}

.photo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card-front h3 {
    font-family: 'Chakra Petch', 'Inter', sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    letter-spacing: -0.01em;
}

.role {
    color: var(--neon-blue);
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
}

.hint-text {
    font-size: 0.7rem;
    color: var(--text-gray);
    border: 1px solid var(--border-color);
    padding: 5px 12px;
    border-radius: 12px;
    background: var(--surface-subtle);
}

.team-card-back {
    background-color: var(--bg-card-dark);
    transform: rotateY(180deg);
    border-color: rgba(0, 113, 227, 0.25);
}

.team-card-back h3 {
    font-family: 'Chakra Petch', 'Inter', sans-serif;
}

.team-card-back p {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 1rem;
    margin-bottom: 1.8rem;
}

.social-links {
    display: flex;
    gap: 1.2rem;
}

.social-links a {
    color: var(--text-gray);
    font-size: 1.1rem;
    transition: color 0.2s ease;
}

.social-links a:hover {
    color: var(--neon-blue);
}

.support-container {
    max-width: 580px;
    margin: 0 auto;
    background-color: var(--bg-card-dark);
    padding: 3.5rem 2.5rem;
    border-radius: 28px;
    border: 1px solid var(--border-color);
    width: 100%;
}

.support-subtext {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

#support-form {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.form-group label {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--text-gray);
}

.form-group input, .form-group select, .form-group textarea {
    background-color: var(--input-bg);
    border: 1px solid var(--border-color);
    padding: 14px 18px;
    border-radius: 12px;
    color: var(--text-white);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.2s ease;
    width: 100%;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--neon-blue);
    background-color: var(--surface-subtle);
}

.form-submit-btn {
    width: 100%;
    margin-top: 1rem;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    padding: 24px;
}

.modal-content {
    background-color: var(--bg-card-dark);
    border: 1px solid var(--border-color);
    max-width: 420px;
    width: 100%;
    padding: 3.5rem 2.5rem;
    border-radius: 28px;
    text-align: center;
}

.success-icon {
    font-size: 3.5rem;
    color: #30d158;
    margin-bottom: 1.5rem;
}

.modal-content h3 {
    font-family: 'Chakra Petch', 'Inter', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    letter-spacing: -0.01em;
}

.modal-content p {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 2rem;
}

footer {
    text-align: center;
    padding: 60px 24px;
    border-top: 1px solid var(--surface-subtle);
    color: var(--text-faint);
    font-size: 0.8rem;
    width: 100%;
}

.merch-hero {
    text-align: center;
    padding-top: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.merch-subtitle {
    color: var(--text-gray);
    max-width: 600px;
    margin: 1.2rem auto 0 auto;
    font-size: 1.1rem;
    line-height: 1.7;
}

.merch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    width: 100%;
    margin-top: 4.5rem;
    margin-bottom: 4rem;
}

.merch-card {
    background-color: var(--bg-card-dark);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.merch-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 113, 227, 0.4);
    box-shadow: 0 30px 60px rgba(0, 113, 227, 0.15), 0 0 0 1px rgba(0, 113, 227, 0.2);
}

.merch-img-wrapper {
    width: 100%;
    height: 340px;
    background: radial-gradient(circle at center, rgba(0, 113, 227, 0.15) 0%, transparent 70%), var(--surface-subtle);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.merch-img {
    width: 85%;
    height: 85%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.merch-card:hover .merch-img {
    transform: scale(1.08) rotate(1deg);
}

.merch-tag {
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background-color: rgba(0, 113, 227, 0.2);
    color: #64d2ff;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 113, 227, 0.3);
}

.merch-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.merch-card h3 {
    font-family: 'Chakra Petch', 'Inter', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.merch-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.merch-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
}

.merch-price {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
}

.btn-shop {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--neon-blue, #0071e3);
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-shop:hover {
    background-color: transparent;
    border-color: var(--neon-blue, #0071e3);
    color: var(--neon-blue, #64d2ff);
    box-shadow: 0 0 15px rgba(0, 113, 227, 0.4);
}

.btn-shop i {
    font-size: 0.85rem;
    transition: transform 0.2s ease;
}

.btn-shop:hover i {
    transform: translateX(2px);
}

@media (max-width: 768px) {
    .merch-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .merch-img-wrapper {
        height: 280px;
    }
    .hamburger {
        display: block;
    }
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 54px;
        flex-direction: column;
        background-color: var(--nav-mobile-bg);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        width: 100%;
        height: calc(100vh - 54px);
        text-align: center;
        gap: 3.5rem;
        padding-top: 5rem;
        transition: left 0.4s cubic-bezier(0.1, 1, 0.1, 1);
        border-top: 1px solid var(--border-color);
        z-index: 9999;
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-menu a {
        font-size: 1.1rem;
        color: var(--text-white);
        display: block;
        width: 100%;
    }
    .section {
        padding: 90px 20px 50px 20px;
    }
    .hero-content h1 {
        font-size: 2.6rem;
    }
    .apple-carousel {
        padding-left: 0;
        gap: 1.2rem;
    }
    .carousel-card {
        flex: 0 0 85vw;
        height: 440px;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        padding: 2rem;
    }
    .support-container {
        padding: 2.5rem 1.5rem;
    }
    .team-card {
        width: 100%;
        max-width: 320px;
    }
}
