/* ============================================
   POKER EN LINEA DINERO REAL
   Premium Authority Design System
   ============================================ */

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

/* CSS Variables */
:root {
    /* Backgrounds */
    --bg-main: #0B0D10;
    --bg-secondary: #0F1F1A;
    --bg-tertiary: #12161C;

    /* Cards & Containers */
    --card-bg: #161A20;
    --card-elevated: #1B2028;
    --card-border: rgba(201, 164, 77, 0.08);
    --card-border-hover: rgba(201, 164, 77, 0.2);

    /* Accents */
    --gold: #C9A44D;
    --gold-hover: #D6B15F;
    --gold-active: #B8943F;
    --gold-glow: rgba(201, 164, 77, 0.3);
    --burgundy: #7A1F2B;
    --bronze: #B08D57;

    /* Typography */
    --text-primary: #F5F7FA;
    --text-secondary: #C7CBD1;
    --text-muted: #9CA3AF;
    --text-disabled: #6B7280;

    /* UI States */
    --success: #2E7D65;
    --warning: #9A7B3F;
    --error: #8B2C2C;
    --info: #3A5A6B;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 0 30px rgba(201, 164, 77, 0.15);
    --shadow-gold-strong: 0 4px 30px rgba(201, 164, 77, 0.25);

    /* Container */
    --container-max: 1400px;
    --container-wide: 1600px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: all var(--transition-fast);
}

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

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

.container-wide {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

/* ============================================
   AUTHORITY HEADER
   ============================================ */

.header {
    background: linear-gradient(180deg, rgba(11, 13, 16, 0.98) 0%, rgba(11, 13, 16, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--card-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) 0;
    gap: var(--spacing-xl);
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1001;
}

.logo img, .logo svg {
    height: 48px;
    width: auto;
}

/* Main Navigation */
.nav-main {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.nav-link {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.625rem 1rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: var(--gold);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--gold);
    border-radius: 1px;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.8125rem;
    color: var(--text-muted);
    padding: 0.5rem 1rem;
    background: rgba(46, 125, 101, 0.1);
    border: 1px solid rgba(46, 125, 101, 0.2);
    border-radius: var(--radius-md);
}

.trust-badge svg {
    width: 14px;
    height: 14px;
    color: var(--success);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-smooth);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-active) 100%);
    color: var(--bg-main);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--gold-hover) 0%, var(--gold) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold-strong);
    color: var(--bg-main);
}

.btn-secondary {
    background: transparent;
    color: var(--gold);
    border: 1.5px solid var(--gold);
}

.btn-secondary:hover {
    background: rgba(201, 164, 77, 0.1);
    color: var(--gold-hover);
    border-color: var(--gold-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-secondary);
    border: 1.5px solid var(--card-border-hover);
}

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

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1rem;
}

/* ============================================
   HERO SECTION - SPLIT LAYOUT
   ============================================ */

.hero {
    background: linear-gradient(135deg, var(--bg-main) 0%, var(--bg-secondary) 50%, var(--bg-main) 100%);
    position: relative;
    overflow: hidden;
    padding: var(--spacing-3xl) 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Scroll Down Arrow */
.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    cursor: pointer;
    animation: bounce 2s infinite;
}

.scroll-down a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.scroll-down a:hover {
    opacity: 1;
}

.scroll-down span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

.scroll-down svg {
    width: 32px;
    height: 32px;
    stroke: var(--gold);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gold);
    color: var(--bg-main);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(201, 164, 77, 0.3);
}

