@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@500;600;700&display=swap');

/* ========================================================================
   PiperSpin - Complete Design System
   Brand: #EFE422 (Electric Yellow) on #08282D (Deep Teal)
   Gaming mood with modern, friendly visual language
   ======================================================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

ul, ol {
    list-style: none;
}

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
    background: none;
}

button {
    cursor: pointer;
}

table {
    border-collapse: collapse;
    width: 100%;
}

/* === CSS CUSTOM PROPERTIES === */
:root {
    /* Brand Colors */
    --color-primary: #EFE422;
    --color-primary-light: #F5EF6B;
    --color-primary-dark: #C9BF0A;
    --color-primary-glow: rgba(239, 228, 34, 0.35);
    --color-primary-subtle: rgba(239, 228, 34, 0.08);
    --color-primary-muted: rgba(239, 228, 34, 0.15);

    /* Accent / Secondary */
    --color-accent: #22EFBD;
    --color-accent-light: #6BF5D5;
    --color-accent-dark: #0AC9A0;
    --color-accent-glow: rgba(34, 239, 189, 0.3);

    /* Tertiary */
    --color-tertiary: #EF6B22;
    --color-tertiary-light: #F5955E;
    --color-tertiary-dark: #C95010;

    /* Danger / Live */
    --color-danger: #EF4444;
    --color-danger-light: #FCA5A5;
    --color-danger-glow: rgba(239, 68, 68, 0.3);

    /* Success */
    --color-success: #22C55E;
    --color-success-light: #86EFAC;
    --color-success-glow: rgba(34, 197, 94, 0.25);

    /* Warning */
    --color-warning: #F59E0B;
    --color-warning-light: #FCD34D;

    /* Info */
    --color-info: #3B82F6;
    --color-info-light: #93C5FD;

    /* Background Palette */
    --bg-dark: #08282D;
    --bg-darker: #051C20;
    --bg-darkest: #031316;
    --bg-card: #0C3A42;
    --bg-card-hover: #0F4A54;
    --bg-card-active: #125863;
    --bg-elevated: #0E4049;
    --bg-input: #0A3138;
    --bg-overlay: rgba(5, 28, 32, 0.92);
    --bg-modal: rgba(3, 19, 22, 0.96);

    /* Text Colors */
    --text-primary: #F0F7F8;
    --text-secondary: #9ABFC7;
    --text-muted: #6B949E;
    --text-disabled: #4A7A84;
    --text-inverse: #08282D;
    --text-on-primary: #08282D;

    /* Border Colors */
    --border-subtle: rgba(239, 228, 34, 0.1);
    --border-default: rgba(239, 228, 34, 0.18);
    --border-strong: rgba(239, 228, 34, 0.3);
    --border-muted: rgba(154, 191, 199, 0.1);

    /* Gradients */
    --gradient-hero: linear-gradient(160deg, #08282D 0%, #0A3D45 35%, #0C3038 65%, #08282D 100%);
    --gradient-cta: linear-gradient(135deg, #EFE422 0%, #22EFBD 100%);
    --gradient-cta-hover: linear-gradient(135deg, #F5EF6B 0%, #6BF5D5 100%);
    --gradient-gold: linear-gradient(135deg, #EFE422 0%, #EF6B22 100%);
    --gradient-danger: linear-gradient(135deg, #EF4444 0%, #EF6B22 100%);
    --gradient-cool: linear-gradient(135deg, #22EFBD 0%, #3B82F6 100%);
    --gradient-surface: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-dark) 100%);
    --gradient-radial-glow: radial-gradient(circle, var(--color-primary-glow) 0%, transparent 70%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.5);
    --shadow-glow-primary: 0 0 30px var(--color-primary-glow);
    --shadow-glow-accent: 0 0 30px var(--color-accent-glow);
    --shadow-glow-danger: 0 0 20px var(--color-danger-glow);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.25);
    --shadow-card-hover: 0 8px 40px rgba(0, 0, 0, 0.35);

    /* Radii */
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;

    /* Spacing Scale */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-7: 32px;
    --space-8: 40px;
    --space-9: 48px;
    --space-10: 56px;
    --space-11: 64px;
    --space-12: 80px;
    --space-13: 96px;
    --space-14: 128px;

    /* Typography Scale */
    --font-display: 'Space Grotesk', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;
    --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-spring: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

    /* Z-index Scale */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-overlay: 500;
    --z-modal: 600;
    --z-popover: 700;
    --z-tooltip: 800;
    --z-header: 900;
    --z-menu: 950;
    --z-toast: 1000;
}

/* === UTILITY CLASSES === */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: var(--space-4);
    padding-right: var(--space-4);
}

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

/* === FOCUS STATES === */
:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 3px;
    border-radius: var(--radius-xs);
}

:focus:not(:focus-visible) {
    outline: none;
}

/* === SELECTION === */
::selection {
    background: var(--color-primary);
    color: var(--text-on-primary);
}

/* === SCROLLBAR === */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-card-hover);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-muted);
}

