/*
 * PROJECT: avantlagerl.com
 * DOMAIN: avantlagerl.com
 * GAME: Checkers Master
 *
 * DESIGN:
 * - CSS: BEM
 * - Palette: Classic Board / Strategic
 * - Effect: Neumorphism
 * - Fonts: DM Sans (heading) + Work Sans (body)
 * - Buttons: 3D Effect
 *
 * Created: 2026
 */

/* ─── Google Fonts ─── */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Work+Sans:wght@300;400;500;600&display=swap');

/* ─── CSS Variables ─── */
:root {
    --board-ebony: #2c2c2c;
    --board-ivory: #f5f0e8;
    --board-cream: #e8dcc8;
    --crown-gold: #c9a84c;
    --move-red: #c0392b;
    --piece-dark: #3d2b1f;
    --piece-light: #f5f0e8;
    --strategy-blue: #2563eb;
    --accent-warm: #a0522d;
    --bg-main: #f5f5f7;
    --bg-card: #f0ece6;
    --bg-white: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #555555;
    --text-muted: #888888;
    --border-light: #e0d8cc;
    --shadow-dark: #d4cfc9;
    --shadow-light: #ffffff;
    --font-heading: 'DM Sans', sans-serif;
    --font-body: 'Work Sans', sans-serif;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: 0.25s ease;
    --header-height: 70px;
    --neuro-shadow: 8px 8px 16px #d4cfc9, -8px -8px 16px #ffffff;
    --neuro-shadow-inset: inset 4px 4px 8px #d4cfc9, inset -4px -4px 8px #ffffff;
    --neuro-hover: 4px 4px 8px #d4cfc9, -4px -4px 8px #ffffff;
}

/* ─── Reset ─── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    max-width: 100%;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

html, body {
    overflow-x: hidden !important;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

ul, ol {
    list-style: none;
}

/* ─── Mandatory Rules ─── */
.article-card,
.offer-card,
.card {
    position: relative;
}

.article-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.stars {
    color: #ffc107;
}

