*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --purple-dark: #140228;
    --purple-mid: #1f0a3a;
    --purple-light: #361260;
    --purple-accent: #5a2590;
    --red-cta: #e63232;
    --red-cta-hover: #ff4444;
    --white: #ffffff;
    --white-muted: #ede6f5;
    --blue-accent: #1e3a8a;
    --blue-gradient-start: #1e1b6e;
    --blue-gradient-end: #3b28a7;
    --green-accent: #22c55e;
    --purple-lighter: #4b1d80;
    --purple-lightest: #5c2d91;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Barlow Semi Condensed', sans-serif;
    background-color: var(--purple-dark);
    color: var(--white);
    font-size: 1.1rem;
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, .section-title {
    font-family: 'Bebas Neue', sans-serif;
    text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.8);
}

h3, .hero-tag, .cta-button, .cta-nav, .step-number, .tag {
    font-family: 'Saira Condensed', sans-serif;
}

/* ---- LIGHT SECTION THEME ---- */
.section-light {
    background: #f8f6fc !important;
    color: #1a1a2e;
}

.section-light .section-title {
    color: var(--purple-dark);
    text-shadow: none;
}

.section-light .section-subtitle {
    color: #555;
}

.section-light .benefit-card,
.section-light .testimonial-card {
    background: #ffffff;
    border: 2px solid var(--purple-accent);
}

.section-light .faq-item {
    background: transparent;
    border-color: var(--purple-accent);
}

.section-light .benefit-card h3,
.section-light .step-content h3 {
    color: var(--purple-dark);
    text-shadow: none;
}

.section-light .benefit-card p,
.section-light .testimonial-quote,
.section-light .testimonial-role,
.section-light .faq-answer {
    color: #555;
}

.section-light .testimonial-author {
    color: var(--purple-dark);
}

.section-light .faq-question {
    color: var(--purple-dark);
}

.section-light .benefit-card:hover {
    border-color: var(--purple-accent);
}

/* ---- NAV ---- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: #210f37;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
}

/* ---- HERO ---- */
.hero {
    text-align: center;
    padding: 5rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center center;
    opacity: 0;
    animation: heroFade 24s infinite;
}

.hero-bg:nth-child(1) {
    background-image: url('hero-1.jpg');
    animation-delay: 0s;
}

.hero-bg:nth-child(2) {
    background-image: url('hero-2.jpg');
    animation-delay: 6s;
}

.hero-bg:nth-child(3) {
    background-image: url('hero-3.jpg');
    animation-delay: 12s;
}

.hero-bg:nth-child(4) {
    background-image: url('hero-4.jpg');
    animation-delay: 18s;
}

@keyframes heroFade {
    0%      { opacity: 0; }
    4%      { opacity: 1; }
    25%     { opacity: 1; }
    29%     { opacity: 0; }
    100%    { opacity: 0; }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(14, 1, 33, 0.6) 0%, rgba(14, 1, 33, 0.85) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    z-index: 2;
}

.hero-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--blue-gradient-start), var(--blue-gradient-end));
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1.05;
    letter-spacing: 2px;
    margin-bottom: 1.2rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--white);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.cta-button {
    display: inline-block;
    background: #ff9900;
    color: var(--white);
    padding: 0.4rem 3rem;
    border-radius: 10px;
    border: none;
    text-decoration: none;
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 0 0 #d88200;
    transition: transform 0.15s, box-shadow 0.15s;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(3px);
    box-shadow: 0 3px 0 0 #d88200;
}

.cta-button:active {
    transform: translateY(6px);
    box-shadow: 0 0px 0 0 #d88200;
}

/* ---- SECTION COMMON ---- */
section {
    padding: 4rem 2rem;
}

.section-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1;
    margin-bottom: 0;
}

.section-subtitle {
    text-align: center;
    color: var(--white-muted);
    font-size: 1.15rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ---- WHAT IS GAME CITY ---- */
.what-is {
    background: var(--purple-lighter);
}

.what-is-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.what-is-text h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.8);
}

.what-is-text p {
    color: var(--white-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.what-is-visual {
    background: var(--purple-light);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    border: 1px solid var(--purple-accent);
}

.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1rem;
}

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

.what-is-visual p {
    font-weight: 700;
    font-size: 1.1rem;
}

.what-is-visual .sub {
    color: var(--white-muted);
    font-weight: 400;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* ---- BENEFITS ---- */
.benefits {
    background: var(--purple-dark);
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.benefit-card {
    grid-column: 1;
    background: var(--purple-mid);
    border: 1px solid var(--purple-accent);
    border-radius: 10px;
    padding: 1rem 1.2rem;
    text-align: left;
    transition: transform 0.2s, border-color 0.2s;
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 0.1rem 1rem;
}

.benefit-card:hover {
    transform: translateX(4px);
    border-color: var(--green-accent);
}

.benefit-icon {
    grid-row: 1 / 3;
    line-height: 0;
    align-self: center;
}

.benefit-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.6);
    align-self: end;
}

.benefit-card p {
    color: var(--white-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.benefits-image {
    grid-column: 2;
    grid-row: 1 / 7;
    border-radius: 16px;
    overflow: hidden;
}

.benefits-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ---- HOW IT WORKS ---- */
.how-it-works {
    background: var(--purple-dark);
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.step {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem 2.5rem;
    background: var(--purple-mid);
    border: 1px solid var(--purple-accent);
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: transform 0.2s, border-color 0.2s;
}

.step:hover {
    transform: translateX(6px);
    border-color: #ff9900;
}

.step-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.5rem;
    font-weight: 400;
    color: #ff9900;
    line-height: 1;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
    width: 60px;
    text-align: center;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.3rem;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.6);
}

.step-content p {
    color: var(--white-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* ---- WHO IT'S FOR ---- */
.who-for {
    background: var(--purple-lighter);
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    margin: 0 -2rem;
    padding: 0 2rem;
}

.carousel-wrapper::before,
.carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.carousel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--purple-lighter), transparent);
}

.carousel-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--purple-lighter), transparent);
}

