/* ============================================================================
 * Golazo ($GOL) — Vanilla CSS stylesheet
 * ----------------------------------------------------------------------------
 * This file intentionally uses plain CSS (no Tailwind, no build step).
 * Every block is commented so a future maintainer can adjust the site without
 * needing to reverse-engineer a framework.
 *
 * Structure of this file (search for the banners):
 *   1. Design tokens (colors, fonts, sizing — edit here to re-theme)
 *   2. Global reset & typography
 *   3. Utility helpers (.container, .button, etc.)
 *   4. Navigation (top bar, marquee, mega-menu)
 *   5. Hero section
 *   6. About section (exchange links + video + copy)
 *   7. Token check section (trust copy + feature tiles + contract address)
 *   8. How-to-buy section (accordion + image slider)
 *   9. Community section
 *  10. Matches section (countdown timer)
 *  11. Footer
 *  12. Scroll-reveal animations
 *  13. Blog / secondary-page styles
 *  14. Responsive tweaks
 * ========================================================================= */


/* ============================================================================
 * 1. Design tokens
 * ----------------------------------------------------------------------------
 * CSS custom properties (a.k.a. variables) used throughout the site.
 * To re-theme the site, change the values below and everything updates.
 * ========================================================================= */
:root {
    /* Brand colors — taken from the original bundled CSS so the look matches */
    --color-primary: #9acbe5;        /* sky blue: hero background, buttons       */
    --color-secondary: #bf383c;      /* Barca-red: about section, accents        */
    --color-rich-black: #0b1316;     /* near-black: text, footer, borders        */
    --color-darkblue: #6eaece;       /* medium blue: tokenomics band             */
    --color-barcelona-blue: #1c3144; /* deep navy: footer top band               */
    --color-green: #6aa922;          /* olive green: community CTA button        */
    --color-lemon: #fffacd;          /* lemon chiffon: community card            */
    --color-white: #ffffff;
    --color-text: #1f2937;           /* default body text                        */
    --color-text-muted: #4b5563;
    --color-border: #e5e7eb;

    /* Typography */
    --font-heading: "REM", "Segoe UI", sans-serif;  /* headings                  */
    --font-body:    "Lato", "Segoe UI", sans-serif; /* paragraphs                */

    /* Spacing / layout */
    --max-width: 1280px;       /* content container max width                    */
    --section-pad-y: 5rem;     /* vertical breathing room for each section       */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-pill: 999px;

    /* Shadows */
    --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.15);
    --shadow-hard: 4px 4px 0 var(--color-rich-black); /* comic-style hard shadow */
}


/* ============================================================================
 * 2. Global reset & typography
 * ----------------------------------------------------------------------------
 * Minimal reset: zero default margins/padding, box-sizing fix, smooth scroll.
 * ========================================================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;              /* anchor links animate to target     */
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-rich-black);
    overflow-x: hidden;                   /* marquee/animations push width > 100vw */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: inherit;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease;
}

img, svg, video {
    display: block;
    max-width: 100%;
    height: auto;
}

ul { list-style: none; }


/* ============================================================================
 * 3. Utility helpers
 * ----------------------------------------------------------------------------
 * Tiny reusable classes. These intentionally mirror the role of Tailwind's
 * utility classes so the HTML stays readable.
 * ========================================================================= */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin-inline: auto;                  /* centers the container horizontally */
    padding-inline: 1.5rem;
}

/* Generic "hard-shadow" button shared by BUY $GOL, Tokenomics, Join Telegram,
   How To Buy. Border + red fill + heavy offset shadow = the site's look.    */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    color: var(--color-white);
    background-color: var(--color-secondary);
    border: 2px solid var(--color-rich-black);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-hard);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease,
                background-color 0.25s ease;
}

.btn:hover {
    /* On hover, nudge button down-right so the shadow "collapses" — gives
       the impression that the button is being pressed.                       */
    transform: translate(3px, 3px);
    box-shadow: 1px 1px 0 var(--color-rich-black);
    background-color: var(--color-rich-black);
    color: var(--color-white);
}

/* Variants — swap background color but keep the same shape/shadow. */
.btn--blue  { background-color: var(--color-primary); color: var(--color-rich-black); }
.btn--green { background-color: var(--color-green);   color: var(--color-white);     }
.btn--white { background-color: var(--color-white);   color: var(--color-rich-black); }
.btn--dark  { background-color: var(--color-rich-black); color: var(--color-white);  }

/* Horizontal centering helper (mirrors Tailwind's `mx-auto`). */
.mx-auto { margin-inline: auto; }

/* Visually hide elements but keep them accessible to screen readers. */
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}


