/*
 * PROJECT: bagusnews.com
 * DOMAIN: bagusnews.com
 * GAME: Stick Jump
 * 
 * DESIGN:
 * - CSS: BEM
 * - Palette: Океанический (синий, зеленый, золотой, морские волны)
 * - Effect: Gradient Mesh
 * - Fonts: Playfair Display + Source Sans 3
 * - Buttons: Gradient
 * 
 * Created: January 2026
 */

@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 CUSTOM PROPERTIES
   ===================== */
:root {
    --ocean-deep: #0a2342;
    --ocean-mid: #1a4a7a;
    --ocean-light: #2e86c1;
    --wave-teal: #17a589;
    --wave-green: #1abc9c;
    --coral-gold: #d4a017;
    --sunshine-gold: #f0c040;
    --sea-foam: #a8d8ea;
    --pearl-white: #f4f9fc;
    --sand-light: #fdfaf5;
    --dark-ink: #0d1b2a;
    --mid-grey: #4a6275;
    --light-grey: #dde8f0;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans 3', 'Helvetica Neue', sans-serif;
    --shadow-sm: 0 2px 8px rgba(10, 35, 66, 0.12);
    --shadow-md: 0 6px 24px rgba(10, 35, 66, 0.18);
    --shadow-lg: 0 12px 48px rgba(10, 35, 66, 0.24);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: 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);
    background-color: var(--pearl-white);
    color: var(--dark-ink);
    line-height: 1.7;
}

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

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

ul {
    list-style: none;
}

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

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.8rem); font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }

p {
    font-size: 1rem;
    color: var(--mid-grey);
    margin-bottom: 1rem;
}

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

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

.stars { color: #ffc107; }

/* =====================
   LAYOUT UTILITIES
   ===================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

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

/* =====================
   MESH GRADIENT BACKGROUNDS
   ===================== */
.mesh-bg {
    background:
        radial-gradient(ellipse at 20% 50%, rgba(46, 134, 193, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(23, 165, 137, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 60% 80%, rgba(212, 160, 23, 0.10) 0%, transparent 50%),
        var(--pearl-white);
}

/* =====================
   HEADER
   ===================== */
.site-header {
    background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean-mid) 60%, var(--ocean-light) 100%);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(10, 35, 66, 0.35);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 900;
    color: var(--sunshine-gold);
    letter-spacing: -0.02em;
    text-shadow: 0 2px 12px rgba(240, 192, 64, 0.4);
    transition: color var(--transition);
}

.logo:hover {
    color: var(--sea-foam);
}

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

.site-nav__link {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: background var(--transition), color var(--transition);
}

.site-nav__link:hover,
.site-nav__link--active {
    color: var(--sunshine-gold);
    background: rgba(255, 255, 255, 0.1);
}

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

.site-header__menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--sunshine-gold);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.site-header__menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-header__menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.site-header__menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =====================
   HERO SECTION
   ===================== */
.hero {
    background:
        radial-gradient(ellipse at 10% 30%, rgba(23, 165, 137, 0.2) 0%, transparent 55%),
        radial-gradient(ellipse at 90% 70%, rgba(212, 160, 23, 0.15) 0%, transparent 50%),
        linear-gradient(160deg, var(--ocean-deep) 0%, var(--ocean-mid) 50%, #0e3d6e 100%);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80'%3E%3Cpath fill='%23f4f9fc' fill-opacity='1' d='M0,40L60,45C120,50,240,60,360,58C480,56,600,42,720,38C840,34,960,38,1080,44C1200,50,1320,58,1380,61L1440,64L1440,80L0,80Z'/%3E%3C/svg%3E") no-repeat bottom center;
    background-size: cover;
    z-index: 1;
}

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

.hero__badge {
    display: inline-block;
    background: rgba(240, 192, 64, 0.2);
    border: 1px solid rgba(240, 192, 64, 0.5);
    color: var(--sunshine-gold);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}

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

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

.hero__description {
    color: rgba(244, 249, 252, 0.85);
    font-size: 1.15rem;
    margin-bottom: 36px;
    line-height: 1.75;
}

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

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

.hero__game-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-lg), 0 0 60px rgba(23, 165, 137, 0.2);
    max-width: 340px;
    width: 100%;
}

