/*
 * PROJECT: meridaproject.com
 * DOMAIN: meridaproject.com
 * GAME: Tennis Dash
 * 
 * DESIGN:
 * - CSS: BEM
 * - Palette: Технологичный (Neon #00ffaa, Dark #0d1117)
 * - Effect: Neon Glow
 * - Fonts: JetBrains Mono (heading) + Inter (body)
 * - Buttons: Neon Border
 * 
 * Created: January 2026
 */

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

:root {
    --neon-green: #00ffaa;
    --neon-green-dim: #00cc88;
    --neon-blue: #00d4ff;
    --neon-pink: #ff006e;
    --court-yellow: #ffbe0b;
    --dark-bg: #0d1117;
    --dark-surface: #161b22;
    --dark-card: #1c2128;
    --dark-border: #30363d;
    --text-primary: #e6edf3;
    --text-secondary: #8b949e;
    --text-muted: #6e7681;
    --font-heading: 'JetBrains Mono', monospace;
    --font-body: 'Inter', sans-serif;
    --glow-green: 0 0 8px #00ffaa, 0 0 20px #00ffaa44;
    --glow-blue: 0 0 8px #00d4ff, 0 0 20px #00d4ff44;
    --glow-pink: 0 0 8px #ff006e, 0 0 20px #ff006e44;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: 0.25s ease;
    --header-height: 70px;
}

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

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

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

a:hover {
    color: var(--neon-blue);
}

ul {
    list-style: none;
}

/* ================================
   MANDATORY OVERLAY RULES
================================ */

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

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

.stars {
    color: #ffc107;
}

/* ================================
   TYPOGRAPHY
================================ */

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

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

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

/* ================================
   LAYOUT
================================ */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section--alt {
    background-color: var(--dark-surface);
}

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

.section__title {
    color: var(--neon-green);
    margin-bottom: 1rem;
    text-shadow: var(--glow-green);
}

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

/* ================================
   COOKIE CONSENT
================================ */

.cookie-consent {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    max-width: 400px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

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

.cookie-consent__text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.cookie-consent__text a {
    color: var(--neon-green);
}

/* ================================
   HEADER
================================ */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--dark-border);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--neon-green);
    text-shadow: var(--glow-green);
    letter-spacing: -0.02em;
    text-decoration: none;
    transition: text-shadow var(--transition);
}

.logo:hover {
    color: var(--neon-green);
    text-shadow: 0 0 12px #00ffaa, 0 0 30px #00ffaa66;
}

.logo span {
    color: var(--neon-blue);
    text-shadow: var(--glow-blue);
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav__link {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color var(--transition), text-shadow var(--transition);
    padding: 0.5rem 0;
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--neon-green);
    box-shadow: var(--glow-green);
    transition: width var(--transition);
}

.nav__link:hover,
.nav__link--active {
    color: var(--neon-green);
}

.nav__link:hover::after,
.nav__link--active::after {
    width: 100%;
}

.nav__play-btn {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--neon-green);
    border-radius: var(--radius-sm);
    color: var(--neon-green);
    background: transparent;
    box-shadow: var(--glow-green);
    transition: all var(--transition);
    text-decoration: none;
}

.nav__play-btn:hover {
    background: var(--neon-green);
    color: var(--dark-bg);
    box-shadow: 0 0 15px #00ffaa, 0 0 35px #00ffaa55;
}

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

.nav__toggle-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--neon-green);
    box-shadow: var(--glow-green);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

/* ================================
   HERO
================================ */

.hero {
    position: relative;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--dark-bg);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero__bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 255, 170, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 170, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
}

.hero__bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
}

.hero__bg-glow--1 {
    width: 500px;
    height: 500px;
    background: var(--neon-green);
    top: -100px;
    right: -100px;
}

.hero__bg-glow--2 {
    width: 400px;
    height: 400px;
    background: var(--neon-blue);
    bottom: -100px;
    left: -50px;
}

.hero__bg-glow--3 {
    width: 300px;
    height: 300px;
    background: var(--court-yellow);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

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

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--neon-green);
    border: 1px solid rgba(0, 255, 170, 0.3);
    background: rgba(0, 255, 170, 0.05);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
}

.hero__badge::before {
    content: '●';
    font-size: 0.6rem;
    animation: blink 1.5s ease-in-out infinite;
}

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

.hero__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero__title-accent {
    color: var(--neon-green);
    text-shadow: var(--glow-green);
    display: block;
}

