/*
 * PROJECT: dorndamg.com
 * DOMAIN: dorndamg.com
 * GAME: Checkers Master
 *
 * DESIGN:
 * - CSS: BEM
 * - Palette: Family-friendly / Board Game Classic
 * - Effect: Pattern Backgrounds + subtle shadows
 * - Fonts: Nunito (heading) + Open Sans (body)
 * - Buttons: 3D Effect
 *
 * Created: 2025
 */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Open+Sans:wght@400;500;600&display=swap');

:root {
    --board-dark: #5d4037;
    --board-light: #efebe9;
    --checker-red: #e53935;
    --checker-black: #212121;
    --accent-green: #4caf50;
    --accent-green-dark: #388e3c;
    --sky-blue: #e3f2fd;
    --sky-blue-mid: #bbdefb;
    --sky-blue-deep: #1565c0;
    --warm-white: #fafafa;
    --soft-gray: #f5f5f5;
    --text-dark: #212121;
    --text-medium: #424242;
    --text-light: #757575;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
    --font-heading: 'Nunito', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --header-height: 68px;
}

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

html {
    scroll-behavior: smooth;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--sky-blue);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
}

/* ===== PATTERN BACKGROUND ===== */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        repeating-linear-gradient(
            45deg,
            rgba(93,64,55,0.04) 0px,
            rgba(93,64,55,0.04) 10px,
            transparent 10px,
            transparent 20px
        ),
        repeating-linear-gradient(
            -45deg,
            rgba(93,64,55,0.04) 0px,
            rgba(93,64,55,0.04) 10px,
            transparent 10px,
            transparent 20px
        );
    pointer-events: none;
    z-index: 0;
}

body > * {
    position: relative;
    z-index: 1;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1rem; color: var(--text-medium); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ===== MANDATORY RULES ===== */
.article-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.article-card,
.offer-card,
.card {
    position: relative;
}

.stars { color: #ffc107; }

/* ===== UTILITY ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 64px 0;
}

.section--alt {
    background-color: var(--warm-white);
}

.section__header {
    text-align: center;
    margin-bottom: 48px;
}

.section__title {
    color: var(--board-dark);
    margin-bottom: 12px;
}

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

.badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: var(--sky-blue-mid);
    color: var(--sky-blue-deep);
    margin-bottom: 12px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn--primary {
    background-color: var(--accent-green);
    color: #fff;
    box-shadow: 0 6px 0 var(--accent-green-dark), 0 8px 16px rgba(76,175,80,0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 0 var(--accent-green-dark), 0 12px 24px rgba(76,175,80,0.4);
}

.btn--primary:active {
    transform: translateY(4px);
    box-shadow: 0 2px 0 var(--accent-green-dark), 0 4px 8px rgba(76,175,80,0.2);
}

.btn--secondary {
    background-color: var(--board-dark);
    color: #fff;
    box-shadow: 0 6px 0 #3e2723, 0 8px 16px rgba(93,64,55,0.3);
}

.btn--secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 0 #3e2723, 0 12px 24px rgba(93,64,55,0.4);
}

.btn--secondary:active {
    transform: translateY(4px);
    box-shadow: 0 2px 0 #3e2723, 0 4px 8px rgba(93,64,55,0.2);
}

.btn--outline {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    box-shadow: 0 4px 0 rgba(255,255,255,0.3);
}

.btn--outline:hover {
    background-color: #fff;
    color: var(--board-dark);
    transform: translateY(-2px);
}

.btn--lg {
    padding: 18px 48px;
    font-size: 1.15rem;
}

.btn-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 56px;
    background-color: var(--accent-green);
    color: #fff;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.3rem;
    box-shadow: 0 8px 0 var(--accent-green-dark), 0 12px 32px rgba(76,175,80,0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    text-decoration: none;
}

.btn-play:hover {
    transform: translateY(-3px);
    box-shadow: 0 11px 0 var(--accent-green-dark), 0 16px 40px rgba(76,175,80,0.45);
}

.btn-play:active {
    transform: translateY(5px);
    box-shadow: 0 3px 0 var(--accent-green-dark), 0 6px 16px rgba(76,175,80,0.25);
}

/* ===== HEADER ===== */
.site-header {
    background-color: var(--board-dark);
    box-shadow: 0 2px 12px rgba(93,64,55,0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.6rem;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.02em;
    flex-shrink: 0;
}

.logo span {
    color: var(--accent-green);
}

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

.site-nav__link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: color 0.2s, background 0.2s;
    text-decoration: none;
}

.site-nav__link:hover,
.site-nav__link--active {
    color: #fff;
    background-color: rgba(255,255,255,0.12);
}

.site-nav__cta {
    background-color: var(--accent-green);
    color: #fff;
    padding: 9px 20px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 3px 0 var(--accent-green-dark);
    transition: transform 0.15s, box-shadow 0.15s;
    text-decoration: none;
}

.site-nav__cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 0 var(--accent-green-dark);
    color: #fff;
    background-color: var(--accent-green);
}

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

.menu-toggle__bar {
    width: 26px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.menu-toggle.is-active .menu-toggle__bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.is-active .menu-toggle__bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active .menu-toggle__bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, var(--board-dark) 0%, #795548 50%, var(--board-dark) 100%);
    padding: 80px 0 64px;
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            90deg,
            rgba(255,255,255,0.03) 0px,
            rgba(255,255,255,0.03) 40px,
            transparent 40px,
            transparent 80px
        ),
        repeating-linear-gradient(
            0deg,
            rgba(255,255,255,0.03) 0px,
            rgba(255,255,255,0.03) 40px,
            transparent 40px,
            transparent 80px
        );
    pointer-events: none;
}

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