.hero__game-icon {
    width: 140px;
    height: 140px;
    border-radius: var(--radius-md);
    margin: 0 auto 20px;
    object-fit: cover;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hero__game-title {
    color: var(--pearl-white);
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.hero__game-meta {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hero__game-tag {
    background: rgba(23, 165, 137, 0.25);
    border: 1px solid rgba(23, 165, 137, 0.4);
    color: var(--wave-green);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* =====================
   BUTTONS
   ===================== */
.btn-play {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--coral-gold) 0%, var(--sunshine-gold) 100%);
    color: var(--ocean-deep);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(212, 160, 23, 0.45);
    transition: transform var(--transition), box-shadow var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.btn-play:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(212, 160, 23, 0.6);
    color: var(--ocean-deep);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--pearl-white);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    padding: 13px 28px;
    border-radius: var(--radius-md);
    border: 2px solid rgba(244, 249, 252, 0.4);
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(244, 249, 252, 0.7);
    color: var(--pearl-white);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--ocean-light) 0%, var(--wave-teal) 100%);
    color: white;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(46, 134, 193, 0.35);
    transition: transform var(--transition), box-shadow var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(46, 134, 193, 0.5);
    color: white;
}

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

.feature-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-grey);
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--ocean-light), var(--wave-teal));
}

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

.feature-card__icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(46, 134, 193, 0.12), rgba(23, 165, 137, 0.12));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
}

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

.feature-card__text {
    font-size: 0.95rem;
    color: var(--mid-grey);
    line-height: 1.6;
    margin-bottom: 0;
}

/* =====================
   HOW TO PLAY PREVIEW
   ===================== */
.how-play-preview__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.how-play-preview__steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.step-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-item__number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--ocean-light), var(--wave-teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 16px rgba(46, 134, 193, 0.3);
}

.step-item__content h4 {
    color: var(--ocean-deep);
    margin-bottom: 4px;
}

.step-item__content p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.how-play-preview__visual {
    background:
        radial-gradient(ellipse at 30% 50%, rgba(46, 134, 193, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 30%, rgba(23, 165, 137, 0.12) 0%, transparent 55%),
        linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean-mid) 100%);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.how-play-preview__visual img {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-md);
    margin: 0 auto 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.how-play-preview__visual h3 {
    color: var(--pearl-white);
    margin-bottom: 12px;
}

.how-play-preview__visual p {
    color: rgba(244, 249, 252, 0.8);
    margin-bottom: 28px;
}

/* =====================
   SECTION HEADER
   ===================== */
.section__header {
    text-align: center;
    margin-bottom: 56px;
}

.section__tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(46, 134, 193, 0.12), rgba(23, 165, 137, 0.12));
    border: 1px solid rgba(46, 134, 193, 0.25);
    color: var(--ocean-light);
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.section__title {
    margin-bottom: 16px;
}

.section__subtitle {
    font-size: 1.1rem;
    color: var(--mid-grey);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
}

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

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

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

.article-card__image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean-mid) 50%, var(--wave-teal) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    position: relative;
    overflow: hidden;
}

.article-card__image--alt1 {
    background: linear-gradient(135deg, var(--ocean-mid) 0%, var(--wave-teal) 100%);
}

.article-card__image--alt2 {
    background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--wave-green) 100%);
}

.article-card__image--alt3 {
    background: linear-gradient(135deg, var(--coral-gold) 0%, var(--ocean-mid) 100%);
}

.article-card__content {
    padding: 24px;
}

.article-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.article-card__category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ocean-light);
    background: rgba(46, 134, 193, 0.1);
    padding: 3px 10px;
    border-radius: 20px;
}

.article-card__date {
    font-size: 0.82rem;
    color: var(--mid-grey);
}

.article-card__title {
    font-size: 1.1rem;
    color: var(--ocean-deep);
    margin-bottom: 10px;
    line-height: 1.4;
    transition: color var(--transition);
    position: relative;
    z-index: 2;
}

.article-card:hover .article-card__title {
    color: var(--ocean-light);
}

.article-card__excerpt {
    font-size: 0.9rem;
    color: var(--mid-grey);
    line-height: 1.6;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

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

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

.faq__item {
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--light-grey);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

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

.faq__question:hover {
    background: rgba(46, 134, 193, 0.04);
}

.faq__icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--ocean-light), var(--wave-teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    font-weight: 300;
    transition: transform var(--transition);
    line-height: 1;
}

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

.faq__answer {
    display: none;
    padding: 0 24px 22px;
    font-size: 0.95rem;
    color: var(--mid-grey);
    line-height: 1.7;
    border-top: 1px solid var(--light-grey);
    padding-top: 18px;
}

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

/* =====================
   STATS SECTION
   ===================== */
