/*
 * PROJECT: hankfeldman.com
 * DOMAIN: hankfeldman.com
 * GAME: Tennis Dash
 * 
 * DESIGN:
 * - CSS: BEM
 * - Palette: Спортивный (Tennis/Sports)
 * - Effect: Neumorphism (Soft UI)
 * - Fonts: Lexend (heading) + Red Hat Display (body)
 * - Buttons: 3D Effect
 * 
 * Created: 2025
 */

@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@400;500;600;700;800&family=Red+Hat+Display:wght@400;500;600;700&display=swap');

/* =====================================================
   CSS CUSTOM PROPERTIES
   ===================================================== */
:root {
    /* Soft UI Base */
    --bg-base: #e0e5ec;
    --bg-surface: #e8edf4;
    --shadow-light: #ffffff;
    --shadow-dark: #a3b1c6;

    /* Sports Palette */
    --champion-gold: #f0b429;
    --champion-gold-dark: #c9920c;
    --field-green: #26a96c;
    --field-green-dark: #1a7a4d;
    --energy-red: #e63946;
    --team-blue: #0077b6;
    --team-blue-dark: #005f8e;
    --court-clay: #c97b3b;
    --court-clay-light: #e8a96a;

    /* Text */
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --text-light: #a0aec0;

    /* Borders */
    --border-soft: rgba(163, 177, 198, 0.3);

    /* Fonts */
    --font-heading: 'Lexend', sans-serif;
    --font-body: 'Red Hat Display', sans-serif;

    /* Spacing */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    /* Header */
    --header-height: 70px;

    /* Shadows - Neumorphic */
    --shadow-neu: 8px 8px 16px var(--shadow-dark), -8px -8px 16px var(--shadow-light);
    --shadow-neu-sm: 4px 4px 8px var(--shadow-dark), -4px -4px 8px var(--shadow-light);
    --shadow-neu-inset: inset 4px 4px 8px var(--shadow-dark), inset -4px -4px 8px var(--shadow-light);
    --shadow-neu-hover: 12px 12px 24px var(--shadow-dark), -12px -12px 24px var(--shadow-light);
    --shadow-pressed: inset 6px 6px 12px var(--shadow-dark), inset -6px -6px 12px var(--shadow-light);
}

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

html {
    scroll-behavior: smooth;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
    min-height: 100vh;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

ul {
    list-style: none;
}

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

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

.stars {
    color: #ffc107;
}

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

.section {
    padding: 80px 0;
}

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

/* =====================================================
   HEADER
   ===================================================== */
.header {
    background-color: var(--bg-base);
    box-shadow: 0 4px 12px var(--shadow-dark), 0 -2px 6px var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-height);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    position: relative;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--team-blue);
    letter-spacing: -0.5px;
    text-shadow: 1px 1px 2px var(--shadow-light);
    transition: color 0.3s ease;
}

.logo:hover {
    color: var(--team-blue-dark);
}

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

.nav__link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.nav__link:hover,
.nav__link--active {
    color: var(--team-blue);
    background-color: var(--bg-base);
    box-shadow: var(--shadow-neu-sm);
}

.nav__cta {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
    background: linear-gradient(135deg, var(--field-green), var(--field-green-dark));
    padding: 10px 22px;
    border-radius: var(--radius-md);
    box-shadow: 4px 4px 8px var(--shadow-dark), -2px -2px 6px var(--shadow-light), 0 4px 0 var(--field-green-dark);
    transition: all 0.2s ease;
}

.nav__cta:hover {
    transform: translateY(-2px);
    box-shadow: 6px 6px 12px var(--shadow-dark), -2px -2px 6px var(--shadow-light), 0 6px 0 var(--field-green-dark);
    color: #fff;
}

.nav__cta:active {
    transform: translateY(2px);
    box-shadow: 2px 2px 6px var(--shadow-dark), -1px -1px 4px var(--shadow-light), 0 2px 0 var(--field-green-dark);
}

