/*
 * PROJECT: pihorotker.com
 * DOMAIN: pihorotker.com
 * GAME: Tennis Dash
 *
 * DESIGN:
 * - CSS: BEM
 * - Palette: Спортивный (Champion/Trophy/Field)
 * - Effect: Gradient Mesh + Animated Gradients
 * - Fonts: Outfit (heading) + Rubik (body)
 * - Buttons: Gradient + 3D Effect
 *
 * Created: 2026
 */

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

:root {
    --champion-gold: #ff6b00;
    --trophy-orange: #ff8c00;
    --field-violet: #7c3aed;
    --energy-violet-light: #9b59b6;
    --court-white: #fff8f0;
    --rally-yellow: #ffd700;
    --serve-dark: #1a0a2e;
    --baseline-gray: #f4f0ff;
    --line-gray: #e2d9f3;
    --text-dark: #1a0a2e;
    --text-muted: #6b5b95;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Rubik', sans-serif;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-card: 0 8px 32px rgba(124, 58, 237, 0.15);
    --shadow-hover: 0 16px 48px rgba(255, 107, 0, 0.25);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::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);
    color: var(--text-dark);
    background: var(--court-white);
    line-height: 1.6;
}

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

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

ul {
    list-style: none;
}

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

.section__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 900;
    color: var(--serve-dark);
    margin-bottom: 0.5rem;
}

.section__subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

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

.section__header .section__subtitle {
    margin-left: auto;
    margin-right: auto;
}

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

.section {
    padding: 5rem 0;
}

.section--alt {
    background: var(--baseline-gray);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: linear-gradient(135deg, var(--champion-gold) 0%, var(--field-violet) 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4), 0 2px 0 rgba(0,0,0,0.2);
    transform: translateY(0);
}

.btn--primary:hover {
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.5), 0 2px 0 rgba(0,0,0,0.2);
    transform: translateY(-2px);
}

.btn--primary:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(255, 107, 0, 0.4), 0 1px 0 rgba(0,0,0,0.2);
}

.btn--secondary {
    background: transparent;
    color: var(--field-violet);
    border: 2px solid var(--field-violet);
}

.btn--secondary:hover {
    background: var(--field-violet);
    color: #fff;
}

.btn--large {
    font-size: 1.2rem;
    padding: 1.1rem 2.75rem;
}

.btn-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.25rem;
    padding: 1.1rem 3rem;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--champion-gold) 0%, var(--trophy-orange) 50%, var(--field-violet) 100%);
    color: #fff;
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.5), 0 3px 0 rgba(100, 20, 150, 0.4);
    transform: translateY(0);
    transition: var(--transition);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.btn-play:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 35px rgba(255, 107, 0, 0.6), 0 3px 0 rgba(100, 20, 150, 0.4);
}

.btn-play:active {
    transform: translateY(1px);
}