.hero__badge {
    background-color: rgba(76,175,80,0.25);
    color: #a5d6a7;
    border: 1px solid rgba(76,175,80,0.4);
    margin-bottom: 16px;
}

.hero__title {
    color: #fff;
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero__title em {
    font-style: normal;
    color: #a5d6a7;
}

.hero__description {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    margin-bottom: 36px;
    max-width: 480px;
}

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

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

.hero__stat {
    text-align: center;
}

.hero__stat-number {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.8rem;
    color: #fff;
    display: block;
}

.hero__stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
}

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

.hero__board-preview {
    width: 320px;
    height: 320px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 40px rgba(0,0,0,0.4);
    position: relative;
}

.hero__board-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__board-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    width: 320px;
    height: 320px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 40px rgba(0,0,0,0.4);
    border: 4px solid var(--board-dark);
}

.hero__board-cell {
    aspect-ratio: 1;
}

.hero__board-cell--light {
    background-color: #f0d9b5;
}

.hero__board-cell--dark {
    background-color: #b58863;
}

.hero__board-cell--red-piece {
    background-color: #b58863;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__board-cell--red-piece::after {
    content: '';
    width: 70%;
    height: 70%;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #ef5350, #b71c1c);
    box-shadow: 0 3px 6px rgba(0,0,0,0.4);
}

.hero__board-cell--blk-piece {
    background-color: #b58863;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__board-cell--blk-piece::after {
    content: '';
    width: 70%;
    height: 70%;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #616161, #212121);
    box-shadow: 0 3px 6px rgba(0,0,0,0.5);
}

/* ===== FEATURES ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    background: var(--warm-white);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    border-color: var(--accent-green);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-card__icon {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
}

.feature-card__title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--board-dark);
}

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

/* ===== GAME SECTION ===== */
.game-section {
    background: linear-gradient(180deg, var(--warm-white) 0%, var(--sky-blue) 100%);
}

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

.game-showcase__info {
    order: 1;
}

.game-showcase__visual {
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.game-icon-wrapper {
    position: relative;
    display: inline-block;
}

.game-icon-wrapper img {
    width: 160px;
    height: 160px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

.game-icon-badge {
    position: absolute;
    bottom: -10px;
    right: -10px;
    background: var(--accent-green);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
}

.game-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.game-meta__item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--warm-white);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    box-shadow: var(--shadow-sm);
}

