/*
 * PROJECT: gludiopol
 * DOMAIN: gludiopol.com
 * GAME: Checkers Master
 *
 * DESIGN:
 * - CSS: BEM
 * - Palette: Яркий и динамичный (Orange #ff6b00 + Violet #7c3aed)
 * - Effect: Gradient Mesh + Pattern Backgrounds
 * - Fonts: Outfit (heading) + Rubik (body)
 * - Buttons: 3D Effect + Gradient
 *
 * Created: 2026
 */

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

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --blaze-orange: #ff6b00;
    --deep-violet: #7c3aed;
    --board-amber: #f59e0b;
    --piece-red: #ef4444;
    --checker-dark: #1e1033;
    --checker-mid: #2d1b69;
    --checker-surface: #3b2a7e;
    --light-lavender: #ede9fe;
    --cream-white: #fdf8f0;
    --text-dark: #1a0a2e;
    --text-mid: #4c1d95;
    --text-light: #7c6fa0;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Rubik', sans-serif;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-card: 0 8px 32px rgba(124, 58, 237, 0.18);
    --shadow-hover: 0 16px 48px rgba(255, 107, 0, 0.28);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 70px;
}

html {
    scroll-behavior: smooth;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--cream-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ===== 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, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p { font-size: 1rem; color: var(--text-mid); }

/* ===== UTILITIES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section--alt {
    background-color: var(--light-lavender);
}

.section__header {
    text-align: center;
    margin-bottom: 3rem;
}

.section__header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.section__header h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -8px;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--blaze-orange), var(--deep-violet));
    border-radius: 2px;
}

.section__header p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

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

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

.stars {
    color: #ffc107;
}

/* ===== COOKIE CONSENT ===== */
.cookie-consent {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    max-width: 420px;
    background: var(--checker-dark);
    border: 1px solid rgba(255, 107, 0, 0.3);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

.cookie-consent__inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-consent__inner p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-consent__inner a {
    color: var(--board-amber);
    text-decoration: underline;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--blaze-orange), #ff3d00);
    color: #fff;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: 0 6px 0 #b84500, 0 8px 20px rgba(255, 107, 0, 0.4);
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    position: relative;
    top: 0;
}

.btn-play:hover {
    top: 3px;
    box-shadow: 0 3px 0 #b84500, 0 5px 15px rgba(255, 107, 0, 0.35);
    background: linear-gradient(135deg, #ff7d1a, #ff5500);
}

.btn-play:active {
    top: 6px;
    box-shadow: 0 0 0 #b84500;
}

.btn--primary {
    background: linear-gradient(135deg, var(--deep-violet), #5b21b6);
    color: #fff;
    box-shadow: 0 6px 0 #3b0764, 0 8px 20px rgba(124, 58, 237, 0.35);
    top: 0;
}

.btn--primary:hover {
    top: 3px;
    box-shadow: 0 3px 0 #3b0764, 0 5px 15px rgba(124, 58, 237, 0.3);
}

.btn--primary:active {
    top: 6px;
    box-shadow: 0 0 0 #3b0764;
}

.btn--outline {
    background: transparent;
    color: var(--deep-violet);
    border: 2px solid var(--deep-violet);
    box-shadow: none;
}

.btn--outline:hover {
    background: var(--deep-violet);
    color: #fff;
}

.btn--sm {
    padding: 0.6rem 1.4rem;
    font-size: 0.9rem;
}

/* ===== HEADER / NAVBAR ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(30, 16, 51, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 107, 0, 0.2);
    padding: 0;
}

.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: 2rem;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.6rem;
    color: #fff;
    letter-spacing: -0.5px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.logo span {
    color: var(--blaze-orange);
}

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

.navbar__nav a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
    padding: 0.5rem 0.9rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    text-decoration: none;
}

.navbar__nav a:hover,
.navbar__nav a.active {
    color: #fff;
    background: rgba(255, 107, 0, 0.15);
}

.navbar__cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.navbar__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
}

.navbar__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: var(--transition);
}

.navbar__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar__toggle.active span:nth-child(2) {
    opacity: 0;
}

.navbar__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--checker-dark);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(124, 58, 237, 0.4) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 107, 0, 0.35) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 80%, rgba(245, 158, 11, 0.25) 0%, transparent 50%),
        var(--checker-dark);
}

.hero__pattern {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        repeating-linear-gradient(
            45deg,
            rgba(255,255,255,0.015) 0px,
            rgba(255,255,255,0.015) 1px,
            transparent 1px,
            transparent 40px
        ),
        repeating-linear-gradient(
            -45deg,
            rgba(255,255,255,0.015) 0px,
            rgba(255,255,255,0.015) 1px,
            transparent 1px,
            transparent 40px
        );
}

.hero__content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
}

.hero__text {
    color: #fff;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 107, 0, 0.2);
    border: 1px solid rgba(255, 107, 0, 0.4);
    color: var(--board-amber);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero__title {
    color: #fff;
    margin-bottom: 1.25rem;
}

.hero__title span {
    background: linear-gradient(135deg, var(--blaze-orange), var(--board-amber));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__desc {
    color: rgba(255,255,255,0.75);
    font-size: 1.15rem;
    margin-bottom: 2rem;
    max-width: 480px;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.hero__stats {
    display: flex;
    gap: 2rem;
}

.hero__stat {
    text-align: center;
}

.hero__stat-num {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--board-amber);
    line-height: 1;
}

.hero__stat-label {
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.25rem;
}

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

.hero__board {
    position: relative;
    width: 380px;
    height: 380px;
}

.hero__board-frame {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.3), rgba(255, 107, 0, 0.2));
    border: 2px solid rgba(255, 107, 0, 0.3);
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(8, 1fr);
    overflow: hidden;
    box-shadow:
        0 0 40px rgba(124, 58, 237, 0.4),
        0 0 80px rgba(255, 107, 0, 0.2),
        inset 0 0 40px rgba(0,0,0,0.3);
}

.board-cell {
    transition: var(--transition);
}

.board-cell--dark {
    background: rgba(59, 42, 126, 0.8);
}

.board-cell--light {
    background: rgba(237, 233, 254, 0.08);
}

.board-cell--piece-orange {
    background: rgba(59, 42, 126, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.board-cell--piece-violet {
    background: rgba(59, 42, 126, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.piece {
    width: 70%;
    height: 70%;
    border-radius: 50%;
    box-shadow: 0 3px 8px rgba(0,0,0,0.4), inset 0 2px 4px rgba(255,255,255,0.2);
}

.piece--orange {
    background: radial-gradient(circle at 35% 35%, #ffab4f, var(--blaze-orange));
    border: 2px solid rgba(255, 200, 100, 0.4);
}

.piece--violet {
    background: radial-gradient(circle at 35% 35%, #a78bfa, var(--deep-violet));
    border: 2px solid rgba(200, 180, 255, 0.4);
}

.hero__glow {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    pointer-events: none;
}

.hero__glow--orange {
    top: -40px;
    right: -40px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.35), transparent 70%);
}

.hero__glow--violet {
    bottom: -40px;
    left: -40px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.35), transparent 70%);
}

/* ===== FEATURES ===== */
.features {
    background: var(--checker-dark);
    border-top: 1px solid rgba(124, 58, 237, 0.2);
    border-bottom: 1px solid rgba(124, 58, 237, 0.2);
}

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

.feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(124, 58, 237, 0.2);
    transition: var(--transition);
}

.feature-card:hover {
    background: rgba(255, 107, 0, 0.08);
    border-color: rgba(255, 107, 0, 0.3);
    transform: translateY(-4px);
}

.feature-card__icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.2), rgba(124, 58, 237, 0.2));
    border: 1px solid rgba(255, 107, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.75rem;
}