/* ─── Typography ─── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.2rem; }

p {
    font-family: var(--font-body);
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

p:last-child { margin-bottom: 0; }

/* ─── Container ─── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    position: relative;
}

.btn--primary {
    background: var(--strategy-blue);
    color: #fff;
    box-shadow: 0 6px 0 #1a4db5, 0 8px 16px rgba(37, 99, 235, 0.3);
}

.btn--primary:hover {
    background: #1d55d4;
    box-shadow: 0 4px 0 #1a4db5, 0 6px 12px rgba(37, 99, 235, 0.35);
    transform: translateY(2px);
    color: #fff;
}

.btn--primary:active {
    box-shadow: 0 2px 0 #1a4db5;
    transform: translateY(4px);
}

.btn--secondary {
    background: var(--bg-main);
    color: var(--text-primary);
    box-shadow: var(--neuro-shadow);
}

.btn--secondary:hover {
    box-shadow: var(--neuro-hover);
    color: var(--strategy-blue);
}

.btn--gold {
    background: var(--crown-gold);
    color: #fff;
    box-shadow: 0 6px 0 #9e7c2e, 0 8px 16px rgba(201, 168, 76, 0.4);
}

.btn--gold:hover {
    background: #b8973f;
    box-shadow: 0 4px 0 #9e7c2e, 0 6px 12px rgba(201, 168, 76, 0.45);
    transform: translateY(2px);
    color: #fff;
}

.btn-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    padding: 18px 48px;
    border-radius: var(--radius-lg);
    background: var(--strategy-blue);
    color: #fff;
    box-shadow: 0 8px 0 #1a4db5, 0 12px 24px rgba(37, 99, 235, 0.4);
    transition: all var(--transition);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-play:hover {
    background: #1d55d4;
    box-shadow: 0 5px 0 #1a4db5, 0 8px 20px rgba(37, 99, 235, 0.45);
    transform: translateY(3px);
    color: #fff;
}

.btn-play:active {
    box-shadow: 0 2px 0 #1a4db5;
    transform: translateY(6px);
}

/* ─── Header ─── */
.site-header {
    background: var(--bg-main);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo__accent {
    color: var(--strategy-blue);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-nav__link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.site-nav__link:hover,
.site-nav__link--active {
    color: var(--strategy-blue);
    background: rgba(37, 99, 235, 0.08);
}

.site-header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.site-header__burger-line {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition);
}

/* ─── Hero ─── */
.hero {
    background: var(--bg-main);
    padding: 80px 0 60px;
    overflow: hidden;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-main);
    box-shadow: var(--neuro-shadow);
    color: var(--strategy-blue);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.hero__title {
    margin-bottom: 20px;
}

.hero__title-accent {
    color: var(--strategy-blue);
}

.hero__description {
    font-size: 1.1rem;
    margin-bottom: 32px;
    color: var(--text-secondary);
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero__stats {
    display: flex;
    gap: 32px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.hero__stat {
    text-align: center;
}

.hero__stat-value {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--text-primary);
    display: block;
}

.hero__stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__game-card {
    background: var(--bg-main);
    box-shadow: var(--neuro-shadow);
    border-radius: var(--radius-xl);
    padding: 32px;
    text-align: center;
    max-width: 380px;
    width: 100%;
}

.hero__game-icon {
    width: 160px;
    height: 160px;
    border-radius: var(--radius-lg);
    margin: 0 auto 24px;
    box-shadow: var(--neuro-shadow);
    object-fit: cover;
}

.hero__game-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.hero__game-category {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero__game-stars {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

/* ─── Section Header ─── */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header__label {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--strategy-blue);
    margin-bottom: 12px;
}

.section-header__title {
    margin-bottom: 16px;
}

.section-header__subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
}

/* ─── Features ─── */
.features {
    background: var(--bg-main);
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    background: var(--bg-main);
    box-shadow: var(--neuro-shadow);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: box-shadow var(--transition);
}

.feature-card:hover {
    box-shadow: var(--neuro-hover);
}

.feature-card__icon {
    width: 64px;
    height: 64px;
    background: var(--bg-main);
    box-shadow: var(--neuro-shadow);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.feature-card__title {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.feature-card__text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ─── How to Play (Homepage) ─── */
.how-to-play-preview {
    background: var(--bg-card);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.step-card {
    background: var(--bg-main);
    box-shadow: var(--neuro-shadow);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    transition: box-shadow var(--transition);
}

.step-card:hover {
    box-shadow: var(--neuro-hover);
}

.step-card__number {
    width: 48px;
    height: 48px;
    background: var(--strategy-blue);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 4px 0 #1a4db5;
}

.step-card__title {
    font-size: 1rem;
    margin-bottom: 8px;
}

.step-card__text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.steps-cta {
    text-align: center;
}

/* ─── Blog Cards ─── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.article-card {
    background: var(--bg-main);
    box-shadow: var(--neuro-shadow);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow var(--transition);
    position: relative;
}

.article-card:hover {
    box-shadow: var(--neuro-hover);
}

.article-card__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--board-ebony) 0%, var(--piece-dark) 50%, var(--accent-warm) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--crown-gold);
    flex-shrink: 0;
}

.article-card__image--placeholder {
    background: linear-gradient(135deg, var(--board-ebony) 0%, var(--strategy-blue) 100%);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.article-card__body {
    padding: 24px;
}

.article-card__category {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--strategy-blue);
    margin-bottom: 10px;
    display: block;
}

.article-card__title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.article-card__excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.article-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.article-card__link {
    position: relative;
    z-index: 2;
}

/* ─── FAQ ─── */
.faq {
    background: var(--bg-card);
}

.faq__list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq__item {
    background: var(--bg-main);
    box-shadow: var(--neuro-shadow);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
    text-align: left;
    transition: all var(--transition);
}

.faq__question:hover {
    color: var(--strategy-blue);
}

.faq__icon {
    width: 28px;
    height: 28px;
    background: var(--bg-main);
    box-shadow: var(--neuro-shadow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    transition: transform var(--transition);
    color: var(--strategy-blue);
}

.faq__item--open .faq__icon {
    transform: rotate(45deg);
    box-shadow: var(--neuro-shadow-inset);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding var(--transition);
}

.faq__answer-inner {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.faq__item--open .faq__answer {
    max-height: 400px;
}

/* ─── CTA Banner ─── */
.cta-banner {
    background: var(--board-ebony);
    border-radius: var(--radius-xl);
    padding: 64px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(201, 168, 76, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.cta-banner__title {
    color: #fff;
    margin-bottom: 16px;
}

.cta-banner__text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 32px;
}

.cta-section {
    padding: 80px 0;
    background: var(--bg-main);
}

/* ─── Footer ─── */
.site-footer {
    background: var(--board-ebony);
    color: rgba(255, 255, 255, 0.8);
    padding: 64px 0 32px;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.site-footer__logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.4rem;
    color: #fff;
    text-decoration: none;
    display: block;
    margin-bottom: 14px;
}

.site-footer__logo-accent {
    color: var(--crown-gold);
}

.site-footer__desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 20px;
    line-height: 1.6;
}

.site-footer__heading {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 16px;
}

.site-footer__links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-footer__link {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    transition: color var(--transition);
}

.site-footer__link:hover {
    color: var(--crown-gold);
}

.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.site-footer__copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

.site-footer__legal {
    display: flex;
    gap: 20px;
}

.site-footer__legal-link {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    transition: color var(--transition);
}

.site-footer__legal-link:hover {
    color: var(--crown-gold);
}

/* ─── Page Hero ─── */
.page-hero {
    background: var(--bg-main);
    padding: 64px 0 48px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.page-hero__label {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--strategy-blue);
    margin-bottom: 12px;
}

.page-hero__title {
    margin-bottom: 16px;
}

.page-hero__subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
}

/* ─── About Page ─── */
.about-content {
    background: var(--bg-main);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.about-text__lead {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 32px;
}

.about-stat {
    background: var(--bg-main);
    box-shadow: var(--neuro-shadow);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
}

.about-stat__value {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2rem;
    color: var(--strategy-blue);
    display: block;
}

.about-stat__label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-value {
    background: var(--bg-main);
    box-shadow: var(--neuro-shadow);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: box-shadow var(--transition);
}

.about-value:hover {
    box-shadow: var(--neuro-hover);
}

.about-value__icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-value__title {
    font-size: 1rem;
    margin-bottom: 6px;
}

.about-value__text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ─── How to Play Page ─── */
.how-to-play-content {
    background: var(--bg-main);
}

.htp-section {
    margin-bottom: 64px;
}

.htp-section__title {
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-light);
}

.htp-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.htp-step {
    background: var(--bg-main);
    box-shadow: var(--neuro-shadow);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: box-shadow var(--transition);
}

.htp-step:hover {
    box-shadow: var(--neuro-hover);
}

.htp-step__num {
    width: 40px;
    height: 40px;
    background: var(--strategy-blue);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 0 #1a4db5;
}

.htp-step__content {}

.htp-step__title {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.htp-step__text {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin: 0;
}

.htp-rules {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.htp-rule {
    background: var(--bg-main);
    box-shadow: var(--neuro-shadow);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: box-shadow var(--transition);
}

.htp-rule:hover {
    box-shadow: var(--neuro-hover);
}

.htp-rule__icon {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.htp-rule__title {
    font-size: 1rem;
    margin-bottom: 8px;
}

.htp-rule__text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.htp-tips {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.htp-tip {
    background: var(--bg-main);
    box-shadow: var(--neuro-shadow);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.htp-tip__label {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--crown-gold);
    background: rgba(201, 168, 76, 0.1);
    padding: 4px 10px;
    border-radius: 100px;
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: 2px;
}

.htp-tip__text {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ─── Blog Page ─── */
.blog-content {
    background: var(--bg-main);
}

.blog-hero-card {
    background: var(--bg-main);
    box-shadow: var(--neuro-shadow);
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 48px;
}

.blog-hero-card__image {
    background: linear-gradient(135deg, var(--board-ebony), var(--strategy-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    min-height: 320px;
}

.blog-hero-card__body {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-hero-card__category {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--strategy-blue);
    margin-bottom: 12px;
    display: block;
}

.blog-hero-card__title {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.blog-hero-card__excerpt {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.blog-hero-card__meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* ─── Contact Page ─── */
.contact-content {
    background: var(--bg-main);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-item {
    background: var(--bg-main);
    box-shadow: var(--neuro-shadow);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-info-item__icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-info-item__title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-info-item__text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.contact-form {
    background: var(--bg-main);
    box-shadow: var(--neuro-shadow);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: none;
    border-radius: var(--radius-md);
    background: var(--bg-main);
    box-shadow: var(--neuro-shadow-inset);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    outline: none;
    transition: box-shadow var(--transition);
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    box-shadow: var(--neuro-shadow-inset), 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-group textarea {
    min-height: 140px;
}

/* ─── Article Page ─── */
.article-page {
    background: var(--bg-main);
    padding: 64px 0;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    align-items: start;
}

.article-main {}

.article-header {
    margin-bottom: 32px;
}

.article-header__category {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--strategy-blue);
    margin-bottom: 12px;
    display: block;
}

.article-header__title {
    margin-bottom: 16px;
}

.article-header__meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.article-image {
    background: linear-gradient(135deg, var(--board-ebony), var(--strategy-blue));
    border-radius: var(--radius-lg);
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    margin-bottom: 32px;
    box-shadow: var(--neuro-shadow);
}

.article-body h2 {
    font-size: 1.5rem;
    margin: 32px 0 14px;
}

.article-body h3 {
    font-size: 1.2rem;
    margin: 24px 0 12px;
}

.article-body p {
    margin-bottom: 16px;
    line-height: 1.8;
}

.article-body ul,
.article-body ol {
    margin: 16px 0 16px 24px;
    list-style: disc;
}

.article-body ol {
    list-style: decimal;
}

.article-body li {
    margin-bottom: 8px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.article-body strong {
    color: var(--text-primary);
    font-weight: 600;
}

.article-sidebar {
    position: sticky;
    top: 90px;
}

.sidebar-widget {
    background: var(--bg-main);
    box-shadow: var(--neuro-shadow);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}

.sidebar-widget__title {
    font-size: 1rem;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-light);
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-link {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    background: var(--bg-main);
    box-shadow: 4px 4px 8px #d4cfc9, -4px -4px 8px #ffffff;
    transition: all var(--transition);
    display: block;
}

.sidebar-link:hover {
    color: var(--strategy-blue);
    box-shadow: 2px 2px 4px #d4cfc9, -2px -2px 4px #ffffff;
}

/* ─── Privacy / Terms ─── */
.legal-content {
    background: var(--bg-main);
    padding: 64px 0;
}

.legal-body {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-main);
    box-shadow: var(--neuro-shadow);
    border-radius: var(--radius-xl);
    padding: 48px;
}

.legal-body h2 {
    font-size: 1.4rem;
    margin: 32px 0 12px;
    color: var(--text-primary);
}

.legal-body h3 {
    font-size: 1.1rem;
    margin: 20px 0 10px;
}

.legal-body p {
    margin-bottom: 14px;
    line-height: 1.8;
}

.legal-body ul {
    margin: 12px 0 16px 24px;
    list-style: disc;
}

.legal-body li {
    margin-bottom: 8px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.legal-updated {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--border-light);
}

/* ─── Mobile Nav ─── */
.mobile-nav {
    display: none;
    flex-direction: column;
    background: var(--bg-main);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    padding: 16px 24px 24px;
    gap: 4px;
}

.mobile-nav.is-open {
    display: flex;
}

.mobile-nav__link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-secondary);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.mobile-nav__link:hover {
    color: var(--strategy-blue);
    background: rgba(37, 99, 235, 0.06);
}

/* ─── Board Decorations ─── */
.board-pattern {
    position: relative;
    overflow: hidden;
}

.board-pattern::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    height: 200px;
    background-image: repeating-conic-gradient(var(--board-ebony) 0% 25%, var(--board-cream) 0% 50%);
    background-size: 40px 40px;
    opacity: 0.06;
    border-radius: var(--radius-md);
    pointer-events: none;
}

/* ─── Tag / Badge ─── */
.tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--strategy-blue);
}

/* ─── Utilities ─── */
.text-center { text-align: center; }
.mt-8 { margin-top: 2rem; }
.mb-8 { margin-bottom: 2rem; }
.hidden { display: none; }

/* ─── Breadcrumb ─── */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--strategy-blue);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb__sep {
    color: var(--border-light);
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
    }
    .hero__inner {
        gap: 40px;
    }
    .features__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .htp-rules {
        grid-template-columns: 1fr;
    }
    .article-layout {
        grid-template-columns: 1fr;
    }
    .article-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 56px 0;
    }
    .site-nav {
        display: none;
    }
    .site-header__burger {
        display: flex;
    }
    .hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero__actions {
        justify-content: center;
    }
    .hero__stats {
        justify-content: center;
    }
    .hero__visual {
        order: -1;
    }
    .hero__game-card {
        max-width: 300px;
    }
    .features__grid {
        grid-template-columns: 1fr;
    }
    .steps-grid {
        grid-template-columns: 1fr;
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .blog-hero-card {
        grid-template-columns: 1fr;
    }
    .blog-hero-card__image {
        min-height: 200px;
    }
    .cta-banner {
        padding: 48px 28px;
    }
    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .site-footer__bottom {
        flex-direction: column;
        text-align: center;
    }
    .legal-body {
        padding: 32px 24px;
    }
    .contact-form {
        padding: 28px 24px;
    }
    .htp-rules {
        grid-template-columns: 1fr;
    }
    .about-stats {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .hero__game-card {
        max-width: 100%;
    }
    .btn-play {
        padding: 16px 32px;
        font-size: 1.05rem;
    }
    h1 { font-size: 1.9rem; }
    h2 { font-size: 1.5rem; }
}