/* ============================================================================
 * 4. Navigation
 * ----------------------------------------------------------------------------
 * The navbar has two rows: a top marquee strip that scrolls sideways and a
 * regular nav row with logo + MENU + BUY $GOL buttons.
 * The MENU button opens a fullscreen overlay (`#mega-menu`).
 * ========================================================================= */

/* Top-most marquee band: horizontally scrolling slogan text. */
.marquee {
    overflow: hidden;
    background-color: var(--color-rich-black);
    color: var(--color-white);
    border-top: 2px solid transparent;
    border-bottom: 2px solid transparent;

    /* Decorative gradient border (top + bottom) implemented with background-image
       on pseudo-elements to avoid an extra wrapper element. */
    position: relative;
}

.marquee::before,
.marquee::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-image: linear-gradient(
        90deg,
        #c5fbff,
        #ff8b8b 34%,
        #ffe092 72.39%,
        #ffdbdb
    );
}
.marquee::before { top: 0;    }
.marquee::after  { bottom: 0; }

/* Two identical track rows laid side-by-side so the scroll looks seamless. */
.marquee__track {
    display: flex;
    gap: 2.5rem;
    padding: 0.5rem 0;
    white-space: nowrap;
    width: max-content;                   /* content-width, required for scroll */
    animation: marquee-scroll 60s linear infinite;
}

.marquee__item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

/* The slogan text uses a rainbow gradient clipped to text. */
.marquee__text {
    background: linear-gradient(
        90.01deg,
        #ffdbdb -0.45%, #ff8b8b 20.03%, #c5fbff 51.25%,
        #ffe0b3 79.78%, #80abff 99.99%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Side-scrolling keyframes. 60 s per full cycle for a calm effect. */
@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); } /* track is duplicated so -50% loops */
}

/* Regular navbar row. */
.navbar {
    position: fixed;
    inset-inline: 0;
    top: 0;
    z-index: 999;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

/* When the user scrolls down past the hero, a small JS helper adds this class
   to hide the navbar (slides it up + fades). */
.navbar.is-hidden {
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
}

.navbar__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.5rem;
}

.navbar__logo img {
    width: 120px;
    transition: transform 0.6s ease;
}
.navbar__logo img:hover {
    transform: rotate(360deg);            /* little Easter egg on hover          */
}

/* Fullscreen mega menu shown when the user clicks the MENU button. */
.mega-menu {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background-color: var(--color-rich-black);
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;

    /* Hidden by default: slide up out of view. */
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.6s ease, opacity 0.6s ease;

    border-bottom: 6px solid var(--color-secondary);
}

.mega-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.mega-menu__close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
}
.mega-menu__close img { width: 120px; }

.mega-menu__links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.mega-menu__links a {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 900;
    color: var(--color-white);
    transition: color 0.25s ease;
    /* Text outline — mimics the "comic" look of the original. */
    text-shadow: -1px 1px 0 #000, 1px 1px 0 #000,
                  1px -1px 0 #000, -1px -1px 0 #000;
}
.mega-menu__links a:hover { color: var(--color-secondary); }

/* Social icon list (shared by mega-menu and footer). */
.socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.socials a {
    width: 64px; height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease;
}
.socials a:hover { transform: scale(1.15); }
.socials img     { width: 64px; height: 64px; }


/* ============================================================================
 * 5. Hero section
 * ----------------------------------------------------------------------------
 * Large blue area with a zig-zag mountain background (SVG inlined in HTML).
 * Shows the headline, supporting copy and a row of mascot characters.
 * ========================================================================= */
.hero {
    position: relative;
    padding: 8rem 1.5rem 4rem;
    background-color: var(--color-primary);
    border-bottom: 4px solid var(--color-rich-black);
    overflow: hidden;
    text-align: center;
}

.hero__eyebrow {
    margin: 0 auto 1rem;
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-rich-black);
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 12vw, 10rem);
    font-weight: 900;
    color: var(--color-white);
    letter-spacing: -0.02em;
    text-shadow: -3px 3px 0 var(--color-rich-black),
                  3px 3px 0 var(--color-rich-black),
                  3px -3px 0 var(--color-rich-black),
                 -3px -3px 0 var(--color-rich-black);
    /* Each letter individually drops in using `hero-drop` below. */
}

.hero__lede {
    max-width: 760px;
    margin: 1.5rem auto 0;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 700;
    color: var(--color-rich-black);
}

.hero__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

/* Row of characters rendered as a simple image (replaces the original Lottie
   animation "hero_golazos.json"). Keep aspect ratio, full width. */
.hero__mascots {
    margin-top: 3rem;
    max-width: 80vw;
    margin-inline: auto;
}

/* Staggered letter-drop effect for the hero title. Each <span> in the HTML
   receives an --i custom property that delays its animation start.          */