/* ===== HEADER ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 248, 240, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--line-gray);
    padding: 0.875rem 0;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.6rem;
    background: linear-gradient(135deg, var(--champion-gold), var(--field-violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    flex-shrink: 0;
}

.nav {
    position: relative;
}

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

.nav__link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    padding: 0.5rem 0.875rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav__link:hover,
.nav__link--active {
    color: var(--champion-gold);
    background: rgba(255, 107, 0, 0.08);
}

.nav__cta {
    background: linear-gradient(135deg, var(--champion-gold), var(--field-violet));
    color: #fff !important;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
}

.nav__cta:hover {
    background: linear-gradient(135deg, var(--field-violet), var(--champion-gold)) !important;
    transform: translateY(-1px);
    color: #fff !important;
}

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

.nav__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    overflow: hidden;
    padding: 5rem 0 4rem;
    background: linear-gradient(135deg, var(--serve-dark) 0%, #2d1060 50%, #1a0a2e 100%);
}

.hero__mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 60% at 80% 20%, rgba(255, 107, 0, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse 50% 80% at 10% 80%, rgba(124, 58, 237, 0.4) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 50% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 60%);
    animation: meshMove 8s ease-in-out infinite alternate;
}

@keyframes meshMove {
    0% { transform: scale(1) rotate(0deg); }
    100% { transform: scale(1.05) rotate(2deg); }
}

.hero__lines {
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(255,255,255,0.03) 60px, rgba(255,255,255,0.03) 61px),
        repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(255,255,255,0.03) 60px, rgba(255,255,255,0.03) 61px);
}

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

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: var(--rally-yellow);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.hero__title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

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

.hero__desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 2rem;
    max-width: 480px;
}

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

.hero__stats {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
}

.hero__stat {
    text-align: left;
}

.hero__stat-value {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--rally-yellow);
    line-height: 1;
}

.hero__stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.25rem;
}

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

.hero__game-frame {
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(255, 107, 0, 0.2);
    width: 100%;
    max-width: 420px;
    text-align: center;
}

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

.hero__game-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.hero__game-desc {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.hero__game-tags {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.tag {
    background: rgba(124, 58, 237, 0.3);
    color: rgba(255,255,255,0.85);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    border: 1px solid rgba(124, 58, 237, 0.4);
}

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

.feature-card {
    position: relative;
    background: #fff;
    border: 2px solid var(--line-gray);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: var(--transition);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--champion-gold), var(--field-violet));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: rgba(255, 107, 0, 0.3);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card__icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.15), rgba(124, 58, 237, 0.15));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

.feature-card__title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--serve-dark);
    margin-bottom: 0.5rem;
}

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

/* ===== HOW TO PLAY PREVIEW ===== */
.steps__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    counter-reset: steps;
}

.step-card {
    position: relative;
    text-align: center;
    padding: 2rem 1.5rem;
    background: #fff;
    border-radius: var(--radius-md);
    border: 2px solid var(--line-gray);
    transition: var(--transition);
}

.step-card:hover {
    border-color: var(--champion-gold);
    box-shadow: var(--shadow-card);
    transform: translateY(-3px);
}

.step-card__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--champion-gold), var(--field-violet));
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 900;
    border-radius: 50%;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.4);
}

.step-card__title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--serve-dark);
    margin-bottom: 0.5rem;
}

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

/* ===== BLOG CARDS ===== */
.blog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
}

.article-card {
    position: relative;
    background: #fff;
    border: 2px solid var(--line-gray);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.article-card:hover {
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.article-card__image {
    height: 180px;
    background: linear-gradient(135deg, var(--serve-dark), var(--field-violet));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    overflow: hidden;
}

.article-card__content {
    padding: 1.5rem;
}

.article-card__category {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--champion-gold);
    background: rgba(255, 107, 0, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 0.75rem;
}

.article-card__title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--serve-dark);
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

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

.article-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
    padding-top: 1rem;
    border-top: 1px solid var(--line-gray);
}

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

/* ===== FAQ ===== */
.faq__list {
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: #fff;
    border: 2px solid var(--line-gray);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.is-open {
    border-color: var(--champion-gold);
    box-shadow: 0 4px 16px rgba(255, 107, 0, 0.15);
}

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

.faq-item__question:hover {
    color: var(--champion-gold);
}

.faq-item__icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: rgba(255, 107, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--champion-gold);
    transition: var(--transition);
}

.faq-item.is-open .faq-item__icon {
    background: var(--champion-gold);
    color: #fff;
    transform: rotate(45deg);
}

.faq-item__answer {
    display: none;
    padding: 0 1.5rem 1.25rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.faq-item.is-open .faq-item__answer {
    display: block;
}

/* ===== NEWSLETTER / CTA BANNER ===== */
.cta-banner {
    background: linear-gradient(135deg, var(--serve-dark) 0%, #3d1080 100%);
    position: relative;
    overflow: hidden;
}

.cta-banner__mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 80% at 90% 50%, rgba(255, 107, 0, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse 40% 60% at 10% 50%, rgba(124, 58, 237, 0.3) 0%, transparent 60%);
}

.cta-banner__inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 5rem 0;
}

.cta-banner__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 1rem;
}