.hero__description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

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

.hero__stats {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--dark-border);
}

.hero__stat-value {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neon-green);
    text-shadow: var(--glow-green);
}

.hero__stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.hero__game-preview {
    position: relative;
    width: 100%;
    max-width: 480px;
}

.hero__game-frame {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 0 40px rgba(0, 255, 170, 0.1), 0 20px 60px rgba(0, 0, 0, 0.5);
}

.hero__game-toolbar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--dark-surface);
    border-bottom: 1px solid var(--dark-border);
}

.hero__game-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.hero__game-dot--red { background: #ff5f56; }
.hero__game-dot--yellow { background: #ffbd2e; }
.hero__game-dot--green { background: var(--neon-green); box-shadow: var(--glow-green); }

.hero__game-title-bar {
    flex: 1;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.hero__game-icon-wrap {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #0d2818 0%, #0d1117 50%, #001a2c 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
}

.hero__game-icon {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-md);
    box-shadow: 0 0 20px rgba(0, 255, 170, 0.3);
}

.hero__game-label {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--neon-green);
    letter-spacing: 0.05em;
}

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

/* ================================
   BUTTONS
================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition);
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

.btn-play,
.btn--primary {
    background: var(--neon-green);
    color: var(--dark-bg);
    box-shadow: 0 0 15px #00ffaa44;
}

.btn-play:hover,
.btn--primary:hover {
    background: var(--neon-green-dim);
    color: var(--dark-bg);
    box-shadow: 0 0 25px #00ffaa, 0 0 50px #00ffaa44;
    transform: translateY(-2px);
}

.btn--outline {
    background: transparent;
    color: var(--neon-green);
    border: 1px solid var(--neon-green);
    box-shadow: var(--glow-green);
}

.btn--outline:hover {
    background: rgba(0, 255, 170, 0.08);
    box-shadow: 0 0 15px #00ffaa, 0 0 30px #00ffaa44;
    color: var(--neon-green);
}

.btn--blue {
    background: transparent;
    color: var(--neon-blue);
    border: 1px solid var(--neon-blue);
    box-shadow: var(--glow-blue);
}

.btn--blue:hover {
    background: rgba(0, 212, 255, 0.08);
    box-shadow: 0 0 15px #00d4ff, 0 0 30px #00d4ff44;
    color: var(--neon-blue);
}

.btn--sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.8rem;
}

.btn--lg {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

/* ================================
   FEATURES GRID
================================ */

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

.feature-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.feature-card:hover {
    border-color: rgba(0, 255, 170, 0.4);
    box-shadow: 0 0 20px rgba(0, 255, 170, 0.1);
    transform: translateY(-4px);
}

.feature-card__icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card__title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--neon-green);
    margin-bottom: 0.75rem;
    letter-spacing: 0.03em;
}

.feature-card__text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ================================
   GAME SECTION
================================ */

.game-section {
    padding: 5rem 0;
}

.game-section__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.game-section__tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--neon-blue);
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.25);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.game-section__title {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.game-section__title span {
    color: var(--neon-green);
    text-shadow: var(--glow-green);
}

.game-section__text {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.game-section__controls {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.game-section__control-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.game-section__control-key {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    color: var(--neon-green);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    min-width: 80px;
    text-align: center;
    flex-shrink: 0;
}

.game-section__visual {
    position: relative;
}

.game-section__card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.08);
}

.game-section__card-header {
    padding: 1rem 1.5rem;
    background: var(--dark-surface);
    border-bottom: 1px solid var(--dark-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.game-section__card-label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--neon-green);
    letter-spacing: 0.05em;
}

.game-section__card-status {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.game-section__card-status::before {
    content: '●';
    color: var(--neon-green);
    font-size: 0.6rem;
    animation: blink 2s ease-in-out infinite;
}

.game-section__card-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.game-section__icon {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-md);
    box-shadow: 0 0 25px rgba(0, 255, 170, 0.25);
}

.game-section__info {
    text-align: center;
}

.game-section__name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

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

.game-section__card-actions {
    display: flex;
    gap: 1rem;
    width: 100%;
    justify-content: center;
}

/* ================================
   HOW TO PLAY (quick)
================================ */

.how-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.how-step {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: border-color var(--transition);
}

.how-step:hover {
    border-color: rgba(0, 255, 170, 0.3);
}

.how-step__number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(0, 255, 170, 0.15);
    line-height: 1;
    margin-bottom: 1rem;
}