.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean-mid) 100%);
    border-radius: var(--radius-md);
    padding: 36px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.stat-card::after {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(240, 192, 64, 0.15), transparent 70%);
    border-radius: 50%;
}

.stat-card__value {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--sunshine-gold);
    margin-bottom: 8px;
    line-height: 1;
}

.stat-card__label {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: rgba(244, 249, 252, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-bottom: 0;
}

/* =====================
   CTA SECTION
   ===================== */
.cta {
    background:
        radial-gradient(ellipse at 20% 60%, rgba(23, 165, 137, 0.25) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 30%, rgba(212, 160, 23, 0.18) 0%, transparent 50%),
        linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean-mid) 60%, #0e3d6e 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 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.02'%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__inner {
    position: relative;
    z-index: 1;
    max-width: 660px;
    margin: 0 auto;
}

.cta__title {
    color: var(--pearl-white);
    margin-bottom: 18px;
}

.cta__title span {
    color: var(--sunshine-gold);
}

.cta__text {
    color: rgba(244, 249, 252, 0.82);
    font-size: 1.1rem;
    margin-bottom: 36px;
}

/* =====================
   FOOTER
   ===================== */
.site-footer {
    background: var(--ocean-deep);
    color: rgba(244, 249, 252, 0.7);
    padding: 60px 0 0;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand .logo {
    display: inline-block;
    margin-bottom: 14px;
}

.footer__description {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(244, 249, 252, 0.65);
    margin-bottom: 0;
}

.footer__heading {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--sunshine-gold);
    margin-bottom: 18px;
}

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

.footer__links a {
    font-size: 0.9rem;
    color: rgba(244, 249, 252, 0.65);
    transition: color var(--transition);
}

.footer__links a:hover {
    color: var(--sea-foam);
}

.site-footer__bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.site-footer__copyright {
    font-size: 0.85rem;
    color: rgba(244, 249, 252, 0.5);
    margin-bottom: 0;
}

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

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

.site-footer__legal a:hover {
    color: var(--sea-foam);
}

/* =====================
   PAGE HEADER (inner pages)
   ===================== */
.page-header {
    background:
        radial-gradient(ellipse at 20% 50%, rgba(23, 165, 137, 0.2) 0%, transparent 55%),
        linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean-mid) 100%);
    padding: 70px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 50'%3E%3Cpath fill='%23f4f9fc' fill-opacity='1' d='M0,25L80,28C160,31,320,37,480,36C640,35,800,27,960,24C1120,21,1280,23,1360,24L1440,25L1440,50L0,50Z'/%3E%3C/svg%3E") no-repeat bottom center;
    background-size: cover;
}

.page-header__tag {
    display: inline-block;
    background: rgba(240, 192, 64, 0.2);
    border: 1px solid rgba(240, 192, 64, 0.4);
    color: var(--sunshine-gold);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.page-header__title {
    color: var(--pearl-white);
    margin-bottom: 14px;
}

.page-header__subtitle {
    color: rgba(244, 249, 252, 0.8);
    font-size: 1.1rem;
    max-width: 540px;
    margin: 0 auto;
}

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

.about-intro__content h2 {
    margin-bottom: 20px;
}

.about-intro__content p {
    margin-bottom: 16px;
    font-size: 1.02rem;
    line-height: 1.75;
}

.about-intro__visual {
    background:
        radial-gradient(ellipse at 40% 50%, rgba(46, 134, 193, 0.18), transparent 60%),
        linear-gradient(135deg, var(--ocean-deep), var(--ocean-mid));
    border-radius: var(--radius-lg);
    padding: 48px 36px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-intro__visual img {
    width: 130px;
    height: 130px;
    border-radius: var(--radius-md);
    margin: 0 auto 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.about-intro__visual h3 {
    color: var(--pearl-white);
    margin-bottom: 10px;
}

.about-intro__visual p {
    color: rgba(244, 249, 252, 0.75);
    margin-bottom: 0;
}

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

.team-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-grey);
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition);
}

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

.team-card__avatar {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--ocean-light), var(--wave-teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 16px;
}

.team-card__name {
    font-size: 1.1rem;
    color: var(--ocean-deep);
    margin-bottom: 4px;
}

.team-card__role {
    font-size: 0.85rem;
    color: var(--ocean-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.team-card__bio {
    font-size: 0.9rem;
    color: var(--mid-grey);
    line-height: 1.6;
    margin-bottom: 0;
}

/* =====================
   HOW TO PLAY PAGE
   ===================== */
.controls__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.control-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 28px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-grey);
    position: relative;
    transition: box-shadow var(--transition);
}

