/*
 * PROJECT: thesquabble.com
 * DOMAIN: thesquabble.com
 * GAME: Stick Jump
 * 
 * DESIGN:
 * - CSS: BEM
 * - Palette: Океанический (Blue, Green, Gold, Ocean Waves)
 * - Effect: Gradient Mesh + Animated Gradients
 * - Fonts: Playfair Display + Source Sans 3
 * - Buttons: Gradient with 3D Effect
 * 
 * Created: 2025
 */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Source+Sans+3:wght@300;400;600;700&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
    --ocean-deep: #0a2342;
    --ocean-mid: #1a3a5c;
    --ocean-surface: #1e5f8e;
    --wave-teal: #0d7f8f;
    --wave-cyan: #17a2b8;
    --coral-gold: #c9a84c;
    --sandy-gold: #e8c96d;
    --seafoam-green: #2ecc71;
    --deep-emerald: #1a7a4a;
    --pearl-white: #f0f8ff;
    --foam-white: #e8f4fd;
    --mist-gray: #b0c4de;
    --dark-text: #0a1628;
    --body-text: #1c3a5e;
    --light-text: #6b8cae;

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;

    --shadow-ocean: 0 8px 32px rgba(10, 35, 66, 0.3);
    --shadow-wave: 0 4px 16px rgba(13, 127, 143, 0.25);
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --transition: all 0.3s ease;
    --header-height: 70px;
}

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

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

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

body {
    font-family: var(--font-body);
    color: var(--body-text);
    background-color: var(--pearl-white);
    line-height: 1.6;
}

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

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

ul {
    list-style: none;
}

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

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

.stars {
    color: #ffc107;
}

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

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.8rem); }
h4 { font-size: 1.25rem; }

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

/* ===== OCEAN MESH BACKGROUND ===== */
.ocean-mesh-bg {
    background:
        radial-gradient(ellipse at 20% 20%, rgba(13, 127, 143, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(30, 95, 142, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(26, 58, 92, 0.2) 0%, transparent 70%),
        linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean-mid) 40%, var(--ocean-surface) 100%);
}

/* ===== ANIMATED WAVE ===== */
@keyframes waveFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 35, 66, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(13, 127, 143, 0.3);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.site-header--scrolled {
    background: rgba(10, 35, 66, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.site-header__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.6rem;
    color: var(--sandy-gold);
    letter-spacing: -0.02em;
    transition: var(--transition);
    text-shadow: 0 0 20px rgba(201, 168, 76, 0.4);
}

.logo:hover {
    color: var(--coral-gold);
    text-shadow: 0 0 30px rgba(201, 168, 76, 0.6);
}

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

.site-nav__link {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--foam-white);
    letter-spacing: 0.03em;
    transition: var(--transition);
    position: relative;
    padding-bottom: 2px;
}

.site-nav__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--wave-cyan);
    transition: var(--transition);
}

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

.site-nav__link:hover,
.site-nav__link--active {
    color: var(--wave-cyan);
}

.site-nav__cta {
    background: linear-gradient(135deg, var(--coral-gold), var(--sandy-gold));
    color: var(--ocean-deep) !important;
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(201, 168, 76, 0.3);
}

.site-nav__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 168, 76, 0.5);
}

.site-nav__cta::after {
    display: none;
}

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