.scroll-to-top:hover {
    background: var(--gold-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(201, 164, 77, 0.4);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
    stroke: var(--bg-main);
    stroke-width: 2.5;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(201, 164, 77, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(15, 31, 26, 0.5) 0%, transparent 50%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A44D' fill-opacity='0.02'%3E%3Cpath d='M30 5c0 0-12 12-12 20s5.4 12 9 12c2.4 0 3-2.4 3-2.4v6h-6v2h12v-2h-6v-6s.6 2.4 3 2.4c3.6 0 9-4 9-12S30 5 30 5z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: rgba(201, 164, 77, 0.1);
    border: 1px solid rgba(201, 164, 77, 0.2);
    color: var(--gold);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero h1 {
    margin-bottom: var(--spacing-lg);
    font-weight: 800;
}

.hero h1 span {
    color: var(--gold);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-2xl);
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.hero-stat-icon {
    width: 20px;
    height: 20px;
    color: var(--success);
    flex-shrink: 0;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px;
}

.hero-visual-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-cards {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.hero-card {
    position: absolute;
    width: 140px;
    height: 196px;
    background: linear-gradient(135deg, var(--card-elevated) 0%, var(--card-bg) 100%);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-card:nth-child(1) {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    z-index: 3;
}

.hero-card:nth-child(2) {
    top: 50%;
    left: 50%;
    transform: translate(-30%, -60%) rotate(5deg);
    z-index: 2;
}

.hero-card:nth-child(3) {
    top: 50%;
    left: 50%;
    transform: translate(-70%, -40%) rotate(-25deg);
    z-index: 1;
}

.hero-card-suit {
    font-size: 3rem;
    color: var(--gold);
}

.hero-card-value {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.hero-chips {
    position: absolute;
    bottom: 20%;
    right: 10%;
    display: flex;
    gap: -10px;
}

.hero-chip {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--card-elevated) 0%, var(--card-bg) 100%);
    border: 3px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--gold);
    font-size: 0.875rem;
    box-shadow: var(--shadow-md);
}

.hero-chip:nth-child(2) {
    margin-left: -15px;
    border-color: var(--bronze);
    color: var(--bronze);
}

.hero-chip:nth-child(3) {
    margin-left: -15px;
    border-color: var(--burgundy);
    color: var(--text-primary);
}

/* ============================================
   CATEGORY HERO - Premium SVG Themes
   ============================================ */

.category-hero {
    position: relative;
    min-height: 400px;
    padding: var(--spacing-3xl) 0;
    overflow: hidden;
}

.category-hero .hero-content {
    max-width: 700px;
}

/* SVG Layers */
.hero-svg-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-svg-bg {
    z-index: 0;
}

.hero-svg-fg {
    z-index: 1;
}

.hero-svg {
    position: absolute;
    color: var(--gold);
}

/* ---- POKER Category SVGs ---- */
.category-hero--poker .hero-svg--spade-lg {
    width: 300px;
    height: 360px;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
}

.category-hero--poker .hero-svg--chip-outline {
    width: 180px;
    height: 180px;
    right: 15%;
    top: 10%;
}

.category-hero--poker .hero-svg--cards-outline {
    width: 200px;
    height: 260px;
    left: -30px;
    bottom: -40px;
    transform: rotate(-10deg);
}

.category-hero--poker .hero-svg--suits {
    width: 400px;
    height: 200px;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
}

.category-hero--poker .hero-svg--chip-solid {
    width: 100px;
    height: 100px;
    right: 8%;
    bottom: 15%;
}

.category-hero--poker .hero-svg--ak-cards {
    width: 150px;
    height: 120px;
    right: 20%;
    top: 20%;
}

/* ---- CASINOS-ONLINE Category SVGs ---- */
.category-hero--casinos-online .hero-svg--roulette-lg {
    width: 350px;
    height: 350px;
    right: -80px;
    top: 50%;
    transform: translateY(-50%);
}

.category-hero--casinos-online .hero-svg--slot-outline {
    width: 140px;
    height: 170px;
    left: 5%;
    bottom: -20px;
}

.category-hero--casinos-online .hero-svg--security-lines {
    width: 300px;
    height: 200px;
    left: 30%;
    top: 20%;
}

.category-hero--casinos-online .hero-svg--roulette-segment {
    width: 120px;
    height: 120px;
    right: 10%;
    top: 15%;
}

.category-hero--casinos-online .hero-svg--shield {
    width: 80px;
    height: 96px;
    right: 25%;
    bottom: 20%;
}

.category-hero--casinos-online .hero-svg--coins {
    width: 100px;
    height: 115px;
    left: 15%;
    top: 20%;
}

/* ---- APPS-MOVILES Category SVGs ---- */
.category-hero--apps-moviles .hero-svg--phone-lg {
    width: 160px;
    height: 300px;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
}

.category-hero--apps-moviles .hero-svg--app-grid {
    width: 200px;
    height: 200px;
    left: 5%;
    bottom: -30px;
}

.category-hero--apps-moviles .hero-svg--waves {
    width: 180px;
    height: 110px;
    right: 20%;
    top: 10%;
}

.category-hero--apps-moviles .hero-svg--touch {
    width: 100px;
    height: 130px;
    left: 20%;
    top: 15%;
}

.category-hero--apps-moviles .hero-svg--phone-poker {
    width: 110px;
    height: 190px;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
}

.category-hero--apps-moviles .hero-svg--swipe {
    width: 120px;
    height: 60px;
    right: 25%;
    bottom: 25%;
}

.category-hero--apps-moviles .hero-svg--app-chip {
    width: 70px;
    height: 70px;
    left: 10%;
    top: 30%;
}

/* Category Hero Responsive */
@media (max-width: 992px) {
    .category-hero {
        min-height: 350px;
    }

    .hero-svg-layer {
        opacity: 0.7;
    }

    .category-hero--poker .hero-svg--spade-lg {
        width: 200px;
        height: 240px;
        right: -30px;
    }

    .category-hero--casinos-online .hero-svg--roulette-lg {
        width: 250px;
        height: 250px;
        right: -60px;
    }

    .category-hero--apps-moviles .hero-svg--phone-lg {
        width: 120px;
        height: 225px;
    }
}

@media (max-width: 768px) {
    .category-hero {
        min-height: 300px;
        padding: var(--spacing-2xl) 0;
    }

    .hero-svg-bg {
        opacity: 0.5;
    }

    .hero-svg-fg {
        opacity: 0.6;
    }

    .category-hero--poker .hero-svg--spade-lg {
        width: 150px;
        height: 180px;
    }

    .category-hero--poker .hero-svg--ak-cards,
    .category-hero--poker .hero-svg--chip-solid {
        display: none;
    }

    .category-hero--casinos-online .hero-svg--roulette-lg {
        width: 180px;
        height: 180px;
    }

    .category-hero--casinos-online .hero-svg--shield,
    .category-hero--casinos-online .hero-svg--coins {
        display: none;
    }

    .category-hero--apps-moviles .hero-svg--phone-lg {
        width: 100px;
        height: 185px;
        right: -10px;
    }

    .category-hero--apps-moviles .hero-svg--swipe,
    .category-hero--apps-moviles .hero-svg--app-chip {
        display: none;
    }
}

/* ============================================
   TOP 10 CASINOS - AUTHORITY RANKING
   ============================================ */

.ranking-section {
    background: var(--bg-secondary);
    padding: var(--spacing-3xl) 0;
    position: relative;
}

.ranking-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.3;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-header h2 {
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
}

.section-subtitle span {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

/* Featured Casino #1 */
.featured-casino {
    background: linear-gradient(135deg, var(--card-elevated) 0%, var(--card-bg) 100%);
    border: 2px solid var(--gold);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-gold);
}

.featured-casino::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-hover), var(--gold));
}

