/* Button Box Battle — static website matching 100league.com structure */

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

img, video, iframe {
    max-width: 100%;
}

:root {
    --white: #ffffff;
    --off-white: #f8f8f6;
    --light-gray: #f0f0ec;
    --border: #e0e0da;
    --text: #1a1a18;
    --text-secondary: #555550;
    --text-muted: #888882;
    --accent: #d94f3d;
    --accent-dark: #b83d2c;
    --dark-bg: #111110;
    --dark-surface: #1c1c1a;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ─── Navigation ─────────────────────────────────────────── */

.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 5px 2rem;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-logo {
    height: 72px;
    width: auto;
    display: block;
}

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

.nav-social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.social-link {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.social-link:hover {
    color: var(--text);
}

.btn-nav {
    display: inline-block;
    padding: 0.45rem 1rem;
    border: 1.5px solid var(--text);
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text);
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}

.btn-nav:hover {
    background: var(--text);
    color: var(--white);
}

/* ─── Hero ───────────────────────────────────────────────── */

.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(10, 10, 8, 0.80) 0%,
        rgba(10, 10, 8, 0.65) 50%,
        rgba(10, 10, 8, 0.40) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 5rem;
    padding-bottom: 5rem;
    max-width: 660px;
    animation: fadeInUp 0.8s ease-out both;
}

.hero-logo {
    display: block;
    width: min(380px, 70vw);
    height: auto;
    margin-bottom: 2rem;
}

.hero-heading {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.hero-heading em {
    font-style: normal;
    color: #f5d76e;
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 2.25rem;
    max-width: 540px;
}

.hero-sub strong {
    color: var(--white);
    font-weight: 600;
}

.btn-cta {
    display: inline-block;
    padding: 0.85rem 2.25rem;
    background: var(--accent);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s, transform 0.15s;
}

.btn-cta:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

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

/* ─── Section Title ─────────────────────────────────────── */

.section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-align: center;
    color: var(--text);
    margin-bottom: 2.5rem;
}

/* ─── Features ──────────────────────────────────────────── */

.features {
    padding: 5rem 0;
    background: var(--white);
}

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

.feature-card {
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.75rem 1.5rem;
    transition: box-shadow 0.2s;
}

.feature-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.975rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

.feature-card strong {
    color: var(--text);
    font-weight: 700;
}

/* ─── Brands ────────────────────────────────────────────── */

.brands {
    padding: 3rem 0;
    background: var(--light-gray);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.brands-label {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.brands-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem 2.5rem;
}

.brand-logo {
    height: 36px;
    width: auto;
    display: block;
    filter: grayscale(100%);
    opacity: 0.55;
    transition: opacity 0.2s, filter 0.2s;
}

.brand-logo:hover {
    opacity: 0.85;
    filter: grayscale(0%);
}

/* ─── Video ─────────────────────────────────────────────── */

.video-section {
    padding: 5rem 0;
    background: var(--off-white);
}

.video-wrapper {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.14);
    background: #000;
    aspect-ratio: 16 / 9;
}

.embed-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

/* ─── Testimonials ──────────────────────────────────────── */

.testimonials {
    padding: 5rem 0;
    background: var(--white);
}

.testimonial-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.testimonial {
    background: var(--off-white);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: 0 10px 10px 0;
    padding: 2rem;
}

.testimonial-quote {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text);
    margin-bottom: 1rem;
}

.testimonial-meta {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.testimonial-meta cite {
    font-style: normal;
    font-weight: 700;
    color: var(--text);
}

.testimonial-event {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ─── Photo Band ────────────────────────────────────────── */

.photo-band {
    overflow: hidden;
    background: var(--dark-bg);
    line-height: 0;
}

.photo-track {
    display: flex;
    gap: 6px;
    width: max-content;
    animation: band-scroll 28s linear infinite;
}

.photo-track img {
    height: 280px;
    width: auto;
    max-width: none;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}

.photo-band:hover .photo-track,
.poster-band:hover .poster-track {
    animation-play-state: paused;
}

/* ─── Challenges ────────────────────────────────────────── */

.challenges {
    padding: 5rem 0;
    background: var(--white);
}

.challenges-intro {
    text-align: center;
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 620px;
    margin: -1rem auto 3rem;
    line-height: 1.7;
}

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    align-items: stretch;
}

.challenge-card {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.challenge-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.13);
}

.challenge-face {
    background: var(--card-color, #555);
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    min-height: 110px;
}

.challenge-pip {
    font-size: 0.8rem;
    font-weight: 800;
    color: rgba(255,255,255,0.85);
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.05em;
    line-height: 1;
}

.challenge-pip.top-left {
    align-self: flex-start;
}

.challenge-pip.bottom-right {
    position: absolute;
    bottom: 0.8rem;
    right: 0.8rem;
    transform: rotate(180deg);
}

.challenge-symbol {
    font-size: 2.25rem;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0.25rem 0;
}

.challenge-body {
    background: var(--white);
    padding: 1rem 1rem 1.25rem;
    flex: 1;
}

.challenge-body h3 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.challenge-body p {
    font-size: 0.82rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* ─── Poster Band ───────────────────────────────────────── */

.poster-band {
    padding-top: 4rem;
    overflow: hidden;
    background: var(--off-white);
    padding-bottom: 0;
}

.poster-band .section-title {
    margin-bottom: 2rem;
}

.poster-track {
    display: flex;
    gap: 12px;
    width: max-content;
    animation: band-scroll 38s linear infinite;
    padding-bottom: 0;
    line-height: 0;
}

.poster-track img {
    height: 360px;
    width: auto;
    max-width: none;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
    background: var(--light-gray);
}

.poster-cta {
    padding: 3rem 0;
    text-align: center;
}

@keyframes band-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ─── Newsletter ────────────────────────────────────────── */

.newsletter {
    padding: 4rem 0;
    background: var(--dark-bg);
}

.newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.newsletter-heading {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.4rem;
}

.newsletter-sub {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ─── Footer ────────────────────────────────────────────── */

.site-footer {
    background: var(--dark-surface);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 5px 0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-logo {
    height: 80px;
    width: auto;
    display: block;
    opacity: 0.9;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-social .social-link {
    color: rgba(255, 255, 255, 0.5);
}

.footer-social .social-link:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-copy {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ─── Legal Pages ───────────────────────────────────────── */

.legal-page {
    padding: 4rem 0 6rem;
    background: var(--white);
}

.legal-content {
    max-width: 720px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.legal-date {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.legal-content h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin: 2.25rem 0 0.75rem;
}

.legal-content p {
    font-size: 0.975rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.legal-content ul {
    margin: 0 0 1rem 1.5rem;
}

.legal-content li {
    font-size: 0.975rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
}

.legal-content strong {
    color: var(--text);
    font-weight: 600;
}

.legal-content a {
    color: var(--accent);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

/* ─── Responsive ────────────────────────────────────────── */

@media (max-width: 1000px) {
    .challenges-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .nav-inner {
        padding: 0 1.25rem;
    }

    .container {
        padding: 0 1.25rem;
    }

    .hero-content {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

    .hero-bg-overlay {
        background: rgba(10, 10, 8, 0.70);
    }

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

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

    .newsletter-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-social {
        display: none;
    }

    .photo-track img {
        height: 200px;
    }

    .poster-track img {
        height: 260px;
    }
}
