/* ============================================================
   STYLES.CSS - Red Ball 4 Website
   Gradient Mesh Design System
   ============================================================ */

/* ── CSS Custom Properties ─────────────────────────────────── */
:root {
    --primary: #667eea;
    --primary-dark: #4a5fd5;
    --primary-light: #8b9df0;
    --secondary: #764ba2;
    --secondary-dark: #5c3a80;
    --secondary-light: #9b6fc4;
    --accent: #f093fb;
    --accent-dark: #d66ce8;
    --accent-light: #f5b8fd;

    --bg-dark: #0a0a1a;
    --bg-deep: #0d0d24;
    --bg-card: rgba(255, 255, 255, 0.06);
    --bg-card-solid: rgba(255, 255, 255, 0.95);
    --bg-glass: rgba(255, 255, 255, 0.08);
    --bg-glass-strong: rgba(255, 255, 255, 0.12);

    --text-white: #ffffff;
    --text-light: #e0e0f0;
    --text-muted: #a0a0c0;
    --text-dark: #1a1a2e;
    --text-dark-muted: #4a4a6a;

    --border-glass: rgba(255, 255, 255, 0.1);
    --border-glass-strong: rgba(255, 255, 255, 0.18);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(102, 126, 234, 0.3);
    --shadow-glow-accent: 0 0 40px rgba(240, 147, 251, 0.3);

    --font-display: 'Sora', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --font-serif: 'Crimson Pro', serif;

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-med: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

    --container-max: 1200px;
    --container-padding: 24px;
}

/* ── Reset & Base ──────────────────────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-light);
    background-color: var(--bg-dark);
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent);
}

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

ul {
    list-style: none;
}

button {
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    background: transparent;
}

input, textarea {
    font-family: var(--font-body);
}

::selection {
    background: var(--primary);
    color: var(--text-white);
}

/* ── Container ─────────────────────────────────────────────── */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ── Gradient Text Utilities ───────────────────────────────── */
.gradient-text-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-secondary {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-accent {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-med);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--text-white);
    border: none;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.6);
    color: var(--text-white);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-glow::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--primary), var(--accent), var(--secondary));
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-med);
    filter: blur(12px);
}

.btn-glow:hover::before {
    opacity: 0.6;
}

.btn-secondary {
    background: var(--bg-glass);
    color: var(--text-white);
    border: 1px solid var(--border-glass-strong);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--bg-glass-strong);
    border-color: var(--primary-light);
    color: var(--text-white);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-icon {
    display: flex;
    align-items: center;
}

/* ── Cookie Consent ────────────────────────────────────────── */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: linear-gradient(135deg, rgba(10, 10, 26, 0.98), rgba(13, 13, 36, 0.98));
    backdrop-filter: blur(24px);
    border-top: 1px solid var(--border-glass);
    padding: 24px;
    transform: translateY(100%);
    transition: transform var(--transition-slow);
}

.cookie-consent.visible {
    transform: translateY(0);
}

.cookie-consent-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-text h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 4px;
}

.cookie-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

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

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.btn-cookie-accept {
    padding: 10px 24px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--text-white);
    transition: all var(--transition-fast);
}

.btn-cookie-accept:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-1px);
}

.btn-cookie-reject {
    padding: 10px 24px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    background: var(--bg-glass);
    color: var(--text-light);
    border: 1px solid var(--border-glass);
    transition: all var(--transition-fast);
}

.btn-cookie-reject:hover {
    background: var(--bg-glass-strong);
}

.btn-cookie-settings {
    padding: 10px 24px;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    color: var(--text-muted);
    text-decoration: underline;
    transition: color var(--transition-fast);
}

.btn-cookie-settings:hover {
    color: var(--text-white);
}

.cookie-settings-panel {
    max-width: var(--container-max);
    margin: 16px auto 0;
    padding-top: 16px;
    border-top: 1px solid var(--border-glass);
}

.cookie-setting-item {
    margin-bottom: 10px;
}

.cookie-setting-item label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-light);
    cursor: pointer;
}

.cookie-setting-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