/* Mobile Menu Toggle */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-neu-sm);
    background: var(--bg-base);
    border: none;
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
    padding: 80px 0 100px;
    overflow: hidden;
    color: white;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--bg-base);
    box-shadow: var(--shadow-neu-sm);
    padding: 6px 16px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--field-green);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero__badge::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--field-green);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--field-green);
}

.hero__title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.15;
}

.hero__title .highlight {
    color: var(--team-blue);
    position: relative;
}

.hero__title .highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--champion-gold), var(--court-clay-light));
    border-radius: 2px;
}

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

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

.hero__stats {
    display: flex;
    gap: 24px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.hero__stat {
    text-align: center;
}

.hero__stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--team-blue);
}

.hero__stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.hero__game-card {
    background-color: var(--bg-base);
    box-shadow: var(--shadow-neu);
    border-radius: var(--radius-xl);
    padding: 32px;
    text-align: center;
    max-width: 380px;
    width: 100%;
    transition: box-shadow 0.3s ease;
}

.hero__game-card:hover {
    box-shadow: var(--shadow-neu-hover);
}

.hero__game-icon {
    width: 160px;
    height: 160px;
    margin: 0 auto 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-neu);
    overflow: hidden;
    background: linear-gradient(135deg, var(--team-blue), var(--field-green));
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__game-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.hero__game-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}

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

.hero__game-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--team-blue);
    background-color: var(--bg-base);
    box-shadow: var(--shadow-neu-sm);
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero__game-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 16px 40px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, var(--team-blue), var(--team-blue-dark));
    box-shadow: 4px 4px 10px var(--shadow-dark), -2px -2px 6px var(--shadow-light), 0 5px 0 var(--team-blue-dark);
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-play::before {
    content: '▶';
    font-size: 0.9rem;
}

.btn-play:hover {
    transform: translateY(-3px);
    box-shadow: 6px 6px 14px var(--shadow-dark), -2px -2px 8px var(--shadow-light), 0 8px 0 var(--team-blue-dark);
    color: #fff;
}

.btn-play:active {
    transform: translateY(2px);
    box-shadow: 2px 2px 6px var(--shadow-dark), -1px -1px 4px var(--shadow-light), 0 2px 0 var(--team-blue-dark);
}

.btn--secondary {
    color: var(--text-secondary);
    background-color: var(--bg-base);
    box-shadow: var(--shadow-neu);
}

.btn--secondary:hover {
    box-shadow: var(--shadow-neu-hover);
    color: var(--team-blue);
    transform: translateY(-2px);
}

.btn--gold {
    color: #fff;
    background: linear-gradient(135deg, var(--champion-gold), var(--champion-gold-dark));
    box-shadow: 4px 4px 10px var(--shadow-dark), -2px -2px 6px var(--shadow-light), 0 5px 0 var(--champion-gold-dark);
}

.btn--gold:hover {
    transform: translateY(-3px);
    box-shadow: 6px 6px 14px var(--shadow-dark), -2px -2px 8px var(--shadow-light), 0 8px 0 var(--champion-gold-dark);
    color: #fff;
}

.btn--gold:active {
    transform: translateY(2px);
    box-shadow: 2px 2px 6px var(--shadow-dark), -1px -1px 4px var(--shadow-light), 0 2px 0 var(--champion-gold-dark);
}

.btn--sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn--lg {
    padding: 18px 48px;
    font-size: 1.2rem;
}

.btn-read {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: #fff;
    background: linear-gradient(135deg, var(--team-blue), var(--team-blue-dark));
    padding: 10px 22px;
    border-radius: var(--radius-md);
    box-shadow: 3px 3px 6px var(--shadow-dark), -2px -2px 4px var(--shadow-light), 0 3px 0 var(--team-blue-dark);
    transition: all 0.2s ease;
    position: relative;
    z-index: 2;
}

.btn-read:hover {
    transform: translateY(-2px);
    box-shadow: 5px 5px 10px var(--shadow-dark), -2px -2px 6px var(--shadow-light), 0 5px 0 var(--team-blue-dark);
    color: #fff;
}