.cta-banner__title span {
    background: linear-gradient(135deg, var(--champion-gold), var(--rally-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-banner__text {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--serve-dark);
    color: rgba(255,255,255,0.7);
    padding: 4rem 0 2rem;
}

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

.site-footer__brand .logo {
    display: inline-block;
    margin-bottom: 1rem;
}

.site-footer__desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.5);
    margin-bottom: 1.5rem;
    max-width: 280px;
}

.site-footer__heading {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--champion-gold);
    margin-bottom: 1.25rem;
}

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

.site-footer__links a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
}

.site-footer__links a:hover {
    color: var(--champion-gold);
    padding-left: 4px;
}

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.35);
}

.site-footer__bottom a {
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
}

.site-footer__bottom a:hover {
    color: var(--champion-gold);
}

/* ===== INNER PAGE HERO ===== */
.page-hero {
    background: linear-gradient(135deg, var(--serve-dark), #2d1060);
    padding: 3.5rem 0;
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 70% 50%, rgba(255, 107, 0, 0.2) 0%, transparent 60%);
}

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

.page-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 1rem;
}

.page-hero__breadcrumb a {
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
}

.page-hero__breadcrumb a:hover {
    color: var(--champion-gold);
}

.page-hero__breadcrumb span {
    color: rgba(255,255,255,0.25);
}

.page-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: #fff;
}

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

.page-hero__subtitle {
    color: rgba(255,255,255,0.65);
    font-size: 1.1rem;
    margin-top: 0.75rem;
    max-width: 600px;
}

/* ===== CONTENT PAGE ===== */
.content-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3rem;
    align-items: start;
}

.prose {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.prose h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--serve-dark);
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--line-gray);
}

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

.prose h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--serve-dark);
    margin: 2rem 0 0.75rem;
}

.prose p {
    margin-bottom: 1.25rem;
    color: #3d2c6e;
}

.prose ul, .prose ol {
    margin: 1.25rem 0;
    padding-left: 1.5rem;
}

.prose li {
    margin-bottom: 0.5rem;
    list-style: disc;
    color: #3d2c6e;
}

.prose ol li {
    list-style: decimal;
}

.prose strong {
    font-weight: 700;
    color: var(--serve-dark);
}

.prose a {
    color: var(--field-violet);
    text-decoration: underline;
    transition: var(--transition);
}

.prose a:hover {
    color: var(--champion-gold);
}

.prose blockquote {
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.06), rgba(124, 58, 237, 0.06));
    border-left: 4px solid var(--champion-gold);
    padding: 1.25rem 1.5rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 2rem 0;
    font-style: italic;
    color: var(--field-violet);
}

/* ===== SIDEBAR ===== */
.sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-widget {
    background: #fff;
    border: 2px solid var(--line-gray);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.sidebar-widget__title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--serve-dark);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--line-gray);
}

.sidebar-widget--play {
    background: linear-gradient(135deg, var(--serve-dark), #2d1060);
    border-color: rgba(255, 107, 0, 0.3);
    text-align: center;
}

.sidebar-widget--play .sidebar-widget__title {
    color: rgba(255,255,255,0.5);
    border-color: rgba(255,255,255,0.1);
}

.sidebar-widget--play .btn-play {
    width: 100%;
    font-size: 1rem;
    padding: 0.875rem 1.5rem;
}

.sidebar-widget__game-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

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

.sidebar-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.sidebar-links a:hover {
    background: rgba(255, 107, 0, 0.08);
    color: var(--champion-gold);
    padding-left: 1rem;
}

.sidebar-links a::before {
    content: '›';
    font-weight: 900;
    color: var(--champion-gold);
}

/* ===== ARTICLE PAGE ===== */
.article-hero {
    background: linear-gradient(135deg, var(--serve-dark), #3d1080);
    padding: 3.5rem 0;
    position: relative;
    overflow: hidden;
}

.article-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 80% at 80% 50%, rgba(255, 107, 0, 0.2) 0%, transparent 60%);
}

.article-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.article-hero__category {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 107, 0, 0.2);
    border: 1px solid rgba(255, 107, 0, 0.4);
    color: var(--rally-yellow);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.35rem 0.875rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.article-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.article-hero__meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    flex-wrap: wrap;
}

