/*
 * PROJECT: jetsside
 * DOMAIN: jetsside.com
 * GAME: Checkers Master
 * 
 * DESIGN:
 * - CSS: BEM
 * - Palette: Тёмный минимал (Dark Minimal)
 * - Effect: Glassmorphism
 * - Fonts: Onest (heading + body)
 * - Buttons: Outline Morph
 * 
 * Created: 2025
 */

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

:root {
    --bg-primary: #121212;
    --bg-secondary: #1a1a1a;
    --bg-card: #1e1e1e;
    --border-color: #333333;
    --border-subtle: #2a2a2a;
    --accent: #bb86fc;
    --accent-hover: #cf9fff;
    --accent-dim: rgba(187, 134, 252, 0.15);
    --accent-glow: rgba(187, 134, 252, 0.3);
    --text-primary: #e8e8e8;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --white: #ffffff;
    --font-main: 'Onest', sans-serif;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-accent: 0 0 20px rgba(187, 134, 252, 0.2);
    --transition: 0.25s ease;
    --header-height: 64px;
}

*, *::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-main);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
    color: var(--accent-hover);
}

ul {
    list-style: none;
}

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

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

.stars {
    color: #ffc107;
}

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

.section {
    padding: 80px 0;
}

.section--alt {
    background-color: var(--bg-secondary);
}

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

.section__label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.section__title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section__desc {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ─── HEADER ─── */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    font-family: var(--font-main);
    font-size: 22px;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.5px;
    text-decoration: none;
    transition: opacity var(--transition);
}

.logo:hover {
    color: var(--accent-hover);
    opacity: 0.9;
}

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

.nav__link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition);
    letter-spacing: 0.2px;
}

.nav__link:hover,
.nav__link--active {
    color: var(--text-primary);
}

.header__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border: 1.5px solid var(--accent);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    transition: all var(--transition);
    letter-spacing: 0.3px;
}

.header__cta:hover {
    background: var(--accent);
    color: var(--bg-primary);
    box-shadow: var(--shadow-accent);
}

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

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

/* ─── HERO ─── */
.hero {
    padding: 100px 0 80px;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(187, 134, 252, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(187, 134, 252, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

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

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--accent-dim);
    border: 1px solid rgba(187, 134, 252, 0.3);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero__badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero__title {
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

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

.hero__desc {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
    font-weight: 400;
}

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

.btn-play {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: var(--accent);
    color: var(--bg-primary);
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition);
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.btn-play::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.1);
    opacity: 0;
    transition: opacity var(--transition);
}

.btn-play:hover {
    background: var(--accent-hover);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(187, 134, 252, 0.4);
}

.btn-play:hover::before {
    opacity: 1;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 28px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition);
    cursor: pointer;
    background: transparent;
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

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

.hero__game-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: rgba(30, 30, 30, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card), 0 0 40px rgba(187, 134, 252, 0.1);
}

.hero__game-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    background: linear-gradient(135deg, #1e1e1e 0%, #2a1f3d 50%, #1e1e1e 100%);
}

.hero__game-img-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a1f3d 50%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__game-icon {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-md);
    object-fit: cover;
    filter: drop-shadow(0 0 20px rgba(187, 134, 252, 0.4));
}

.hero__game-info {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-subtle);
}

.hero__game-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero__game-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.hero__game-cat {
    font-size: 12px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.hero__game-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: var(--accent);
    color: var(--bg-primary);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all var(--transition);
}

.hero__game-btn:hover {
    background: var(--accent-hover);
    color: var(--bg-primary);
    transform: scale(1.03);
}

/* ─── STATS ─── */
.stats {
    padding: 48px 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    background: var(--bg-secondary);
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stats__item {
    text-align: center;
}

.stats__value {
    font-size: 36px;
    font-weight: 800;
    color: var(--accent);
    display: block;
    line-height: 1;
    margin-bottom: 8px;
}

.stats__label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* ─── FEATURES ─── */
.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    opacity: 0;
    transition: opacity var(--transition);
}

.feature-card:hover {
    border-color: var(--border-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card), 0 0 30px rgba(187, 134, 252, 0.08);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card__icon {
    width: 48px;
    height: 48px;
    background: var(--accent-dim);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 22px;
}

.feature-card__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.feature-card__text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
}

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