.featured-badge {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-active) 100%);
    color: var(--bg-main);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: var(--spacing-2xl);
    align-items: center;
}

.featured-rank {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    text-shadow: 0 0 30px rgba(201, 164, 77, 0.3);
}

.featured-info {
    flex: 1;
}

.featured-name {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.featured-bonus {
    font-size: 1.25rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.featured-rating {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.rating-stars {
    display: flex;
    gap: 2px;
    color: var(--gold);
}

.rating-value {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.125rem;
}

.featured-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.featured-feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--text-secondary);
    font-size: 0.875rem;
    background: var(--bg-main);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
}

.featured-feature svg {
    color: var(--success);
    width: 16px;
    height: 16px;
}

.featured-cta {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    min-width: 200px;
}

/* Casino Ranking List */
.casino-ranking {
    display: grid;
    gap: var(--spacing-md);
}

.casino-rank-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg) var(--spacing-xl);
    display: grid;
    grid-template-columns: 60px 1fr 200px auto 160px;
    gap: var(--spacing-lg);
    align-items: center;
    transition: all var(--transition-smooth);
}

.casino-rank-card:hover {
    background: var(--card-elevated);
    border-color: var(--card-border-hover);
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.casino-rank-card.top-three {
    border-color: rgba(201, 164, 77, 0.2);
}

.casino-rank-card.top-three:hover {
    border-color: var(--gold);
}

.rank-number {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    text-align: center;
}

.rank-number.silver { color: #A8B4C0; }
.rank-number.bronze { color: var(--bronze); }

.casino-main-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.casino-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.casino-bonus {
    color: var(--gold);
    font-weight: 500;
}

.casino-features-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.casino-feature-tag {
    font-size: 0.75rem;
    color: var(--text-muted);
    background: var(--bg-tertiary);
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-sm);
}

.casino-rating-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
}

