/*
 * PROJECT: tailoranter.com
 * DOMAIN: tailoranter.com
 * GAME: Stick Jump
 *
 * DESIGN:
 * - CSS: BEM
 * - Palette: Океанический (синий, зелёный, золотой)
 * - Effect: Gradient Mesh + Animated Gradients
 * - Fonts: Playfair Display (heading) + Source Sans 3 (body)
 * - 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');

:root {
    --ocean-deep: #0a2342;
    --ocean-mid: #1a3a5c;
    --ocean-light: #2e6b8a;
    --wave-teal: #1b8a9a;
    --reef-green: #2cb67d;
    --seafoam: #7ec8c8;
    --gold-sun: #f4c430;
    --gold-light: #ffd700;
    --gold-warm: #e8b84b;
    --white-foam: #f0f8ff;
    --pearl: #e8f4f8;
    --text-dark: #0d1f35;
    --text-mid: #2a4a6b;
    --text-light: #6a8ca8;
    --surface-glass: rgba(255, 255, 255, 0.08);
    --surface-card: rgba(10, 35, 66, 0.75);
    --border-wave: rgba(124, 200, 200, 0.25);
    --shadow-deep: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.3);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: 0.3s ease;
}

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

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

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

body {
    font-family: var(--font-body);
    background: var(--ocean-deep);
    color: var(--white-foam);
    line-height: 1.7;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(46, 107, 138, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(27, 138, 154, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(10, 35, 66, 0.8) 0%, transparent 70%),
        linear-gradient(135deg, #0a2342 0%, #0e2d4a 40%, #0d2847 100%);
    animation: meshShift 20s ease infinite alternate;
}

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

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

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

a:hover {
    color: var(--gold-sun);
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.25;
    color: var(--white-foam);
}

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

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

.stars {
    color: #ffc107;
}

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

.section {
    padding: 80px 0;
}

.section--alt {
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid var(--border-wave);
    border-bottom: 1px solid var(--border-wave);
}

/* ═══════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════ */
.section__title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--white-foam), var(--gold-sun));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section__subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 56px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ═══════════════════════════════════════
   HEADER / NAVIGATION
═══════════════════════════════════════ */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 35, 66, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-wave);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--gold-sun);
    letter-spacing: -0.5px;
    text-decoration: none;
    transition: color var(--transition);
}

.logo:hover {
    color: var(--gold-light);
}

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

.nav__link {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--seafoam);
    text-decoration: none;
    position: relative;
    transition: color var(--transition);
}

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

.nav__link:hover {
    color: var(--white-foam);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__link--cta {
    background: linear-gradient(135deg, var(--wave-teal), var(--reef-green));
    color: var(--white-foam) !important;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
}

.nav__link--cta::after {
    display: none;
}

.nav__link--cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(27, 138, 154, 0.5);
}

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

.header__burger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--seafoam);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

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

/* ═══════════════════════════════════════
   COOKIE CONSENT
═══════════════════════════════════════ */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(10, 35, 66, 0.97);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-wave);
    padding: 20px 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

.cookie-consent__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-consent__text {
    color: var(--text-light);
    font-size: 0.9rem;
    flex: 1;
    min-width: 280px;
}

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

.cookie-consent__btn {
    white-space: nowrap;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════
   BUTTONS
═══════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 48px;
    background: linear-gradient(135deg, var(--gold-sun) 0%, var(--gold-warm) 50%, var(--gold-light) 100%);
    color: var(--ocean-deep);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 900;
    border-radius: 50px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    position: relative;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.3), 0 8px 24px rgba(244, 196, 48, 0.4);
    transition: all var(--transition);
}

.btn-play:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 0 rgba(0, 0, 0, 0.3), 0 12px 32px rgba(244, 196, 48, 0.5);
    color: var(--ocean-deep);
}

.btn-play:active {
    transform: translateY(1px);
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.3), 0 4px 12px rgba(244, 196, 48, 0.3);
}

