/* ==========================================================================
   STYLES.CSS — Gamescovery Landing Page custom styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(27, 38, 44, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--color-secondary);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

/* ── Brand (logo + name) ── */

.brand-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

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

.brand-logo img {
    height: 40px;
    width: auto;
    border-radius: 0.25rem;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    transition: color 0.2s ease;
    margin: 0;
}

.brand-link:hover .brand-name,
.brand-link:focus-visible .brand-name {
    color: var(--color-secondary);
}

/* ── Navigation ── */

.header-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.header-nav .nav-link {
    font-size: 1.05rem;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 640px) {
    .header-inner {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .brand-logo img {
        height: 32px;
    }

    .brand-name {
        font-size: 1.25rem;
    }

    .header-nav .nav-link {
        font-size: 0.95rem;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    padding-top: 5rem;
    padding-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

/* ── Subtle radial glow behind the hero ── */

.hero-section::before {
    content: '';
    position: absolute;
    top: -15%;
    right: -8%;
    width: 650px;
    height: 650px;
    background: radial-gradient(
        circle,
        rgba(47, 79, 79, 0.28) 0%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 0;
}

/* ── Row ── */

.hero-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 3rem;
    margin-left: 0;
    margin-right: 0;
    position: relative;
    z-index: 1;
}

.hero-col-text {
    flex: 1 1 0%;
    min-width: 0;
    padding-left: 0;
    padding-right: 0;
}

.hero-col-card {
    flex: 0 0 auto;
    width: 380px;
    min-width: 0;
    padding-left: 0;
    padding-right: 0;
}

/* ── Badge ── */

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.1rem;
    margin-bottom: 1.75rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-secondary);
    background: rgba(181, 166, 66, 0.1);
    border: 1px solid rgba(181, 166, 66, 0.4);
    border-radius: 2rem;
    width: fit-content;
}

.hero-badge-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--color-secondary);
    border-radius: 50%;
    flex-shrink: 0;
    animation: hero-dot-pulse 2.2s ease-in-out infinite;
}

@keyframes hero-dot-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 4px rgba(181, 166, 66, 0.6); }
    50%      { opacity: 0.35; box-shadow: 0 0 0px rgba(181, 166, 66, 0); }
}

/* ── Heading ── */

.hero-heading {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.12;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.hero-heading-accent {
    color: var(--color-secondary);
    font-style: italic;
}

/* ── Description ── */

.hero-description {
    font-size: 1.2rem;
    color: var(--color-text);
    opacity: 0.85;
    line-height: 1.75;
    max-width: 64ch;
}

/* ── Game card wrapper ── */

.hero-card-wrapper {
    position: relative;
}

/* ── Game card ── */

.hero-game-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border: 1px solid rgba(181, 166, 66, 0.25);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.45),
        0 0 60px rgba(181, 166, 66, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

/* gradient overlay for text readability */
.hero-game-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 35%,
        rgba(27, 38, 44, 0.7) 70%,
        rgba(27, 38, 44, 0.92) 100%
    );
    pointer-events: none;
}

/* ── Card inner content ── */

.hero-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    padding: 2rem 1.75rem;
}

.hero-card-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
    padding: 0.3rem 0.7rem;
    background: rgba(27, 38, 44, 0.65);
    border-radius: 0.35rem;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.hero-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.85rem;
    line-height: 1.2;
}

.hero-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hero-card-tag {
    display: inline-block;
    padding: 0.2rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text);
    background: rgba(47, 79, 79, 0.65);
    border: 1px solid rgba(181, 166, 66, 0.3);
    border-radius: 0.35rem;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* ── Responsive: tablet ── */