.game-meta__icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.game-meta__label {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.game-meta__value {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.game-showcase__title {
    color: var(--board-dark);
    margin-bottom: 16px;
}

.game-showcase__desc {
    font-size: 1.05rem;
    color: var(--text-medium);
    margin-bottom: 28px;
}

.game-highlights {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.game-highlight {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.game-highlight__check {
    width: 24px;
    height: 24px;
    background-color: var(--accent-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.game-highlight__text {
    color: var(--text-medium);
    font-size: 0.95rem;
}

/* ===== HOW TO PLAY SUMMARY ===== */
.how-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.how-step {
    text-align: center;
    padding: 28px 20px;
    background: var(--warm-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.how-step__number {
    width: 52px;
    height: 52px;
    background: var(--board-dark);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 4px 0 #3e2723;
}

.how-step__title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    color: var(--board-dark);
    margin-bottom: 8px;
}

.how-step__desc {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* ===== ARTICLE CARDS ===== */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.article-card {
    background: var(--warm-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.article-card__thumbnail {
    height: 180px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, var(--board-dark), #795548);
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-card__thumb-icon {
    font-size: 4rem;
    opacity: 0.8;
}

.article-card__thumb-label {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent-green);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}

.article-card__content {
    padding: 24px;
}

.article-card__title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--board-dark);
    margin-bottom: 10px;
    line-height: 1.4;
    transition: color 0.2s;
}

.article-card:hover .article-card__title {
    color: var(--accent-green-dark);
}

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

.article-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

.article-card__read-more {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--accent-green-dark);
    font-size: 0.85rem;
    position: relative;
    z-index: 2;
}

/* ===== FAQ ===== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--warm-white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}

.faq-item.is-open {
    border-color: var(--accent-green);
}

.faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    gap: 16px;
    user-select: none;
}

.faq-item__question-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--board-dark);
}

.faq-item__icon {
    width: 28px;
    height: 28px;
    background: var(--sky-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--board-dark);
    flex-shrink: 0;
    transition: transform 0.3s, background 0.2s;
    line-height: 1;
}

.faq-item.is-open .faq-item__icon {
    transform: rotate(45deg);
    background: var(--accent-green);
    color: #fff;
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.3s ease;
    padding: 0 24px;
}

.faq-item.is-open .faq-item__answer {
    max-height: 400px;
    padding: 0 24px 20px;
}

.faq-item__answer p {
    color: var(--text-medium);
    font-size: 0.95rem;
    margin: 0;
}

/* ===== RATINGS ===== */
.ratings-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.rating-card {
    background: var(--warm-white);
    border-radius: var(--radius-md);
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.rating-card__score {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 3rem;
    color: var(--board-dark);
    line-height: 1;
}

.rating-card__stars {
    font-size: 1.3rem;
    margin: 8px 0;
}

.rating-card__label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 600;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--board-dark) 0%, #795548 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        45deg,
        rgba(255,255,255,0.03) 0px,
        rgba(255,255,255,0.03) 10px,
        transparent 10px,
        transparent 20px
    );
    pointer-events: none;
}

.cta-section__inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-section__title {
    color: #fff;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    margin-bottom: 16px;
}

.cta-section__desc {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== COOKIE CONSENT ===== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--checker-black);
    color: rgba(255,255,255,0.85);
    padding: 20px 0;
    z-index: 1000;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
}

.cookie-consent__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-consent__text {
    font-size: 0.9rem;
    margin: 0;
    color: rgba(255,255,255,0.75);
    flex: 1;
    min-width: 260px;
}

.cookie-consent__text a {
    color: var(--accent-green);
    text-decoration: underline;
}

.cookie-consent__btn {
    flex-shrink: 0;
}

/* ===== FOOTER ===== */
.site-footer {
    background-color: var(--checker-black);
    color: rgba(255,255,255,0.75);
    padding: 56px 0 32px;
}

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

.site-footer__brand .logo {
    font-size: 1.5rem;
    display: inline-block;
    margin-bottom: 16px;
}

.site-footer__brand p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
    margin: 0;
}

.site-footer__col-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

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

.site-footer__links a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.site-footer__links a:hover {
    color: #fff;
}

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

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

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

.site-footer__legal a {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: color 0.2s;
}

.site-footer__legal a:hover {
    color: rgba(255,255,255,0.8);
}

/* ===== PAGE HERO (Inner pages) ===== */
.page-hero {
    background: linear-gradient(135deg, var(--board-dark), #795548);
    padding: 56px 0 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        45deg,
        rgba(255,255,255,0.03) 0px,
        rgba(255,255,255,0.03) 10px,
        transparent 10px,
        transparent 20px
    );
    pointer-events: none;
}

.page-hero__inner {
    position: relative;
    z-index: 1;
}

.page-hero__title {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 12px;
}

.page-hero__subtitle {
    color: rgba(255,255,255,0.75);
    font-size: 1.1rem;
}

/* ===== ABOUT PAGE ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content__text h2 {
    color: var(--board-dark);
    margin-bottom: 16px;
}

.about-content__text p {
    margin-bottom: 16px;
}

.about-board-visual {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    max-width: 280px;
    margin: 0 auto;
}

.about-board-cell {
    aspect-ratio: 1;
    border-radius: 6px;
}

.about-board-cell--dark { background-color: var(--board-dark); }
.about-board-cell--light { background-color: #efebe9; }

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

.team-card {
    background: var(--warm-white);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.team-card__avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--board-dark), var(--accent-green));
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.team-card__name {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--board-dark);
    margin-bottom: 4px;
}

.team-card__role {
    font-size: 0.85rem;
    color: var(--text-light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.value-card {
    background: var(--sky-blue);
    border-radius: var(--radius-sm);
    padding: 24px;
    border-left: 4px solid var(--accent-green);
}

.value-card__title {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--board-dark);
    margin-bottom: 8px;
    font-size: 1rem;
}

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

/* ===== HOW TO PLAY PAGE ===== */
.how-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.how-intro__text h2 { color: var(--board-dark); margin-bottom: 16px; }

.controls-box {
    background: var(--sky-blue);
    border-radius: var(--radius-md);
    padding: 28px;
    margin-top: 24px;
}

.controls-box__title {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--board-dark);
    margin-bottom: 16px;
}

.controls-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.controls-list__item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-medium);
}