.feature-card__title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-card__desc {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ===== GAME SECTION ===== */
.game-section {
    background: linear-gradient(135deg, var(--checker-dark) 0%, var(--checker-mid) 100%);
}

.game-section .section__header h2 {
    color: #fff;
}

.game-section .section__header p {
    color: rgba(255,255,255,0.7);
}

.game-section .section__header h2::after {
    background: linear-gradient(90deg, var(--blaze-orange), var(--board-amber));
}

.game-showcase {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 3rem;
    align-items: start;
}

.game-showcase__icon-wrap {
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255, 107, 0, 0.25);
    border-radius: var(--radius-lg);
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.game-showcase__icon-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(255, 107, 0, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.game-showcase__icon {
    width: 180px;
    height: 180px;
    border-radius: var(--radius-md);
    margin: 0 auto 2rem;
    box-shadow: 0 20px 60px rgba(124, 58, 237, 0.4);
}

.game-showcase__title {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.game-showcase__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.game-showcase__tag {
    background: rgba(124, 58, 237, 0.25);
    color: #c4b5fd;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--font-heading);
}

.game-showcase__desc {
    color: rgba(255,255,255,0.75);
    max-width: 560px;
    margin: 0 auto 2rem;
    font-size: 1.05rem;
}

.game-showcase__sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.game-info-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(124, 58, 237, 0.25);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.game-info-card__title {
    color: var(--board-amber);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.game-info-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.game-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    line-height: 1.4;
}

.game-info-list li::before {
    content: '♟';
    color: var(--blaze-orange);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* ===== HOW TO PLAY PREVIEW ===== */
.howto-preview {
    background: var(--cream-white);
}

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

.step-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(124, 58, 237, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blaze-orange), var(--deep-violet));
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.step-card__number {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 3rem;
    color: var(--light-lavender);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.step-card__title {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.step-card__desc {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== ARTICLES / BLOG ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.article-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(124, 58, 237, 0.08);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

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

.article-card__thumb {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--checker-mid), var(--checker-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}

.article-card__thumb-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(255, 107, 0, 0.3) 0%, transparent 70%);
}

.article-card__category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    background: var(--blaze-orange);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.3rem 0.75rem;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-card__content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-card__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.article-card__date {
    color: var(--text-light);
    font-size: 0.8rem;
}

.article-card__read-time {
    color: var(--text-light);
    font-size: 0.8rem;
}

.article-card__title {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    transition: var(--transition);
    flex: 1;
}

.article-card:hover .article-card__title {
    color: var(--deep-violet);
}

.article-card__excerpt {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.article-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--blaze-orange);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
    z-index: 2;
    position: relative;
}

.article-card__link:hover {
    gap: 0.7rem;
}

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

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

.faq-item {
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid rgba(124, 58, 237, 0.15);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(124, 58, 237, 0.08);
}

.faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-dark);
    gap: 1rem;
    user-select: none;
    transition: var(--transition);
}

.faq-item__question:hover {
    background: var(--light-lavender);
}

.faq-item__icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blaze-orange), var(--deep-violet));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
    font-weight: 700;
    transition: var(--transition);
}