@media (max-width: 900px) {
    .hero-section {
        padding-top: 3.5rem;
        padding-bottom: 3rem;
    }

    .hero-section::before {
        width: 450px;
        height: 450px;
        top: -10%;
        right: -15%;
    }

    .hero-row {
        gap: 2rem;
    }

    .hero-col-card {
        width: 300px;
    }

    .hero-heading {
        font-size: 2.75rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-card-content {
        padding: 1.5rem 1.25rem;
    }

    .hero-card-title {
        font-size: 1.3rem;
    }
}

/* ── Responsive: mobile (stack columns) ── */

@media (max-width: 640px) {
    .hero-section {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .hero-section::before {
        width: 300px;
        height: 300px;
        top: 5%;
        right: -30%;
    }

    .hero-row {
        flex-direction: column;
        gap: 2rem;
    }

    .hero-col-text {
        flex: 1 1 auto;
        order: 1;
    }

    .hero-col-card {
        flex: 1 1 auto;
        order: 0;
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }

    .hero-heading {
        font-size: 2.25rem;
    }

    .hero-description {
        font-size: 1rem;
        max-width: none;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 0.35rem 0.9rem;
        margin-bottom: 1.25rem;
    }

    .hero-card-content {
        padding: 1.25rem 1rem;
    }

    .hero-card-title {
        font-size: 1.15rem;
    }

    .hero-card-label {
        font-size: 0.7rem;
    }

    .hero-card-tag {
        font-size: 0.7rem;
        padding: 0.15rem 0.55rem;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background-color: #151e23; /* slightly darker than --color-bg for grounding */
    border-top: 3px solid var(--color-secondary);
    margin-top: 3rem;
}

.footer-inner {
    padding-top: 2.5rem;
    padding-bottom: 0;
}

/* ── Grid layout ── */

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}

/* ── Brand column ── */

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

.footer-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-logo-link:hover,
.footer-logo-link:focus-visible {
    opacity: 0.85;
}

.footer-logo-img {
    height: 36px;
    width: auto;
    border-radius: 0.25rem;
}

.footer-brand-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-primary);
}

.footer-tagline {
    font-size: 0.95rem;
    color: var(--color-text);
    opacity: 0.7;
    max-width: 24ch;
    line-height: 1.5;
}

/* ── Nav & Social columns (shared) ── */

.footer-heading {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: 0.75rem;
}

.footer-nav ul,
.footer-social ul {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.footer-nav a,
.footer-social a {
    font-size: 0.95rem;
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-block;
}

.footer-nav a:hover,
.footer-nav a:focus-visible,
.footer-social a:hover,
.footer-social a:focus-visible {
    color: var(--color-secondary);
    padding-left: 4px;
}

/* ── Copyright bar ── */

.footer-bottom {
    border-top: 1px solid rgba(181, 166, 66, 0.2);
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--color-text);
    opacity: 0.55;
}

/* ── Responsive fine-tuning ── */

@media (max-width: 639px) {
    .site-footer {
        margin-top: 2rem;
    }

    .footer-inner {
        padding-top: 2rem;
    }

    .footer-grid {
        gap: 1.75rem;
        padding-bottom: 1.5rem;
    }

    .footer-brand {
        align-items: flex-start;
    }

    .footer-bottom {
        text-align: center;
    }
}

/* ==========================================================================
   Features / Recommendation Logic Section
   ========================================================================== */

.features-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* ── Section header ── */

.section-header {
    max-width: 650px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--color-text);
    opacity: 0.75;
    line-height: 1.7;
}

/* ── Features grid ── */

.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

/* ── Feature card ── */

.feature-card {
    flex: 1 1 300px;
    max-width: calc(33.333% - 1.334rem);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 2rem 1.75rem;
    background-color: var(--color-surface);
    border: 1px solid transparent;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* ── Icon ── */

.feature-icon {
    font-size: 2rem;
    line-height: 1;
    flex-shrink: 0;
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
}

.feature-icon svg {
    width: 2rem;
    height: 2rem;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ── Body ── */

.feature-body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-body h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-primary);
}

.feature-body p {
    font-size: 1rem;
    color: var(--color-text);
    opacity: 0.8;
    line-height: 1.7;
}

/* ── Responsive ── */