.hero__title span {
    display: inline-block;
    animation: hero-drop 0.7s cubic-bezier(.5,1.6,.5,1) backwards;
    animation-delay: calc(var(--i, 0) * 80ms);
}
@keyframes hero-drop {
    0%   { transform: translateY(-120%) rotate(-8deg); opacity: 0; }
    100% { transform: translateY(0)      rotate(0);     opacity: 1; }
}


/* ============================================================================
 * 6. About section
 * ----------------------------------------------------------------------------
 * Red background, grid of exchange icon cards at the top, then a 2-column
 * layout with a phone-framed video on the left and copy on the right.
 * ========================================================================= */
.about {
    padding: var(--section-pad-y) 0;
    background-color: var(--color-secondary);
    border-bottom: 4px solid var(--color-rich-black);
    color: var(--color-white);
}

/* Responsive icon-card grid (auto fills into as many columns as fit). */
.exchanges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    padding: 0 1rem;
    margin-bottom: 4rem;
}

.exchange-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem;
    background-color: var(--color-rich-black);
    color: var(--color-white);
    border: 4px solid var(--color-white);
    border-radius: var(--radius-sm);
    transition: background-color 0.4s ease, border-color 0.4s ease;
}

.exchange-card:hover {
    background-color: var(--color-primary);
    border-color: var(--color-rich-black);
    color: var(--color-rich-black);
}

.exchange-card img,
.exchange-card svg {
    width: 64px;
    height: 64px;
}

.exchange-card span {
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

/* Two-column block: video on the left, copy on the right. */
.about__split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    padding: 3rem 2rem;
}
@media (min-width: 1024px) {
    .about__split { grid-template-columns: 1fr 1fr; }
}

.about__copy p { margin-bottom: 1.25rem; font-size: 1.05rem; }
.about__copy ul {
    list-style: disc inside;
    margin: 1rem 0 2rem;
    padding-left: 1rem;
}
.about__copy li { margin-bottom: 0.5rem; font-size: 1.05rem; }

/* Big section heading shared by About, Tokenomics, How-to-Buy, Community.
   Replaces the Lottie text animations; plain HTML styled to look similar.  */
.section-heading {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    text-shadow: -2px 2px 0 var(--color-rich-black),
                  2px 2px 0 var(--color-rich-black),
                  2px -2px 0 var(--color-rich-black),
                 -2px -2px 0 var(--color-rich-black);
}

/* Phone-frame container that wraps the "believe video". The SVG frame image
   is layered on top via a pseudo-element so the <video> itself can stay simple. */
.phone-frame {
    position: relative;
    width: 266px;
    height: 430px;
    margin-inline: auto;
}
@media (min-width: 768px) {
    .phone-frame { width: 360px; height: 596px; }
}

.phone-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../assets/phone_frame_preview-BZlq5Pas.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 2;
    pointer-events: none;
}

.phone-frame video {
    position: relative;
    width: 193px;
    height: 340px;
    object-fit: cover;
    transform: translate(5px, 8px);       /* nudges video into the phone cutout  */
    border-radius: 22px;
}
@media (min-width: 768px) {
    .phone-frame video {
        width: 268px;
        height: 481px;
        transform: translate(16px, 19px);
    }
}

/* Play / mute control circles that hover over the left edge of the phone. */
.video-controls {
    position: absolute;
    top: 50%;
    left: -30px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 5;
}

.video-controls button {
    width: 60px; height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-rich-black);
    border: 2px solid transparent;
    border-radius: 50%;
    color: var(--color-white);
    cursor: pointer;
    transition: all 0.3s ease;
}
.video-controls button:hover {
    background-color: var(--color-primary);
    border-color: var(--color-rich-black);
}

/* Simple play / mute / unmute icons drawn inline so we don't depend on an
   icon library (the original used Lucide icons). */
.icon {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ============================================================================
 * 7. Token check section
 * ----------------------------------------------------------------------------
 * Two columns: left = heading + trust copy + CTA, right = feature tiles +
 * contract-address pill.
 * ========================================================================= */
.tokenomics {
    background-color: var(--color-darkblue);
    border-bottom: 4px solid var(--color-rich-black);
    color: var(--color-rich-black);
}

.tokenomics__grid {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
}
@media (min-width: 1024px) {
    .tokenomics__grid { grid-template-columns: 1fr 1fr; }
}

.tokenomics__left {
    padding: 4rem 2rem;
}
@media (min-width: 1024px) {
    .tokenomics__left { padding: 6rem 2rem 6rem 6rem; }
}

/* Compact trust card used in place of the old tokenomics chart. */
.token-check-card {
    max-width: 380px;
    margin: 2rem auto;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.88);
    border: 3px solid var(--color-rich-black);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-hard);
}