/* ── Navigation ────────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition-med);
}

.site-header.scrolled {
    padding: 10px 0;
    background: linear-gradient(135deg, rgba(10, 10, 26, 0.92), rgba(13, 13, 36, 0.92));
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-glass);
}

.main-nav {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-orb {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e74c3c, #ff6b6b, #e74c3c);
    box-shadow: 0 0 20px rgba(231, 76, 60, 0.5);
    position: relative;
    animation: orbPulse 3s ease-in-out infinite;
}

.logo-orb::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 10px;
    width: 10px;
    height: 8px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: rotate(-30deg);
}

@keyframes orbPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(231, 76, 60, 0.5); }
    50% { box-shadow: 0 0 30px rgba(231, 76, 60, 0.7); }
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-white);
    background: var(--bg-glass);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-white);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

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

.nav-toggle.active .toggle-bar:nth-child(2) {
    opacity: 0;
}

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

/* ── Hero Section ──────────────────────────────────────────── */
.hero-section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-mesh-bg {
    display: none;
}

.mesh-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: meshFloat 20s ease-in-out infinite;
}

.mesh-blob-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: -20%;
    left: -10%;
    animation-delay: 0s;
}

.mesh-blob-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    top: 30%;
    right: -15%;
    animation-delay: -5s;
    animation-duration: 25s;
}

.mesh-blob-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    bottom: -10%;
    left: 30%;
    animation-delay: -10s;
    animation-duration: 22s;
}

.mesh-blob-4 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #43e97b 0%, transparent 70%);
    top: 50%;
    left: 10%;
    opacity: 0.3;
    animation-delay: -7s;
    animation-duration: 28s;
}

.mesh-blob-5 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #fa709a 0%, transparent 70%);
    top: 10%;
    right: 30%;
    opacity: 0.35;
    animation-delay: -12s;
    animation-duration: 24s;
}

@keyframes meshFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.05); }
    50% { transform: translate(-20px, 30px) scale(0.95); }
    75% { transform: translate(40px, 20px) scale(1.03); }
}

.hero-particles {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted);
    backdrop-filter: blur(10px);
    margin: 0 auto 24px;
    width: fit-content;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.title-line {
    display: block;
}

.title-line-1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--text-muted);
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.title-line-2 {
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    color: var(--text-white);
    animation: fadeInUp 0.8s ease-out 0.45s both;
}

.title-line-3 {
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    color: var(--text-light);
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 36px;
    animation: fadeInUp 0.8s ease-out 0.7s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease-out 0.85s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    animation: fadeInUp 0.8s ease-out 1s both;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-glass-strong);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.hero-image-wrapper {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-glow {
    display: none;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.25; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(1.05); }
}

.hero-game-icon {
    width: 200px;
    height: 200px;
    border-radius: var(--radius-xl);
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-lg);
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.hero-image-ring {
    display: none;
}

.hero-ring-1 {
    width: 280px;
    height: 280px;
    border-color: rgba(102, 126, 234, 0.2);
}

.hero-ring-2 {
    width: 340px;
    height: 340px;
    border-color: rgba(118, 75, 162, 0.15);
    animation-direction: reverse;
    animation-duration: 25s;
}

.hero-ring-3 {
    width: 400px;
    height: 400px;
    border-color: rgba(240, 147, 251, 0.1);
    animation-duration: 30s;
}

@keyframes ringRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Floating Cards */
.floating-card {
    display: none;
}

.floating-card-1 {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.floating-card-2 {
    bottom: 15%;
    left: -15%;
    animation-delay: -1.5s;
}

.floating-card-3 {
    top: 55%;
    right: -5%;
    animation-delay: -3s;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ── Social Proof Ticker ───────────────────────────────────── */
.social-proof-section {
    padding: 16px 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.08));
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    overflow: hidden;
    position: relative;
}

.ticker-wrapper {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.ticker-track {
    display: flex;
    gap: 48px;
    animation: tickerScroll 40s linear infinite;
    width: max-content;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

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

/* ── Section Shared Styles ─────────────────────────────────── */
.section-mesh-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.mesh-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}

.mesh-shape-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: -20%;
    right: -10%;
}