@media (max-width: 900px) {
    .features-grid {
        gap: 1.5rem;
    }

    .feature-card {
        max-width: calc(50% - 0.75rem);
    }

    .features-section {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 640px) {
    .features-grid {
        gap: 1.25rem;
    }

    .feature-card {
        max-width: 100%;
        padding: 1.5rem 1.25rem;
    }

    .features-section {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-subtitle {
        font-size: 1.05rem;
    }

    .feature-body h3 {
        font-size: 1.2rem;
    }

    .feature-icon {
        font-size: 1.6rem;
    }
}

/* ==========================================================================
   Community Section
   ========================================================================== */

.community-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* ── Header ── */

.community-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.community-header h2 {
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.community-header p {
    font-size: 1.15rem;
    color: var(--color-text);
    opacity: 0.8;
    line-height: 1.7;
}

/* ── Grid ── */

.community-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 640px;
    margin: 0 auto;
}

/* ── Cards ── */

.community-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem 1.5rem;
    background-color: var(--color-surface);
    border: 1px solid transparent;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.community-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-secondary);
    box-shadow: 0 12px 32px rgba(181, 166, 66, 0.18), 0 4px 8px rgba(0, 0, 0, 0.35);
}

.community-card:focus-visible {
    outline: 2px solid var(--color-secondary);
    outline-offset: 3px;
}

/* ── Icon ── */

.community-card-icon {
    width: 124px;
    height: 124px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    transition: color 0.3s ease, transform 0.3s ease;
}

.community-card-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
}

.community-card:hover .community-card-icon {
    color: var(--color-primary);
    transform: scale(1.08);
}

/* ── Name ── */

.community-card-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-primary);
    transition: color 0.3s ease;
}

.community-card:hover .community-card-name {
    color: var(--color-secondary);
}

/* ── CTA ── */

.community-card-cta {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-secondary);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.community-card:hover .community-card-cta {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ── */

@media (max-width: 640px) {
    .community-section {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .community-header {
        margin-bottom: 2rem;
    }

    .community-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .community-card {
        padding: 1.75rem 1.25rem;
    }

    .community-card-icon {
        width: 100px;
        height: 100px;
    }

    .community-card-name {
        font-size: 1.2rem;
    }
}

/* ==========================================================================
   Private Beta CTA Section
   ========================================================================== */

/* ── Full-width band to visually separate the CTA ── */

.cta-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
    background: linear-gradient(
        180deg,
        var(--color-bg) 0%,
        rgba(47, 79, 79, 0.35) 30%,
        rgba(47, 79, 79, 0.35) 70%,
        var(--color-bg) 100%
    );
    border-top: 1px solid rgba(181, 166, 66, 0.2);
    border-bottom: 1px solid rgba(181, 166, 66, 0.2);
}

/* ── Card ── */

.cta-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    padding: 3.5rem 3rem;
    background: linear-gradient(
        160deg,
        rgba(47, 79, 79, 0.9) 0%,
        rgba(27, 38, 44, 0.95) 100%
    );
    border: 1px solid rgba(181, 166, 66, 0.35);
    border-radius: 1.25rem;
    box-shadow:
        0 0 60px rgba(181, 166, 66, 0.08),
        0 8px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

/* ── Gold accent bar at top ── */

.cta-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--color-secondary) 20%,
        var(--color-secondary) 80%,
        transparent 100%
    );
    border-radius: 0 0 6px 6px;
}

/* ── Subtle radial glow behind the card content ── */

.cta-inner::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(
        circle,
        rgba(181, 166, 66, 0.06) 0%,
        transparent 70%
    );
    pointer-events: none;
}

/* ── Badge ── */

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    padding: 0.35rem 1rem;
    margin-bottom: 1.25rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-secondary);
    background-color: rgba(181, 166, 66, 0.1);
    border: 1px solid rgba(181, 166, 66, 0.4);
    border-radius: 2rem;
}

.cta-badge-icon {
    width: 1.25em;
    height: 1.25em;
    flex-shrink: 0;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform: translateY(-0.1em);
}