.casino-cta-col {
    display: flex;
    justify-content: flex-end;
}

/* ============================================
   CARDS & COMPONENTS
   ============================================ */

.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: all var(--transition-smooth);
}

.card:hover {
    background: var(--card-elevated);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--card-border-hover);
}

.card-title {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.card-title a {
    color: var(--text-primary);
}

.card-title a:hover {
    color: var(--gold);
}

/* ============================================
   CASINO LIST - Category Pages
   ============================================ */

.casino-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.casino-card {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: var(--spacing-lg);
    align-items: center;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg) var(--spacing-xl);
    transition: all var(--transition-normal);
}

.casino-card:hover {
    border-color: var(--card-border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.casino-card:first-child {
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(201, 164, 77, 0.05) 100%);
    border-color: rgba(201, 164, 77, 0.2);
}

.casino-rank {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--gold), var(--bronze));
    color: var(--bg-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    flex-shrink: 0;
}

.casino-card:first-child .casino-rank {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(201, 164, 77, 0.3);
}

.casino-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    min-width: 0;
}

.casino-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
}

.casino-card:first-child .casino-name {
    font-size: 1.25rem;
    color: var(--gold);
}

.casino-bonus {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.casino-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-xs);
}

.casino-feature {
    background: rgba(201, 164, 77, 0.1);
    border: 1px solid rgba(201, 164, 77, 0.15);
    color: var(--gold);
    padding: 0.25rem 0.625rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

.casino-rating {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--gold);
    font-size: 1.125rem;
    font-weight: 600;
    flex-shrink: 0;
}

.casino-rating svg {
    fill: var(--gold);
}

.casino-cta {
    flex-shrink: 0;
}

.casino-cta .btn {
    white-space: nowrap;
}

/* Casino List Responsive */
@media (max-width: 992px) {
    .casino-card {
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        gap: var(--spacing-md);
    }

    .casino-rating {
        grid-column: 1;
        grid-row: 2;
        justify-self: start;
    }

    .casino-cta {
        grid-column: 2;
        grid-row: 2;
        justify-self: end;
    }
}

@media (max-width: 576px) {
    .casino-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: var(--spacing-lg);
    }

    .casino-rank {
        margin: 0 auto;
    }

    .casino-info {
        align-items: center;
    }

    .casino-features {
        justify-content: center;
    }

    .casino-rating {
        grid-column: 1;
        justify-self: center;
    }

    .casino-cta {
        grid-column: 1;
        justify-self: center;
        width: 100%;
    }

    .casino-cta .btn {
        width: 100%;
    }
}

/* ===== SIDEBAR TOP CASINOS ===== */
.top-casinos {
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--bg-tertiary) 100%);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.top-casinos-title {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--bg-primary);
    font-size: 1rem;
    font-weight: 700;
    padding: var(--spacing-md) var(--spacing-lg);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.top-casinos-list {
    padding: var(--spacing-sm);
}

.top-casino-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-fast);
    border: 1px solid transparent;
}

.top-casino-item:hover {
    background: var(--bg-secondary);
    border-color: var(--gold);
    transform: translateX(4px);
}