.btn-read:active {
    transform: translateY(1px);
    box-shadow: 2px 2px 4px var(--shadow-dark), -1px -1px 3px var(--shadow-light), 0 1px 0 var(--team-blue-dark);
}

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

.feature-card {
    background-color: var(--bg-base);
    box-shadow: var(--shadow-neu);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

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

.feature-card__icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background-color: var(--bg-base);
    box-shadow: var(--shadow-neu-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.feature-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

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

/* =====================================================
   SECTION TITLES
   ===================================================== */
.section__header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section__label {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--field-green);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section__title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section__subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* =====================================================
   HOW TO PLAY STEPS
   ===================================================== */
.steps__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.step-card {
    background-color: var(--bg-base);
    box-shadow: var(--shadow-neu);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

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

.step-card__number {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--team-blue), var(--team-blue-dark));
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 4px 4px 8px var(--shadow-dark), -2px -2px 6px var(--shadow-light);
}

.step-card__title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

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

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

.article-card {
    background-color: var(--bg-base);
    box-shadow: var(--shadow-neu);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    position: relative;
}

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

.article-card__thumb {
    height: 200px;
    background: linear-gradient(135deg, var(--team-blue), var(--field-green));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    overflow: hidden;
}

.article-card__thumb--clay {
    background: linear-gradient(135deg, var(--court-clay), var(--champion-gold));
}

.article-card__thumb--night {
    background: linear-gradient(135deg, #1a1a2e, var(--team-blue));
}

.article-card__content {
    padding: 24px;
}

.article-card__category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--team-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    background-color: var(--bg-base);
    box-shadow: var(--shadow-neu-sm);
    padding: 3px 10px;
    border-radius: 50px;
    position: relative;
    z-index: 2;
}

.article-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
    transition: color 0.3s ease;
    position: relative;
    z-index: 2;
}

.article-card:hover .article-card__title {
    color: var(--team-blue);
}

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

.article-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border-soft);
}

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

.article-card__read-more {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--team-blue);
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.article-card__read-more:hover {
    color: var(--team-blue-dark);
}

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

/* =====================================================
   BLOG CARD (blog.html variant with btn)
   ===================================================== */
.blog-card {
    background-color: var(--bg-base);
    box-shadow: var(--shadow-neu);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    position: relative;
}

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

.blog-card__thumb {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    overflow: hidden;
}

.blog-card__thumb--green {
    background: linear-gradient(135deg, var(--team-blue), var(--field-green));
}

.blog-card__thumb--clay {
    background: linear-gradient(135deg, var(--court-clay), var(--champion-gold));
}

.blog-card__thumb--night {
    background: linear-gradient(135deg, #1a1a2e, var(--team-blue));
}

.blog-card__content {
    padding: 24px;
}

.blog-card__category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--team-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    background-color: var(--bg-base);
    box-shadow: var(--shadow-neu-sm);
    padding: 3px 10px;
    border-radius: 50px;
}

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

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

.blog-card__meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 18px;
}

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

.faq__item {
    background-color: var(--bg-base);
    box-shadow: var(--shadow-neu);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq__item:hover {
    box-shadow: var(--shadow-neu-hover);
}

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

.faq__question:hover {
    color: var(--team-blue);
}

.faq__icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--bg-base);
    box-shadow: var(--shadow-neu-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--team-blue);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

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

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

.faq__answer-inner {
    padding: 0 24px 20px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

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

/* =====================================================
   GAME PLAY SECTION (Full Page)
   ===================================================== */
.game-section {
    padding: 60px 0;
}

.game-section__frame-wrap {
    background-color: var(--bg-base);
    box-shadow: var(--shadow-neu);
    border-radius: var(--radius-xl);
    padding: 24px;
    margin-top: 40px;
    overflow: hidden;
}

.game-section__iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: var(--radius-lg);
    display: block;
    box-shadow: var(--shadow-neu-inset);
}

/* =====================================================
   CONTROLS INFO
   ===================================================== */