.faq-item.active .faq-item__icon {
    transform: rotate(45deg);
}

.faq-item__answer {
    display: none;
    padding: 0 1.5rem 1.25rem;
    color: var(--text-mid);
    font-size: 0.95rem;
    line-height: 1.7;
    border-top: 1px solid rgba(124, 58, 237, 0.1);
}

.faq-item.active .faq-item__answer {
    display: block;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--checker-dark), var(--checker-mid));
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 6rem 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(255, 107, 0, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 50%, rgba(124, 58, 237, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

.cta-section__content {
    position: relative;
    z-index: 2;
}

.cta-section__title {
    color: #fff;
    margin-bottom: 1rem;
}

.cta-section__title span {
    background: linear-gradient(135deg, var(--blaze-orange), var(--board-amber));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
    background: linear-gradient(135deg, var(--checker-dark), var(--checker-mid));
    padding: 5rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(124, 58, 237, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 30%, rgba(255, 107, 0, 0.25) 0%, transparent 60%);
    pointer-events: none;
}

.page-hero__content {
    position: relative;
    z-index: 2;
}

.page-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 107, 0, 0.2);
    border: 1px solid rgba(255, 107, 0, 0.4);
    color: var(--board-amber);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.35rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.page-hero__title {
    color: #fff;
    margin-bottom: 1rem;
}

.page-hero__desc {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0;
    font-size: 0.85rem;
    color: var(--text-light);
    flex-wrap: wrap;
}

.breadcrumbs a {
    color: var(--deep-violet);
    font-weight: 500;
    transition: var(--transition);
}

.breadcrumbs a:hover {
    color: var(--blaze-orange);
}

.breadcrumbs__sep {
    color: var(--text-light);
}

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

.article-body h2 {
    font-size: 1.75rem;
    margin: 2.5rem 0 1rem;
    color: var(--text-dark);
    position: relative;
    padding-left: 1rem;
}

.article-body h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.2em;
    bottom: 0.2em;
    width: 4px;
    background: linear-gradient(180deg, var(--blaze-orange), var(--deep-violet));
    border-radius: 2px;
}