.carousel-track {
    display: flex;
    gap: 1.5rem;
    animation: scroll-left 60s linear infinite;
    width: max-content;
}

.carousel-track:hover {
    animation-play-state: paused;
}

.carousel-item {
    flex-shrink: 0;
    background: var(--purple-mid);
    border: 1px solid var(--purple-accent);
    border-radius: 12px;
    padding: 1.8rem 2rem 1.4rem;
    text-align: center;
    min-width: 180px;
    transition: border-color 0.3s;
}

.carousel-item:hover {
    border-color: #ff9900;
}

.carousel-icon {
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 0.6rem;
}

.carousel-item h3 {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: capitalize;
    letter-spacing: 1px;
    color: var(--white);
}

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

/* ---- CAROUSEL LINKS ---- */
a.carousel-link {
    text-decoration: none;
    color: inherit;
}

/* ---- STATS BAR ---- */
.stats-bar {
    background: var(--purple-dark);
    padding: 3rem 2rem;
    border-top: 1px solid rgba(90, 37, 144, 0.4);
    border-bottom: 1px solid rgba(90, 37, 144, 0.4);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 1000px;
    margin: 0 auto;
}

.stat {
    text-align: center;
    padding: 1.5rem 1rem;
    position: relative;
}

.stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(90, 37, 144, 0.6);
}

.stat-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.5rem;
    color: #ff9900;
    line-height: 1;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.5);
}

.stat-label {
    font-family: 'Saira Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ---- TESTIMONIALS ---- */
.testimonials {
    background: var(--purple-dark);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--purple-mid);
    border: 1px solid var(--purple-accent);
    border-radius: 12px;
    padding: 2rem;
}

.testimonial-stars {
    color: #ff9900;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-quote {
    color: var(--white-muted);
    font-size: 1rem;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1.2rem;
}

.testimonial-author {
    font-weight: 700;
    font-size: 0.95rem;
}

.testimonial-role {
    color: var(--white-muted);
    font-size: 0.85rem;
}

/* ---- PARTNERSHIP ---- */
.partnership {
    background: var(--purple-lighter);
}

.partnership-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.partnership-card {
    background: var(--purple-mid);
    border: 1px solid var(--purple-accent);
    border-radius: 12px;
    padding: 2rem;
}

.partnership-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.6);
}

.partnership-card ul {
    list-style: none;
    padding: 0;
}

.partnership-card li {
    color: var(--white-muted);
    padding: 0.4rem 0;
    padding-left: 1.4rem;
    position: relative;
    font-size: 1rem;
    line-height: 1.6;
}

.partnership-card li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--green-accent);
    font-weight: 700;
}

/* ---- FAQ ---- */
.faq {
    background: var(--purple-dark);
}

.faq-list {
    max-width: 750px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--purple-accent);
}

.faq-question {
    font-family: 'Saira Condensed', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 1.5rem 2rem 1.5rem 0;
    cursor: pointer;
    position: relative;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    font-size: 1.4rem;
    color: #ff9900;
    transition: transform 0.3s;
}

.faq-item.open .faq-question::after {
    content: '\2212';
}

.faq-answer {
    color: var(--white-muted);
    font-size: 1rem;
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0;
}

.faq-item.open .faq-answer {
    max-height: 200px;
    padding-bottom: 1.5rem;
}

/* ---- FORM SECTION ---- */
.form-section {
    background: var(--purple-dark);
    text-align: center;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--purple-light);
    border: 1px solid var(--purple-accent);
    border-radius: 12px;
    padding: 2.5rem 2rem;
}

.form-container p {
    color: var(--white-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.form-placeholder {
    background: var(--purple-mid);
    border: 2px dashed var(--purple-accent);
    border-radius: 8px;
    padding: 3rem 2rem;
    color: var(--white-muted);
    font-size: 0.9rem;
}

.form-placeholder code {
    display: block;
    margin-top: 0.8rem;
    color: var(--green-accent);
    font-size: 0.8rem;
    word-break: break-all;
}

/* ---- FOOTER ---- */
footer {
    text-align: center;
    padding: 2rem;
    background: var(--purple-dark);
    border-top: 1px solid rgba(75, 26, 122, 0.3);
}

footer p {
    color: var(--white-muted);
    font-size: 0.8rem;
}

footer a {
    color: var(--white-muted);
    text-decoration: none;
    margin: 0 0.5rem;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--white);
}

.footer-links {
    margin-bottom: 0.8rem;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
    .what-is-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .step {
        padding: 1.5rem;
        gap: 1.2rem;
    }

    .hero {
        padding: 3rem 1.5rem 2.5rem;
    }

    section {
        padding: 3rem 1.5rem;
    }

    .form-container {
        padding: 2rem 1.2rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .partnership-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat:nth-child(2)::after {
        display: none;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .benefit-card {
        grid-column: 1;
    }

    .benefits-image {
        grid-column: 1;
        grid-row: auto;
        max-height: 300px;
    }
}