.control-card:hover {
    box-shadow: var(--shadow-md);
}

.control-card__icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(46, 134, 193, 0.15), rgba(23, 165, 137, 0.15));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.control-card__content h4 {
    margin-bottom: 6px;
    color: var(--ocean-deep);
}

.control-card__content p {
    margin-bottom: 0;
    font-size: 0.92rem;
}

.tips__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 760px;
    margin: 0 auto;
}

.tip-item {
    background: white;
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--ocean-light);
    position: relative;
}

.tip-item__number {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--ocean-light), var(--wave-teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: white;
}

.tip-item__content h4 {
    margin-bottom: 4px;
    font-size: 1rem;
}

.tip-item__content p {
    margin-bottom: 0;
    font-size: 0.92rem;
}

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

.difficulty-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-grey);
    position: relative;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

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

.difficulty-card--easy::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--wave-green); }
.difficulty-card--medium::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--coral-gold); }
.difficulty-card--hard::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: #e63946; }

.difficulty-card__icon { font-size: 2.4rem; margin-bottom: 14px; }
.difficulty-card__level {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ocean-deep);
    margin-bottom: 10px;
}
.difficulty-card__desc {
    font-size: 0.9rem;
    color: var(--mid-grey);
    line-height: 1.6;
    margin-bottom: 0;
}

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

.blog-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-grey);
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
}

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

.blog-card__image {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--ocean-deep), var(--wave-teal));
}

.blog-card__content {
    padding: 24px;
}

.blog-card__category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ocean-light);
    background: rgba(46, 134, 193, 0.1);
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.blog-card__title {
    font-size: 1.1rem;
    color: var(--ocean-deep);
    margin-bottom: 10px;
    line-height: 1.4;
    transition: color var(--transition);
    position: relative;
    z-index: 2;
}

.blog-card:hover .blog-card__title {
    color: var(--ocean-light);
}

.blog-card__excerpt {
    font-size: 0.9rem;
    color: var(--mid-grey);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.blog-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: var(--mid-grey);
    position: relative;
    z-index: 2;
}

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

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

.article-content {
    background: white;
    border-radius: var(--radius-md);
    padding: 48px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-grey);
}

.article-content h2 {
    font-size: 1.7rem;
    margin: 32px 0 16px;
    color: var(--ocean-deep);
}

.article-content h3 {
    font-size: 1.3rem;
    margin: 28px 0 12px;
    color: var(--ocean-deep);
}

.article-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--mid-grey);
    margin-bottom: 18px;
}

.article-content ul,
.article-content ol {
    margin: 0 0 18px 24px;
    list-style: disc;
}

.article-content li {
    font-size: 0.98rem;
    color: var(--mid-grey);
    line-height: 1.75;
    margin-bottom: 6px;
}

.article-content .article-highlight {
    background: linear-gradient(135deg, rgba(46, 134, 193, 0.08), rgba(23, 165, 137, 0.08));
    border-left: 4px solid var(--ocean-light);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 20px 24px;
    margin: 24px 0;
}

.article-content .article-highlight p {
    margin-bottom: 0;
    font-style: italic;
    color: var(--ocean-deep);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.article-meta__tag {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ocean-light);
    background: rgba(46, 134, 193, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

.article-meta__date,
.article-meta__read-time {
    font-size: 0.85rem;
    color: var(--mid-grey);
}

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

.sidebar-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-grey);
    position: relative;
}

.sidebar-card__title {
    font-size: 1rem;
    color: var(--ocean-deep);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--light-grey);
}

.sidebar-card__play {
    background: linear-gradient(135deg, var(--ocean-deep), var(--ocean-mid));
    text-align: center;
}

.sidebar-card__play img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    margin: 0 auto 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.sidebar-card__play h4 {
    color: var(--pearl-white);
    margin-bottom: 8px;
}

.sidebar-card__play p {
    color: rgba(244, 249, 252, 0.72);
    font-size: 0.88rem;
    margin-bottom: 16px;
}

.related-posts__list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.related-post-item {
    display: flex;
    gap: 12px;
    align-items: center;
    position: relative;
}

.related-post-item__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--ocean-light), var(--wave-teal));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.related-post-item__title {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ocean-deep);
    line-height: 1.35;
    transition: color var(--transition);
    position: relative;
    z-index: 2;
}

