.ai-game-main {
    min-height: calc(100vh - 180px);
    padding: 0 0 4rem;
    overflow-x: clip;
}

.ai-game-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    color: var(--text-light);
    font-size: 0.82rem;
}

.ai-game-breadcrumb a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--brand-primary);
    text-decoration: none;
}

.ai-game-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.65fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    overflow: hidden;
    margin-bottom: 1.5rem;
    padding: clamp(2rem, 5vw, 4.5rem);
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at 82% 20%, rgba(96, 165, 250, 0.24), transparent 34%),
        linear-gradient(138deg, #0f172a 0%, #172554 52%, #0c4a6e 100%);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.16);
}

.ai-game-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.09) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(90deg, transparent, #000);
    pointer-events: none;
}

.ai-game-hero-copy,
.ai-game-cover {
    position: relative;
    z-index: 1;
}

.ai-game-kicker {
    display: inline-flex;
    margin-bottom: 0.9rem;
    padding: 0.35rem 0.72rem;
    border: 1px solid rgba(125, 211, 252, 0.4);
    border-radius: var(--radius-full);
    background: rgba(14, 116, 144, 0.28);
    color: #bae6fd;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.ai-game-hero h1 {
    max-width: 760px;
    margin: 0;
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.7rem);
    font-weight: 850;
    letter-spacing: -0.045em;
    line-height: 1.08;
    text-wrap: balance;
}

.ai-game-lead {
    max-width: 720px;
    margin: 1.15rem 0 0;
    color: rgba(255,255,255,0.76);
    font-size: clamp(0.98rem, 2vw, 1.08rem);
    line-height: 1.8;
    text-wrap: pretty;
}

.ai-game-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
    margin: 1.5rem 0;
}

.ai-game-facts div {
    min-width: 0;
    padding: 0.75rem;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    background: rgba(15,23,42,0.3);
}

.ai-game-facts dt {
    color: rgba(255,255,255,0.5);
    font-size: 0.68rem;
}

.ai-game-facts dd {
    overflow-wrap: anywhere;
    margin: 0.18rem 0 0;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 750;
}

.ai-game-primary-cta,
.ai-game-final-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.75rem 1.35rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #172554;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(245, 158, 11, 0.24);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ai-game-primary-cta:hover,
.ai-game-final-cta a:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(245, 158, 11, 0.32);
}

.ai-game-cta-note {
    margin: 0.7rem 0 0;
    color: rgba(255,255,255,0.55);
    font-size: 0.75rem;
}

.ai-game-cover {
    max-width: 360px;
    margin: 0 auto;
    transform: rotate(2deg);
}

.ai-game-cover img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid rgba(255,255,255,0.24);
    border-radius: 24px;
    box-shadow: 0 28px 70px rgba(0,0,0,0.42);
}

.ai-game-section {
    margin-bottom: 1.5rem;
    padding: clamp(1.5rem, 4vw, 2.6rem);
    border: 1px solid rgba(15,23,42,0.07);
    border-radius: var(--radius-xl);
    background: var(--bg-color);
    box-shadow: 0 8px 30px rgba(15,23,42,0.05);
}

.ai-game-section-heading {
    max-width: 760px;
    margin-bottom: 1.5rem;
}

.ai-game-section-heading > span {
    color: var(--brand-primary);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.ai-game-section-heading h2 {
    margin: 0.3rem 0 0;
    color: var(--text-color);
    font-size: clamp(1.45rem, 3vw, 2rem);
    letter-spacing: -0.025em;
    line-height: 1.25;
    text-wrap: balance;
}

.ai-game-section-heading p {
    margin: 0.65rem 0 0;
    color: var(--text-light);
    line-height: 1.7;
}

.ai-game-feature-grid,
.ai-game-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.ai-game-feature-card,
.ai-game-faq-list article {
    padding: 1.25rem;
    border: 1px solid rgba(15,23,42,0.07);
    border-radius: 16px;
    background: var(--bg-light);
}

.ai-game-feature-card h3,
.ai-game-step-grid h3,
.ai-game-faq-list h3 {
    margin: 0;
    color: var(--text-color);
    font-size: 1rem;
}

.ai-game-feature-card p,
.ai-game-step-grid p,
.ai-game-faq-list p {
    margin: 0.55rem 0 0;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.7;
}

.ai-game-step-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ai-game-step-grid li {
    position: relative;
    min-width: 0;
    padding: 0 1.15rem 0 0;
}

.ai-game-step-grid li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 1.05rem;
    right: 0.5rem;
    width: 32px;
    height: 1px;
    background: rgba(37,99,235,0.22);
}