/* ========================================================================
   HEADER
   ======================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-header);
    background: rgba(8, 40, 45, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-subtle);
    transition: all var(--transition-smooth);
}

.site-header.scrolled {
    background: rgba(5, 28, 32, 0.96);
    border-bottom-color: var(--border-default);
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.4);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.site-header .brand {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: var(--text-xl);
    color: var(--color-primary);
    letter-spacing: -0.02em;
    flex-shrink: 0;
    transition: opacity var(--transition-base);
}

.site-header .brand:hover {
    opacity: 0.85;
}

.site-header .brand img {
    height: 34px;
    width: auto;
}

.site-header .nav-links {
    display: none;
    align-items: center;
    gap: var(--space-1);
}

.site-header .nav-links li a {
    display: inline-flex;
    align-items: center;
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    white-space: nowrap;
    position: relative;
}

.site-header .nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: var(--color-primary);
    border-radius: var(--radius-full);
    transition: transform var(--transition-smooth);
}

.site-header .nav-links li a:hover,
.site-header .nav-links li a.active {
    color: var(--color-primary);
    background: var(--color-primary-subtle);
}

.site-header .nav-links li a:hover::after,
.site-header .nav-links li a.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* === HAMBURGER === */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: transparent;
    border-radius: var(--radius-sm);
    transition: background var(--transition-base);
    position: relative;
    z-index: calc(var(--z-menu) + 10);
}

.hamburger:hover {
    background: var(--color-primary-subtle);
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: var(--radius-full);
    transition: all 0.35s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: var(--color-primary);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    background: var(--color-primary);
}

/* === MOBILE MENU === */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: var(--z-menu);
    background: var(--bg-modal);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    display: flex;
    flex-direction: column;
    padding: 88px var(--space-6) var(--space-6);
    transform: translateX(100%);
    transition: transform var(--transition-spring);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu a {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4) 0;
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-muted);
    transition: all var(--transition-base);
}

.mobile-menu a:hover,
.mobile-menu a:focus {
    color: var(--color-primary);
    padding-left: var(--space-3);
}

/* === HEADER BUTTONS === */
.btn-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    font-weight: 700;
    background: transparent;
    border: 2px solid var(--color-primary-muted);
    color: var(--color-primary-light);
    transition: all var(--transition-smooth);
    white-space: nowrap;
}

.btn-login:hover {
    background: var(--color-primary-subtle);
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-1px);
}

.btn-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    font-weight: 800;
    background: var(--color-primary);
    color: var(--text-on-primary);
    border: none;
    box-shadow: 0 4px 18px var(--color-primary-glow);
    transition: all var(--transition-smooth);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-register::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.2) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-register:hover::before {
    transform: translateX(100%);
}

.btn-register:hover {
    background: var(--color-primary-light);
    box-shadow: 0 8px 32px var(--color-primary-glow);
    transform: translateY(-2px);
}

.btn-register:active {
    transform: translateY(0);
    box-shadow: 0 2px 12px var(--color-primary-glow);
}

/* ========================================================================
   HERO
   ======================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding: 100px var(--space-4) var(--space-10);
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 90vw;
    height: 90vw;
    background: radial-gradient(circle, rgba(239, 228, 34, 0.07) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
    animation: hero-glow-pulse 8s ease-in-out infinite alternate;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -25%;
    left: -15%;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, rgba(34, 239, 189, 0.05) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
    animation: hero-glow-pulse 10s ease-in-out infinite alternate-reverse;
}

@keyframes hero-glow-pulse {
    0% { opacity: 0.6; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.08); }
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 7vw, var(--text-4xl));
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: var(--space-4);
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--text-primary) 20%, var(--color-primary) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================================================
   CTA ELEMENTS
   ======================================================================== */