.top-casino-rank {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.top-casino-item:first-child .top-casino-rank {
    width: 32px;
    height: 32px;
    font-size: 1rem;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}

.top-casino-info {
    flex: 1;
    min-width: 0;
}

.top-casino-name {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9375rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.top-casino-item:hover .top-casino-name {
    color: var(--gold);
}

.top-casino-bonus {
    color: var(--text-muted);
    font-size: 0.8125rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Contact Info Items */
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
}

.contact-info-icon {
    width: 24px;
    height: 24px;
    color: var(--gold);
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 100%;
    height: 100%;
}

.contact-info-label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9375rem;
}

.contact-info-value {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ===== CONTACT HERO - Premium SVG Enhanced ===== */
.contact-hero {
    position: relative;
    min-height: 380px;
    padding: var(--spacing-3xl) 0 var(--spacing-2xl);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.contact-hero-svg-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.contact-hero-svg-bg {
    z-index: 0;
}

.contact-hero-svg-fg {
    z-index: 1;
}

.contact-svg {
    position: absolute;
    color: #C9A44D;
}

/* Background SVGs - Very Subtle (5-8% opacity) */
.contact-svg--grid {
    width: 500px;
    height: 500px;
    left: -100px;
    top: -100px;
    opacity: 0.06;
    transform: rotate(-10deg);
}

.contact-svg--envelope-lg {
    width: 320px;
    height: 260px;
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.07;
}

.contact-svg--lines-left {
    width: 100px;
    height: 200px;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.08;
}

.contact-svg--lines-right {
    width: 100px;
    height: 200px;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.08;
}

.contact-svg--table-edge {
    width: 800px;
    height: 140px;
    left: 50%;
    bottom: -80px;
    transform: translateX(-50%);
    opacity: 0.05;
}

.contact-svg--card-corner-tl {
    width: 50px;
    height: 70px;
    left: 8%;
    top: 20px;
    opacity: 0.06;
    transform: rotate(-15deg);
}

.contact-svg--card-corner-br {
    width: 50px;
    height: 70px;
    right: 8%;
    bottom: 30px;
    opacity: 0.06;
    transform: rotate(15deg);
}

/* Foreground Accent SVGs - Slightly More Visible */
.contact-svg--network {
    width: 180px;
    height: 180px;
    left: 10%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.12;
}

.contact-svg--envelope-accent {
    width: 100px;
    height: 75px;
    right: 12%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.15;
}

/* Contact Hero Content */
.contact-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.contact-hero-title {
    font-size: clamp(2.25rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

.contact-hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-xl);
}

/* Trust Row */
.contact-trust-row {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(201, 164, 77, 0.15);
}

.contact-trust-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.contact-trust-icon {
    width: 20px;
    height: 20px;
    color: var(--gold);
    opacity: 0.8;
}

.contact-trust-icon svg {
    width: 100%;
    height: 100%;
}

/* Responsive - Contact Hero */
@media (max-width: 992px) {
    .contact-svg--network,
    .contact-svg--envelope-accent {
        opacity: 0.08;
    }

    .contact-svg--lines-left,
    .contact-svg--lines-right {
        display: none;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        min-height: 320px;
        padding: var(--spacing-2xl) 0;
    }

    .contact-svg--envelope-lg {
        width: 200px;
        right: -40px;
        opacity: 0.05;
    }

    .contact-svg--network,
    .contact-svg--envelope-accent {
        display: none;
    }

    .contact-trust-row {
        flex-direction: column;
        gap: var(--spacing-md);
        align-items: center;
    }

    .contact-trust-item {
        font-size: 0.875rem;
    }
}

@media (max-width: 576px) {
    .contact-hero {
        min-height: 280px;
    }

    .contact-hero-subtitle br {
        display: none;
    }

    .contact-svg--grid,
    .contact-svg--table-edge,
    .contact-svg--card-corner-tl,
    .contact-svg--card-corner-br {
        display: none;
    }
}

/* Category Cards */
.category-card {
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--bg-tertiary) 100%);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
    text-align: center;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--bronze));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--card-border-hover);
}

.category-card:hover::before {
    opacity: 1;
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--gold);
    fill: none;
}

.category-icon svg[fill="currentColor"] {
    fill: var(--gold);
    stroke: none;
}

.category-title {
    font-size: 1.25rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.category-count {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ============================================
   GRIDS & LAYOUTS
   ============================================ */

.grid {
    display: grid;
    gap: var(--spacing-lg);
}

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

.grid-sidebar {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: var(--spacing-2xl);
}

/* ============================================
   SIDEBAR COMPONENTS
   ============================================ */

.sidebar-card {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--card-bg) 100%);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.sidebar-title {
    font-size: 1.125rem;
    color: var(--gold);
    margin-bottom: var(--spacing-lg);
    text-align: center;
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--card-border);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.sidebar-casino-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.sidebar-casino-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--bg-main);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.sidebar-casino-item:hover {
    background: var(--card-elevated);
    transform: translateX(4px);
}

.sidebar-casino-rank {
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gold);
    min-width: 25px;
}

.sidebar-casino-info {
    flex: 1;
}

.sidebar-casino-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9375rem;
}

.sidebar-casino-bonus {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
    padding: var(--spacing-3xl) 0;
}