.controls__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.control-item {
    background-color: var(--bg-base);
    box-shadow: var(--shadow-neu-sm);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    transition: box-shadow 0.3s ease;
}

.control-item:hover {
    box-shadow: var(--shadow-neu);
}

.control-item__icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.control-item__label {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 4px;
    color: var(--text-primary);
}

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

/* =====================================================
   TIPS SECTION
   ===================================================== */
.tips__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.tip-card {
    background-color: var(--bg-base);
    box-shadow: var(--shadow-neu);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.tip-card:hover {
    box-shadow: var(--shadow-neu-hover);
    transform: translateY(-3px);
}

.tip-card__num {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--champion-gold), var(--court-clay));
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 2px 2px 6px var(--shadow-dark);
}

.tip-card__content .tip-card__title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

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

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta-section {
    padding: 80px 0;
    text-align: center;
}

.cta-section__inner {
    background-color: var(--bg-base);
    box-shadow: var(--shadow-neu);
    border-radius: var(--radius-xl);
    padding: 60px 48px;
    max-width: 700px;
    margin: 0 auto;
}

.cta-section__emoji {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.cta-section__title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-section__text {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background-color: var(--bg-surface);
    box-shadow: inset 0 4px 12px rgba(163, 177, 198, 0.2);
    padding: 60px 0 32px;
}

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

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

.footer__tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer__col-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

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

.footer__nav a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

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

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

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

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

.footer__legal a {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

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

/* =====================================================
   PAGE HERO (Inner pages)
   ===================================================== */
.page-hero {
    padding: 60px 0 48px;
    text-align: center;
}

.page-hero__label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--field-green);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    background-color: var(--bg-base);
    box-shadow: var(--shadow-neu-sm);
    padding: 4px 14px;
    border-radius: 50px;
}

.page-hero__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.page-hero__subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* =====================================================
   CONTENT PAGE (about, privacy, terms)
   ===================================================== */
.content-page {
    padding: 60px 0;
}

.content-page__body {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-base);
    box-shadow: var(--shadow-neu);
    border-radius: var(--radius-xl);
    padding: 48px;
}

.content-page__body h2 {
    font-size: 1.6rem;
    margin: 36px 0 16px;
    color: var(--team-blue);
}

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

.content-page__body h3 {
    font-size: 1.2rem;
    margin: 24px 0 12px;
}

.content-page__body p {
    font-size: 0.98rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.content-page__body ul,
.content-page__body ol {
    margin: 0 0 16px 24px;
}

.content-page__body ul {
    list-style: disc;
}

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

.content-page__body li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 6px;
}

.content-page__body a {
    color: var(--team-blue);
    text-decoration: underline;
}

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

.about-card {
    background-color: var(--bg-base);
    box-shadow: var(--shadow-neu);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.about-card__icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.about-card__title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.about-card__text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.team-card {
    background-color: var(--bg-base);
    box-shadow: var(--shadow-neu);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

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

.team-card__avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--team-blue), var(--field-green));
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-neu-sm);
}