.cta-button,
.cta-section .btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 16px 36px;
    font-size: var(--text-base);
    font-weight: 800;
    font-family: var(--font-display);
    background: var(--color-primary);
    color: var(--text-on-primary);
    border: none;
    border-radius: var(--radius-md);
    box-shadow: 0 6px 24px var(--color-primary-glow), inset 0 1px 0 rgba(255,255,255,0.2);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-transform: none;
    letter-spacing: -0.01em;
}

.cta-button::before,
.cta-section .btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover::before,
.cta-section .btn-cta:hover::before {
    left: 100%;
}

.cta-button:hover,
.cta-section .btn-cta:hover {
    background: var(--color-primary-light);
    box-shadow: 0 10px 40px var(--color-primary-glow), inset 0 1px 0 rgba(255,255,255,0.3);
    transform: translateY(-3px);
}

.cta-button:active,
.cta-section .btn-cta:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px var(--color-primary-glow);
}

.cta-section {
    text-align: center;
    padding: var(--space-12) var(--space-4);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: var(--gradient-radial-glow);
    border-radius: 50%;
    pointer-events: none;
}

/* ========================================================================
   ARTICLE CONTENT
   ======================================================================== */
article.content {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-8) var(--space-4);
    line-height: 1.7;
}

article.content h2 {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--text-primary);
    margin-top: var(--space-9);
    margin-bottom: var(--space-4);
    letter-spacing: -0.02em;
    line-height: 1.2;
    position: relative;
    padding-left: var(--space-5);
}

article.content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    background: var(--gradient-cta);
    border-radius: var(--radius-full);
}

article.content h3 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-top: var(--space-7);
    margin-bottom: var(--space-3);
    letter-spacing: -0.01em;
    line-height: 1.3;
}

article.content p {
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--space-5);
}

article.content ul,
article.content ol {
    margin-bottom: var(--space-5);
    padding-left: var(--space-6);
}

article.content ul {
    list-style: none;
    padding-left: 0;
}

article.content ul li {
    position: relative;
    padding-left: var(--space-6);
    margin-bottom: var(--space-2);
    color: var(--text-secondary);
    font-size: var(--text-base);
    line-height: 1.7;
}

article.content ul li::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-primary-glow);
}

article.content ol {
    list-style: none;
    counter-reset: article-counter;
    padding-left: 0;
}

article.content ol li {
    counter-increment: article-counter;
    position: relative;
    padding-left: var(--space-8);
    margin-bottom: var(--space-3);
    color: var(--text-secondary);
    font-size: var(--text-base);
    line-height: 1.7;
}

article.content ol li::before {
    content: counter(article-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 28px;
    height: 28px;
    background: var(--color-primary-subtle);
    border: 1px solid var(--color-primary-muted);
    color: var(--color-primary);
    font-size: var(--text-sm);
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

article.content li {
    line-height: 1.7;
}

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

article.content em {
    color: var(--color-primary-light);
    font-style: italic;
}

article.content a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid var(--color-primary-muted);
    transition: all var(--transition-base);
    padding-bottom: 1px;
}

article.content a:hover {
    color: var(--color-primary-light);
    border-bottom-color: var(--color-primary);
    text-shadow: 0 0 12px var(--color-primary-glow);
}

/* === TABLES === */
article.content table {
    width: 100%;
    margin: var(--space-6) 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    font-size: var(--text-sm);
}

article.content thead {
    background: var(--bg-card);
}

article.content thead th {
    padding: var(--space-3) var(--space-4);
    text-align: left;
    font-weight: 700;
    color: var(--color-primary);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--color-primary-muted);
}

article.content tbody tr {
    border-bottom: 1px solid var(--border-muted);
    transition: background var(--transition-fast);
}

article.content tbody tr:nth-child(even) {
    background: rgba(12, 58, 66, 0.3);
}

article.content tbody tr:nth-child(odd) {
    background: transparent;
}

article.content tbody tr:hover {
    background: var(--color-primary-subtle);
}

article.content td {
    padding: var(--space-3) var(--space-4);
    color: var(--text-secondary);
    vertical-align: middle;
}