.mesh-shape-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    bottom: -15%;
    left: -5%;
}

.mesh-shape-3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    top: 10%;
    left: -15%;
}

.mesh-shape-4 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    bottom: -10%;
    right: 10%;
}

.mesh-shape-5 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    top: -10%;
    left: 20%;
    opacity: 0.3;
}

.mesh-shape-6 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    bottom: 0;
    right: -10%;
    opacity: 0.3;
}

.mesh-shape-7 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: 20%;
    right: -20%;
    opacity: 0.3;
}

.mesh-shape-8 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    bottom: 10%;
    left: -10%;
    opacity: 0.25;
}

.mesh-shape-9 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    top: -10%;
    left: -10%;
}

.mesh-shape-10 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    bottom: -10%;
    right: -5%;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.section-tag {
    display: inline-block;
    padding: 6px 18px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    background: rgba(240, 147, 251, 0.1);
    border: 1px solid rgba(240, 147, 251, 0.2);
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── About Section ─────────────────────────────────────────── */
.about-section {
    padding: 120px 0;
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
    z-index: 2;
}

.about-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-med);
}

.about-card-inner {
    padding: 36px 28px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    height: 100%;
    transition: all var(--transition-med);
}

.about-card:hover .about-card-inner {
    border-color: var(--border-glass-strong);
    background: var(--bg-glass-strong);
    transform: translateY(-4px);
}

.about-card-main .about-card-inner {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
    border-color: rgba(102, 126, 234, 0.25);
}

.about-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(240, 147, 251, 0.2));
    margin-bottom: 20px;
    color: var(--accent-light);
}

.about-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 10px;
}

.about-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ── Screenshots Section ───────────────────────────────────── */
.screenshots-section {
    padding: 120px 0;
    position: relative;
}

.screenshots-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.screenshot-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.screenshot-card-large {
    grid-row: span 2;
}

.screenshot-card-wide {
    grid-column: span 2;
}

.screenshot-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 220px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-glass);
}

.screenshot-card-large .screenshot-inner {
    min-height: 460px;
}

.screenshot-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.screenshot-card:hover .screenshot-inner img {
    transform: scale(1.05);
}

.screenshot-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(10, 10, 26, 0.9), transparent);
    transform: translateY(100%);
    transition: transform var(--transition-med);
}

.screenshot-card:hover .screenshot-overlay {
    transform: translateY(0);
}

.screenshot-label {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-white);
}

/* ── Features Section ──────────────────────────────────────── */
.features-section {
    padding: 120px 0;
    position: relative;
}

.features-grid {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    padding: 32px 0;
    position: relative;
    opacity: 1;
    transform: translateY(0);
}

.feature-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-glass-strong), transparent);
}

.feature-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    flex-shrink: 0;
    width: 70px;
    opacity: 0.6;
}

.feature-content h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
}

.feature-content p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ── Counters Section ──────────────────────────────────────── */
.counters-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.counters-mesh-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(102, 126, 234, 0.1) 0%,
        rgba(118, 75, 162, 0.15) 30%,
        rgba(240, 147, 251, 0.1) 60%,
        rgba(102, 126, 234, 0.08) 100%
    );
}

.counters-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    z-index: 2;
}

.counter-card {
    text-align: center;
    padding: 36px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-med);
}

.counter-card:hover {
    border-color: var(--border-glass-strong);
    background: var(--bg-glass-strong);
    transform: translateY(-4px);
}

.counter-icon {
    color: var(--accent-light);
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
}

.counter-value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.counter-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
}

.counter-pulse {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #43e97b;
    animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(67, 233, 123, 0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 8px rgba(67, 233, 123, 0); }
}

/* ── FAQ Section ───────────────────────────────────────────── */
.faq-section {
    padding: 120px 0;
    position: relative;
}

.faq-container {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.faq-item {
    margin-bottom: 8px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-glass);
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    transition: all var(--transition-fast);
}