.related-post-item:hover .related-post-item__title {
    color: var(--ocean-light);
}

.related-post-item__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

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

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

.contact-form h3 {
    margin-bottom: 28px;
    color: var(--ocean-deep);
}

.form__group {
    margin-bottom: 20px;
}

.form__label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ocean-deep);
    margin-bottom: 7px;
}

.form__input,
.form__textarea,
.form__select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--light-grey);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--dark-ink);
    background: white;
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
    border-color: var(--ocean-light);
    box-shadow: 0 0 0 4px rgba(46, 134, 193, 0.1);
}

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

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

.contact-info-item {
    background: white;
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-grey);
    position: relative;
}

.contact-info-item__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(46, 134, 193, 0.15), rgba(23, 165, 137, 0.15));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.contact-info-item__content h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: var(--ocean-deep);
}

.contact-info-item__content p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* =====================
   LEGAL PAGES
   ===================== */
.legal-content {
    max-width: 860px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-md);
    padding: 56px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-grey);
}

.legal-content h2 {
    font-size: 1.5rem;
    margin: 36px 0 14px;
    color: var(--ocean-deep);
    padding-top: 20px;
    border-top: 1px solid var(--light-grey);
}

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

.legal-content p {
    font-size: 0.97rem;
    line-height: 1.8;
    color: var(--mid-grey);
    margin-bottom: 14px;
}

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

.legal-content li {
    font-size: 0.97rem;
    color: var(--mid-grey);
    line-height: 1.75;
    margin-bottom: 6px;
}

.legal-updated {
    background: linear-gradient(135deg, rgba(46, 134, 193, 0.08), rgba(23, 165, 137, 0.08));
    border-left: 4px solid var(--ocean-light);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 14px 20px;
    margin-bottom: 32px;
    font-size: 0.88rem;
    color: var(--mid-grey);
    font-style: italic;
}

/* =====================
   BREADCRUMB
   ===================== */
.breadcrumb {
    padding: 14px 0;
    border-bottom: 1px solid var(--light-grey);
    background: white;
}

.breadcrumb__list {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumb__item {
    font-size: 0.85rem;
    color: var(--mid-grey);
}

.breadcrumb__item a {
    color: var(--ocean-light);
    transition: color var(--transition);
}

.breadcrumb__item a:hover {
    color: var(--ocean-deep);
}

.breadcrumb__sep {
    color: var(--light-grey);
}

/* =====================
   PAGINATION
   ===================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding-top: 48px;
}

.pagination__btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid var(--light-grey);
    background: white;
    color: var(--mid-grey);
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-body);
}

.pagination__btn:hover,
.pagination__btn--active {
    background: var(--ocean-light);
    border-color: var(--ocean-light);
    color: white;
}

/* =====================
   NOTICE / TOAST
   ===================== */
.form-success {
    display: none;
    background: rgba(26, 188, 156, 0.1);
    border: 1px solid rgba(26, 188, 156, 0.4);
    color: var(--wave-teal);
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    margin-top: 12px;
    text-align: center;
}

.form-success.show {
    display: block;
}

/* =====================
   COOKIE CONSENT
   ===================== */
.cookie-consent {
    position: fixed;
    bottom: 24px;
    right: 24px;
    max-width: 400px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--light-grey);
    padding: 24px;
    z-index: 9999;
    animation: slideUp 0.5s ease forwards;
}

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

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

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

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

/* =====================
   MOBILE NAV OVERLAY
   ===================== */
@media (max-width: 768px) {
    .site-nav {
        display: none;
        position: absolute;
        top: calc(var(--header-height) - 1px);
        left: 0;
        right: 0;
        background: linear-gradient(135deg, var(--ocean-deep), var(--ocean-mid));
        padding: 20px 24px 28px;
        box-shadow: var(--shadow-md);
        z-index: 999;
    }

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

    .site-nav__list {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .site-nav__link {
        display: block;
        width: 100%;
        padding: 10px 14px;
    }

    .site-header__menu-toggle {
        display: flex;
    }

    .site-header {
        position: relative;
    }

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

    .hero__actions {
        justify-content: center;
    }

    .hero__visual {
        order: -1;
    }

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

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

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

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

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

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

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

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

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

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

    .article-sidebar {
        position: static;
    }

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

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

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

    .legal-content {
        padding: 32px 24px;
    }

    .article-content {
        padding: 28px 20px;
    }

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

@media (max-width: 480px) {
    .stats__grid {
        grid-template-columns: 1fr 1fr;
    }

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