article.content th {
    padding: var(--space-3) var(--space-4);
    text-align: left;
    font-weight: 700;
    color: var(--color-primary);
}

/* ========================================================================
   FAQ ACCORDION
   ======================================================================== */
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-3);
    overflow: hidden;
    transition: all var(--transition-smooth);
}

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

.faq-item.open {
    border-color: var(--color-primary-muted);
    box-shadow: 0 4px 20px rgba(239, 228, 34, 0.06);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    width: 100%;
    padding: var(--space-5) var(--space-5);
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--text-primary);
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: color var(--transition-base);
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-question::after {
    content: '+';
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
    font-weight: 300;
    color: var(--color-primary);
    background: var(--color-primary-subtle);
    border-radius: 50%;
    transition: all var(--transition-smooth);
}

.faq-item.open .faq-question::after {
    content: '−';
    transform: rotate(180deg);
    background: var(--color-primary);
    color: var(--text-on-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s ease;
    padding: 0 var(--space-5);
}

.faq-item.open .faq-answer {
    max-height: 600px;
    padding: 0 var(--space-5) var(--space-5);
}

.faq-answer p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================================================
   FOOTER
   ======================================================================== */
.site-footer {
    background: var(--bg-darkest);
    border-top: 1px solid var(--border-subtle);
    padding: var(--space-9) var(--space-4) var(--space-6);
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4) var(--space-7);
    margin-bottom: var(--space-7);
}

.footer-nav a {
    font-size: var(--text-sm);
    color: var(--text-muted);
    transition: color var(--transition-base);
    white-space: nowrap;
}

.footer-nav a:hover {
    color: var(--color-primary);
}

.footer-disclaimer {
    font-size: var(--text-xs);
    color: var(--text-disabled);
    line-height: 1.7;
    max-width: 720px;
    margin-bottom: var(--space-6);
    padding: var(--space-4);
    background: rgba(239, 228, 34, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
}

.footer-copy {
    font-size: var(--text-xs);
    color: var(--text-disabled);
    padding-top: var(--space-5);
    border-top: 1px solid var(--border-muted);
}

/* ========================================================================
   REUSABLE COMPONENTS - FUTURE PROOF
   ======================================================================== */

/* --- Cards --- */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.card:hover {
    border-color: var(--border-default);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-2px);
}

.card--highlighted {
    border-color: var(--color-primary-muted);
    box-shadow: 0 0 0 1px var(--color-primary-muted), var(--shadow-card);
}

.card--highlighted::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-cta);
}

/* --- Badges --- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: 4px 12px;
    font-size: var(--text-xs);
    font-weight: 700;
    border-radius: var(--radius-full);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge--primary {
    background: var(--color-primary-muted);
    color: var(--color-primary);
    border: 1px solid rgba(239, 228, 34, 0.25);
}

.badge--accent {
    background: rgba(34, 239, 189, 0.12);
    color: var(--color-accent);
    border: 1px solid rgba(34, 239, 189, 0.25);
}

.badge--danger {
    background: rgba(239, 68, 68, 0.12);
    color: var(--color-danger);
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.badge--success {
    background: rgba(34, 197, 94, 0.12);
    color: var(--color-success);
    border: 1px solid rgba(34, 197, 94, 0.25);
}

.badge--warning {
    background: rgba(245, 158, 11, 0.12);
    color: var(--color-warning);
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.badge--live {
    background: rgba(239, 68, 68, 0.15);
    color: var(--color-danger);
    border: 1px solid rgba(239, 68, 68, 0.3);
    animation: badge-pulse 2s infinite;
}

@keyframes badge-pulse {
    0%, 100% { box-shadow: 0 0 0 0 var(--color-danger-glow); }
    50% { box-shadow: 0 0 12px 2px var(--color-danger-glow); }
}

/* --- Alerts --- */
.alert {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    line-height: 1.6;
    border: 1px solid;
    margin-bottom: var(--space-4);
}

.alert--info {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.2);
    color: var(--color-info-light);
}

.alert--success {
    background: rgba(34, 197, 94, 0.08);
    border-color: rgba(34, 197, 94, 0.2);
    color: var(--color-success-light);
}

.alert--warning {
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.2);
    color: var(--color-warning-light);
}