.nav-toggle__bar {
    width: 25px;
    height: 2px;
    background: var(--foam-white);
    transition: var(--transition);
    border-radius: 2px;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 15% 30%, rgba(13, 127, 143, 0.4) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 70%, rgba(46, 204, 113, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 10%, rgba(201, 168, 76, 0.1) 0%, transparent 40%),
        linear-gradient(160deg, var(--ocean-deep) 0%, var(--ocean-mid) 50%, #0e3a6e 100%);
}

.hero__waves {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    overflow: hidden;
}

.hero__wave-svg {
    position: absolute;
    bottom: 0;
    width: 200%;
    height: 100%;
}

.hero__wave-svg--1 {
    animation: waveScroll 8s linear infinite;
    opacity: 0.6;
}

.hero__wave-svg--2 {
    animation: waveScroll 12s linear infinite reverse;
    opacity: 0.4;
}

@keyframes waveScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.hero__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 1.5rem 6rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero__content {
    animation: fadeInUp 0.8s ease forwards;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(13, 127, 143, 0.3);
    border: 1px solid rgba(23, 162, 184, 0.5);
    color: var(--wave-cyan);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero__title {
    color: var(--pearl-white);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero__title-accent {
    color: var(--sandy-gold);
    display: block;
}

.hero__description {
    font-size: 1.15rem;
    color: var(--mist-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

.hero__stats {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(176, 196, 222, 0.2);
}

.hero__stat-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--sandy-gold);
    display: block;
}

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

.hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero__game-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-ocean);
    animation: waveFloat 4s ease-in-out infinite;
    max-width: 380px;
    width: 100%;
}

.hero__game-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.hero__game-title {
    color: var(--pearl-white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.hero__game-genre {
    color: var(--wave-cyan);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.hero__game-controls {
    background: rgba(13, 127, 143, 0.2);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    color: var(--mist-gray);
}

.hero__game-controls strong {
    color: var(--sandy-gold);
}

/* ===== BUTTONS ===== */
.btn-play,
.btn--primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--wave-teal) 0%, var(--wave-cyan) 50%, var(--seafoam-green) 100%);
    background-size: 200% 200%;
    color: #fff;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    padding: 0.85rem 2rem;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(13, 127, 143, 0.4), 0 3px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-play::before,
.btn--primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn-play:hover::before,
.btn--primary:hover::before {
    left: 100%;
}

.btn-play:hover,
.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(13, 127, 143, 0.5), 0 5px 15px rgba(0, 0, 0, 0.2);
    background-position: right center;
    color: #fff;
}

.btn--secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--foam-white);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.85rem 2rem;
    border-radius: 30px;
    border: 2px solid rgba(176, 196, 222, 0.4);
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn--secondary:hover {
    border-color: var(--wave-cyan);
    color: var(--wave-cyan);
    transform: translateY(-2px);
    background: rgba(23, 162, 184, 0.1);
}

.btn--gold {
    background: linear-gradient(135deg, var(--coral-gold), var(--sandy-gold));
    color: var(--ocean-deep);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    padding: 0.85rem 2rem;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(201, 168, 76, 0.3);
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn--gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(201, 168, 76, 0.5);
    color: var(--ocean-deep);
}

/* ===== SECTION BASE ===== */
.section {
    padding: 5rem 0;
}

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

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

.section__subtitle {
    display: inline-block;
    color: var(--wave-teal);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.section__title {
    color: var(--ocean-deep);
    margin-bottom: 1rem;
}

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

/* ===== FEATURES ===== */
.features {
    background: var(--foam-white);
}

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

.feature-card {
    background: #fff;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-wave);
    border: 1px solid rgba(13, 127, 143, 0.1);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-ocean);
    border-color: rgba(13, 127, 143, 0.3);
}

.feature-card__icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--ocean-surface), var(--wave-teal));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 12px rgba(13, 127, 143, 0.3);
}

.feature-card__title {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--ocean-deep);
}

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

/* ===== HOW TO PLAY (HOMEPAGE) ===== */
.how-to-play-section {
    background: linear-gradient(160deg, var(--ocean-deep) 0%, var(--ocean-mid) 60%, var(--ocean-surface) 100%);
    position: relative;
    overflow: hidden;
}

.how-to-play-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(13, 127, 143, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

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

.step-card {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--border-radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    counter-increment: steps;
}

.step-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
}

.step-card__number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--coral-gold), var(--sandy-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--ocean-deep);
    margin: 0 auto 1.25rem;
    box-shadow: 0 4px 12px rgba(201, 168, 76, 0.4);
}