.controls-list__key {
    background: var(--board-dark);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 6px;
    flex-shrink: 0;
    box-shadow: 0 3px 0 #3e2723;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.rule-card {
    background: var(--warm-white);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 20px;
}

.rule-card__icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.rule-card__title {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--board-dark);
    margin-bottom: 8px;
    font-size: 1rem;
}

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

.strategy-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.strategy-step {
    background: var(--warm-white);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: start;
}

.strategy-step__num {
    width: 44px;
    height: 44px;
    background: var(--checker-red);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 3px 0 #b71c1c;
}

.strategy-step__title {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--board-dark);
    margin-bottom: 8px;
    font-size: 1rem;
}

.strategy-step__text {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin: 0;
}

/* ===== BLOG PAGE ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* ===== ARTICLE PAGE ===== */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: start;
}

.article-body {
    background: var(--warm-white);
    border-radius: var(--radius-md);
    padding: 48px;
    box-shadow: var(--shadow-sm);
}

.article-body h1 {
    color: var(--board-dark);
    margin-bottom: 20px;
    font-size: 2rem;
}

.article-body h2 {
    color: var(--board-dark);
    font-size: 1.4rem;
    margin: 32px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--sky-blue-mid);
}

.article-body h3 {
    color: var(--board-dark);
    font-size: 1.15rem;
    margin: 24px 0 12px;
}

.article-body p { color: var(--text-medium); line-height: 1.8; margin-bottom: 16px; }

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

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

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

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
    font-size: 0.85rem;
    color: var(--text-light);
    flex-wrap: wrap;
}

.article-meta__tag {
    background: var(--sky-blue-mid);
    color: var(--sky-blue-deep);
    padding: 3px 12px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
}