.alert--danger {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.2);
    color: var(--color-danger-light);
}

/* --- Form Elements --- */
.form-group {
    margin-bottom: var(--space-5);
}

.form-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--space-2);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-base);
    color: var(--text-primary);
    background: var(--bg-input);
    border: 2px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    line-height: 1.5;
}

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

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
    border-color: var(--border-default);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-subtle);
    outline: none;
}

.form-input.error {
    border-color: var(--color-danger);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-help {
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin-top: var(--space-1);
}

.form-error-text {
    font-size: var(--text-xs);
    color: var(--color-danger);
    margin-top: var(--space-1);
}

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

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%239ABFC7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-checkbox,
.form-radio {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    cursor: pointer;
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.form-checkbox input,
.form-radio input {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--color-primary);
    cursor: pointer;
}

/* --- Tabs --- */
.tabs {
    display: flex;
    gap: var(--space-1);
    border-bottom: 2px solid var(--border-muted);
    margin-bottom: var(--space-6);
    overflow-x: auto;
    scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
    display: none;
}

.tab {
    padding: var(--space-3) var(--space-5);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-muted);
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all var(--transition-base);
    white-space: nowrap;
    cursor: pointer;
}

.tab:hover {
    color: var(--text-secondary);
}

.tab.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

/* --- Modal --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    background: var(--bg-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-smooth);
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-elevated);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    padding: var(--space-7);
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    transform: scale(0.92) translateY(20px);
    transition: transform var(--transition-spring);
}

.modal-overlay.open .modal {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-5);
}

.modal-title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 800;
}

.modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
    color: var(--text-muted);
    background: var(--bg-card);
    border-radius: 50%;
    transition: all var(--transition-base);
}

.modal-close:hover {
    color: var(--text-primary);
    background: var(--bg-card-hover);
}

/* --- Tooltip --- */
.tooltip {
    position: relative;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    padding: var(--space-2) var(--space-3);
    background: var(--bg-elevated);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all var(--transition-base);
    z-index: var(--z-tooltip);
}

.tooltip:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* --- Pagination --- */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    margin: var(--space-8) 0;
}

.pagination-btn {
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 var(--space-2);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
}

.pagination-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-default);
    color: var(--text-primary);
}

.pagination-btn.active {
    background: var(--color-primary);
    color: var(--text-on-primary);
    border-color: var(--color-primary);
    font-weight: 800;
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* --- Breadcrumbs --- */
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4) 0;
    font-size: var(--text-sm);
}

.breadcrumbs a {
    color: var(--text-muted);
    transition: color var(--transition-base);
}

.breadcrumbs a:hover {
    color: var(--color-primary);
}

.breadcrumbs .separator {
    color: var(--text-disabled);
    font-size: var(--text-xs);
}

.breadcrumbs .current {
    color: var(--text-secondary);
    font-weight: 600;
}

/* --- Lists --- */
.list {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.list-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    color: var(--text-secondary);
    transition: all var(--transition-base);
}

.list-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-default);
}

.list-item-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-subtle);
    border-radius: 50%;
    font-size: var(--text-sm);
}

/* --- Empty States --- */
.empty-state {
    text-align: center;
    padding: var(--space-12) var(--space-6);
}

.empty-state-icon {
    font-size: 64px;
    margin-bottom: var(--space-5);
    opacity: 0.5;
}

.empty-state-title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-3);
}

.empty-state-text {
    font-size: var(--text-sm);
    color: var(--text-muted);
    max-width: 400px;
    margin: 0 auto var(--space-6);
}

/* --- Loading States --- */
.skeleton {
    background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.8s infinite;
    border-radius: var(--radius-sm);
}

@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-text {
    height: 16px;
    margin-bottom: var(--space-2);
}

.skeleton-title {
    height: 28px;
    width: 60%;
    margin-bottom: var(--space-4);
}

.skeleton-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.skeleton-card {
    height: 200px;
    border-radius: var(--radius-lg);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-subtle);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.spinner--sm {
    width: 20px;
    height: 20px;
    border-width: 2px;
}

.spinner--lg {
    width: 56px;
    height: 56px;
    border-width: 4px;
}

/* --- Section Headers --- */
.section-header {
    text-align: center;
    margin-bottom: var(--space-8);
}