.section-title {
    font-size: 2rem;
    margin-bottom: var(--spacing-xl);
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--bronze));
    margin: var(--spacing-md) auto 0;
    border-radius: 2px;
}

/* ============================================
   CAROUSEL
   ============================================ */

.carousel-section {
    background: var(--bg-main);
    padding: var(--spacing-2xl) 0;
    overflow: hidden;
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}

.carousel-row {
    display: flex;
    gap: var(--spacing-md);
    animation: scroll linear infinite;
    width: max-content;
    padding: var(--spacing-sm) 0;
}

.carousel-row:nth-child(1) { animation-duration: 240s; }
.carousel-row:nth-child(2) { animation-duration: 250s; animation-direction: reverse; }
.carousel-row:nth-child(3) { animation-duration: 260s; }

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

.carousel-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 0.625rem 1.25rem;
    white-space: nowrap;
    color: var(--text-secondary);
    font-size: 0.875rem;
    transition: all var(--transition-fast);
}

.carousel-item:hover {
    background: var(--card-elevated);
    color: var(--gold);
    border-color: var(--card-border-hover);
}

.carousel-item:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
    background: var(--card-elevated);
    color: var(--gold);
}

/* Pause animation on hover/focus for accessibility */
.carousel-section:hover .carousel-row,
.carousel-section:focus .carousel-row,
.carousel-section:focus-within .carousel-row {
    animation-play-state: paused;
}

/* Respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
    .carousel-row {
        animation: none;
    }

    .carousel-section {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .carousel-row {
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   TAGS
   ============================================ */

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.tag {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-secondary);
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    transition: all var(--transition-fast);
}

.tag:hover {
    background: var(--card-elevated);
    color: var(--gold);
    border-color: var(--card-border-hover);
}

.tag-sm { font-size: 0.75rem; padding: 0.25rem 0.625rem; }
.tag-lg { font-size: 1rem; padding: 0.5rem 1rem; }

/* ============================================
   ARTICLE CONTENT
   ============================================ */

.article-content {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
}

.article-content h2,
.article-content h3,
.article-content h4 {
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
    font-family: 'Inter', sans-serif;
}

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

.article-content ul,
.article-content ol {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-xl);
    color: var(--text-secondary);
}

.article-content li {
    margin-bottom: var(--spacing-sm);
}

/* ============================================
   TRUST SECTION
   ============================================ */

.trust-section {
    background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-secondary) 100%);
    padding: var(--spacing-2xl) 0;
    border-top: 1px solid var(--card-border);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.trust-item {
    text-align: center;
    padding: var(--spacing-lg);
}

.trust-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--gold);
}

.trust-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
    font-family: 'Inter', sans-serif;
}

.trust-text {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: linear-gradient(180deg, var(--bg-main) 0%, #060709 100%);
    border-top: 1px solid var(--card-border);
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin-top: var(--spacing-md);
    line-height: 1.7;
}

.footer-title {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: var(--spacing-lg);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9375rem;
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 4px;
}

.footer-bottom {
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--card-border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ============================================
   FORMS
   ============================================ */

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
    font-weight: 500;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.875rem var(--spacing-md);
    background: var(--bg-main);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 164, 77, 0.1);
}

/* ============================================
   UTILITIES
   ============================================ */

.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }

/* ============================================
   BREADCRUMBS
   ============================================ */

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.875rem;
    color: var(--text-muted);
    padding: var(--spacing-md) 0;
}

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

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

/* ============================================
   PAGINATION
   ============================================ */

.pagination {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-xl);
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 var(--spacing-md);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.pagination a:hover {
    background: var(--card-elevated);
    color: var(--gold);
    border-color: var(--card-border-hover);
}

.pagination .active {
    background: var(--gold);
    color: var(--bg-main);
    border-color: var(--gold);
}

/* ============================================
   404 PAGE
   ============================================ */

.error-page {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--spacing-3xl);
}

.error-code {
    font-family: 'Playfair Display', serif;
    font-size: 10rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    margin-bottom: var(--spacing-md);
    text-shadow: 0 0 60px rgba(201, 164, 77, 0.3);
}