.step-card__title {
    color: var(--pearl-white);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.step-card__text {
    color: var(--mist-gray);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.how-to-play-section .section__title {
    color: var(--pearl-white);
}

.how-to-play-section .section__subtitle {
    color: var(--sandy-gold);
}

.how-to-play-section .section__lead {
    color: var(--mist-gray);
}

/* ===== ARTICLES GRID ===== */
.blog-section {
    background: var(--pearl-white);
}

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

.article-card {
    background: #fff;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-wave);
    border: 1px solid rgba(13, 127, 143, 0.1);
    transition: var(--transition);
    position: relative;
}

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

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

.article-card__thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 40%, rgba(201, 168, 76, 0.2) 0%, transparent 60%);
}

.article-card__content {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
}

.article-card__category {
    display: inline-block;
    background: rgba(13, 127, 143, 0.1);
    color: var(--wave-teal);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 0.75rem;
}

.article-card__title {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--ocean-deep);
    line-height: 1.4;
    transition: var(--transition);
}

.article-card:hover .article-card__title {
    color: var(--wave-teal);
}

.article-card__excerpt {
    font-size: 0.92rem;
    color: var(--light-text);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.article-card__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.82rem;
    color: var(--mist-gray);
    padding-top: 1rem;
    border-top: 1px solid rgba(13, 127, 143, 0.1);
}

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

/* ===== FAQ ===== */
.faq-section {
    background: var(--foam-white);
}

.faq__list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq__item {
    background: #fff;
    border-radius: var(--border-radius);
    border: 1px solid rgba(13, 127, 143, 0.15);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(10, 35, 66, 0.06);
}

.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;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ocean-deep);
    text-align: left;
    transition: var(--transition);
}

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