.section-header .section-tag {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-primary);
    margin-bottom: var(--space-3);
    position: relative;
}

.section-header .section-title {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-3);
}

.section-header .section-desc {
    font-size: var(--text-base);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Content Dividers --- */
.divider {
    height: 1px;
    background: var(--border-muted);
    margin: var(--space-7) 0;
    border: none;
}

.divider--accent {
    height: 2px;
    background: var(--gradient-cta);
}

.divider--dotted {
    height: 0;
    border: none;
    border-bottom: 2px dotted var(--border-subtle);
}

.divider--with-text {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    color: var(--text-muted);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.divider--with-text::before,
.divider--with-text::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-muted);
}

/* --- Code Blocks --- */
.code-block {
    background: var(--bg-darkest);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: var(--space-5);
    overflow-x: auto;
    font-family: 'Fira Code', 'Cascadia Code', 'SF Mono', monospace;
    font-size: var(--text-sm);
    line-height: 1.7;
    color: var(--text-secondary);
    margin: var(--space-5) 0;
}

.code-inline {
    display: inline;
    padding: 2px 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xs);
    font-family: 'Fira Code', monospace;
    font-size: 0.9em;
    color: var(--color-primary);
}

/* --- Stat Blocks --- */
.stat-block {
    text-align: center;
    padding: var(--space-5);
}

.stat-value {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 900;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: var(--space-2);
}

.stat-label {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-change {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    font-size: var(--text-xs);
    font-weight: 700;
    margin-top: var(--space-2);
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

.stat-change--up {
    color: var(--color-success);
    background: var(--color-success-glow);
}

.stat-change--down {
    color: var(--color-danger);
    background: rgba(239, 68, 68, 0.12);
}

/* --- Testimonial Blocks --- */
.testimonial {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: var(--space-4);
    right: var(--space-5);
    font-size: 64px;
    font-family: Georgia, serif;
    color: var(--color-primary-muted);
    line-height: 1;
}

.testimonial-text {
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-5);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-cta);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: var(--text-base);
    color: var(--text-on-primary);
}

.testimonial-name {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--text-primary);
}

.testimonial-role {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    color: var(--color-primary);
    font-size: var(--text-sm);
    margin-bottom: var(--space-3);
}

/* --- Media Containers --- */
.media-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
}

.media-container img,
.media-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.media-container--16x9 {
    aspect-ratio: 16/9;
}

.media-container--4x3 {
    aspect-ratio: 4/3;
}

.media-container--square {
    aspect-ratio: 1/1;
}

.media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(8, 40, 45, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-5);
}

.media-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-on-primary);
    font-size: var(--text-xl);
    box-shadow: var(--shadow-glow-primary);
    transition: all var(--transition-smooth);
}

.media-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 50px var(--color-primary-glow);
}

/* --- Charts / Data Visual Containers --- */
.chart-container {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    min-height: 200px;
    position: relative;
}

.chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-4);
}

.chart-title {
    font-size: var(--text-base);
    font-weight: 700;
}

.chart-legend {
    display: flex;
    gap: var(--space-4);
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.chart-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: var(--space-1);
}

/* --- Data Bar --- */
.data-bar {
    height: 8px;
    background: var(--bg-input);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin: var(--space-2) 0;
}

.data-bar-fill {
    height: 100%;
    background: var(--gradient-cta);
    border-radius: var(--radius-full);
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.data-bar-fill--accent {
    background: var(--gradient-cool);
}

.data-bar-fill--danger {
    background: var(--gradient-danger);
}

/* --- Secondary Navigation --- */
.nav-secondary {
    display: flex;
    gap: var(--space-2);
    padding: var(--space-3) 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.nav-secondary::-webkit-scrollbar {
    display: none;
}

.nav-secondary-link {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-muted);
    border-radius: var(--radius-full);
    white-space: nowrap;
    transition: all var(--transition-base);
}

.nav-secondary-link:hover {
    color: var(--text-secondary);
    background: var(--bg-card);
}

.nav-secondary-link.active {
    color: var(--text-on-primary);
    background: var(--color-primary);
}

/* --- Tags --- */
.tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: 4px 10px;
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.tag:hover {
    border-color: var(--border-default);
    background: var(--bg-card-hover);
}

.tag--removable::after {
    content: '×';
    margin-left: var(--space-1);
    cursor: pointer;
    color: var(--text-muted);
}

/* --- Toggle / Switch --- */
.toggle {
    position: relative;
    width: 48px;
    height: 26px;
    background: var(--bg-input);
    border: 2px solid var(--border-subtle);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
}

.toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    background: var(--text-muted);
    border-radius: 50%;
    transition: all var(--transition-smooth);
}