.article-body h3 {
    font-size: 1.3rem;
    margin: 2rem 0 0.75rem;
    color: var(--text-dark);
}

.article-body p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
    color: var(--text-mid);
    font-size: 1.05rem;
}

.article-body ul,
.article-body ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.article-body li {
    margin-bottom: 0.5rem;
    color: var(--text-mid);
    font-size: 1.05rem;
    line-height: 1.7;
}

.article-body ul li {
    list-style: none;
    position: relative;
    padding-left: 1.5rem;
}

.article-body ul li::before {
    content: '♟';
    position: absolute;
    left: 0;
    color: var(--blaze-orange);
    font-size: 0.9rem;
}

.article-body blockquote {
    background: var(--light-lavender);
    border-left: 4px solid var(--deep-violet);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    color: var(--text-dark);
    font-style: italic;
    font-size: 1.1rem;
}

.article-tip {
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.08), rgba(124, 58, 237, 0.08));
    border: 1px solid rgba(255, 107, 0, 0.25);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin: 2rem 0;
}

.article-tip__label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--blaze-orange);
    margin-bottom: 0.5rem;
}

.article-tip p {
    margin: 0;
    color: var(--text-dark);
}

/* ===== SIDEBAR ===== */
.sidebar {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-widget {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(124, 58, 237, 0.1);
}

.sidebar-widget__title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--light-lavender);
}

.sidebar-widget .btn-play {
    width: 100%;
    margin-bottom: 0.75rem;
}

.sidebar-game-desc {
    color: var(--text-light);
    font-size: 0.85rem;
    text-align: center;
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem;
    border-radius: var(--radius-sm);
    color: var(--text-mid);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid transparent;
}

.sidebar-links a:hover {
    background: var(--light-lavender);
    border-color: rgba(124, 58, 237, 0.2);
    color: var(--deep-violet);
}

/* ===== ABOUT PAGE ===== */
.about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-story__visual {
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--checker-dark), var(--checker-mid));
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    font-size: 8rem;
    position: relative;
    overflow: hidden;
}

.about-story__visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 30%, rgba(255, 107, 0, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 70%, rgba(124, 58, 237, 0.25) 0%, transparent 60%);
    pointer-events: none;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(124, 58, 237, 0.1);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.value-card__icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.value-card__title {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    color: var(--text-dark);
}

.value-card__desc {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* ===== HOW TO PLAY PAGE ===== */
.howto-steps {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.howto-step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    align-items: start;
    background: #fff;
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(124, 58, 237, 0.1);
    transition: var(--transition);
}

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

.howto-step__num {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--blaze-orange), var(--deep-violet));
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.35);
}

.howto-step__title {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.howto-step__desc {
    color: var(--text-mid);
    line-height: 1.7;
    font-size: 0.95rem;
}

.controls-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.control-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(124, 58, 237, 0.1);
}

.control-card__icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.control-card__title {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    color: var(--text-dark);
}

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

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

.tip-card {
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.06), rgba(124, 58, 237, 0.06));
    border: 1px solid rgba(255, 107, 0, 0.2);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.tip-card__num {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 2rem;
    color: rgba(255, 107, 0, 0.2);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.tip-card__title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.tip-card__desc {
    color: var(--text-mid);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ===== CONTACT PAGE ===== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(124, 58, 237, 0.1);
}

.contact-info-item__icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--blaze-orange), var(--deep-violet));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-info-item__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.contact-info-item__value {
    color: var(--text-mid);
    font-size: 0.9rem;
}