.token-check-card__eyebrow {
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.token-check-card__value {
    margin-bottom: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
    word-break: break-all;
}

.token-check-card__body {
    margin: 0;
    font-size: 0.95rem;
}

.tokenomics__bullets {
    max-width: 420px;
    margin: 2rem auto;
    list-style: disc inside;
}
.tokenomics__bullets li { margin-bottom: 0.75rem; }

/* Right column: blue bg, feature tiles and contract address. */
.tokenomics__right {
    position: relative;
    padding: 4rem 2rem;
    background-color: var(--color-primary);
    border-left: 0;
    overflow: hidden;
}
@media (min-width: 1024px) {
    .tokenomics__right { border-left: 4px solid var(--color-rich-black); }
}

.feature-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-tile {
    display: block;
    width: 200px;
    padding: 1.5rem;
    text-align: center;
    position: relative;
    background-color: rgba(255, 255, 255, 0.72);
    border: 2px solid var(--color-rich-black);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-hard);
}

/* Every other tile is nudged up slightly for a playful staggered look. */
.feature-tile:nth-child(even) {
    margin-top: 0;
}
@media (min-width: 768px) {
    .feature-tile:nth-child(even) { margin-top: -3rem; }
}

.feature-tile:hover {
    transform: translate(-3px, -3px);
    box-shadow: 7px 7px 0 var(--color-rich-black);
}

.feature-tile img { width: 140px; margin: 0 auto; }
.feature-tile h3  { margin-top: 0.75rem; font-size: 1.25rem; }
.feature-tile h4  { margin-top: 0.25rem; font-size: 0.9rem;  font-weight: 500; }

/* "Contract address" copy-to-clipboard pill. */
.contract {
    display: inline-flex;
    align-items: stretch;
    max-width: 90%;
    margin: 2rem auto 0;
    background-color: var(--color-white);
    border: 2px solid var(--color-rich-black);
    border-radius: var(--radius-pill);
    overflow: hidden;
    cursor: pointer;
    font-size: clamp(0.7rem, 2vw, 1rem);
    color: var(--color-secondary);
    transition: color 0.25s ease;
}

.contract:hover { color: #8a282c; }

.contract__value {
    padding: 1rem 1.25rem;
    word-break: break-all;
}

.contract__copy {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.25rem;
    background-color: var(--color-secondary);
    color: var(--color-rich-black);
    border-left: 2px solid var(--color-rich-black);
    transition: background-color 0.25s ease;
}
.contract__copy:hover { background-color: #a72f33; }

/* Trickster GIF decoration in bottom-right of the tokenomics card. */
.tokenomics__trickster {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 180px;
    pointer-events: none;
}


/* ============================================================================
 * 8. How-to-buy section
 * ----------------------------------------------------------------------------
 * Accordion on the left (5 steps), image slider on the right (11 cards).
 * ========================================================================= */
.how-to-buy {
    padding: var(--section-pad-y) 0;
    background-color: #fcd7ad;            /* warm sand tone from original       */
    border-bottom: 4px solid var(--color-rich-black);
}

.how-to-buy__intro {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3rem;
}

.how-to-buy__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1.5rem;
}
@media (min-width: 1024px) {
    .how-to-buy__grid { grid-template-columns: 1fr 1fr; }
}

/* Accordion steps — click a header to open the body underneath. */
.accordion { display: flex; flex-direction: column; gap: 1rem; }

.accordion__item {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.accordion__header {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: none;
    border: 0;
    cursor: pointer;
    color: var(--color-secondary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    text-align: left;
}

.accordion__header .chevron {
    transition: transform 0.4s ease;
}

.accordion__item.is-open .chevron {
    transform: rotate(180deg);            /* flip arrow when open               */
}

/* Collapsed by default: max-height 0 with overflow hidden.
   Open state gets its max-height raised enough to show content. */
.accordion__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    padding: 0 1.5rem;
}
.accordion__item.is-open .accordion__body {
    max-height: 400px;
    padding-bottom: 1rem;
}

.accordion__body p { margin-bottom: 0.75rem; }

/* Image slider (Golazo character cards). The active card is on top; the
   other cards are stacked behind and swapped via JS every few seconds.     */
.slider {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;                  /* keeps it square on any width       */
    overflow: hidden;
    border: 2px solid var(--color-rich-black);
    border-radius: var(--radius-md);
    background-color: var(--color-white);
}

.slider__card {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.slider__card.is-active {
    opacity: 1;
    pointer-events: auto;
}


/* ============================================================================
 * 9. Community section
 * ----------------------------------------------------------------------------
 * Dark outer section containing a lemon-chiffon rounded card with an image
 * on the left and CTA text + button on the right.
 * ========================================================================= */
.community {
    padding: var(--section-pad-y) 0;
    background-color: var(--color-rich-black);
}

.community__card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    padding: 2.5rem;
    background-color: var(--color-lemon);
    border-radius: var(--radius-lg);
}
@media (min-width: 768px) {
    .community__card { grid-template-columns: 1fr 2fr; padding: 3rem; }
}

.community__card img {
    border-radius: 50%;
    width: 100%;
    max-width: 360px;
    margin-inline: auto;
}

.community__copy h3 {
    color: var(--color-green);
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1rem;
}
.community__copy p  { margin-bottom: 0.75rem; color: #333; }


/* ============================================================================
 * 10. Matches section
 * ----------------------------------------------------------------------------
 * A countdown to the next major tournament (default: 2026 FIFA World Cup).
 * Each unit (Days/Hours/Minutes/Seconds) is its own boxed counter.
 * ========================================================================= */
.matches {
    padding: var(--section-pad-y) 0;
    background-color: var(--color-white);
    border-top: 2px solid var(--color-rich-black);
}

.matches__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.matches__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--color-rich-black);
    text-align: center;
}

.matches__eyebrow {
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-secondary);
}