.toggle.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.toggle.active::after {
    left: 24px;
    background: var(--text-on-primary);
}

/* --- Notification Dot --- */
.notification-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 10px;
    height: 10px;
    background: var(--color-danger);
    border-radius: 50%;
    border: 2px solid var(--bg-dark);
    animation: badge-pulse 2s infinite;
}

/* --- Chip / Pill --- */
.chip {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-secondary);
    transition: all var(--transition-base);
    cursor: pointer;
}

.chip:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-default);
}

.chip.active {
    background: var(--color-primary-muted);
    border-color: var(--color-primary-muted);
    color: var(--color-primary);
}

/* --- Odds / Bet Card (iGaming specific) --- */
.odds-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: var(--space-3) var(--space-4);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-base);
    min-width: 80px;
}

.odds-card:hover {
    border-color: var(--color-primary-muted);
    background: var(--color-primary-subtle);
}

.odds-card.active {
    border-color: var(--color-primary);
    background: var(--color-primary-muted);
}

.odds-label {
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin-bottom: var(--space-1);
}

.odds-value {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 800;
    color: var(--color-primary);
}

/* --- Game Provider Logo Row --- */
.provider-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    transition: opacity var(--transition-base);
}

.provider-row:hover {
    opacity: 0.8;
}

.provider-item {
    padding: var(--space-3) var(--space-5);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--text-secondary);
}

/* --- Jackpot Counter (iGaming) --- */
.jackpot-display {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 900;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    letter-spacing: -0.02em;
}

.jackpot-label {
    font-size: var(--text-sm);
    color: var(--text-muted);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* --- Game Rating --- */
.game-rating {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.game-rating-star {
    color: var(--color-primary);
    font-size: var(--text-sm);
}

.game-rating-star.empty {
    color: var(--text-disabled);
}

.game-rating-count {
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin-left: var(--space-1);
}

/* --- Toast Notification --- */
.toast {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-4);
    z-index: var(--z-toast);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-5);
    background: var(--bg-elevated);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    font-size: var(--text-sm);
    color: var(--text-primary);
    transform: translateY(120%);
    opacity: 0;
    transition: all var(--transition-spring);
    max-width: 400px;
}

.toast.visible {
    transform: translateY(0);
    opacity: 1;
}

.toast--success {
    border-left: 4px solid var(--color-success);
}

.toast--error {
    border-left: 4px solid var(--color-danger);
}

.toast--warning {
    border-left: 4px solid var(--color-warning);
}

/* --- Stepper / Progress Steps --- */
.stepper {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin: var(--space-6) 0;
}

.stepper-step {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.stepper-dot {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: var(--text-sm);
    font-weight: 700;
    background: var(--bg-card);
    border: 2px solid var(--border-subtle);
    color: var(--text-muted);
    transition: all var(--transition-base);
}

.stepper-step.active .stepper-dot {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--text-on-primary);
    box-shadow: var(--shadow-glow-primary);
}

.stepper-step.completed .stepper-dot {
    background: var(--color-success);
    border-color: var(--color-success);
    color: white;
}

.stepper-line {
    flex: 1;
    height: 2px;
    background: var(--border-subtle);
    min-width: 20px;
}

.stepper-line.active {
    background: var(--color-primary);
}

/* --- Avatar --- */
.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--gradient-cta);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: var(--text-sm);
    color: var(--text-on-primary);
    flex-shrink: 0;
}

.avatar--sm { width: 28px; height: 28px; font-size: var(--text-xs); }
.avatar--lg { width: 56px; height: 56px; font-size: var(--text-lg); }
.avatar--xl { width: 80px; height: 80px; font-size: var(--text-xl); }

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-group {
    display: flex;
}

.avatar-group .avatar {
    border: 3px solid var(--bg-dark);
    margin-left: -10px;
}

.avatar-group .avatar:first-child {
    margin-left: 0;
}