.how-step__title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

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

/* ================================
   ARTICLE CARDS
================================ */

.articles__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.article-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
    position: relative;
}

.article-card:hover {
    border-color: rgba(0, 255, 170, 0.3);
    box-shadow: 0 0 20px rgba(0, 255, 170, 0.08);
    transform: translateY(-4px);
}

.article-card__image {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--dark-surface), var(--dark-bg));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    border-bottom: 1px solid var(--dark-border);
    overflow: hidden;
}

.article-card__content {
    padding: 1.5rem;
}

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

.article-card__category {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--neon-green);
    background: rgba(0, 255, 170, 0.08);
    border: 1px solid rgba(0, 255, 170, 0.2);
    padding: 0.2rem 0.6rem;
    border-radius: 3px;
}

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

.article-card__title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.35;
    transition: color var(--transition);
}

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

.article-card__excerpt {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card__footer {
    margin-top: 0.75rem;
}

.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: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition);
}

.faq__item.is-open {
    border-color: rgba(0, 255, 170, 0.3);
}

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

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

.faq__item.is-open .faq__question {
    color: var(--neon-green);
}

.faq__icon {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--neon-green);
    flex-shrink: 0;
    transition: transform var(--transition);
    line-height: 1;
}

.faq__item.is-open .faq__icon {
    transform: rotate(45deg);
}

.faq__answer {
    display: none;
    padding: 0 1.5rem 1.25rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq__item.is-open .faq__answer {
    display: block;
}

/* ================================
   CTA SECTION
================================ */

.cta {
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(0, 255, 170, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 50%, rgba(0, 212, 255, 0.06) 0%, transparent 60%);
}

.cta__inner {
    position: relative;
    z-index: 1;
}

.cta__title {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.cta__title span {
    color: var(--neon-green);
    text-shadow: var(--glow-green);
}

.cta__text {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.cta__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ================================
   FOOTER
================================ */

.footer {
    background: var(--dark-surface);
    border-top: 1px solid var(--dark-border);
    padding: 3rem 0 1.5rem;
}

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

.footer__brand {
    max-width: 280px;
}

.footer__logo {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--neon-green);
    text-shadow: var(--glow-green);
    text-decoration: none;
    display: block;
    margin-bottom: 1rem;
}

.footer__logo:hover {
    color: var(--neon-green);
}

.footer__tagline {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.footer__col-title {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

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

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

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

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

.footer__copyright {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
    font-family: var(--font-heading);
}

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

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

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

/* ================================
   PAGE HERO (inner pages)
================================ */

.page-hero {
    padding: 4rem 0;
    background: var(--dark-surface);
    border-bottom: 1px solid var(--dark-border);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 100%, rgba(0, 255, 170, 0.06) 0%, transparent 70%);
}

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

.page-hero__title {
    color: var(--neon-green);
    text-shadow: var(--glow-green);
    margin-bottom: 1rem;
}

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

.page-hero__breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

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

.page-hero__breadcrumb a:hover {
    color: var(--neon-green);
}

.page-hero__breadcrumb span {
    color: var(--neon-green);
}

/* ================================
   BLOG PAGE
================================ */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}

/* ================================
   ARTICLE PAGE
================================ */

.article-page {
    padding: 4rem 0;
}

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

.article-content {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    padding: 2.5rem;
}

.article-content h1 {
    color: var(--neon-green);
    text-shadow: var(--glow-green);
    margin-bottom: 1.5rem;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.article-content h2 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-content h3 {
    color: var(--neon-green);
    font-size: 1.15rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.article-content p {
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.article-content ul,
.article-content ol {
    color: var(--text-secondary);
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
    list-style: disc;
}

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

.article-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

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

.article-content .highlight-box {
    background: rgba(0, 255, 170, 0.05);
    border: 1px solid rgba(0, 255, 170, 0.2);
    border-left: 3px solid var(--neon-green);
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--dark-border);
    flex-wrap: wrap;
}

.article-meta__item {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.article-meta__item span {
    color: var(--neon-green);
}

.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-widget {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.sidebar-widget__title {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--neon-green);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--dark-border);
}

.sidebar-widget__game {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.sidebar-widget__game-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    box-shadow: 0 0 15px rgba(0, 255, 170, 0.2);
}

.sidebar-widget__game-name {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.sidebar-widget__game-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
}

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

.sidebar-links__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(48, 54, 61, 0.5);
    transition: color var(--transition);
}

.sidebar-links__item:last-child {
    border-bottom: none;
}

.sidebar-links__item:hover {
    color: var(--neon-green);
}

a.sidebar-links__item::before {
    content: '›';
    color: var(--neon-green);
    font-size: 1rem;
}

/* ================================
   HOW TO PLAY PAGE
================================ */

.how-to-play-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: start;
}

.how-to-play-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.guide-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    padding: 2rem;
}

.guide-card__title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--neon-green);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.guide-card__title::before {
    content: '//';
    color: var(--text-muted);
    font-size: 0.85rem;
}