.ai-game-step-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 0.65rem;
    border-radius: 50%;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 0.72rem;
    font-weight: 850;
}

.ai-game-dialogue-section {
    background:
        radial-gradient(circle at 92% 8%, rgba(56,189,248,0.13), transparent 32%),
        #f8fbff;
}

.ai-game-dialogue-list {
    display: grid;
    gap: 0.85rem;
}

.ai-game-dialogue {
    margin: 0;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(37,99,235,0.12);
    border-left: 4px solid #2563eb;
    border-radius: 0 14px 14px 0;
    background: rgba(255,255,255,0.86);
}

.ai-game-dialogue div {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.75rem;
    align-items: baseline;
}

.ai-game-dialogue strong {
    color: #1e40af;
    font-size: 0.88rem;
}

.ai-game-dialogue span {
    color: var(--text-light);
    font-size: 0.75rem;
}

.ai-game-dialogue p {
    margin: 0.55rem 0 0;
    color: var(--text-color);
    line-height: 1.7;
}

.ai-game-faq-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.ai-game-related-grid a {
    display: flex;
    min-height: 92px;
    flex-direction: column;
    justify-content: center;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(37,99,235,0.12);
    border-radius: 14px;
    color: var(--text-color);
    text-decoration: none;
    transition: border-color 0.18s ease, transform 0.18s ease;
}

.ai-game-related-grid a:hover {
    transform: translateY(-2px);
    border-color: rgba(37,99,235,0.34);
}

.ai-game-related-grid strong {
    color: var(--brand-primary);
}

.ai-game-related-grid span {
    margin-top: 0.25rem;
    color: var(--text-light);
    font-size: 0.82rem;
}

.ai-game-final-cta {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border-radius: var(--radius-xl);
    background: #172554;
    color: #fff;
}

.ai-game-final-cta span {
    color: #93c5fd;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.ai-game-final-cta h2 {
    margin: 0.3rem 0 0;
    color: #fff;
    font-size: clamp(1.25rem, 3vw, 1.8rem);
}

@media (max-width: 900px) {
    .ai-game-hero {
        grid-template-columns: minmax(0, 1fr) minmax(220px, 0.55fr);
        gap: 2rem;
    }

    .ai-game-facts,
    .ai-game-step-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ai-game-step-grid {
        gap: 1.25rem;
    }

    .ai-game-step-grid li:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 700px) {
    .ai-game-main {
        padding-bottom: 2.5rem;
    }

    .ai-game-breadcrumb {
        margin-bottom: 0.75rem;
    }

    .ai-game-hero {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        border-radius: var(--radius-lg);
    }

    .ai-game-hero-copy {
        order: 2;
    }

    .ai-game-cover {
        order: 1;
        max-width: 210px;
        transform: rotate(1deg);
    }

    .ai-game-feature-grid,
    .ai-game-faq-list,
    .ai-game-related-grid {
        grid-template-columns: 1fr;
    }

    .ai-game-section,
    .ai-game-final-cta {
        border-radius: var(--radius-lg);
    }

    .ai-game-final-cta {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (max-width: 430px) {
    .ai-game-facts,
    .ai-game-step-grid {
        grid-template-columns: 1fr;
    }

    .ai-game-primary-cta,
    .ai-game-final-cta a {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ai-game-primary-cta,
    .ai-game-final-cta a,
    .ai-game-related-grid a {
        transition: none;
    }
}