.matches__logo { max-width: 280px; width: 60vw; }

.matches__copy {
    max-width: 760px;
    text-align: center;
    color: var(--color-text);
}

.countdown {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 1rem;
    user-select: none;
}

.countdown__unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.countdown__num {
    width: 72px; height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #d6d6d6;
    color: var(--color-secondary);
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    border: 1px solid var(--color-rich-black);
    border-radius: 0.5rem;
    box-shadow: 0 4px 1px #000;
}
@media (min-width: 768px) {
    .countdown__num { width: 128px; height: 128px; font-size: 4rem; }
}

.countdown__label {
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-rich-black);
}


/* ============================================================================
 * 11. Footer
 * ----------------------------------------------------------------------------
 * Marquee band → 3-column grid (logo / links / socials + contact) → copyright.
 * ========================================================================= */
.footer { background-color: var(--color-barcelona-blue); color: var(--color-white); }

.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 4rem 0 1rem;
}
@media (min-width: 768px) { .footer__grid { grid-template-columns: repeat(3, 1fr); } }

.footer__logo img { width: 160px; }

.footer__links { display: flex; flex-direction: column; gap: 0.75rem; }

.footer__links a {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 900;
    color: var(--color-white);
    text-shadow: -1px 1px 0 #000, 1px 1px 0 #000,
                  1px -1px 0 #000, -1px -1px 0 #000;
    transition: color 0.25s ease;
}
.footer__links a:hover { color: var(--color-secondary); }

.footer__socials h5 {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    margin-bottom: 1rem;
}

.footer__socials a[href^="mailto:"] {
    display: inline-block;
    margin-top: 1rem;
    color: var(--color-white);
    transition: color 0.25s ease;
}
.footer__socials a[href^="mailto:"]:hover { color: var(--color-primary); }

.footer__disclaimer {
    max-width: 900px;
    margin: 4rem auto 0;
    padding: 0 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.85);
}

.footer__copyright {
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
}


/* ============================================================================
 * 12. Scroll-reveal animations
 * ----------------------------------------------------------------------------
 * Elements with `.reveal` (+ optional `.reveal--left`/`.reveal--right`) start
 * slightly offset and invisible. main.js uses an IntersectionObserver to add
 * the `.is-visible` class when they enter the viewport, triggering a
 * short fade/slide-in transition.
 * ========================================================================= */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal--left  { transform: translateX(-48px); }
.reveal--right { transform: translateX(48px); }

.reveal.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}


/* ============================================================================
 * 13. Blog / secondary-page styles
 * ----------------------------------------------------------------------------
 * Used by blog.html. A simple readable layout + card grid for posts.
 * ========================================================================= */
.page-hero {
    padding: 8rem 1.5rem 3rem;
    background-color: var(--color-primary);
    text-align: center;
    border-bottom: 4px solid var(--color-rich-black);
}
.page-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: var(--color-white);
    text-shadow: -2px 2px 0 var(--color-rich-black),
                  2px 2px 0 var(--color-rich-black),
                  2px -2px 0 var(--color-rich-black),
                 -2px -2px 0 var(--color-rich-black);
}

.page-hero p {
    margin-top: 1rem;
    color: var(--color-rich-black);
    font-weight: 500;
}

.blog {
    padding: var(--section-pad-y) 0;
    background-color: var(--color-white);
}

.blog__intro {
    max-width: 760px;
    margin: 0 auto 2rem;
    text-align: center;
    color: var(--color-text);
}

/* Grid of post preview cards. Add `<article class="post-card">…</article>` to
   blog.html to show a new post preview. */
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.post-card {
    background-color: var(--color-white);
    border: 2px solid var(--color-rich-black);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-hard);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.post-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 7px 7px 0 var(--color-rich-black);
}

.post-card__cover {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background-color: var(--color-primary);
}