.btn--primary {
    background: linear-gradient(135deg, var(--wave-teal), var(--reef-green));
    color: var(--white-foam);
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.25), 0 6px 20px rgba(27, 138, 154, 0.4);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 0 rgba(0, 0, 0, 0.25), 0 10px 28px rgba(27, 138, 154, 0.5);
    color: var(--white-foam);
}

.btn--outline {
    background: transparent;
    color: var(--seafoam);
    border: 2px solid var(--seafoam);
}

.btn--outline:hover {
    background: var(--seafoam);
    color: var(--ocean-deep);
}

/* ═══════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════ */
.hero {
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(46, 107, 138, 0.3) 0%, transparent 70%);
    pointer-events: none;
    animation: float1 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(44, 182, 125, 0.2) 0%, transparent 70%);
    pointer-events: none;
    animation: float2 10s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20px, 20px); }
}

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

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(27, 138, 154, 0.2);
    border: 1px solid rgba(27, 138, 154, 0.4);
    color: var(--seafoam);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero__title {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero__title span {
    background: linear-gradient(135deg, var(--gold-sun), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__description {
    font-size: 1.15rem;
    color: var(--seafoam);
    margin-bottom: 40px;
    max-width: 480px;
}

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

.hero__stats {
    display: flex;
    gap: 32px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border-wave);
}

.hero__stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    color: var(--gold-sun);
    line-height: 1;
}

.hero__stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 4px;
}

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

.hero__game-card {
    position: relative;
    background: linear-gradient(135deg, var(--ocean-mid), rgba(46, 107, 138, 0.5));
    border: 1px solid var(--border-wave);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-deep), 0 0 60px rgba(27, 138, 154, 0.2);
    max-width: 380px;
    width: 100%;
    backdrop-filter: blur(10px);
}

.hero__game-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: calc(var(--radius-lg) + 1px);
    background: linear-gradient(135deg, rgba(124, 200, 200, 0.3), transparent, rgba(244, 196, 48, 0.2));
    z-index: -1;
}

.hero__game-icon {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.hero__game-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.hero__game-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white-foam);
    margin-bottom: 4px;
}

.hero__game-genre {
    font-size: 0.85rem;
    color: var(--seafoam);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero__mini-play {
    background: linear-gradient(135deg, var(--gold-sun), var(--gold-warm));
    color: var(--ocean-deep);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    text-decoration: none;
    box-shadow: 0 3px 0 rgba(0,0,0,0.3);
    transition: all var(--transition);
}

.hero__mini-play:hover {
    transform: translateY(-3px);
    color: var(--ocean-deep);
}

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

.feature-card {
    background: var(--surface-glass);
    border: 1px solid var(--border-wave);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    transition: all var(--transition);
    backdrop-filter: blur(8px);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(124, 200, 200, 0.5);
    box-shadow: var(--shadow-card), 0 0 30px rgba(27, 138, 154, 0.15);
}

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

.feature-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--white-foam);
}

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

/* ═══════════════════════════════════════
   HOW TO PLAY (HOME)
═══════════════════════════════════════ */
.steps__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.step-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--surface-glass);
    border: 1px solid var(--border-wave);
    border-radius: var(--radius-md);
    position: relative;
    transition: all var(--transition);
}

.step-card:hover {
    transform: translateY(-4px);
    border-color: rgba(244, 196, 48, 0.3);
}

.step-card__number {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--wave-teal), var(--reef-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--white-foam);
    margin: 0 auto 20px;
    box-shadow: 0 4px 16px rgba(27, 138, 154, 0.4);
}

.step-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--white-foam);
}

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

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

.article-card {
    background: var(--surface-glass);
    border: 1px solid var(--border-wave);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition);
    backdrop-filter: blur(8px);
    position: relative;
}