.step-card {
    text-align: center;
    padding: 28px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all var(--transition);
    position: relative;
}

.step-card:hover {
    border-color: rgba(187, 134, 252, 0.3);
    box-shadow: 0 0 20px rgba(187, 134, 252, 0.08);
}

.step-card__num {
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    margin: 0 auto 16px;
}

.step-card__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.step-card__text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ─── ARTICLES ─── */
.articles__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.article-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition);
    position: relative;
}

.article-card:hover {
    border-color: rgba(187, 134, 252, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.article-card__thumb {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #1e1e1e, #2a1f3d);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    overflow: hidden;
    position: relative;
}

.article-card__content {
    padding: 24px;
}

.article-card__tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}

.article-card__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.35;
}

.article-card__excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    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: 12px;
    color: var(--text-muted);
}

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

/* ─── FAQ ─── */
.faq {
    max-width: 720px;
    margin: 0 auto;
}

.faq__item {
    border-bottom: 1px solid var(--border-subtle);
}

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

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

.faq__icon {
    width: 24px;
    height: 24px;
    background: var(--accent-dim);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
    color: var(--accent);
    transition: all var(--transition);
}

.faq__item--open .faq__icon {
    background: var(--accent);
    color: var(--bg-primary);
    transform: rotate(45deg);
}

.faq__answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease;
}

.faq__answer-inner {
    padding-bottom: 20px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

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

/* ─── CTA BANNER ─── */
.cta-banner {
    background: linear-gradient(135deg, #1e1535 0%, #1a1a1a 50%, #1e1535 100%);
    border: 1px solid rgba(187, 134, 252, 0.2);
    border-radius: var(--radius-lg);
    padding: 64px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(187, 134, 252, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.cta-banner__title {
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 14px;
    position: relative;
}

.cta-banner__desc {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

/* ─── COOKIE CONSENT ─── */
.cookie-consent {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    max-width: 400px;
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.cookie-consent__inner {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cookie-consent__text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.cookie-consent__btn {
    align-self: flex-end;
    padding: 8px 24px;
    background: var(--accent);
    color: var(--bg-primary);
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
}

.cookie-consent__btn:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

/* ─── FOOTER ─── */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 64px 0 32px;
}

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

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

.footer__logo {
    font-family: var(--font-main);
    font-size: 20px;
    font-weight: 800;
    color: var(--accent);
    text-decoration: none;
}

.footer__tagline {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 260px;
}

.footer__col-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-primary);
    margin-bottom: 20px;
}

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

.footer__link {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition);
}

.footer__link:hover {
    color: var(--accent);
}

.footer__bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer__copy {
    font-size: 13px;
    color: var(--text-muted);
}

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

.footer__legal-link {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition);
}

.footer__legal-link:hover {
    color: var(--accent);
}

/* ─── PAGE HERO ─── */
.page-hero {
    padding: 64px 0 56px;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-subtle);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(187, 134, 252, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.page-hero__label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.page-hero__title {
    font-size: clamp(30px, 4vw, 50px);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    position: relative;
}

.page-hero__desc {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
    position: relative;
}

/* ─── BREADCRUMB ─── */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 0;
    font-size: 13px;
    color: var(--text-muted);
}

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

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition);
}

.breadcrumb a:hover {
    color: var(--accent);
}

/* ─── ABOUT PAGE ─── */
.about-content {
    max-width: 760px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 40px 0 16px;
}

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

.about-content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 16px;
}

.about-content ul {
    list-style: none;
    margin-bottom: 16px;
}

.about-content ul li {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.about-content ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.about-value {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    text-align: center;
}

.about-value__icon {
    font-size: 28px;
    margin-bottom: 12px;
}

.about-value__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.about-value__text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ─── HOW TO PLAY PAGE ─── */
.how-to-play__content {
    max-width: 820px;
    margin: 0 auto;
}

.how-section {
    margin-bottom: 56px;
}

.how-section__title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-subtle);
}

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

.control-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
}