.faq-item:hover {
    border-color: var(--border-glass-strong);
}

.faq-item.active {
    border-color: rgba(102, 126, 234, 0.3);
    background: rgba(102, 126, 234, 0.08);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-white);
    text-align: left;
    transition: color var(--transition-fast);
}

.faq-question span {
    flex: 1;
    padding-right: 16px;
}

.faq-chevron {
    color: var(--text-muted);
    transition: transform var(--transition-med);
    flex-shrink: 0;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-med), padding var(--transition-med);
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.faq-answer a {
    color: var(--accent-light);
    text-decoration: underline;
}

/* ── Trust Section ─────────────────────────────────────────── */
.trust-section {
    padding: 80px 0;
    position: relative;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    z-index: 2;
}

.trust-card {
    padding: 32px 24px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    transition: all var(--transition-med);
}

.trust-card:hover {
    border-color: var(--border-glass-strong);
    transform: translateY(-4px);
}

.trust-icon {
    color: var(--primary-light);
    margin-bottom: 16px;
}

.trust-card h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
}

.trust-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.trust-card a {
    color: var(--accent-light);
    text-decoration: underline;
}

/* ── Contact Section ───────────────────────────────────────── */
.contact-section {
    padding: 120px 0;
    position: relative;
}

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

.contact-info {
    padding-top: 20px;
}

.contact-description {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 36px;
}

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

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contact-detail-item svg {
    color: var(--primary-light);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-detail-item strong {
    display: block;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 2px;
}

.contact-detail-item a {
    color: var(--accent-light);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card-solid);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg), 0 0 80px rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--accent), var(--secondary));
}

.form-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 28px;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 14px 18px;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: #f8f9ff;
    border: 2px solid #e8ecf4;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    outline: none;
}

.form-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
    background: #fff;
}

.form-group input.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.1);
}

.form-error {
    display: block;
    font-size: 0.78rem;
    color: #e74c3c;
    margin-top: 4px;
    min-height: 18px;
}

.form-checkbox {
    display: flex;
    flex-direction: column;
}

.form-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-dark-muted);
    line-height: 1.5;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.form-checkbox a {
    color: var(--primary);
    text-decoration: underline;
}

.btn-loader {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.form-message {
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-message.success {
    background: rgba(67, 233, 123, 0.1);
    color: #2d8a4e;
    border: 1px solid rgba(67, 233, 123, 0.3);
}

.form-message.error {
    background: rgba(231, 76, 60, 0.1);
    color: #c0392b;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.form-disclaimer {
    margin-top: 16px;
    font-size: 0.78rem;
    color: var(--text-dark-muted);
    text-align: center;
}

/* ── Responsible Gaming ────────────────────────────────────── */
.responsible-section {
    padding: 40px 0;
}

.responsible-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 28px;
    background: rgba(231, 76, 60, 0.06);
    border: 1px solid rgba(231, 76, 60, 0.15);
    border-radius: var(--radius-lg);
}

.responsible-icon {
    color: #e74c3c;
    flex-shrink: 0;
    margin-top: 2px;
}

.responsible-text h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 6px;
}

.responsible-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

.footer-mesh-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(10, 10, 26, 1) 0%,
        rgba(102, 126, 234, 0.08) 30%,
        rgba(118, 75, 162, 0.06) 60%,
        rgba(10, 10, 26, 1) 100%
    );
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    position: relative;
    z-index: 2;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-brand-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-links-group h4 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-links-group ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-group a,