/* ========================================================================
   RESPONSIVE BREAKPOINTS
   ======================================================================== */

/* --- Tablet (768px) --- */
@media (min-width: 768px) {
    .container {
        padding-left: var(--space-6);
        padding-right: var(--space-6);
    }

    .site-header .container {
        height: 72px;
    }

    .hero {
        padding: 120px var(--space-6) var(--space-12);
    }

    .hero h1 {
        font-size: var(--text-4xl);
    }

    article.content {
        padding: var(--space-10) var(--space-6);
    }

    article.content h2 {
        font-size: var(--text-3xl);
    }

    article.content h3 {
        font-size: var(--text-2xl);
    }

    .section-header .section-title {
        font-size: var(--text-4xl);
    }

    .site-footer {
        padding: var(--space-10) var(--space-6) var(--space-7);
    }

    .footer-nav {
        gap: var(--space-5) var(--space-8);
    }

    .modal {
        padding: var(--space-8);
    }

    .toast {
        bottom: var(--space-7);
        right: var(--space-6);
    }
}

/* --- Desktop (1024px) --- */
@media (min-width: 1024px) {
    .site-header .nav-links {
        display: flex;
    }

    .hamburger {
        display: none;
    }

    .mobile-menu {
        display: none;
    }

    .hero {
        padding: 140px var(--space-6) var(--space-13);
    }

    .hero h1 {
        font-size: var(--text-5xl);
    }

    article.content h2 {
        font-size: var(--text-3xl);
    }

    .section-header .section-title {
        font-size: var(--text-4xl);
    }

    /* Wider card grids */
    .faq-item {
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* --- Large Desktop (1280px) --- */
@media (min-width: 1280px) {
    .hero h1 {
        font-size: var(--text-6xl);
    }
}

/* ========================================================================
   PRINT STYLES
   ======================================================================== */
@media print {
    .site-header,
    .hamburger,
    .mobile-menu,
    .site-footer,
    .cta-button,
    .cta-section,
    .btn-login,
    .btn-register,
    .footer-nav,
    .nav-secondary,
    .toast,
    .modal-overlay,
    .marquee-strip,
    .hero-cta-group,
    .hero-floating-card,
    video,
    .media-play-btn {
        display: none !important;
    }

    body {
        background: white;
        color: #1a1a1a;
        font-size: 12pt;
        line-height: 1.5;
    }

    .hero {
        background: none !important;
        min-height: auto;
        padding: 20pt 0;
    }

    .hero h1 {
        background: none;
        -webkit-text-fill-color: #1a1a1a;
        color: #1a1a1a;
        font-size: 24pt;
    }

    article.content {
        max-width: 100%;
        padding: 0;
    }

    article.content h2 {
        color: #1a1a1a;
        border-bottom: 1pt solid #ccc;
        padding-bottom: 4pt;
    }

    article.content h2::before {
        display: none;
    }

    article.content h3 {
        color: #333;
    }

    article.content p,
    article.content li {
        color: #333;
    }

    article.content a {
        color: #1a1a1a;
        text-decoration: underline;
        border-bottom: none;
    }

    article.content a::after {
        content: ' (' attr(href) ')';
        font-size: 9pt;
        color: #666;
    }

    article.content table {
        border: 1pt solid #ccc;
    }

    article.content th,
    article.content td {
        border: 1pt solid #ddd;
        padding: 6pt 8pt;
        color: #333;
    }

    article.content thead {
        background: #f0f0f0 !important;
    }

    article.content thead th {
        color: #1a1a1a;
    }

    .faq-answer {
        max-height: none !important;
        padding: 8pt 12pt !important;
    }

    .card,
    .feature-card,
    .trust-card,
    .testimonial {
        border: 1pt solid #ddd;
        box-shadow: none;
        page-break-inside: avoid;
    }
}

/* ========================================================================
   ANIMATIONS
   ======================================================================== */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 20px var(--color-primary-glow);
    }
    50% {
        box-shadow: 0 0 40px var(--color-primary-glow), 0 0 60px rgba(239, 228, 34, 0.15);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* === DARK MODE IS DEFAULT, LIGHT PREFERENCE OVERRIDE === */
@media (prefers-color-scheme: light) {
    /* Keep dark theme - this is a casino site */
}