.article-card:hover {
    transform: translateY(-6px);
    border-color: rgba(124, 200, 200, 0.4);
    box-shadow: var(--shadow-deep);
}

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

.article-card__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(10, 35, 66, 0.7));
}

.article-card__content {
    padding: 24px;
}

.article-card__tag {
    display: inline-block;
    background: rgba(27, 138, 154, 0.2);
    color: var(--seafoam);
    padding: 3px 12px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.article-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--white-foam);
    line-height: 1.4;
}

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

.article-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: var(--text-light);
    border-top: 1px solid var(--border-wave);
    padding-top: 14px;
    margin-top: 4px;
}

.article-card__read-more {
    color: var(--seafoam);
    font-weight: 600;
    font-size: 0.88rem;
    transition: color var(--transition);
    position: relative;
    z-index: 2;
}

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

.faq__item {
    background: var(--surface-glass);
    border: 1px solid var(--border-wave);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition);
}

.faq__item.is-open {
    border-color: rgba(124, 200, 200, 0.4);
}

.faq__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--white-foam);
    user-select: none;
    gap: 16px;
}

.faq__icon {
    width: 28px;
    height: 28px;
    background: rgba(27, 138, 154, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--seafoam);
    flex-shrink: 0;
    transition: all var(--transition);
    line-height: 1;
}

.faq__item.is-open .faq__icon {
    background: var(--wave-teal);
    color: var(--white-foam);
    transform: rotate(45deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 24px;
}

.faq__answer p {
    color: var(--text-light);
    font-size: 0.97rem;
    line-height: 1.7;
    padding-bottom: 20px;
}

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

/* ═══════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════ */
.cta-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section__inner {
    background: linear-gradient(135deg, var(--ocean-mid), rgba(46, 107, 138, 0.6));
    border: 1px solid var(--border-wave);
    border-radius: var(--radius-lg);
    padding: 64px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-deep), 0 0 80px rgba(27, 138, 154, 0.15);
}

.cta-section__inner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(244, 196, 48, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section__title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 900;
    margin-bottom: 16px;
}

.cta-section__title span {
    background: linear-gradient(135deg, var(--gold-sun), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-section__text {
    color: var(--seafoam);
    font-size: 1.1rem;
    margin-bottom: 36px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.footer {
    background: rgba(6, 20, 40, 0.95);
    border-top: 1px solid var(--border-wave);
    padding: 60px 0 32px;
}

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

.footer__brand .logo {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.footer__brand p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer__heading {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white-foam);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer__nav a {
    color: var(--text-light);
    font-size: 0.92rem;
    transition: color var(--transition);
}

.footer__nav a:hover {
    color: var(--seafoam);
}

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

.footer__copy {
    color: var(--text-light);
    font-size: 0.88rem;
}

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

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

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

/* ═══════════════════════════════════════
   PAGE HERO (inner pages)
═══════════════════════════════════════ */
.page-hero {
    padding: 60px 0;
    text-align: center;
    position: relative;
    border-bottom: 1px solid var(--border-wave);
}

.page-hero__breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.page-hero__breadcrumb a {
    color: var(--seafoam);
}

.page-hero__title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--white-foam), var(--gold-sun));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero__subtitle {
    color: var(--seafoam);
    font-size: 1.1rem;
    max-width: 580px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════
   ABOUT PAGE
═══════════════════════════════════════ */
.about-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 60px;
    align-items: start;
}

.about-text h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--gold-sun);
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1rem;
}

.about-sidebar {
    background: var(--surface-glass);
    border: 1px solid var(--border-wave);
    border-radius: var(--radius-md);
    padding: 32px;
    position: sticky;
    top: 90px;
}

.about-sidebar__title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white-foam);
}

.about-sidebar__list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.about-sidebar__item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.about-sidebar__icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

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

.team-card {
    background: var(--surface-glass);
    border: 1px solid var(--border-wave);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    text-align: center;
    transition: all var(--transition);
}