.team-card__name {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

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

/* =====================================================
   CONTACT FORM
   ===================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    margin-top: 48px;
}

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

.contact-info__item {
    background-color: var(--bg-base);
    box-shadow: var(--shadow-neu-sm);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.contact-info__icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.contact-info__label {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

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

.contact-form {
    background-color: var(--bg-base);
    box-shadow: var(--shadow-neu);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.form__group {
    margin-bottom: 20px;
}

.form__label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form__input,
.form__textarea {
    width: 100%;
    padding: 14px 18px;
    border: none;
    border-radius: var(--radius-md);
    background-color: var(--bg-base);
    box-shadow: var(--shadow-neu-inset);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: box-shadow 0.3s ease;
    outline: none;
}

.form__input:focus,
.form__textarea:focus {
    box-shadow: inset 4px 4px 10px var(--shadow-dark), inset -4px -4px 10px var(--shadow-light), 0 0 0 2px var(--team-blue);
}

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

.form__input::placeholder,
.form__textarea::placeholder {
    color: var(--text-light);
}

.form__success {
    display: none;
    background: linear-gradient(135deg, var(--field-green), var(--field-green-dark));
    color: #fff;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    margin-top: 16px;
}

.form__success--visible {
    display: block;
}

/* =====================================================
   ARTICLE / BLOG POST
   ===================================================== */
.article-hero {
    padding: 60px 0 40px;
    text-align: center;
}

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

.article-hero__category {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--team-blue);
    background-color: var(--bg-base);
    box-shadow: var(--shadow-neu-sm);
    padding: 4px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.article-hero__title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.article-hero__subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    line-height: 1.7;
    margin-left: auto;
    margin-right: auto;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

.article-content__body {
    background-color: var(--bg-base);
    box-shadow: var(--shadow-neu);
    border-radius: var(--radius-xl);
    padding: 48px;
}

.article-content__body h2 {
    font-size: 1.5rem;
    margin: 32px 0 14px;
    color: var(--team-blue);
}

.article-content__body h3 {
    font-size: 1.2rem;
    margin: 24px 0 10px;
}

.article-content__body p {
    font-size: 0.98rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.article-content__body ul,
.article-content__body ol {
    margin: 0 0 16px 24px;
}

.article-content__body ul {
    list-style: disc;
}

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

.article-content__body li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 6px;
}

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

/* =====================================================
   BREADCRUMB
   ===================================================== */
.breadcrumb {
    padding: 16px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--team-blue);
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--team-blue-dark);
}

.breadcrumb span {
    margin: 0 6px;
}

/* =====================================================
   RELATED ARTICLES
   ===================================================== */
.related-articles {
    padding: 60px 0;
}

.related-articles__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

/* =====================================================
   SCORE / STATS CARDS
   ===================================================== */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.stat-card {
    background-color: var(--bg-base);
    box-shadow: var(--shadow-neu);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.stat-card:hover {
    box-shadow: var(--shadow-neu-hover);
    transform: translateY(-3px);
}

.stat-card__value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--team-blue);
    display: block;
    margin-bottom: 4px;
}

.stat-card__label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* =====================================================
   COOKIE CONSENT
   ===================================================== */
.cookie-consent {
    position: fixed;
    bottom: 24px;
    right: 24px;
    max-width: 400px;
    width: calc(100% - 48px);
    background-color: var(--bg-base);
    box-shadow: var(--shadow-neu-hover);
    border-radius: var(--radius-lg);
    padding: 24px;
    z-index: 1000;
    animation: slideUp 0.4s ease;
}

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

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

.cookie-consent__text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

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

/* =====================================================
   HOW TO PLAY PAGE EXTRA
   ===================================================== */
.mechanics__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    margin-top: 40px;
}

.mechanic-card {
    background-color: var(--bg-base);
    box-shadow: var(--shadow-neu);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.mechanic-card:hover {
    box-shadow: var(--shadow-neu-hover);
    transform: translateY(-3px);
}

.mechanic-card__icon {
    font-size: 2.4rem;
    margin-bottom: 16px;
}

.mechanic-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

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

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

    .hero__actions {
        justify-content: center;
    }

    .hero__stats {
        justify-content: center;
    }

    .hero__visual {
        order: -1;
    }

    .hero__game-card {
        max-width: 300px;
    }

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

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

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

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

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

    .nav__list {
        display: none;
        position: absolute;
        top: calc(var(--header-height) - 1px);
        left: 0;
        right: 0;
        background-color: var(--bg-base);
        box-shadow: 0 8px 20px rgba(163, 177, 198, 0.5);
        flex-direction: column;
        padding: 20px;
        gap: 4px;
        z-index: 99;
    }

    .nav__list--open {
        display: flex;
    }

    .nav__toggle {
        display: flex;
    }

    .header__inner {
        position: relative;
    }

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

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

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

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

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

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

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

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .btn-play {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .hero__game-icon {
        width: 120px;
        height: 120px;
    }

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

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

    .cookie-consent {
        right: 12px;
        bottom: 12px;
        max-width: calc(100% - 24px);
    }
}