.control-item__key {
    min-width: 44px;
    height: 44px;
    background: var(--accent-dim);
    border: 1px solid rgba(187, 134, 252, 0.3);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.control-item__info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.control-item__action {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.control-item__desc {
    font-size: 13px;
    color: var(--text-secondary);
}

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

.rule-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
}

.rule-item__num {
    width: 28px;
    height: 28px;
    background: var(--accent);
    color: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
}

.rule-item__text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    padding-top: 3px;
}

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

.tip-card {
    padding: 20px 22px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius-sm);
    position: relative;
}

.tip-card__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.tip-card__text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ─── 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;
    padding: 56px 0;
}

.article-body h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 36px 0 14px;
}

.article-body h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 28px 0 12px;
}

.article-body p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.78;
    margin-bottom: 18px;
}

.article-body ul, .article-body ol {
    margin-bottom: 18px;
    padding-left: 24px;
}

.article-body ul {
    list-style: disc;
}

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

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

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

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

.article-header__tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.article-header__title {
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 16px;
}

.article-header__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

.article-header__meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-thumb {
    width: 100%;
    aspect-ratio: 16/8;
    background: linear-gradient(135deg, #1e1e1e, #2a1f3d);
    border-radius: var(--radius-md);
    margin-bottom: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    border: 1px solid var(--border-subtle);
    overflow: hidden;
}

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

.sidebar__widget {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 24px;
}

.sidebar__widget-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-subtle);
}

.sidebar__play-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--accent);
    color: var(--bg-primary);
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all var(--transition);
    margin-top: 12px;
}

.sidebar__play-btn:hover {
    background: var(--accent-hover);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
}

.sidebar__game-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    margin-bottom: 10px;
}

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

.sidebar__related-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-decoration: none;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-subtle);
    transition: all var(--transition);
}

.sidebar__related-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar__related-item:hover .sidebar__related-title {
    color: var(--accent);
}

.sidebar__related-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.sidebar__related-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    line-height: 1.4;
    transition: color var(--transition);
}

/* ─── CONTACT PAGE ─── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

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

.contact-info__title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.contact-info__text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
}

.contact-item__icon {
    width: 44px;
    height: 44px;
    background: var(--accent-dim);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-item__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.contact-item__val {
    font-size: 14px;
    color: var(--text-secondary);
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
}

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

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-family: var(--font-main);
    font-size: 15px;
    color: var(--text-primary);
    transition: border-color var(--transition);
    outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(187, 134, 252, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.6;
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23a0a0a0' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--accent);
    color: var(--bg-primary);
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
    letter-spacing: 0.3px;
}

.btn-submit:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
}

.form-success {
    margin-top: 16px;
    padding: 16px 20px;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: var(--radius-sm);
    color: #81c784;
    font-size: 14px;
    line-height: 1.5;
}

/* ─── LEGAL PAGES ─── */
.legal-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 56px 0;
}

.legal-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 36px 0 14px;
}

.legal-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 24px 0 10px;
}

.legal-content p, .legal-content li {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 12px;
}

.legal-content ul, .legal-content ol {
    padding-left: 20px;
    margin-bottom: 16px;
}

.legal-content ul {
    list-style: disc;
}

.legal-content ol {
    list-style: decimal;
}

.legal-content a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-updated {
    display: inline-block;
    background: var(--accent-dim);
    border: 1px solid rgba(187, 134, 252, 0.2);
    border-radius: var(--radius-sm);
    padding: 8px 16px;
    font-size: 13px;
    color: var(--accent);
    margin-bottom: 36px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .features__grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

    .sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 56px 0;
    }

    .hero {
        padding: 64px 0 56px;
    }

    .hero__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero__visual {
        order: -1;
    }

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

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

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

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

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

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

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

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

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

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

    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav {
        display: none;
        flex-direction: column;
        gap: 0;
        position: absolute;
        top: calc(var(--header-height) - 1px);
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        border-bottom: 1px solid var(--border-color);
        padding: 8px 0;
        z-index: 99;
    }

    .nav--open {
        display: flex;
    }

    .nav__link {
        padding: 12px 24px;
        font-size: 15px;
        display: block;
        width: 100%;
    }

    .header__cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .header {
        position: sticky;
    }

    .cta-banner {
        padding: 40px 24px;
    }

    .hero__actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-consent {
        left: 16px;
        right: 16px;
        bottom: 16px;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

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