.faq__icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--ocean-surface), var(--wave-teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.faq__item--open .faq__icon {
    transform: rotate(45deg);
    background: linear-gradient(135deg, var(--coral-gold), var(--sandy-gold));
    color: var(--ocean-deep);
}

.faq__answer {
    display: none;
    padding: 0 1.5rem 1.25rem;
    color: var(--light-text);
    font-size: 0.95rem;
    line-height: 1.8;
}

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

/* ===== CTA BANNER ===== */
.cta-banner {
    background:
        radial-gradient(ellipse at 30% 50%, rgba(201, 168, 76, 0.15) 0%, transparent 60%),
        linear-gradient(135deg, var(--ocean-deep), var(--wave-teal));
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-banner__inner {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.cta-banner__title {
    color: var(--pearl-white);
    margin-bottom: 1rem;
}

.cta-banner__text {
    color: var(--mist-gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* ===== PAGE HERO ===== */
.page-hero {
    padding: 8rem 0 4rem;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(13, 127, 143, 0.3) 0%, transparent 60%),
        linear-gradient(160deg, var(--ocean-deep) 0%, var(--ocean-mid) 100%);
    position: relative;
    overflow: hidden;
}

.page-hero__inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.page-hero__title {
    color: var(--pearl-white);
    margin-bottom: 1rem;
}

.page-hero__lead {
    color: var(--mist-gray);
    font-size: 1.15rem;
    line-height: 1.8;
}

/* ===== ARTICLE SINGLE ===== */
.article-page {
    padding: 4rem 0;
}

.article-page__inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.article__header {
    margin-bottom: 2.5rem;
}

.article__category-tag {
    display: inline-block;
    background: rgba(13, 127, 143, 0.1);
    color: var(--wave-teal);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.article__title {
    margin-bottom: 1rem;
}

.article__meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.88rem;
    color: var(--light-text);
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(13, 127, 143, 0.15);
}

.article__body {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--body-text);
}

.article__body h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.article__body h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.article__body ul,
.article__body ol {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.article__body ol {
    list-style: decimal;
}

.article__body li {
    margin-bottom: 0.5rem;
    color: var(--body-text);
}

.article__body blockquote {
    border-left: 4px solid var(--wave-teal);
    padding: 1rem 1.5rem;
    background: rgba(13, 127, 143, 0.07);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--ocean-mid);
}

.article__body strong {
    color: var(--ocean-deep);
    font-weight: 700;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: var(--light-text);
}

.breadcrumb a {
    color: var(--wave-teal);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--wave-teal);
    text-decoration: underline;
}

.breadcrumb__separator {
    color: var(--mist-gray);
}

/* ===== ABOUT PAGE ===== */
.about-section {
    padding: 5rem 0;
}

.about-section__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.about-content__label {
    color: var(--wave-teal);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    display: block;
}

.about-content__title {
    margin-bottom: 1.5rem;
}

.about-content__text {
    font-size: 1rem;
    color: var(--body-text);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.about-visual {
    background: linear-gradient(135deg, var(--ocean-mid), var(--wave-teal));
    border-radius: var(--border-radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-ocean);
}

.about-visual__icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    animation: waveFloat 3s ease-in-out infinite;
}

.about-visual__title {
    color: var(--pearl-white);
    margin-bottom: 0.75rem;
}

.about-visual__text {
    color: var(--mist-gray);
    font-size: 0.95rem;
    margin-bottom: 0;
}

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

.value-item {
    background: var(--foam-white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    border-left: 4px solid var(--wave-teal);
}

.value-item__title {
    font-size: 1rem;
    color: var(--ocean-deep);
    margin-bottom: 0.5rem;
}

.value-item__text {
    font-size: 0.9rem;
    color: var(--light-text);
    margin-bottom: 0;
}

/* ===== HOW TO PLAY PAGE ===== */
.htp-section {
    padding: 5rem 0;
}

.htp-section__inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.htp-intro-card {
    background: linear-gradient(135deg, var(--ocean-mid), var(--wave-teal));
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    margin-bottom: 3rem;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.htp-intro-card__icon {
    font-size: 4rem;
    flex-shrink: 0;
}

.htp-intro-card__title {
    color: var(--pearl-white);
    margin-bottom: 0.75rem;
}

.htp-intro-card__text {
    color: var(--mist-gray);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 0;
}

.htp-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.htp-step {
    display: flex;
    gap: 2rem;
    background: #fff;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-wave);
    border: 1px solid rgba(13, 127, 143, 0.1);
    transition: var(--transition);
}

.htp-step:hover {
    box-shadow: var(--shadow-ocean);
    border-color: rgba(13, 127, 143, 0.25);
}

.htp-step__number {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, var(--coral-gold), var(--sandy-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--ocean-deep);
    box-shadow: 0 4px 12px rgba(201, 168, 76, 0.35);
}

.htp-step__content { flex: 1; }

.htp-step__title {
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
}

.htp-step__text {
    color: var(--light-text);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.htp-tips {
    background: var(--foam-white);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    margin-bottom: 3rem;
}

.htp-tips__title {
    margin-bottom: 1.5rem;
    color: var(--ocean-deep);
}

.htp-tips__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.htp-tip-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.htp-tip-item__icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.htp-tip-item__text {
    font-size: 0.95rem;
    color: var(--body-text);
    margin-bottom: 0;
    line-height: 1.6;
}

.controls-card {
    background: linear-gradient(135deg, var(--ocean-deep), var(--ocean-surface));
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.controls-card__title {
    color: var(--pearl-white);
    margin-bottom: 1.5rem;
}

.controls-list {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.control-item {
    text-align: center;
}

.control-item__icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 0.75rem;
}

.control-item__label {
    color: var(--sandy-gold);
    font-size: 0.85rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

.control-item__desc {
    color: var(--mist-gray);
    font-size: 0.82rem;
    margin-bottom: 0;
}

/* ===== BLOG PAGE ===== */
.blog-page {
    padding: 4rem 0;
}

.blog-page__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== CONTACT PAGE ===== */
.contact-section {
    padding: 5rem 0;
}

.contact-section__inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.contact-info__title {
    margin-bottom: 1rem;
}

.contact-info__text {
    color: var(--light-text);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-detail {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.contact-detail__icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--ocean-surface), var(--wave-teal));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-detail__label {
    font-weight: 600;
    color: var(--ocean-deep);
    font-size: 0.9rem;
    margin-bottom: 0.15rem;
    display: block;
}

.contact-detail__value {
    font-size: 0.9rem;
    color: var(--light-text);
}

.contact-form {
    background: #fff;
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-wave);
    border: 1px solid rgba(13, 127, 143, 0.1);
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid rgba(13, 127, 143, 0.2);
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--body-text);
    background: var(--foam-white);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--wave-teal);
    box-shadow: 0 0 0 3px rgba(13, 127, 143, 0.1);
}

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

/* ===== POLICY PAGES ===== */
.policy-section {
    padding: 4rem 0;
}

.policy-section__inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.policy-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(13, 127, 143, 0.15);
}

.policy-content p,
.policy-content li {
    color: var(--body-text);
    line-height: 1.85;
    font-size: 1rem;
}

.policy-content ul,
.policy-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.policy-content ul { list-style: disc; }
.policy-content ol { list-style: decimal; }

.policy-content li { margin-bottom: 0.5rem; }

.policy-content a {
    color: var(--wave-teal);
    text-decoration: underline;
}

.policy-content a:hover {
    color: var(--wave-cyan);
}

/* ===== COOKIE CONSENT ===== */
.cookie-consent {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    max-width: 420px;
    width: calc(100% - 3rem);
    background: rgba(10, 35, 66, 0.97);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(13, 127, 143, 0.3);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    padding: 1.5rem;
    animation: fadeInUp 0.5s ease;
}

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

.cookie-consent__text {
    color: var(--mist-gray);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 0;
}

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

.cookie-consent__btn {
    background: linear-gradient(135deg, var(--wave-teal), var(--wave-cyan));
    color: #fff;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.65rem 1.5rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    align-self: flex-start;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cookie-consent__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 127, 143, 0.4);
}

.cookie-consent--hidden {
    display: none;
}

/* ===== FOOTER ===== */
.site-footer {
    background: linear-gradient(160deg, var(--ocean-deep) 0%, #061828 100%);
    color: var(--mist-gray);
    padding: 4rem 0 0;
}

.site-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(176, 196, 222, 0.1);
}

.footer-brand__logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--sandy-gold);
    display: block;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(201, 168, 76, 0.3);
}

.footer-brand__text {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--mist-gray);
    margin-bottom: 0;
}