.post-card__body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.post-card__date {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.post-card__title {
    font-size: 1.25rem;
    color: var(--color-rich-black);
}
.post-card__excerpt { color: var(--color-text); font-size: 0.95rem; }

/* Container for an optional external-feed widget (e.g. football scores).
   blog.html ships an example that loads fake data; main.js exposes
   `golazo.loadFeed(url, selector)` for real feeds.                          */
.feed {
    margin-top: 3rem;
    padding: 2rem;
    background-color: var(--color-lemon);
    border: 2px solid var(--color-rich-black);
    border-radius: var(--radius-md);
}

.feed h2 { margin-bottom: 1rem; font-size: 1.75rem; color: var(--color-rich-black); }

.feed__list { display: flex; flex-direction: column; gap: 0.75rem; }

.feed__item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--color-rich-black);
}


/* Generic "article body" used when displaying a full post. */
.post-body {
    max-width: 760px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    background-color: var(--color-white);
    color: var(--color-text);
    font-size: 1.05rem;
    line-height: 1.75;
}
.post-body h1 { font-size: 2.5rem; color: var(--color-rich-black); margin-bottom: 1rem; }
.post-body h2 { font-size: 1.75rem; color: var(--color-rich-black); margin: 2rem 0 1rem; }
.post-body p  { margin-bottom: 1.25rem; }
.post-body ul { margin: 0 0 1.25rem 1.25rem; }
.post-body li { margin-bottom: 0.5rem; }
.post-body img { margin: 2rem auto; border-radius: var(--radius-md); }


/* ============================================================================
 * 14. Responsive tweaks
 * ----------------------------------------------------------------------------
 * Small screens: smaller hero padding, stack the about columns, shrink the
 * navbar buttons. Most layout grids already collapse above; this section
 * mops up the edge cases.
 * ========================================================================= */
@media (max-width: 640px) {
    .navbar__row { padding: 0.75rem 1rem; gap: 0.5rem; }
    .navbar__logo img { width: 96px; }
    .btn { padding: 0.6rem 1rem; font-size: 0.9rem; }
    .hero { padding-top: 6rem; }
    .section-heading { font-size: 2.25rem; }
    .countdown__num { width: 56px; height: 56px; font-size: 1.5rem; }
}


/* ============================================================================
 * 15. Golazo 2026 launch page
 * ----------------------------------------------------------------------------
 * Scoped to body.launch-page so index-old.html and the archive blog pages can
 * keep using the previous section styles.
 * ========================================================================= */
body.launch-page {
    --launch-black: #081116;
    --launch-ink: #14212a;
    --launch-green: #287a38;
    --launch-grass: #59a23c;
    --launch-gold: #f2bd43;
    --launch-red: #d6423f;
    --launch-blue: #1d6ea7;
    --launch-paper: #fff7e8;
    --launch-white: #ffffff;
    --launch-muted: #61717d;

    color: var(--launch-ink);
    background: var(--launch-black);
}

body.launch-page h1,
body.launch-page h2,
body.launch-page h3 {
    letter-spacing: 0;
}

.launch-shell {
    width: min(1160px, calc(100% - 32px));
    margin-inline: auto;
}

.launch-nav {
    position: absolute;
    inset: 0 0 auto;
    z-index: 20;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 16px;
    min-height: 76px;
    padding: 8px 24px;
    color: var(--launch-white);
    background: rgba(8, 17, 22, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 0;
    backdrop-filter: blur(14px);
}

.launch-nav__logo {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.launch-nav__logo img {
    width: 72px;
}

.launch-nav__links {
    display: none;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    font-weight: 900;
}

.launch-nav__links a {
    padding: 8px 10px;
    border-radius: 6px;
}

.launch-nav__links a:hover {
    color: var(--launch-gold);
    background: rgba(255, 255, 255, 0.08);
}

.launch-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 18px;
    color: var(--launch-white);
    background: var(--launch-red);
    border: 2px solid var(--launch-black);
    border-radius: 8px;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.65);
    font-weight: 900;
    text-align: center;
}

.launch-button:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.85);
}

.launch-button--small {
    min-height: 44px;
    padding: 10px 14px;
    white-space: nowrap;
}

.launch-button--alt {
    background: var(--launch-green);
}

.launch-button--light {
    color: var(--launch-black);
    background: var(--launch-gold);
}

.launch-hero {
    position: relative;
    min-height: 88vh;
    display: grid;
    align-items: end;
    padding: 116px 16px 44px;
    overflow: hidden;
    color: var(--launch-white);
    background:
        linear-gradient(90deg, rgba(8, 17, 22, 0.96), rgba(8, 17, 22, 0.76) 35%, rgba(8, 17, 22, 0.18) 72%),
        linear-gradient(0deg, rgba(8, 17, 22, 0.9), rgba(8, 17, 22, 0.08) 35%),
        url("../assets/world-cup-hero-generated.png");
    background-size: cover;
    background-position: center;
    border-bottom: 4px solid var(--launch-black);
}