.hero-badge-icon {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ── Typography ── */

.cta-heading {
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-size: 2.25rem;
}

.cta-description {
    font-size: 1.2rem;
    color: var(--color-text);
    opacity: 0.9;
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.cta-instruction {
    font-size: 1.05rem;
    color: var(--color-text);
    opacity: 0.8;
    line-height: 1.7;
    margin-bottom: 2.25rem;
}

.cta-instruction strong {
    color: var(--color-secondary);
    font-weight: 700;
}

/* ── Actions / Button ── */

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.cta-btn {
    padding: 1rem 2.75rem;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border-radius: 0.6rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.2s ease;
    box-shadow:
        0 0 20px rgba(181, 166, 66, 0.3),
        0 4px 16px rgba(0, 0, 0, 0.3);
    animation: cta-glow-pulse 2.8s ease-in-out infinite;
}

.cta-btn:hover {
    transform: translateY(-4px);
    box-shadow:
        0 0 35px rgba(181, 166, 66, 0.45),
        0 8px 28px rgba(0, 0, 0, 0.4);
    opacity: 1;
    animation: none;
}

/* ── Subtle glow pulse ── */

@keyframes cta-glow-pulse {
    0%, 100% {
        box-shadow:
            0 0 20px rgba(181, 166, 66, 0.3),
            0 4px 16px rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow:
            0 0 32px rgba(181, 166, 66, 0.4),
            0 4px 16px rgba(0, 0, 0, 0.3);
    }
}

/* ── Responsive ── */

@media (max-width: 640px) {
    .cta-section {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

    .cta-inner {
        padding: 2.25rem 1.25rem;
    }

    .cta-heading {
        font-size: 1.75rem;
    }

    .cta-description {
        font-size: 1rem;
    }

    .cta-instruction {
        font-size: 0.95rem;
    }

    .cta-btn {
        padding: 0.85rem 2rem;
        font-size: 1.05rem;
    }
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.faq-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* ── Header ── */

.faq-header {
    text-align: center;
    max-width: 650px;
    margin: 2rem auto 2rem;
}

.faq-header h1 {
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.faq-header p {
    font-size: 1.2rem;
    color: var(--color-text);
    opacity: 0.75;
    line-height: 1.7;
}

/* ── List ── */

.faq-list {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* ── Item (details) ── */

.faq-item {
    background-color: var(--color-surface);
    border: 1px solid rgba(181, 166, 66, 0.15);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item[open] {
    border-color: rgba(181, 166, 66, 0.4);
    box-shadow:
        0 0 24px rgba(181, 166, 66, 0.08),
        0 4px 12px rgba(0, 0, 0, 0.25);
}

/* ── Question (summary) ── */

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: background-color 0.2s ease;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::marker {
    content: '';
}

.faq-question:hover {
    background-color: rgba(181, 166, 66, 0.06);
}

.faq-item[open] .faq-question {
    background-color: rgba(181, 166, 66, 0.04);
}

.faq-question span:first-child {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.4;
}

/* ── Chevron ── */

.faq-chevron {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.3s ease;
}

.faq-chevron::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--color-secondary);
    border-bottom: 2px solid var(--color-secondary);
    transform: rotate(45deg) translateY(-2px);
    transition: border-color 0.3s ease;
}

.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
}

.faq-item:hover .faq-chevron::before {
    border-color: var(--color-primary);
}

/* ── Answer ── */

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--color-text);
    opacity: 0.85;
    line-height: 1.75;
    font-size: 1rem;
}

.faq-answer p {
    margin-bottom: 0.75rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.faq-answer ul li {
    margin-bottom: 0.4rem;
}

.faq-answer a {
    color: var(--color-secondary);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: opacity 0.2s ease;
}

.faq-answer a:hover {
    opacity: 0.8;
}

.faq-answer strong,
.faq-answer b {
    color: var(--color-primary);
    font-weight: 700;
}

/* ── Responsive ── */

@media (max-width: 640px) {
    .faq-section {
        padding-top: 4rem;
        padding-bottom: 1.5rem;
    }

    .faq-header {
        margin-bottom: 1.5rem;
    }

    .faq-header h1 {
        font-size: 2rem;
    }

    .faq-header p {
        font-size: 1rem;
    }

    .faq-list {
        gap: 0.5rem;
    }

    .faq-question {
        padding: 1rem 1.25rem;
    }

    .faq-question span:first-child {
        font-size: 1rem;
    }

    .faq-answer {
        padding: 0 1.25rem 1.25rem;
        font-size: 0.95rem;
    }
}

/* ==========================================================================
   For Game Developers Section
   ========================================================================== */

.developers-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
    background: linear-gradient(
        180deg,
        var(--color-bg) 0%,
        rgba(47, 79, 79, 0.22) 30%,
        rgba(47, 79, 79, 0.22) 70%,
        var(--color-bg) 100%
    );
    border-top: 1px solid rgba(181, 166, 66, 0.2);
    border-bottom: 1px solid rgba(181, 166, 66, 0.2);
}

/* ── Intro paragraph ── */

.developers-intro {
    max-width: 680px;
    margin: 0 auto 2rem;
    font-size: 1.15rem;
    color: var(--color-text);
    opacity: 0.85;
    line-height: 1.75;
    text-align: center;
}

/* ── Closing CTA ── */

.developers-cta-wrapper {
    max-width: 680px;
    margin: 3rem auto 0;
    text-align: center;
}

.developers-cta {
    font-size: 1.25rem;
    color: var(--color-primary);
    line-height: 1.65;
    margin-bottom: 1.75rem;
}

.developers-cta strong {
    color: var(--color-secondary);
    font-weight: 700;
}

/* ── Responsive ── */

@media (max-width: 640px) {
    .developers-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .developers-intro {
        font-size: 1rem;
    }

    .developers-cta {
        font-size: 1.1rem;
    }

    .developers-cta-wrapper {
        margin-top: 2rem;
    }
}

/* ==========================================================================
   Share the Word Section
   ========================================================================== */

.share-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* ── Grid ── */

.share-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 880px;
    margin: 0 auto;
}

/* ── Share card ── */

.share-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    padding: 1.75rem 1rem;
    background-color: var(--color-surface);
    border: 1px solid transparent;
    border-radius: 0.75rem;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

.share-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-secondary);
    box-shadow:
        0 12px 32px rgba(181, 166, 66, 0.18),
        0 4px 8px rgba(0, 0, 0, 0.35);
}