.article-hero__meta span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

/* ===== CONTACT FORM ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

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

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--serve-dark);
    margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1.125rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: #fff;
    border: 2px solid var(--line-gray);
    border-radius: var(--radius-sm);
    outline: none;
    transition: var(--transition);
    appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--field-violet);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

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

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

.contact-info__item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-info__icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.15), rgba(124, 58, 237, 0.15));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.contact-info__label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.contact-info__value {
    font-size: 0.95rem;
    color: var(--serve-dark);
    font-weight: 500;
}

/* ===== ABOUT PAGE ===== */
.about-hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.stat-box {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
}

.stat-box__value {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--rally-yellow);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-box__label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

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

.team-card {
    position: relative;
    background: #fff;
    border: 2px solid var(--line-gray);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.team-card:hover {
    border-color: var(--champion-gold);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.team-card__avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--champion-gold), var(--field-violet));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
}

.team-card__name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--serve-dark);
    margin-bottom: 0.25rem;
}

.team-card__role {
    font-size: 0.85rem;
    color: var(--champion-gold);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.team-card__bio {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== STARS ===== */
.stars {
    color: #ffc107;
}

/* ===== HOW TO PLAY PAGE ===== */
.htp-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin: 2rem 0;
}

.control-card {
    background: #fff;
    border: 2px solid var(--line-gray);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.control-card:hover {
    border-color: var(--field-violet);
    box-shadow: var(--shadow-card);
}

.control-card__icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.control-card__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--serve-dark);
    margin-bottom: 0.5rem;
}

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

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

.tip-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: #fff;
    border: 2px solid var(--line-gray);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    transition: var(--transition);
}

.tip-card:hover {
    border-color: var(--champion-gold);
    box-shadow: var(--shadow-card);
}

.tip-card__number {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--champion-gold), var(--field-violet));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 900;
    color: #fff;
}

.tip-card__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--serve-dark);
    margin-bottom: 0.35rem;
}

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

/* ===== BLOG PAGE ===== */
.blog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.blog__featured {
    position: relative;
    background: #fff;
    border: 2px solid var(--line-gray);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 3rem;
    transition: var(--transition);
}

.blog__featured:hover {
    border-color: rgba(255, 107, 0, 0.3);
    box-shadow: var(--shadow-hover);
}

.blog__featured-image {
    height: 260px;
    background: linear-gradient(135deg, var(--serve-dark), var(--field-violet));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}

.blog__featured-content {
    padding: 2rem;
}

.blog__featured-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--serve-dark);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.blog__featured-excerpt {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.blog__featured-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* ===== PRIVACY/TERMS ===== */
.legal-content {
    max-width: 860px;
    margin: 0 auto;
}

.legal-content .prose h2 {
    color: var(--field-violet);
}

/* ===== COOKIE CONSENT ===== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--serve-dark);
    border-top: 2px solid rgba(255, 107, 0, 0.3);
    padding: 1.25rem 0;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
}

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

.cookie-consent__text {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    line-height: 1.6;
    flex: 1;
    min-width: 280px;
}

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

.cookie-consent__text a:hover {
    color: var(--rally-yellow);
}

.cookie-consent .btn {
    flex-shrink: 0;
}

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

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

    .sidebar {
        position: static;
    }
}

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

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

    .hero__desc {
        max-width: 100%;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__stats {
        justify-content: center;
    }

    .hero__visual {
        order: -1;
    }

    .hero__game-frame {
        max-width: 320px;
    }

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

    .nav__list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        background: rgba(255, 248, 240, 0.98);
        backdrop-filter: blur(12px);
        padding: 1rem 1.5rem;
        border-bottom: 2px solid var(--line-gray);
        gap: 0.25rem;
    }

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

    .nav__burger {
        display: flex;
    }

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

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

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

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

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

@media (max-width: 480px) {
    .hero__stats {
        gap: 1.25rem;
        flex-wrap: wrap;
    }

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

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

    .btn-play {
        font-size: 1rem;
        padding: 0.9rem 2rem;
    }

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