.launch-hero__content {
    position: relative;
    z-index: 2;
    width: min(720px, 100%);
    margin-left: max(0px, calc((100vw - 1160px) / 2));
}

.launch-kicker {
    margin-bottom: 12px;
    color: var(--launch-gold);
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.launch-section--paper .launch-kicker,
.launch-section--memes .launch-kicker {
    color: var(--launch-red);
}

.launch-hero h1 {
    margin: 0;
    color: var(--launch-white);
    font-size: 4.2rem;
    font-weight: 900;
    line-height: 0.95;
    text-shadow: 4px 4px 0 var(--launch-black);
}

.launch-hero__subhead {
    max-width: 620px;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.2rem;
    line-height: 1.55;
    font-weight: 700;
}

.launch-hero__actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    width: min(100%, 520px);
    margin-top: 28px;
}

.launch-ca {
    display: inline-grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    width: min(100%, 520px);
    max-width: 100%;
    margin-top: 22px;
    padding: 10px 12px;
    color: var(--launch-white);
    background: rgba(8, 17, 22, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
}

.launch-ca span {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    padding-inline: 10px;
    color: var(--launch-black);
    background: var(--launch-gold);
    border-radius: 6px;
    font-weight: 900;
    white-space: nowrap;
}

.launch-ca strong {
    min-width: 0;
    overflow-wrap: anywhere;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 0.82rem;
    line-height: 1.45;
}

.launch-ca--light {
    color: var(--launch-ink);
    background: var(--launch-white);
    border-color: rgba(8, 17, 22, 0.18);
}

.launch-section {
    padding: 76px 0;
}

.launch-section--grass {
    color: var(--launch-white);
    background:
        linear-gradient(135deg, rgba(8, 17, 22, 0.92), rgba(8, 17, 22, 0.42)),
        linear-gradient(90deg, var(--launch-green), var(--launch-grass));
    border-bottom: 4px solid var(--launch-black);
}

.launch-section--paper {
    background: var(--launch-paper);
    border-bottom: 4px solid var(--launch-black);
}

.launch-section--dark {
    color: var(--launch-white);
    background: var(--launch-black);
    border-bottom: 4px solid #243541;
}

.launch-section--memes {
    background: #e7f3ff;
    border-bottom: 4px solid var(--launch-black);
}

.launch-section__intro {
    max-width: 760px;
}

.launch-section__intro h2 {
    margin: 0;
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1.05;
}

.launch-section__intro p:not(.launch-kicker) {
    margin-top: 16px;
    font-size: 1.05rem;
    line-height: 1.65;
}

.matchday-board {
    display: grid;
    gap: 14px;
    margin-top: 34px;
}

.matchday-row {
    display: grid;
    grid-template-columns: 104px 1fr;
    gap: 18px;
    align-items: center;
    align-content: start;
    padding: 18px;
    color: var(--launch-ink);
    background: rgba(255, 255, 255, 0.94);
    border: 2px solid var(--launch-black);
    border-radius: 8px;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.52);
}

.matchday-row__label {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 8px;
    color: var(--launch-black);
    background: var(--launch-gold);
    border-radius: 6px;
    font-weight: 900;
    text-align: center;
}

.matchday-row h3 {
    margin: 0;
    font-size: 1.2rem;
}

.matchday-row p {
    margin-top: 4px;
    color: #34434d;
}

.launch-split {
    display: grid;
    gap: 36px;
}

.buy-steps {
    display: grid;
    gap: 16px;
}

.buy-step,
.launch-link-card,
.launch-post-card,
.markdown-post {
    border-radius: 8px;
}

.buy-step {
    position: relative;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    column-gap: 18px;
    row-gap: 14px;
    align-items: center;
    align-content: start;
    min-height: 170px;
    padding: 22px;
    background: var(--launch-white);
    border: 2px solid var(--launch-black);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.16);
}

.buy-step span {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--launch-white);
    background: var(--launch-blue);
    border-radius: 50%;
    font-weight: 900;
}

.buy-step h3 {
    margin: 0;
    font-size: 1.2rem;
}

.buy-step p,
.buy-step a {
    grid-column: 1 / -1;
    justify-self: stretch;
}

.buy-step p {
    color: #44525b;
}

.buy-step a {
    display: inline-block;
    margin-top: 12px;
    color: var(--launch-red);
    font-weight: 900;
}

#buy .launch-split {
    grid-template-columns: 1fr;
}

.launch-link-grid {
    display: grid;
    gap: 14px;
    margin-top: 34px;
}