.footer-links-group span {
    font-size: 0.88rem;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.footer-links-group a:hover {
    color: var(--text-white);
}

.footer-bottom {
    position: relative;
    z-index: 2;
    padding-top: 32px;
    border-top: 1px solid var(--border-glass);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 8px;
}

.footer-disclaimer {
    font-size: 0.75rem !important;
    font-style: italic;
    opacity: 0.7;
}

.footer-legal-links {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.footer-legal-links a {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-legal-links a:hover {
    color: var(--accent-light);
}

.footer-link-sep {
    color: var(--border-glass-strong);
    font-size: 0.7rem;
}

/* ── Legal Content Pages ───────────────────────────────────── */
.legal-content {
    padding: 140px 0 80px;
    position: relative;
}

.legal-card {
    background: var(--bg-card-solid);
    border-radius: var(--radius-xl);
    padding: 60px;
    max-width: 860px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
}

.legal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--accent), var(--secondary));
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.legal-card h1 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.legal-card .legal-updated {
    font-size: 0.85rem;
    color: var(--text-dark-muted);
    margin-bottom: 36px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e8ecf4;
}

.legal-card h2 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 36px;
    margin-bottom: 14px;
}

.legal-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 24px;
    margin-bottom: 10px;
}

.legal-card p {
    font-size: 0.95rem;
    color: var(--text-dark-muted);
    line-height: 1.8;
    margin-bottom: 14px;
}

.legal-card ul,
.legal-card ol {
    padding-left: 24px;
    margin-bottom: 14px;
}

.legal-card li {
    font-size: 0.95rem;
    color: var(--text-dark-muted);
    line-height: 1.8;
    margin-bottom: 6px;
    list-style-type: disc;
}

.legal-card ol li {
    list-style-type: decimal;
}

.legal-card a {
    color: var(--primary);
    text-decoration: underline;
}

.legal-card strong {
    color: var(--text-dark);
    font-weight: 600;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ── Responsive Design ─────────────────────────────────────── */
@media (max-width: 1024px) {

    .hero-visual {
        order: -1;
    }

    .hero-image-wrapper {
        width: 260px;
        height: 260px;
    }

    .hero-game-icon {
        width: 160px;
        height: 160px;
    }

    .floating-card-1 { right: 0; }
    .floating-card-2 { left: 0; }
    .floating-card-3 { right: 5%; }

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

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

    .screenshot-card-large {
        grid-row: span 1;
    }

    .screenshot-card-large .screenshot-inner {
        min-height: 220px;
    }

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

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

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

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

    .legal-card {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 18px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(10, 10, 26, 0.98), rgba(13, 13, 36, 0.98));
        backdrop-filter: blur(24px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 12px;
        transform: translateX(100%);
        transition: transform var(--transition-med);
        z-index: 999;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 12px 24px;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-section {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-image-wrapper {
        width: 200px;
        height: 200px;
    }

    .hero-game-icon {
        width: 120px;
        height: 120px;
    }

    .hero-ring-1 { width: 180px; height: 180px; }
    .hero-ring-2 { width: 220px; height: 220px; }
    .hero-ring-3 { width: 260px; height: 260px; }

    .floating-card {
        display: none;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
    }

    .stat-divider {
        display: none;
    }

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

    .screenshots-gallery {
        grid-template-columns: 1fr;
    }

    .screenshot-card-wide {
        grid-column: span 1;
    }

    .counters-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

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

    .contact-form-wrapper {
        padding: 28px 22px;
    }

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

    .section-header {
        margin-bottom: 40px;
    }

    .about-section,
    .screenshots-section,
    .features-section,
    .faq-section,
    .contact-section {
        padding: 80px 0;
    }

    .cookie-consent-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-buttons {
        width: 100%;
    }

    .btn-cookie-accept,
    .btn-cookie-reject {
        flex: 1;
    }

    .legal-card {
        padding: 28px 20px;
    }

    .legal-card h1 {
        font-size: 1.6rem;
    }
}

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

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

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        justify-content: space-around;
    }

    .stat-number {
        font-size: 1.4rem;
    }

    .feature-item {
        flex-direction: column;
        gap: 12px;
    }

    .feature-number {
        width: auto;
    }
}

/* ── Utility: Screen Reader Only ───────────────────────────── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ── Print Styles ──────────────────────────────────────────── */
@media print {
    .site-header,
    .cookie-consent,
    .hero-mesh-bg,
    .section-mesh-bg,
    .footer-mesh-bg,
    .counters-mesh-bg,
    .mesh-blob,
    .mesh-shape,
    .hero-particles {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
    }

    .legal-card {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}