.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 88px;
}

.sidebar-widget {
    background: var(--warm-white);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.sidebar-widget__title {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--board-dark);
    margin-bottom: 16px;
    font-size: 1rem;
}

.sidebar-widget__play-btn {
    display: block;
    text-align: center;
    background: var(--accent-green);
    color: #fff;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 4px 0 var(--accent-green-dark);
    transition: transform 0.15s, box-shadow 0.15s;
    margin-bottom: 12px;
    text-decoration: none;
}

.sidebar-widget__play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 var(--accent-green-dark);
}

.sidebar-articles {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-article {
    display: flex;
    gap: 12px;
    text-decoration: none;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
}

.sidebar-article:hover { background: var(--sky-blue); }

.sidebar-article__thumb {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--board-dark), #795548);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.sidebar-article__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--board-dark);
    line-height: 1.4;
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form {
    background: var(--warm-white);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--soft-gray);
    transition: border-color 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-green);
    background: #fff;
}

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

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

.contact-info__title {
    color: var(--board-dark);
    margin-bottom: 16px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--warm-white);
    border-radius: var(--radius-sm);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

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

.contact-info-item__title {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--board-dark);
    margin-bottom: 4px;
    font-size: 0.95rem;
}

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

/* ===== PRIVACY / TERMS PAGE ===== */
.legal-content {
    max-width: 860px;
    margin: 0 auto;
    background: var(--warm-white);
    border-radius: var(--radius-md);
    padding: 56px;
    box-shadow: var(--shadow-sm);
}

.legal-content h2 {
    color: var(--board-dark);
    margin: 36px 0 16px;
    font-size: 1.4rem;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--sky-blue-mid);
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 16px;
}

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

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

/* ===== BREADCRUMB ===== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--accent-green-dark);
    text-decoration: none;
}

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

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

/* ===== FORM SUCCESS ===== */
.form-success {
    display: none;
    text-align: center;
    padding: 48px 32px;
}

.form-success__icon {
    font-size: 4rem;
    margin-bottom: 16px;
}

.form-success__title {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--board-dark);
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.form-success__text {
    color: var(--text-medium);
    margin-bottom: 24px;
}

/* ===== MOBILE ===== */
@media (max-width: 1024px) {
    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .hero__inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .hero__description { margin: 0 auto 36px; }
    .hero__actions { justify-content: center; }
    .hero__stats { justify-content: center; }
    .hero__visual { order: -1; }
    .hero__board-grid { width: 240px; height: 240px; }
    .game-showcase { grid-template-columns: 1fr; gap: 40px; }
    .game-showcase__info { order: 2; }
    .game-showcase__visual { order: 1; }
    .how-steps { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .article-layout { grid-template-columns: 1fr; }
    .article-sidebar { position: static; }
    .about-content { grid-template-columns: 1fr; }
    .how-intro { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .ratings-row { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 768px) {
    .site-nav {
        display: none;
        position: absolute;
        top: calc(var(--header-height) - 1px);
        left: 0;
        right: 0;
        background: var(--board-dark);
        flex-direction: column;
        padding: 16px 20px 20px;
        gap: 4px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.3);
        z-index: 99;
    }
    .site-nav.is-open { display: flex; }
    .site-nav__link { padding: 12px 16px; }
    .menu-toggle { display: flex; }
    .articles-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .how-steps { grid-template-columns: 1fr; }
    .rules-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .article-body { padding: 28px 24px; }
    .legal-content { padding: 32px 24px; }
    .site-footer__grid { grid-template-columns: 1fr; gap: 24px; }
    .site-footer__bottom { flex-direction: column; align-items: flex-start; }
    .hero__board-grid { width: 200px; height: 200px; }
    .strategy-step { grid-template-columns: 1fr; }
    .cookie-consent__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .section { padding: 48px 0; }
    .hero { padding: 56px 0 48px; }
    .btn-play { padding: 16px 36px; font-size: 1.1rem; }
    .hero__stats { gap: 20px; }
}