.team-card:hover {
    transform: translateY(-4px);
    border-color: rgba(124, 200, 200, 0.4);
}

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

.team-card__name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white-foam);
    margin-bottom: 4px;
}

.team-card__role {
    font-size: 0.85rem;
    color: var(--seafoam);
}

/* ═══════════════════════════════════════
   HOW TO PLAY PAGE
═══════════════════════════════════════ */
.how-to-play-content {
    max-width: 860px;
    margin: 0 auto;
}

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

.htp-section__title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white-foam);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--wave-teal);
    display: flex;
    align-items: center;
    gap: 12px;
}

.htp-section__icon {
    font-size: 1.8rem;
}

.htp-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.htp-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--surface-glass);
    border: 1px solid var(--border-wave);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: all var(--transition);
}

.htp-step:hover {
    border-color: rgba(124, 200, 200, 0.4);
    transform: translateX(6px);
}

.htp-step__num {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--gold-sun), var(--gold-warm));
    color: var(--ocean-deep);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 900;
    flex-shrink: 0;
    box-shadow: 0 3px 12px rgba(244, 196, 48, 0.3);
}

.htp-step__content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white-foam);
    margin-bottom: 8px;
}

.htp-step__content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

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

.tip-card {
    background: var(--surface-glass);
    border: 1px solid var(--border-wave);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: all var(--transition);
}

.tip-card:hover {
    border-color: rgba(244, 196, 48, 0.3);
}

.tip-card__icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.tip-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white-foam);
    margin-bottom: 6px;
}

.tip-card__text {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
}

.controls-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface-glass);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.controls-table th {
    background: rgba(27, 138, 154, 0.2);
    padding: 14px 20px;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--seafoam);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border-wave);
}

.controls-table td {
    padding: 14px 20px;
    color: var(--text-light);
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.controls-table tr:hover td {
    background: rgba(255, 255, 255, 0.03);
    color: var(--white-foam);
}

/* ═══════════════════════════════════════
   BLOG PAGE
═══════════════════════════════════════ */
.blog__header {
    text-align: center;
    margin-bottom: 56px;
}

.blog__grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.blog__featured {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

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

.blog-sidebar__widget {
    background: var(--surface-glass);
    border: 1px solid var(--border-wave);
    border-radius: var(--radius-md);
    padding: 24px;
}

.blog-sidebar__widget-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white-foam);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.blog-sidebar__item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.blog-sidebar__item-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.blog-sidebar__item a {
    color: var(--seafoam);
    font-size: 0.9rem;
    line-height: 1.4;
    transition: color var(--transition);
}

.blog-sidebar__item a:hover {
    color: var(--gold-sun);
}

.blog__all-articles {
    margin-top: 60px;
}

.blog__all-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--white-foam);
    border-bottom: 2px solid var(--wave-teal);
    padding-bottom: 12px;
}

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

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

.article-body {
    max-width: 100%;
}

.article-body__header {
    margin-bottom: 40px;
}

.article-body__tag {
    display: inline-block;
    background: rgba(27, 138, 154, 0.2);
    color: var(--seafoam);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.article-body__title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--white-foam), var(--gold-sun));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.article-body__meta {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    color: var(--text-light);
    font-size: 0.88rem;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-wave);
}

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

.article-body__image {
    height: 300px;
    background: linear-gradient(135deg, var(--ocean-mid), var(--wave-teal));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    margin-bottom: 36px;
    border: 1px solid var(--border-wave);
}

.article-body h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white-foam);
    margin: 36px 0 16px;
}

.article-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--seafoam);
    margin: 28px 0 12px;
}

.article-body p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 0.97rem;
}

.article-body ul,
.article-body ol {
    margin-bottom: 20px;
    padding-left: 24px;
    list-style: disc;
}

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

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

.article-body strong {
    color: var(--white-foam);
    font-weight: 700;
}