.footer-col__title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--pearl-white);
    margin-bottom: 1.25rem;
}

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

.footer-col__list a {
    color: var(--mist-gray);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col__list a:hover {
    color: var(--wave-cyan);
}

.site-footer__bottom {
    padding: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

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

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

.site-footer__legal a {
    font-size: 0.85rem;
    color: var(--light-text);
    transition: var(--transition);
}

.site-footer__legal a:hover {
    color: var(--wave-cyan);
}

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.text-gold { color: var(--sandy-gold); }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0 !important; }

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

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
    }
    .hero__inner {
        gap: 2.5rem;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .site-nav {
        display: none;
        position: absolute;
        top: calc(var(--header-height) - 1px);
        left: 0;
        right: 0;
        background: rgba(10, 35, 66, 0.98);
        backdrop-filter: blur(12px);
        padding: 1.5rem;
        border-bottom: 1px solid rgba(13, 127, 143, 0.3);
    }

    .site-nav--open {
        display: block;
    }

    .site-nav__list {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }

    .nav-toggle {
        display: flex;
    }

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

    .hero__actions {
        justify-content: center;
    }

    .hero__stats {
        justify-content: center;
    }

    .hero__game-card {
        max-width: 100%;
    }

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

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

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

    .htp-intro-card {
        flex-direction: column;
        text-align: center;
    }

    .htp-step {
        flex-direction: column;
        gap: 1rem;
    }

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

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

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

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    .section { padding: 3rem 0; }
    .hero__inner { padding: 7rem 1rem 5rem; }
    .articles__grid { grid-template-columns: 1fr; }
}