.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.guide-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.guide-step__num {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--dark-bg);
    background: var(--neon-green);
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.guide-step__text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.guide-step__text strong {
    color: var(--text-primary);
}

.controls-table {
    width: 100%;
    border-collapse: collapse;
}

.controls-table th {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-align: left;
    padding: 0.6rem 1rem;
    background: var(--dark-surface);
    border-bottom: 1px solid var(--dark-border);
}

.controls-table td {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(48, 54, 61, 0.5);
    vertical-align: top;
}

.controls-table tr:last-child td {
    border-bottom: none;
}

.controls-table .key-badge {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    color: var(--neon-green);
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
}

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

.tip-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.tip-item::before {
    content: '→';
    color: var(--neon-green);
    font-family: var(--font-heading);
    flex-shrink: 0;
    margin-top: 0.05rem;
}

.highlight-box {
    background: rgba(0, 255, 170, 0.05);
    border: 1px solid rgba(0, 255, 170, 0.2);
    border-left: 3px solid var(--neon-green);
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* ================================
   ABOUT PAGE
================================ */

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

.about-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.about-card:last-child {
    margin-bottom: 0;
}

.about-card__title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--neon-green);
    margin-bottom: 0.75rem;
    letter-spacing: 0.03em;
}

.about-card__text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.value-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.value-item {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    text-align: center;
    transition: border-color var(--transition);
}

.value-item:hover {
    border-color: rgba(0, 255, 170, 0.3);
}

.value-item__icon {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    display: block;
}

.value-item__label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ================================
   CONTACT PAGE
================================ */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    padding: 2rem;
}

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

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-primary);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--neon-green);
    box-shadow: 0 0 0 2px rgba(0, 255, 170, 0.1);
}

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

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

.contact-info-item {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.contact-info-item__icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.contact-info-item__title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--neon-green);
    margin-bottom: 0.25rem;
}

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

/* ================================
   LEGAL PAGES
================================ */

.legal-content {
    max-width: 860px;
    margin: 0 auto;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    padding: 2.5rem;
}

.legal-content h2 {
    font-size: 1.3rem;
    color: var(--neon-green);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

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

.legal-content p {
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.legal-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.legal-updated {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--dark-border);
}

/* ================================
   MOBILE NAV
================================ */

@media (max-width: 900px) {
    .nav__toggle {
        display: flex;
    }

    .nav__list,
    .nav__play-btn {
        display: none;
    }

    .nav.is-open .nav__list {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: calc(var(--header-height) - 1px);
        left: 0;
        right: 0;
        background: var(--dark-surface);
        border-bottom: 1px solid var(--dark-border);
        padding: 1.5rem;
        gap: 1rem;
        z-index: 999;
    }

    .nav.is-open .nav__play-btn {
        display: inline-flex;
        margin-top: 0.5rem;
        align-self: flex-start;
    }

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

    .hero__actions {
        justify-content: center;
    }

    .hero__stats {
        justify-content: center;
    }

    .hero__visual {
        order: -1;
    }

    .hero__game-preview {
        max-width: 360px;
    }

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

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

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

    .article-layout,
    .how-to-play-content {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        order: -1;
    }

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

@media (max-width: 640px) {
    .section {
        padding: 3.5rem 0;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .hero__stats {
        gap: 1.5rem;
    }

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

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

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

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

/* ================================
   UTILITY
================================ */

.text-center { text-align: center; }
.text-neon { color: var(--neon-green); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }

.tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--neon-green);
    background: rgba(0, 255, 170, 0.08);
    border: 1px solid rgba(0, 255, 170, 0.2);
    padding: 0.2rem 0.6rem;
    border-radius: 3px;
}

.divider {
    height: 1px;
    background: var(--dark-border);
    margin: 2rem 0;
}

.cursor::after {
    content: '_';
    color: var(--neon-green);
    animation: blink 1s step-end infinite;
}