.article-body blockquote {
    background: rgba(27, 138, 154, 0.1);
    border-left: 4px solid var(--wave-teal);
    padding: 20px 24px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 28px 0;
    color: var(--seafoam);
    font-style: italic;
    font-size: 1.05rem;
}

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

.article-sidebar__widget {
    background: var(--surface-glass);
    border: 1px solid var(--border-wave);
    border-radius: var(--radius-md);
    padding: 24px;
}

.article-sidebar__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white-foam);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border-wave);
    padding-bottom: 12px;
}

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

.article-sidebar__list a {
    color: var(--seafoam);
    font-size: 0.9rem;
    line-height: 1.5;
    display: flex;
    gap: 8px;
    align-items: flex-start;
    transition: color var(--transition);
}

.article-sidebar__list a:hover {
    color: var(--gold-sun);
}

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

.contact-form {
    background: var(--surface-glass);
    border: 1px solid var(--border-wave);
    border-radius: var(--radius-md);
    padding: 40px;
    backdrop-filter: blur(8px);
}

.contact-form__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--white-foam);
}

.contact-form__subtitle {
    color: var(--text-light);
    margin-bottom: 32px;
    font-size: 0.95rem;
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--seafoam);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-wave);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    color: var(--white-foam);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color var(--transition), background var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--wave-teal);
    background: rgba(255, 255, 255, 0.1);
}

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

.form-group select option {
    background: var(--ocean-deep);
    color: var(--white-foam);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

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

.contact-info__title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white-foam);
    margin-bottom: 16px;
}

.contact-info__text {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.contact-card {
    background: var(--surface-glass);
    border: 1px solid var(--border-wave);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: all var(--transition);
}

.contact-card:hover {
    border-color: rgba(124, 200, 200, 0.4);
    transform: translateX(4px);
}

.contact-card__icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white-foam);
    margin-bottom: 4px;
}

.contact-card__text {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

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

.legal-content h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white-foam);
    margin: 40px 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-wave);
}

.legal-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--seafoam);
    margin: 24px 0 10px;
}

.legal-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 0.97rem;
}

.legal-content ul,
.legal-content ol {
    padding-left: 24px;
    list-style: disc;
    margin-bottom: 16px;
}

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

.legal-content li {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 8px;
    font-size: 0.97rem;
}

.legal-content strong {
    color: var(--white-foam);
}

.legal-meta {
    background: rgba(27, 138, 154, 0.1);
    border: 1px solid rgba(27, 138, 154, 0.25);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin-bottom: 40px;
    color: var(--seafoam);
    font-size: 0.9rem;
}

/* ═══════════════════════════════════════
   ALERT / SUCCESS MESSAGE
═══════════════════════════════════════ */
.form-success {
    display: none;
    background: rgba(44, 182, 125, 0.15);
    border: 1px solid rgba(44, 182, 125, 0.4);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    color: var(--reef-green);
    font-weight: 600;
    text-align: center;
    margin-top: 16px;
    font-size: 0.95rem;
}

.form-success.is-visible {
    display: block;
}

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

    .hero__description {
        max-width: 100%;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__stats {
        justify-content: center;
    }

    .hero__visual {
        order: -1;
    }

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

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

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

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

    .about-sidebar {
        position: static;
    }

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

    .blog__sidebar {
        position: static;
    }

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

    .article-sidebar {
        position: static;
    }

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

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

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

    .nav__list {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 35, 66, 0.98);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--border-wave);
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
    }

    .nav__list.is-open {
        display: flex;
    }

    .nav__link {
        padding: 14px 24px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .nav__link::after {
        display: none;
    }

    .nav__link--cta {
        margin: 12px 24px 0;
        border-radius: var(--radius-sm);
        text-align: center;
    }

    .header__burger {
        display: flex;
    }

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

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

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

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

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

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

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

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

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

    .contact-form {
        padding: 28px 24px;
    }
}

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

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

    .btn-play {
        width: 100%;
    }
}