.share-card:focus-visible {
    outline: 2px solid var(--color-secondary);
    outline-offset: 3px;
}

/* ── Icon ── */

.share-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    transition: color 0.3s ease, transform 0.3s ease;
}

.share-card-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
}

.share-card:hover .share-card-icon {
    color: var(--color-primary);
    transform: scale(1.08);
}

/* ── Name ── */

.share-card-name {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-primary);
    transition: color 0.3s ease;
}

.share-card:hover .share-card-name {
    color: var(--color-secondary);
}

/* ── Copy feedback ── */

.share-card-feedback {
    position: absolute;
    top: -2.5rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.3rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-bg);
    background-color: var(--color-secondary);
    border-radius: 0.35rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, top 0.25s ease;
}

.share-card-feedback.visible {
    opacity: 1;
    top: -2.8rem;
}

.share-card-feedback::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--color-secondary);
    border-bottom: none;
}

/* ── Responsive ── */

@media (max-width: 900px) {
    .share-section {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

    .share-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
        max-width: 560px;
    }
}

@media (max-width: 640px) {
    .share-section {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

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

    .share-card {
        padding: 1.5rem 0.75rem;
        gap: 0.5rem;
    }

    .share-card-icon {
        width: 40px;
        height: 40px;
    }

    .share-card-name {
        font-size: 0.85rem;
    }
}