.launch-link-card {
    display: grid;
    gap: 6px;
    min-height: 120px;
    align-content: center;
    padding: 22px;
    color: var(--launch-white);
    background: #13232d;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.launch-link-card:hover {
    transform: translateY(-3px);
    background: #183442;
}

.launch-link-card span,
.launch-post-card span,
.markdown-post__date {
    color: var(--launch-gold);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.launch-link-card strong {
    overflow-wrap: anywhere;
    font-size: 1.35rem;
}

.meme-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 34px;
}

.meme-strip img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: var(--launch-white);
    border: 2px solid var(--launch-black);
    border-radius: 8px;
}

.launch-post-grid {
    display: grid;
    gap: 16px;
    margin-top: 34px;
}

.launch-post-card {
    overflow: hidden;
    background: var(--launch-white);
    border: 2px solid var(--launch-black);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.16);
}

.launch-post-card a {
    display: grid;
    height: 100%;
    color: var(--launch-ink);
}

.launch-post-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.launch-post-card div {
    padding: 18px;
}

.launch-post-card h3 {
    margin: 8px 0;
    font-size: 1.15rem;
}

.launch-post-card p {
    color: #43535d;
}

.launch-footer {
    padding: 42px 0;
    color: rgba(255, 255, 255, 0.58);
    background: var(--launch-black);
}

.launch-footer__grid {
    display: grid;
    justify-items: center;
    gap: 20px;
    text-align: center;
}

.launch-footer__logo img {
    width: 128px;
}

.launch-footer p {
    max-width: 780px;
    line-height: 1.65;
}

.launch-footer nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    font-weight: 900;
}

.launch-footer nav a {
    color: rgba(255, 255, 255, 0.66);
}

.launch-footer a:hover {
    color: var(--launch-gold);
}

.launch-footer__rule {
    width: 100%;
    height: 1px;
    margin: 8px 0 0;
    border: 0;
    background: rgba(255, 255, 255, 0.14);
}

.launch-footer__copyright {
    color: rgba(255, 255, 255, 0.62);
    font-weight: 900;
}

.markdown-post-shell {
    padding: 120px 16px 56px;
    background: var(--launch-paper);
}

.markdown-post {
    max-width: 820px;
    margin: 0 auto;
    padding: 24px;
    color: var(--launch-ink);
    background: var(--launch-white);
    border: 2px solid var(--launch-black);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.16);
}

.markdown-post__cover {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    margin-bottom: 22px;
    border-radius: 8px;
}

.markdown-post h1 {
    margin: 8px 0 18px;
    font-size: 2.5rem;
    line-height: 1.05;
}

.markdown-post h2 {
    margin: 32px 0 12px;
    font-size: 1.55rem;
}

.markdown-post p,
.markdown-post li,
.markdown-post blockquote {
    font-size: 1.06rem;
    line-height: 1.75;
}

.markdown-post p {
    margin-bottom: 18px;
}

.markdown-post ul {
    margin: 0 0 20px 22px;
    list-style: disc;
}

.markdown-post blockquote {
    margin: 24px 0;
    padding: 14px 18px;
    background: var(--launch-paper);
    border-left: 4px solid var(--launch-red);
}

.markdown-post a {
    color: var(--launch-red);
    font-weight: 900;
}

.markdown-post code {
    overflow-wrap: anywhere;
    padding: 2px 5px;
    background: #edf2f5;
    border-radius: 4px;
    font-size: 0.92em;
}

@media (min-width: 720px) {
    .launch-nav__links {
        display: flex;
    }

    .launch-hero h1 {
        font-size: 6.5rem;
    }

    .launch-section__intro h2 {
        font-size: 3.4rem;
    }

    .launch-link-grid,
    .launch-post-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .meme-strip {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 960px) {
    .launch-split {
        grid-template-columns: 0.9fr 1.1fr;
        align-items: start;
    }

    .matchday-board {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .matchday-row {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .buy-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 719px) {
    .launch-nav {
        min-height: 66px;
        padding: 8px 14px;
    }

    .launch-nav__logo img {
        width: 58px;
    }

    .launch-button--small {
        min-height: 38px;
        padding: 8px 10px;
        font-size: 0.84rem;
    }

    .launch-button {
        min-height: 52px;
        padding: 10px 8px;
        font-size: 0.95rem;
    }

    .launch-hero {
        min-height: 90vh;
        padding-top: 96px;
        background-position: 58% center;
    }

    .launch-hero h1 {
        font-size: 3.6rem;
    }

    .launch-hero__subhead {
        font-size: 1rem;
    }

    .launch-ca {
        grid-template-columns: 1fr;
    }

    .launch-section {
        padding: 56px 0;
    }

    .launch-section__intro h2 {
        font-size: 2.2rem;
    }

    .matchday-row {
        grid-template-columns: 1fr;
    }

    .markdown-post h1 {
        font-size: 2rem;
    }
}