.contact-form-wrap {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(124, 58, 237, 0.1);
}

.form-group {
    margin-bottom: 1.25rem;
}

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid rgba(124, 58, 237, 0.15);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--cream-white);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--deep-violet);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.08);
}

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

/* ===== BLOG PAGE ===== */
.blog-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-featured {
    grid-column: 1 / -1;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(124, 58, 237, 0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    transition: var(--transition);
    position: relative;
}

.blog-featured:hover {
    box-shadow: var(--shadow-hover);
}

.blog-featured__thumb {
    height: 280px;
    background: linear-gradient(135deg, var(--checker-mid), var(--checker-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 7rem;
    position: relative;
    overflow: hidden;
}

.blog-featured__thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(255, 107, 0, 0.25) 0%, transparent 70%);
}

.blog-featured__content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-featured__badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--blaze-orange), var(--deep-violet));
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
}

.blog-featured__title {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.blog-featured:hover .blog-featured__title {
    color: var(--deep-violet);
}

.blog-featured__excerpt {
    color: var(--text-mid);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.blog-featured__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* ===== LEGAL PAGES ===== */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem;
    color: var(--text-dark);
}

.legal-content h3 {
    font-size: 1.2rem;
    margin: 1.75rem 0 0.75rem;
    color: var(--text-dark);
}

.legal-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-content ul {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.legal-content li {
    margin-bottom: 0.4rem;
    color: var(--text-mid);
    line-height: 1.6;
    list-style: disc;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--checker-dark);
    border-top: 1px solid rgba(124, 58, 237, 0.2);
    padding: 4rem 0 0;
    color: rgba(255,255,255,0.7);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer__brand .logo {
    margin-bottom: 1rem;
    display: inline-flex;
}

.footer__brand p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 280px;
}

.footer__col-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    margin-bottom: 1.25rem;
}

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

.footer__links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer__links a:hover {
    color: var(--blaze-orange);
}

.footer__bottom {
    border-top: 1px solid rgba(124, 58, 237, 0.2);
    padding: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

.footer__legal {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer__legal a {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer__legal a:hover {
    color: var(--blaze-orange);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero__content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__stats {
        justify-content: center;
    }

    .hero__visual {
        display: none;
    }

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

    .game-showcase {
        grid-template-columns: 1fr;
    }

    .about-story {
        grid-template-columns: 1fr;
    }

    .about-story__visual {
        max-width: 400px;
        margin: 0 auto;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .navbar__nav,
    .navbar__cta {
        display: none;
    }

    .navbar__toggle {
        display: flex;
    }

    .navbar__nav.open {
        display: flex;
        position: fixed;
        top: calc(var(--header-height) - 1px);
        left: 0;
        right: 0;
        background: var(--checker-dark);
        flex-direction: column;
        padding: 1.5rem;
        gap: 0.5rem;
        border-bottom: 1px solid rgba(255, 107, 0, 0.2);
        align-items: flex-start;
        z-index: 999;
    }

    .navbar__cta.open {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--checker-dark);
        border-top: 1px solid rgba(255, 107, 0, 0.2);
        padding: 1rem 1.5rem;
        flex-direction: column;
        z-index: 999;
    }

    .navbar__cta.open .btn {
        width: 100%;
    }

    .features__grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-featured {
        grid-template-columns: 1fr;
    }

    .blog-featured__thumb {
        height: 200px;
    }

    .article-layout {
        grid-template-columns: 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .howto-step {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .howto-step__num {
        margin: 0 auto;
    }

    .controls-grid {
        grid-template-columns: 1fr;
    }

    .tips-grid {
        grid-template-columns: 1fr;
    }

    .about-values {
        grid-template-columns: 1fr;
    }

    .footer__grid {
        grid-template-columns: 1fr;
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }

    .blog-hero-grid {
        grid-template-columns: 1fr;
    }

    .cookie-consent {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .hero__stats {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero__badge {
        font-size: 0.75rem;
    }
}