.error-title {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

.error-text {
    color: var(--text-muted);
    margin-bottom: var(--spacing-xl);
    max-width: 500px;
}

/* ============================================
   ALERTS
   ============================================ */

.alert {
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
}

.alert-success {
    background: rgba(46, 125, 101, 0.15);
    border: 1px solid var(--success);
    color: #4ADE80;
}

.alert-error {
    background: rgba(139, 44, 44, 0.15);
    border: 1px solid var(--error);
    color: #F87171;
}

.alert-info {
    background: rgba(58, 90, 107, 0.15);
    border: 1px solid var(--info);
    color: #60A5FA;
}

/* ============================================
   MOBILE MENU
   ============================================ */

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 28px;
    height: 24px;
    position: relative;
    z-index: 1001;
    margin-left: auto;
}

.burger-line {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    position: absolute;
    left: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.burger-line:nth-child(1) {
    top: 0;
}

.burger-line:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.burger-line:nth-child(3) {
    bottom: 0;
}

/* Burger to X animation */
.mobile-menu-toggle.active .burger-line:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.mobile-menu-toggle.active .burger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.mobile-menu-toggle.active .burger-line:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* Mobile menu overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Body lock when menu is open */
body.menu-open {
    overflow: hidden;
}

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

@media (max-width: 1200px) {
    .hero-split {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }

    .hero-visual {
        display: none;
    }

    .featured-content {
        grid-template-columns: auto 1fr;
        gap: var(--spacing-xl);
    }

    .featured-cta {
        grid-column: 1 / -1;
        flex-direction: row;
        margin-top: var(--spacing-lg);
    }

    .casino-rank-card {
        grid-template-columns: 50px 1fr auto 150px;
        gap: var(--spacing-lg);
    }

    .casino-features-row {
        display: none;
    }

    .casino-cta-col {
        min-width: 140px;
    }
}

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

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

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

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

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .container, .container-wide {
        padding: 0 var(--spacing-md);
    }

    .header-main {
        justify-content: space-between;
    }

    .header-actions {
        display: none;
    }

    .nav-main {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: var(--bg-main);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--spacing-lg);
        z-index: 999;
    }

    .nav-main.active {
        display: flex;
        animation: menuFadeIn 0.3s ease forwards;
    }

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

    .nav-main .nav-link {
        font-size: 1.5rem;
        padding: var(--spacing-md) var(--spacing-xl);
    }

    .nav-main.active .nav-link {
        animation: linkFadeIn 0.3s ease forwards;
    }

    .nav-main.active .nav-link:nth-child(1) { animation-delay: 0.05s; }
    .nav-main.active .nav-link:nth-child(2) { animation-delay: 0.1s; }
    .nav-main.active .nav-link:nth-child(3) { animation-delay: 0.15s; }
    .nav-main.active .nav-link:nth-child(4) { animation-delay: 0.2s; }
    .nav-main.active .nav-link:nth-child(5) { animation-delay: 0.25s; }

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

    .mobile-menu-toggle {
        display: block;
    }

    .trust-badge {
        display: none;
    }

    .hero {
        padding: var(--spacing-2xl) 0;
        min-height: 100vh;
        padding-bottom: 5rem;
    }

    .hero-cta {
        flex-direction: column;
    }

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

    .scroll-down {
        bottom: 1.5rem;
    }

    .scroll-down span {
        font-size: 0.65rem;
    }

    .scroll-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 44px;
        height: 44px;
    }

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

    .featured-rank {
        font-size: 3rem;
    }

    .featured-features {
        justify-content: center;
    }

    .featured-cta {
        flex-direction: column;
    }

    .casino-rank-card {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        text-align: center;
    }

    .rank-number {
        font-size: 1.5rem;
    }

    .casino-rating-col {
        flex-direction: row;
        justify-content: center;
    }

    .casino-cta-col {
        justify-content: center;
    }

    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }

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

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

    .strip-casinos {
        gap: var(--spacing-xs);
    }
}

/* ============================================
   LOADING ANIMATION
   ============================================ */

.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    border: 2px solid var(--gold);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* ============================================
   STICKY SIDEBAR
   ============================================ */
@media (min-width: 1024px) {
    .grid-sidebar > aside {
        position: sticky;
        top: 100px;
        align-self: start;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
    }

    .grid-sidebar > aside::-webkit-scrollbar {
        width: 4px;
    }

    .grid-sidebar > aside::-webkit-scrollbar-track {
        background: transparent;
    }

    .grid-sidebar > aside::-webkit-scrollbar-thumb {
        background: rgba(197, 160, 89, 0.3);
        border-radius: 2px;
    }
}
