/* ========================================
   Tragamonedas en Línea - Neon Casino Theme
   Color Palette:
   - Background Base: #121826 (lighter navy)
   - Card BG: #12121A
   - Border: #1E1E2A
   - Primary Accent: #00E5FF (Cyan)
   - Secondary Accent: #FF2D95 (Magenta)
   - Hover Glow: #7C4DFF (Purple)
   - Text Primary: #EAEAEA
   - Text Secondary: #8B8B9A

   Background System:
   - Layer 1: Base #121826 (lighter than pure black)
   - Layer 2: Radial focus gradient (top-center)
   - Layer 3: Cyan glow (left-upper, 8% opacity)
   - Layer 4: Magenta glow (right-upper, 7% opacity)
   - Layer 5: Purple accent (bottom, 4% opacity)
   ======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    color: #EAEAEA;
    line-height: 1.6;
    font-size: 16px;

    /* === PREMIUM BACKGROUND SYSTEM === */
    /* Layer 1: Base color (lighter than pure black) */
    background-color: #121826;

    /* Layers 2-4: Radial focus + neon accent glows */
    background-image:
        /* Layer 4: Subtle purple accent (bottom center) */
        radial-gradient(
            ellipse 100% 60% at 50% 100%,
            rgba(124, 77, 255, 0.04) 0%,
            transparent 50%
        ),
        /* Layer 3: Magenta glow (right upper) */
        radial-gradient(
            700px 500px at 85% 5%,
            rgba(255, 45, 149, 0.07) 0%,
            transparent 60%
        ),
        /* Layer 2: Cyan glow (left upper) */
        radial-gradient(
            800px 450px at 15% 0%,
            rgba(0, 229, 255, 0.08) 0%,
            transparent 55%
        ),
        /* Layer 1: Radial focus (content highlight at top-center) */
        radial-gradient(
            ellipse 70% 50% at 50% 0%,
            rgba(24, 32, 48, 0.8) 0%,
            #121826 60%
        );

    background-attachment: fixed;
}

a {
    color: #00E5FF;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #7C4DFF;
}

/* Skip to Content - Accessibility */
.skip-to-content {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    padding: 1rem 2rem;
    background: #00E5FF;
    color: #0A0A0F;
    font-weight: 600;
    border-radius: 0 0 8px 8px;
    text-decoration: none;
    opacity: 0;
    transition: all 0.3s ease;
}

.skip-to-content:focus {
    top: 0;
    opacity: 1;
    outline: 2px solid #FF2D95;
    outline-offset: 2px;
}

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

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #EAEAEA;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: #00E5FF;
    color: #0A0A0F;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

.btn-primary:hover {
    background: #7C4DFF;
    color: #EAEAEA;
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(124, 77, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    color: #EAEAEA;
    border: 1px solid #00E5FF;
}

.btn-secondary:hover {
    background: rgba(0, 229, 255, 0.1);
    border-color: #7C4DFF;
    color: #EAEAEA;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
}

.btn-cta {
    background: linear-gradient(135deg, #FF2D95, #FF0080);
    color: #EAEAEA;
    font-weight: 700;
    box-shadow: 0 0 25px rgba(255, 45, 149, 0.4);
}

.btn-cta:hover {
    background: linear-gradient(135deg, #7C4DFF, #6B3FE0);
    transform: translateY(-2px);
    color: #EAEAEA;
    box-shadow: 0 0 35px rgba(124, 77, 255, 0.5);
}

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

.btn-block {
    display: block;
    width: 100%;
}

/* Header */
.header {
    background: rgba(18, 24, 38, 0.92);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 229, 255, 0.08);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    position: relative;
    z-index: 1002;
}

.logo img {
    height: 44px;
    width: auto;
    transition: filter 0.3s ease, transform 0.3s ease;
}

.logo:hover img {
    filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.5)) drop-shadow(0 0 15px rgba(255, 45, 149, 0.3));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-menu a {
    color: #EAEAEA;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00E5FF, #FF2D95);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

.nav-menu a:hover {
    color: #00E5FF;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* ============================================
   Premium Burger Menu - Icon Animation
   ============================================ */
.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 1001;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.mobile-menu-toggle:hover {
    background-color: rgba(0, 229, 255, 0.08);
}

.mobile-menu-toggle:focus {
    outline: none;
}

.mobile-menu-toggle:focus-visible {
    outline: 2px solid #00E5FF;
    outline-offset: 2px;
}

/* Burger Lines Base */
.burger-line {
    display: block;
    position: absolute;
    left: 50%;
    width: 22px;
    height: 2px;
    background: #EAEAEA;
    border-radius: 2px;
    transform: translateX(-50%);
    transition:
        transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1),
        background-color 0.2s ease;
}

.burger-line-top {
    top: 14px;
}

.burger-line-middle {
    top: 21px;
}

.burger-line-bottom {
    top: 28px;
}

/* Burger → X Morph Animation */
.mobile-menu-toggle.active .burger-line {
    background: #00E5FF;
}

.mobile-menu-toggle.active .burger-line-top {
    top: 21px;
    transform: translateX(-50%) rotate(45deg);
}

.mobile-menu-toggle.active .burger-line-middle {
    opacity: 0;
    transform: translateX(-50%) scaleX(0);
}

.mobile-menu-toggle.active .burger-line-bottom {
    top: 21px;
    transform: translateX(-50%) rotate(-45deg);
}

/* Nav Overlay - Backdrop */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 15, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Hero Section */
.hero {
    padding: 6rem 0 7rem;
    background: transparent;
    position: relative;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero > .container {
    width: 100%;
}

/* Diagonal neon gradient background */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(135deg,
            rgba(0, 58, 68, 0.35) 0%,
            rgba(18, 24, 38, 0.9) 35%,
            rgba(18, 24, 38, 0.9) 65%,
            rgba(42, 14, 42, 0.35) 100%
        ),
        radial-gradient(ellipse at 10% 20%, rgba(0, 229, 255, 0.12) 0%, transparent 40%),
        radial-gradient(ellipse at 90% 80%, rgba(255, 45, 149, 0.10) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 100%, rgba(124, 77, 255, 0.06) 0%, transparent 50%);
}

/* Premium grain/noise texture overlay */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}

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

.hero-text h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-text h1 .highlight {
    background: linear-gradient(135deg, #00E5FF, #FF2D95);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(0, 229, 255, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #8B8B9A;
    margin-bottom: 2rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat {
    text-align: center;
    padding: 1rem;
    background: rgba(18, 18, 26, 0.8);
    border-radius: 8px;
    border: 1px solid #1E1E2A;
    transition: all 0.3s ease;
}

.stat:hover {
    border-color: #00E5FF;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.15);
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #00E5FF;
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
}

.stat-label {
    font-size: 0.75rem;
    color: #8B8B9A;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

/* Primary CTA - Neon cyan with strong glow */
.hero-cta .btn-primary {
    background: #00E5FF;
    color: #0A0A0F;
    font-weight: 700;
    padding: 1rem 2rem;
    box-shadow:
        0 0 20px rgba(0, 229, 255, 0.4),
        0 0 40px rgba(0, 229, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: none;
}

.hero-cta .btn-primary:hover {
    background: #7C4DFF;
    color: #EAEAEA;
    transform: translateY(-3px);
    box-shadow:
        0 0 30px rgba(124, 77, 255, 0.5),
        0 0 60px rgba(124, 77, 255, 0.3),
        0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Secondary CTA - Minimal outline style */
.hero-cta .btn-secondary {
    background: transparent;
    color: #8B8B9A;
    border: 1px solid rgba(234, 234, 234, 0.2);
    padding: 1rem 2rem;
    box-shadow: none;
}

.hero-cta .btn-secondary:hover {
    color: #EAEAEA;
    border-color: rgba(234, 234, 234, 0.4);
    background: rgba(234, 234, 234, 0.05);
    box-shadow: none;
    transform: translateY(-2px);
}

/* Trust microcopy */
.hero-trust {
    font-size: 0.85rem;
    color: #8B8B9A;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-trust::before {
    content: '✓';
    color: #00E5FF;
    font-size: 0.75rem;
}

.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-cards {
    display: flex;
    gap: -20px;
    margin-bottom: 2rem;
}

.playing-card {
    width: 80px;
    height: 110px;
    background: linear-gradient(135deg, #1E1E2A, #12121A);
    border: 1px solid #00E5FF;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: #EAEAEA;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 229, 255, 0.2);
    transition: transform 0.3s ease;
}

.playing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 229, 255, 0.4);
}

.card-1 { transform: rotate(-15deg) translateX(10px); z-index: 1; }
.card-2 { transform: rotate(0deg); z-index: 2; }
.card-3 { transform: rotate(15deg) translateX(-10px); z-index: 1; }

.suit.hearts, .suit.diamonds { color: #FF2D95; }
.suit.spades, .suit.clubs { color: #EAEAEA; }

/* Hero Value Card - Trust-Focused Display */
.hero-value-card {
    background: linear-gradient(145deg,
        rgba(18, 24, 38, 0.95) 0%,
        rgba(10, 10, 15, 0.98) 100%
    );
    padding: 1.75rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 229, 255, 0.2);
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.4),
        0 0 50px rgba(0, 229, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    min-width: 260px;
    position: relative;
    overflow: hidden;
}

.hero-value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00E5FF, #FF2D95, #00E5FF);
    opacity: 0.8;
}

.value-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(234, 234, 234, 0.08);
}

.value-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 229, 255, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(0, 229, 255, 0.25);
}

.value-icon svg {
    width: 20px;
    height: 20px;
    color: #00E5FF;
}

.value-title {
    font-size: 1rem;
    font-weight: 600;
    color: #EAEAEA;
    letter-spacing: 0.5px;
}

.value-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.value-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #B0B0BA;
}

.value-check {
    color: #00E5FF;
    font-size: 0.85rem;
    font-weight: 600;
    flex-shrink: 0;
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
}

.value-footer {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(234, 234, 234, 0.08);
    text-align: center;
}

.value-update {
    font-size: 0.7rem;
    font-weight: 500;
    color: #6B6B7A;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: #8B8B9A;
    font-size: 1.1rem;
}

/* Featured Casinos */
/* Featured Casinos Section - Top 3 Podium Layout */
.featured-casinos {
    padding: 4rem 0;
    background: transparent;
}

/* === TOP 3 PODIUM === */
.casinos-podium {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

/* === #1 FEATURED CASINO (HERO CARD) === */
.casino-featured {
    position: relative;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(18, 18, 26, 0.95) 0%, rgba(24, 24, 36, 0.95) 100%);
    border-radius: 20px;
    border: 2px solid transparent;
    background-clip: padding-box;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Neon glow border effect */
.casino-featured::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #00E5FF, #FF2D95, #7C4DFF, #00E5FF);
    border-radius: 22px;
    z-index: -1;
    animation: borderGlow 4s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Ambient glow */
.casino-featured::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(0, 229, 255, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(255, 45, 149, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.featured-badge {
    position: absolute;
    top: 0;
    right: 2rem;
    background: linear-gradient(135deg, #FF2D95, #FF0080);
    padding: 0.5rem 1rem 0.6rem;
    border-radius: 0 0 10px 10px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 4px 20px rgba(255, 45, 149, 0.4);
    z-index: 2;
}

.badge-icon {
    font-size: 0.9rem;
}

.badge-text {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #EAEAEA;
}

.featured-header {
    position: relative;
    z-index: 1;
}

.featured-name {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #EAEAEA;
}

.featured-rating {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.featured-bonus {
    position: relative;
    z-index: 1;
    padding: 1.25rem;
    background: rgba(255, 45, 149, 0.1);
    border: 1px solid rgba(255, 45, 149, 0.25);
    border-radius: 12px;
}

.featured-bonus .bonus-label {
    display: block;
    font-size: 0.75rem;
    color: #8B8B9A;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.35rem;
}

.featured-bonus .bonus-amount {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #FF2D95;
    text-shadow: 0 0 20px rgba(255, 45, 149, 0.5);
}

.featured-features {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.btn-featured {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #00E5FF, #00B8D4);
    color: #0A0A0F;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    border-radius: 12px;
    border: none;
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.btn-featured:hover {
    background: linear-gradient(135deg, #7C4DFF, #6B3FE0);
    color: #EAEAEA;
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(124, 77, 255, 0.5),
                0 10px 30px rgba(0, 0, 0, 0.3);
}

.featured-trust {
    position: relative;
    z-index: 1;
    display: block;
    text-align: center;
    font-size: 0.8rem;
    color: #8B8B9A;
}

.featured-trust::before {
    content: '✓ ';
    color: #00E5FF;
}

/* === #2 & #3 PODIUM CARDS === */
.podium-secondary {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.casino-podium-card {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(18, 18, 26, 0.9);
    border: 1px solid #2A2A3A;
    border-radius: 14px;
    transition: all 0.3s ease;
    flex: 1;
}

.casino-podium-card:hover {
    border-color: #00E5FF;
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.15);
    transform: translateY(-2px);
}

.podium-rank {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #00E5FF, #00B8D4);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    color: #0A0A0F;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
}

.podium-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.podium-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #EAEAEA;
    margin: 0;
}

.podium-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #8B8B9A;
}

.stars-small {
    display: flex;
    gap: 1px;
    font-size: 0.75rem;
}

.podium-bonus {
    margin-top: auto;
}

.podium-bonus .bonus-label {
    font-size: 0.7rem;
    color: #8B8B9A;
}

.podium-bonus .bonus-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #FF2D95;
    text-shadow: 0 0 10px rgba(255, 45, 149, 0.4);
}

.btn-podium {
    margin-top: 0.75rem;
    padding: 0.6rem 1.25rem;
    background: transparent;
    color: #00E5FF;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid #00E5FF;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-podium:hover {
    background: #00E5FF;
    color: #0A0A0F;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

/* === #4-#10 COMPACT LIST === */
.casinos-list-compact {
    border-top: 1px solid #2A2A3A;
    padding-top: 2rem;
}

.list-title {
    font-size: 1rem;
    font-weight: 600;
    color: #8B8B9A;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.casino-list-item {
    display: grid;
    grid-template-columns: 50px 1fr auto auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.25rem;
    background: rgba(18, 18, 26, 0.6);
    border: 1px solid #1E1E2A;
    border-radius: 10px;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.casino-list-item:hover {
    border-color: rgba(0, 229, 255, 0.4);
    background: rgba(18, 18, 26, 0.9);
}

.list-rank {
    width: 36px;
    height: 36px;
    background: #1E1E2A;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: #8B8B9A;
}

.list-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.list-name {
    font-weight: 600;
    color: #EAEAEA;
    font-size: 0.95rem;
}

.list-rating {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
}

.list-rating .star {
    font-size: 0.7rem;
}

.rating-num {
    color: #8B8B9A;
    font-size: 0.75rem;
}

.list-bonus {
    font-size: 0.9rem;
    font-weight: 600;
    color: #FF2D95;
    text-align: right;
}

.btn-list {
    padding: 0.5rem 1rem;
    background: transparent;
    color: #EAEAEA;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #3A3A4A;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-list:hover {
    background: #00E5FF;
    color: #0A0A0F;
    border-color: #00E5FF;
}

/* === SHARED STAR STYLES === */
.stars {
    display: flex;
    gap: 2px;
}

.star {
    color: #2A2A3A;
}

.star.filled {
    color: #00E5FF;
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
}

.star.half {
    background: linear-gradient(90deg, #00E5FF 50%, #2A2A3A 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rating-value {
    font-size: 0.875rem;
    color: #8B8B9A;
}

/* === FEATURE TAGS === */
.feature-tag {
    padding: 0.3rem 0.75rem;
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 20px;
    font-size: 0.75rem;
    color: #BBBBC5;
    transition: all 0.3s ease;
}

.casino-featured .feature-tag:hover {
    background: rgba(0, 229, 255, 0.15);
    border-color: rgba(0, 229, 255, 0.4);
}

/* Categories Section */
.categories-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, transparent 0%, rgba(18, 24, 38, 0.5) 100%);
}

/* Premium Categories Grid */
.categories-grid-premium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Premium Category Card */
.category-card-premium {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.5rem 2rem 2rem;
    background: linear-gradient(145deg, rgba(18, 24, 38, 0.95) 0%, rgba(10, 10, 15, 0.98) 100%);
    border-radius: 20px;
    text-align: center;
    color: #EAEAEA;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(234, 234, 234, 0.08);
}

/* Gradient border effect */
.category-card-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    background: linear-gradient(135deg,
        rgba(0, 229, 255, 0.3) 0%,
        rgba(255, 45, 149, 0.2) 50%,
        rgba(0, 229, 255, 0.3) 100%
    );
    border-radius: 20px;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
    transition: opacity 0.4s ease;
}

/* Glow background on hover */
.category-card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(0, 229, 255, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

/* Hover effects - only on devices with hover support */
@media (hover: hover) {
    .category-card-premium:hover {
        transform: translateY(-8px);
        border-color: rgba(0, 229, 255, 0.3);
        box-shadow:
            0 20px 50px rgba(0, 0, 0, 0.4),
            0 0 60px rgba(0, 229, 255, 0.15),
            0 0 100px rgba(255, 45, 149, 0.08);
        color: #EAEAEA;
    }

    .category-card-premium:hover::before {
        opacity: 1;
        background: linear-gradient(135deg,
            rgba(0, 229, 255, 0.6) 0%,
            rgba(255, 45, 149, 0.4) 50%,
            rgba(0, 229, 255, 0.6) 100%
        );
    }

    .category-card-premium:hover .category-card-glow {
        opacity: 1;
    }
}

/* Active state for mobile tap */
.category-card-premium:active {
    transform: scale(0.98);
    border-color: rgba(0, 229, 255, 0.4);
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.35),
        0 0 30px rgba(0, 229, 255, 0.2);
    transition-duration: 0.1s;
}

.category-card-premium:active::before {
    opacity: 0.9;
    background: linear-gradient(135deg,
        rgba(0, 229, 255, 0.7) 0%,
        rgba(255, 45, 149, 0.5) 50%,
        rgba(0, 229, 255, 0.7) 100%
    );
}

.category-card-premium:active .category-card-glow {
    opacity: 0.7;
}

.category-card-premium:active .category-title {
    color: #00E5FF;
}

.category-card-premium:active .category-reveal-line {
    width: 100%;
    opacity: 1;
}

/* Illustration container */
.category-illustration {
    width: 140px;
    height: 140px;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease;
}

.category-illustration svg {
    width: 100%;
    height: 100%;
}

@media (hover: hover) {
    .category-card-premium:hover .category-illustration {
        transform: scale(1.08);
    }
}

/* Category content */
.category-content {
    position: relative;
    z-index: 1;
    flex: 1;
}

.category-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* Title underline animation */
.category-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00E5FF, #FF2D95);
    transform: translateX(-50%);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1px;
}

@media (hover: hover) {
    .category-card-premium:hover .category-title {
        color: #00E5FF;
        text-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
    }

    .category-card-premium:hover .category-title::after {
        width: 80%;
    }
}

.category-meta {
    font-size: 0.875rem;
    color: #8B8B9A;
    transition: color 0.3s ease;
}

@media (hover: hover) {
    .category-card-premium:hover .category-meta {
        color: #B0B0BA;
    }
}

/* Reveal line - bottom progress indicator */
.category-reveal-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        #00E5FF 20%,
        #FF2D95 50%,
        #00E5FF 80%,
        transparent 100%
    );
    transform: translateX(-50%);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 3px 3px 0 0;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.5);
    opacity: 0;
}

@media (hover: hover) {
    .category-card-premium:hover .category-reveal-line {
        width: 100%;
        opacity: 1;
    }
}

/* Focus state for accessibility */
.category-card-premium:focus {
    outline: none;
}

.category-card-premium:focus-visible {
    outline: 2px solid #00E5FF;
    outline-offset: 4px;
    transform: translateY(-4px);
}

.category-card-premium:focus-visible::before {
    opacity: 0.8;
}

.category-card-premium:focus-visible .category-reveal-line {
    width: 60%;
    opacity: 1;
}


/* Legacy category card (keeping for backward compatibility) */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background: #12121A;
    border-radius: 12px;
    border: 1px solid #1E1E2A;
    text-align: center;
    color: #EAEAEA;
    transition: all 0.3s ease;
}

.category-card:hover {
    border-color: #00E5FF;
    transform: translateY(-5px);
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.15);
    color: #EAEAEA;
}

.category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00E5FF, #00B8D4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.3);
}

.category-icon svg {
    width: 30px;
    height: 30px;
    color: #0A0A0F;
}

.category-name {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.category-count {
    font-size: 0.875rem;
    color: #8B8B9A;
}

/* Keywords Carousel */
.keywords-carousel {
    padding: 3rem 0;
    background: rgba(18, 24, 38, 0.4);
    overflow: hidden;
}

.carousel-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-track {
    display: flex;
    gap: 1rem;
    animation: scroll-left 240s linear infinite;
    width: max-content;
}

.carousel-track.reverse {
    animation: scroll-right 250s linear infinite;
}

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

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

.carousel-item {
    padding: 0.75rem 1.5rem;
    background: #1E1E2A;
    border-radius: 30px;
    color: #EAEAEA;
    font-size: 0.9rem;
    white-space: nowrap;
    border: 1px solid #2A2A3A;
    transition: all 0.3s ease;
}

.carousel-item:hover {
    border-color: #00E5FF;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
}

a.carousel-item {
    text-decoration: none;
    cursor: pointer;
}

a.carousel-item:hover {
    color: #00E5FF;
    transform: scale(1.05);
}

/* Pause carousel on hover for accessibility (WCAG 2.2.2) */
.carousel-wrapper:hover .carousel-track,
.carousel-wrapper:focus-within .carousel-track {
    animation-play-state: paused;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .carousel-track,
    .carousel-track.reverse {
        animation: none;
    }
}

/* Tags Section */
.tags-section {
    padding: 3rem 0;
    background: transparent;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #12121A;
    border: 1px solid #1E1E2A;
    border-radius: 25px;
    color: #EAEAEA;
    transition: all 0.3s ease;
}

.tag:hover {
    background: #00E5FF;
    border-color: #00E5FF;
    color: #0A0A0F;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

.tag-count {
    font-size: 0.75rem;
    padding: 0.1rem 0.4rem;
    background: rgba(0, 229, 255, 0.2);
    border-radius: 10px;
}

.tag:hover .tag-count {
    background: rgba(10, 10, 15, 0.3);
}

/* About Section */
.about-section {
    padding: 4rem 0;
    background: transparent;
}

.about-content h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.about-text {
    max-width: 900px;
    margin: 0 auto;
    column-count: 1;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #BBBBC5;
    line-height: 1.8;
}

/* Newsletter Section */
.newsletter-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(24, 32, 48, 0.6) 0%, rgba(18, 24, 38, 0.4) 100%);
}

.newsletter-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 3rem;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.1), rgba(255, 45, 149, 0.1));
    border: 1px solid #1E1E2A;
    border-radius: 16px;
    gap: 2rem;
}

.newsletter-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #EAEAEA;
}

.newsletter-content p {
    color: #8B8B9A;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
}

.newsletter-form input {
    padding: 0.75rem 1.5rem;
    border: 1px solid #1E1E2A;
    border-radius: 8px;
    font-size: 1rem;
    min-width: 280px;
    background: #12121A;
    color: #EAEAEA;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #00E5FF;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

.newsletter-form button {
    background: #FF2D95;
    color: #EAEAEA;
}

.newsletter-form button:hover {
    background: #7C4DFF;
    box-shadow: 0 0 20px rgba(124, 77, 255, 0.4);
}

/* Trust Section */
.trust-section {
    padding: 4rem 0;
    background: rgba(18, 24, 38, 0.5);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.trust-item {
    text-align: center;
    padding: 2rem;
}

.trust-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00E5FF, #00B8D4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.3);
}

.trust-icon svg {
    width: 28px;
    height: 28px;
    color: #0A0A0F;
}

.trust-item h4 {
    margin-bottom: 0.5rem;
}

.trust-item p {
    color: #8B8B9A;
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, rgba(18, 24, 38, 0.8) 0%, rgba(12, 16, 24, 0.95) 100%);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(0, 229, 255, 0.1);
}

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

.footer-logo img {
    margin-bottom: 1rem;
}

.footer-description {
    color: #8B8B9A;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: #EAEAEA;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #8B8B9A;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #00E5FF;
}

.responsible-gaming {
    color: #8B8B9A;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.trust-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.badge {
    padding: 0.35rem 0.75rem;
    background: #1E1E2A;
    border-radius: 4px;
    font-size: 0.75rem;
    color: #BBBBC5;
    border: 1px solid #2A2A3A;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #1E1E2A;
    text-align: center;
}

.footer-legal p {
    color: #6B6B7A;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.disclaimer {
    font-size: 0.8rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 1rem 0;
    background: #12121A;
    border-bottom: 1px solid #1E1E2A;
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb-list li::after {
    content: '/';
    margin-left: 0.5rem;
    color: #6B6B7A;
}

.breadcrumb-list li:last-child::after {
    display: none;
}

.breadcrumb-list a {
    color: #8B8B9A;
}

.breadcrumb-list a:hover {
    color: #00E5FF;
}

.breadcrumb-list .current {
    color: #EAEAEA;
}

/* Page Header */
.page-header {
    padding: 3rem 0;
    background: linear-gradient(180deg, rgba(24, 32, 48, 0.5) 0%, transparent 100%);
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    color: #8B8B9A;
    font-size: 1.1rem;
}

/* ============================================
   Subcategories / Themes Section - Unified Layout
   ============================================ */
.subcategories-section {
    padding: 4rem 0;
    background: transparent;
}

/* Themes Grid - Unified Equal Cards */
.themes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Theme Card - All Cards Identical */
.theme-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.75rem;
    background: linear-gradient(145deg,
        rgba(18, 24, 38, 0.95) 0%,
        rgba(10, 10, 15, 0.98) 100%
    );
    border-radius: 16px;
    border: 1px solid rgba(0, 229, 255, 0.15);
    color: #EAEAEA;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 180px;
}

/* Gradient Border Effect */
.theme-card::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1.5px;
    background: linear-gradient(135deg,
        rgba(0, 229, 255, 0.3) 0%,
        rgba(255, 45, 149, 0.2) 50%,
        rgba(0, 229, 255, 0.3) 100%
    );
    border-radius: 16px;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.4;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

/* Inner Glow Effect */
.theme-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%,
        rgba(0, 229, 255, 0.06) 0%,
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

/* Hover State - Applies to ALL Cards */
.theme-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 229, 255, 0.35);
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.4),
        0 0 50px rgba(0, 229, 255, 0.12);
}

.theme-card:hover::before {
    opacity: 0.9;
}

.theme-card:hover .theme-card-glow {
    opacity: 1;
}

/* Focus State for Accessibility */
.theme-card:focus {
    outline: none;
    border-color: rgba(0, 229, 255, 0.5);
    box-shadow:
        0 0 0 3px rgba(0, 229, 255, 0.2),
        0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Theme Badge - Base Styles */
.theme-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    z-index: 2;
}

.theme-badge svg {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
}

/* Popular Badge - Magenta Gradient */
.theme-badge-popular {
    background: linear-gradient(135deg, #FF2D95, #FF0080);
    box-shadow: 0 3px 12px rgba(255, 45, 149, 0.45);
}

/* Próximamente Badge - Purple/Cyan (NOT greyed out) */
.theme-badge-soon {
    background: linear-gradient(135deg, #7C4DFF, #6366F1);
    box-shadow: 0 3px 12px rgba(124, 77, 255, 0.4);
}

/* Theme Icon Container */
.theme-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    background: rgba(0, 229, 255, 0.08);
    border-radius: 14px;
    border: 1px solid rgba(0, 229, 255, 0.2);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.theme-icon svg {
    width: 36px;
    height: 36px;
    transition: all 0.3s ease;
}

/* Icon Hover Effect */
.theme-card:hover .theme-icon {
    background: rgba(0, 229, 255, 0.15);
    border-color: rgba(0, 229, 255, 0.4);
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.25);
    transform: scale(1.05);
}

.theme-card:hover .theme-icon svg {
    filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.5));
}

/* Theme Content */
.theme-content {
    flex: 1;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.theme-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    line-height: 1.35;
    color: #EAEAEA;
    transition: color 0.3s ease;
}

.theme-card:hover .theme-title {
    color: #00E5FF;
}

.theme-meta {
    font-size: 0.8rem;
    color: #8B8B9A;
    margin-top: auto;
}

/* Hover Line at Bottom */
.theme-hover-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        #00E5FF 30%,
        #FF2D95 70%,
        transparent 100%
    );
    transform: translateX(-50%);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.theme-card:hover .theme-hover-line {
    width: 80%;
}

/* Active/Pressed State for Touch */
.theme-card:active {
    transform: translateY(-2px);
    transition-duration: 0.1s;
}

/* Legacy support (keeping for backward compatibility) */
.subcategory-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: #12121A;
    border: 1px solid #1E1E2A;
    border-radius: 10px;
    color: #EAEAEA;
    transition: all 0.3s ease;
}

.subcategory-card:hover {
    border-color: #00E5FF;
    background: #1E1E2A;
    color: #EAEAEA;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.15);
}

.subcategory-name {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.article-count {
    font-size: 0.8rem;
    color: #8B8B9A;
}

.card-arrow {
    font-size: 1.25rem;
    color: #00E5FF;
}

/* Top Casinos Bar - Premium Grid Layout */
.top-casinos-bar {
    padding: 2.5rem 0;
    background: linear-gradient(180deg, #12121A 0%, #0F0F16 100%);
    border-top: 1px solid rgba(0, 229, 255, 0.1);
    border-bottom: 1px solid rgba(0, 229, 255, 0.1);
}

.section-title-small {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: #8B8B9A;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.casinos-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.casino-mini-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(10, 10, 15, 0.8);
    border-radius: 12px;
    border: 1px solid #1E1E2A;
    transition: all 0.3s ease;
}

.casino-mini-card:hover {
    border-color: #00E5FF;
    background: rgba(10, 10, 15, 1);
    box-shadow:
        0 0 20px rgba(0, 229, 255, 0.15),
        inset 0 0 20px rgba(0, 229, 255, 0.02);
    transform: translateY(-2px);
}

.casino-mini-card .casino-name {
    font-weight: 600;
    color: #EAEAEA;
    font-size: 0.95rem;
}

.casino-bonus-mini {
    color: #FF2D95;
    font-size: 0.8rem;
    font-weight: 500;
    text-shadow: 0 0 10px rgba(255, 45, 149, 0.3);
    flex-shrink: 0;
}

.casino-mini-card .btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    background: #00E5FF;
    color: #0A0A0F;
    font-weight: 600;
    border-radius: 6px;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
    flex-shrink: 0;
}

.casino-mini-card .btn-sm:hover {
    background: #7C4DFF;
    color: #EAEAEA;
    box-shadow: 0 0 20px rgba(124, 77, 255, 0.4);
}

/* ============================================
   Category Casinos Section - Premium Layout
   ============================================ */
.category-casinos-section {
    padding: 4rem 0;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(18, 24, 38, 0.6) 50%,
        transparent 100%
    );
}

.category-casinos-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

/* Featured Casino Card */
.cat-casino-featured {
    position: relative;
    padding: 2rem;
    background: linear-gradient(145deg,
        rgba(18, 24, 38, 0.95) 0%,
        rgba(10, 10, 15, 0.98) 100%
    );
    border-radius: 20px;
    border: 1px solid rgba(0, 229, 255, 0.15);
    overflow: hidden;
    transition: all 0.4s ease;
}

.cat-casino-featured::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    background: linear-gradient(135deg,
        rgba(0, 229, 255, 0.4) 0%,
        rgba(255, 45, 149, 0.3) 50%,
        rgba(124, 77, 255, 0.4) 100%
    );
    border-radius: 20px;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: borderPulse 3s ease-in-out infinite;
}

@keyframes borderPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.featured-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%,
        rgba(0, 229, 255, 0.08) 0%,
        transparent 50%
    );
    pointer-events: none;
}

.cat-casino-featured:hover {
    transform: translateY(-4px);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(0, 229, 255, 0.12);
}

/* Featured Badge */
.featured-badge-cat {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    background: linear-gradient(135deg, #FF2D95, #FF0080);
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 45, 149, 0.4);
}

.featured-badge-cat svg {
    width: 12px;
    height: 12px;
}

/* Featured Header */
.featured-header-cat {
    margin-bottom: 1.5rem;
    padding-right: 100px;
}

.featured-name-cat {
    font-size: 1.5rem;
    font-weight: 700;
    color: #EAEAEA;
    margin-bottom: 0.5rem;
}

.featured-rating-cat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.featured-rating-cat .rating-stars {
    display: flex;
    gap: 2px;
}

.featured-rating-cat .rating-stars svg {
    width: 16px;
    height: 16px;
}

.featured-rating-cat .rating-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #00E5FF;
}

/* Featured Bonus */
.featured-bonus-cat {
    padding: 1.25rem;
    background: linear-gradient(135deg,
        rgba(255, 45, 149, 0.12) 0%,
        rgba(255, 0, 128, 0.08) 100%
    );
    border-radius: 12px;
    border: 1px solid rgba(255, 45, 149, 0.2);
    margin-bottom: 1.5rem;
    text-align: center;
}

.featured-bonus-cat .bonus-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #8B8B9A;
    margin-bottom: 0.5rem;
}

.featured-bonus-cat .bonus-value-cat {
    display: block;
    font-size: 1.35rem;
    font-weight: 700;
    color: #FF2D95;
    text-shadow: 0 0 20px rgba(255, 45, 149, 0.4);
}

/* Featured Perks */
.featured-perks-cat {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.featured-perks-cat li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: #B0B0BA;
}

.featured-perks-cat li svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Featured CTA */
.btn-featured-cat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #00E5FF 0%, #00B8D4 100%);
    border-radius: 12px;
    color: #0A0A0F;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.35);
    transition: all 0.3s ease;
}

.btn-featured-cat svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn-featured-cat:hover {
    background: linear-gradient(135deg, #7C4DFF 0%, #6B3FE8 100%);
    color: #EAEAEA;
    box-shadow: 0 6px 25px rgba(124, 77, 255, 0.45);
    transform: translateY(-2px);
}

.btn-featured-cat:hover svg {
    transform: translateX(4px);
}

/* Supporting Casinos Grid */
.cat-casinos-supporting {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cat-casino-card {
    display: grid;
    grid-template-columns: 40px 1fr auto auto;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: rgba(18, 24, 38, 0.6);
    border-radius: 14px;
    border: 1px solid rgba(234, 234, 234, 0.08);
    transition: all 0.3s ease;
}

.cat-casino-card:hover {
    background: rgba(18, 24, 38, 0.9);
    border-color: rgba(0, 229, 255, 0.25);
    transform: translateX(4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Card Rank */
.cat-casino-card .card-rank {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.25);
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #00E5FF;
}

/* Card Info */
.cat-casino-card .card-info {
    min-width: 0;
}

.cat-casino-card .card-name {
    font-size: 1rem;
    font-weight: 600;
    color: #EAEAEA;
    margin: 0 0 0.25rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cat-casino-card .card-rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: #8B8B9A;
}

.cat-casino-card .card-rating svg {
    width: 12px;
    height: 12px;
}

/* Card Bonus */
.cat-casino-card .card-bonus {
    font-size: 0.8rem;
    font-weight: 500;
    color: #FF2D95;
    text-align: right;
    padding: 0.4rem 0.75rem;
    background: rgba(255, 45, 149, 0.08);
    border-radius: 6px;
    white-space: nowrap;
}

/* Card CTA */
.btn-card-cat {
    padding: 0.6rem 1.25rem;
    background: transparent;
    border: 1px solid rgba(0, 229, 255, 0.4);
    border-radius: 8px;
    color: #00E5FF;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-card-cat:hover {
    background: #00E5FF;
    color: #0A0A0F;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

/* Filter Bar */
.filter-bar {
    padding: 1rem 0;
    background: #12121A;
    border-bottom: 1px solid #1E1E2A;
}

.filter-options {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.filter-label {
    color: #8B8B9A;
}

.filter-btn {
    padding: 0.5rem 1rem;
    background: #1E1E2A;
    border-radius: 6px;
    color: #BBBBC5;
    font-size: 0.9rem;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: #00E5FF;
    color: #0A0A0F;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
}

/* Articles Grid */
.articles-section {
    padding: 3rem 0;
    background: transparent;
}

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

.article-card {
    display: block;
    background: #12121A;
    border: 1px solid #1E1E2A;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    color: #EAEAEA;
}

.article-card:hover {
    border-color: #00E5FF;
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.15);
    color: #EAEAEA;
}

.article-card-content {
    padding: 1.5rem;
}

.article-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    margin-bottom: 1rem;
}

.category-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #1E1E2A;
    border-radius: 20px;
    font-size: 0.75rem;
    color: #BBBBC5;
}

.read-more {
    color: #00E5FF;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.page-link {
    padding: 0.5rem 1rem;
    background: #12121A;
    border: 1px solid #1E1E2A;
    border-radius: 6px;
    color: #EAEAEA;
    transition: all 0.3s ease;
}

.page-link:hover {
    background: #1E1E2A;
    border-color: #00E5FF;
    color: #EAEAEA;
}

.page-link.current {
    background: #00E5FF;
    border-color: #00E5FF;
    color: #0A0A0F;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
}

.page-numbers {
    display: flex;
    gap: 0.5rem;
}

.page-ellipsis {
    padding: 0.5rem;
    color: #6B6B7A;
}

/* Related Section */
.related-section {
    padding: 3rem 0;
    background: #12121A;
}

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

.related-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: #0A0A0F;
    border-radius: 8px;
    color: #EAEAEA;
    border: 1px solid #1E1E2A;
    transition: all 0.3s ease;
    position: relative;
}

.related-card:hover {
    border-color: #00E5FF;
    color: #EAEAEA;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

.related-card h4 {
    margin: 0;
    font-size: 0.95rem;
    padding-right: 2rem;
}

.related-card .related-meta {
    font-size: 0.8rem;
    color: #8A8A9A;
}

.related-card .related-meta:empty::before {
    content: "0 artículos";
}

.related-card .arrow {
    color: #00E5FF;
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
}

/* No Articles */
.no-articles {
    text-align: center;
    padding: 4rem 2rem;
    background: #12121A;
    border-radius: 12px;
}

.no-articles p {
    margin-bottom: 1.5rem;
    color: #8B8B9A;
}

/* Article Page */
.article-page {
    padding: 2rem 0;
    background: transparent;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
}

.article-main {
    min-width: 0;
}

.article-header {
    margin-bottom: 2rem;
}

.article-header h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.category-badge {
    padding: 0.25rem 0.75rem;
    background: #00E5FF;
    border-radius: 20px;
    font-size: 0.75rem;
    color: #0A0A0F;
}

.reading-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #8B8B9A;
    font-size: 0.9rem;
}

.reading-time svg {
    width: 16px;
    height: 16px;
}

/* Casino Cards Section */
.casino-cards-section {
    margin-bottom: 3rem;
}

.casino-cards-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.casino-cards-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.casino-card-horizontal {
    display: grid;
    grid-template-columns: 40px 1fr 1fr 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.5rem;
    background: #12121A;
    border-radius: 10px;
    border: 1px solid #1E1E2A;
    transition: all 0.3s ease;
}

.casino-card-horizontal:hover {
    border-color: #00E5FF;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.15);
}

.casino-rank-badge {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #00E5FF, #00B8D4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #0A0A0F;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
}

.casino-details h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.casino-rating-inline {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
}

.casino-rating-inline .star {
    font-size: 0.7rem;
}

.casino-bonus-inline .bonus-text {
    font-size: 0.85rem;
    color: #FF2D95;
    text-shadow: 0 0 10px rgba(255, 45, 149, 0.4);
}

.casino-features-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.feature-badge {
    padding: 0.2rem 0.5rem;
    background: #1E1E2A;
    border-radius: 15px;
    font-size: 0.65rem;
    color: #BBBBC5;
}

/* Table of Contents */
.table-of-contents {
    background: #12121A;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid #1E1E2A;
}

.table-of-contents h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #00E5FF;
}

.table-of-contents ul {
    list-style: none;
}

.table-of-contents li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #1E1E2A;
}

.table-of-contents li:last-child {
    border-bottom: none;
}

.table-of-contents a {
    color: #BBBBC5;
    font-size: 0.9rem;
}

.table-of-contents a:hover {
    color: #00E5FF;
}

.table-of-contents .toc-sub {
    padding-left: 1.5rem;
}

/* Article Content */
.article-content {
    background: #12121A;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid #1E1E2A;
}

.article-content h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #1E1E2A;
    color: #EAEAEA;
}

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

.article-content h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #EAEAEA;
}

.article-content p {
    margin-bottom: 1rem;
    color: #BBBBC5;
    line-height: 1.8;
}

.article-content ul, .article-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    color: #BBBBC5;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content a {
    color: #00E5FF;
    text-decoration: underline;
}

.article-content a:hover {
    color: #7C4DFF;
}

/* Pros and Cons */
.pros-cons-section {
    margin-bottom: 2rem;
}

.pros-cons-section h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.pros, .cons {
    padding: 1.5rem;
    border-radius: 10px;
}

.pros {
    background: rgba(0, 229, 255, 0.05);
    border: 1px solid rgba(0, 229, 255, 0.2);
}

.cons {
    background: rgba(255, 45, 149, 0.05);
    border: 1px solid rgba(255, 45, 149, 0.2);
}

.pros h3, .cons h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.pros h3 { color: #00E5FF; }
.cons h3 { color: #FF2D95; }

.pros ul, .cons ul {
    list-style: none;
}

.pros li, .cons li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #BBBBC5;
    font-size: 0.9rem;
}

.pros li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00E5FF;
}

.cons li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #FF2D95;
}

/* Article Tags Section */
.article-tags-section {
    margin-bottom: 2rem;
}

.article-tags-section h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #8B8B9A;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Author Section */
.author-section {
    margin-bottom: 2rem;
}

.author-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #12121A;
    border-radius: 10px;
    border: 1px solid #1E1E2A;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00E5FF, #7C4DFF);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-avatar svg {
    color: #0A0A0F;
}

.author-info h4 {
    margin-bottom: 0.25rem;
}

.author-info p {
    color: #8B8B9A;
    font-size: 0.9rem;
}

.author-bio {
    margin-top: 0.5rem;
    font-size: 0.85rem !important;
}

/* Sidebar */
.article-sidebar {
    position: sticky;
    top: 80px;
    height: fit-content;
}

.sidebar-widget {
    background: #12121A;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #1E1E2A;
}

.sidebar-widget h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #8B8B9A;
}

.featured-casino-box {
    text-align: center;
}

.featured-casino-box h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.featured-casino-box .stars {
    justify-content: center;
    margin-bottom: 0.75rem;
}

.featured-casino-box .bonus {
    color: #FF2D95;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(255, 45, 149, 0.4);
}

.rating-widget .rating-display {
    text-align: center;
}

.rating-number {
    font-size: 3rem;
    font-weight: 700;
    color: #00E5FF;
    line-height: 1;
    text-shadow: 0 0 30px rgba(0, 229, 255, 0.5);
}

.rating-stars {
    display: flex;
    justify-content: center;
    gap: 2px;
    margin: 0.5rem 0;
}

.rating-label {
    color: #8B8B9A;
    font-size: 0.9rem;
}

.related-list {
    list-style: none;
}

.related-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #1E1E2A;
}

.related-list li:last-child {
    border-bottom: none;
}

.related-list a {
    color: #BBBBC5;
    font-size: 0.9rem;
    line-height: 1.4;
}

.related-list a:hover {
    color: #00E5FF;
}

.tags-compact {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-small {
    padding: 0.25rem 0.5rem;
    background: #1E1E2A;
    border-radius: 4px;
    font-size: 0.75rem;
    color: #BBBBC5;
    transition: all 0.3s ease;
}

.tag-small:hover {
    background: #00E5FF;
    color: #0A0A0F;
}

/* Tag Page */
.tag-header .tag-label {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #00E5FF;
    border-radius: 20px;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    color: #0A0A0F;
}

.tag-description {
    padding: 2rem 0;
    background: #12121A;
}

.description-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.description-box p {
    color: #BBBBC5;
    line-height: 1.8;
}

.related-tags-section {
    padding: 3rem 0;
    background: transparent;
}

.all-tags-cta {
    padding: 3rem 0;
    background: rgba(24, 32, 48, 0.4);
}

.cta-box {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.cta-box h3 {
    margin-bottom: 0.5rem;
}

.cta-box p {
    color: #8B8B9A;
    margin-bottom: 1.5rem;
}

/* === SCROLL TO TOP BUTTON === */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00E5FF, #00B8D4);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow:
        0 4px 15px rgba(0, 229, 255, 0.4),
        0 0 30px rgba(0, 229, 255, 0.2);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
    color: #0A0A0F;
    transition: transform 0.3s ease;
}

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

/* Hover only on devices that support it */
@media (hover: hover) {
    .scroll-to-top:hover {
        background: linear-gradient(135deg, #7C4DFF, #6B3FE0);
        transform: translateY(-3px);
        box-shadow:
            0 6px 20px rgba(124, 77, 255, 0.5),
            0 0 40px rgba(124, 77, 255, 0.3);
    }

    .scroll-to-top:hover svg {
        transform: translateY(-2px);
        color: #EAEAEA;
    }
}

/* Active state for mobile tap */
.scroll-to-top:active {
    background: linear-gradient(135deg, #7C4DFF, #6B3FE0);
    transform: scale(0.95);
    box-shadow: 0 4px 15px rgba(124, 77, 255, 0.4);
}

.scroll-to-top:active svg {
    color: #EAEAEA;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .hero {
        min-height: 70vh;
        padding: 4rem 0 5rem;
    }

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

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

    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
        margin-bottom: 2rem;
    }

    .hero-cards {
        display: none;
    }

    .hero-value-card {
        min-width: auto;
        width: 100%;
        max-width: 320px;
    }

    /* Premium Categories - Tablet */
    .categories-grid-premium {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .category-illustration {
        width: 120px;
        height: 120px;
    }

    /* Themes Grid - Tablet */
    .themes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .theme-card {
        padding: 1.5rem;
        min-height: 165px;
    }

    .theme-icon {
        width: 52px;
        height: 52px;
    }

    .theme-icon svg {
        width: 32px;
        height: 32px;
    }

    /* Category Casinos - Tablet */
    .category-casinos-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cat-casino-featured {
        padding: 1.75rem;
    }

    .cat-casinos-supporting {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .cat-casino-card {
        grid-template-columns: 36px 1fr;
        grid-template-rows: auto auto;
        gap: 0.75rem 1rem;
    }

    .cat-casino-card .card-rank {
        grid-row: span 2;
    }

    .cat-casino-card .card-bonus {
        grid-column: 2;
        justify-self: start;
    }

    .cat-casino-card .btn-card-cat {
        display: none;
    }

    /* Casino Podium - Tablet */
    .casinos-podium {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .casino-featured {
        padding: 1.75rem;
    }

    .featured-name {
        font-size: 1.5rem;
    }

    .podium-secondary {
        flex-direction: row;
        gap: 1rem;
    }

    .casino-podium-card {
        flex: 1;
    }

    .casino-list-item {
        grid-template-columns: 40px 1fr auto;
    }

    .list-bonus {
        display: none;
    }

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

    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }

    .newsletter-form input {
        min-width: auto;
        width: 100%;
    }

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

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

    .article-sidebar {
        position: static;
    }

    .casino-card-horizontal {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .casino-rank-badge {
        margin: 0 auto;
    }

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

    .pros-cons-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Fix background-attachment: fixed performance issue on mobile */
    body {
        background-attachment: scroll;
    }

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

    /* Premium Mobile Menu - Slide + Fade Animation */
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: linear-gradient(180deg,
            rgba(10, 10, 15, 0.98) 0%,
            rgba(18, 24, 38, 0.98) 100%
        );
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 5rem 1.5rem 2rem;
        gap: 0;
        z-index: 999;
        border-bottom: 1px solid rgba(0, 229, 255, 0.15);
        box-shadow:
            0 10px 40px rgba(0, 0, 0, 0.5),
            0 0 60px rgba(0, 229, 255, 0.05);

        /* Initial hidden state */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition:
            opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
            transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
            visibility 0.3s;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* Staggered menu item animation */
    .nav-menu li {
        border-bottom: 1px solid rgba(234, 234, 234, 0.06);
        opacity: 0;
        transform: translateY(-8px);
        transition:
            opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1),
            transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateY(0);
    }

    /* Stagger delays for each item */
    .nav-menu.active li:nth-child(1) { transition-delay: 0.05s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.08s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.11s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.14s; }
    .nav-menu.active li:nth-child(5) { transition-delay: 0.17s; }
    .nav-menu.active li:nth-child(6) { transition-delay: 0.20s; }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: 1.1rem 0.5rem;
        font-size: 1.05rem;
        font-weight: 500;
        position: relative;
    }

    .nav-menu a::after {
        bottom: 0.5rem;
        height: 2px;
        left: 0.5rem;
    }

    /* Overlay visible on mobile */
    .nav-overlay {
        display: block;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition:
            opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
            visibility 0.3s;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

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

    .stat {
        padding: 0.75rem 0.5rem;
    }

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

    .section-header h2 {
        font-size: 1.5rem;
    }

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

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

    /* Premium Categories - Mobile */
    .categories-grid-premium {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .category-card-premium {
        padding: 2rem 1.5rem 1.5rem;
    }

    .category-illustration {
        width: 110px;
        height: 110px;
        margin-bottom: 1.25rem;
    }

    .category-title {
        font-size: 1.1rem;
    }

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

    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }

    .article-content {
        padding: 1.5rem;
    }

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

    .author-avatar {
        margin: 0 auto;
    }

    /* Casino mini-cards grid - tablet */
    .casinos-bar {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }

    .casino-mini-card {
        padding: 0.875rem 1rem;
    }
}

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

    /* === MOBILE HERO - CONVERSION OPTIMIZED === */
    .hero {
        padding: 1.5rem 0 2rem;
        min-height: auto;
    }

    .hero-content {
        gap: 1.25rem;
    }

    /* Value Card - Mobile First */
    .hero-visual {
        order: -1;
        margin-bottom: 0;
        width: 100%;
    }

    .hero-value-card {
        padding: 1.25rem 1.25rem;
        border-radius: 14px;
        max-width: none;
    }

    .value-card-header {
        margin-bottom: 1rem;
        padding-bottom: 0.75rem;
    }

    .value-icon {
        width: 32px;
        height: 32px;
    }

    .value-icon svg {
        width: 18px;
        height: 18px;
    }

    .value-title {
        font-size: 0.9rem;
    }

    .value-list {
        gap: 0.7rem;
    }

    .value-list li {
        font-size: 0.875rem;
    }

    .value-footer {
        margin-top: 1rem;
        padding-top: 0.75rem;
    }

    .value-update {
        font-size: 0.65rem;
    }

    /* Headline - Compact */
    .hero-text {
        text-align: center;
    }

    .hero-text h1 {
        font-size: 1.35rem;
        line-height: 1.3;
        margin-bottom: 0.75rem;
    }

    .hero-subtitle {
        display: none; /* Hide on mobile to reduce scroll */
    }

    /* Stats - Compact 2x2 Grid */
    .hero-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    .stat {
        padding: 0.6rem 0.5rem;
        background: rgba(18, 24, 38, 0.6);
        border: 1px solid rgba(30, 30, 42, 0.8);
        border-radius: 8px;
    }

    .stat-number {
        font-size: 1.1rem;
        margin-bottom: 0;
    }

    .stat-label {
        font-size: 0.65rem;
        line-height: 1.2;
    }

    /* CTA - Thumb Zone Optimized */
    .hero-cta {
        flex-direction: column;
        gap: 0.6rem;
        margin-bottom: 0.75rem;
    }

    .hero-cta .btn-primary {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        border-radius: 10px;
        /* Larger tap target */
        min-height: 52px;
    }

    .hero-cta .btn-secondary {
        width: 100%;
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
        min-height: 44px;
    }

    /* Trust Badge - Compact */
    .hero-trust {
        text-align: center;
        font-size: 0.75rem;
        padding: 0.5rem 0;
        margin: 0;
    }

    /* Hide playing cards on mobile */
    .hero-cards {
        display: none;
    }

    /* Premium Categories - Compact Mobile */
    .categories-section {
        padding: 3rem 0;
    }

    .categories-grid-premium {
        gap: 1rem;
    }

    .category-card-premium {
        padding: 1.5rem 1.25rem 1.25rem;
        border-radius: 16px;
    }

    .category-illustration {
        width: 100px;
        height: 100px;
        margin-bottom: 1rem;
    }

    .category-title {
        font-size: 1rem;
    }

    .category-meta {
        font-size: 0.8rem;
        margin-bottom: 0;
    }

    .category-reveal-line {
        height: 4px;
    }

    /* Themes Grid - Mobile */
    .subcategories-section {
        padding: 2.5rem 0;
    }

    .themes-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .theme-card {
        padding: 1.25rem;
        min-height: 150px;
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }

    .theme-card-glow {
        background: radial-gradient(circle at 0% 50%,
            rgba(0, 229, 255, 0.06) 0%,
            transparent 50%
        );
    }

    .theme-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .theme-icon svg {
        width: 28px;
        height: 28px;
    }

    .theme-content {
        flex: 1;
        min-width: 0;
    }

    .theme-title {
        font-size: 1rem;
        margin-bottom: 0.35rem;
    }

    .theme-meta {
        font-size: 0.75rem;
    }

    .theme-badge {
        top: 0.75rem;
        right: 0.75rem;
        padding: 0.25rem 0.5rem;
        font-size: 0.6rem;
    }

    .theme-badge svg {
        width: 8px;
        height: 8px;
    }

    .theme-hover-line {
        display: none;
    }

    /* Mobile tap state */
    .theme-card:hover {
        transform: translateX(4px);
    }

    .theme-card:active {
        transform: translateX(2px) scale(0.98);
    }

    /* Casino Podium - Mobile */
    .casino-featured {
        padding: 1.5rem;
    }

    .featured-badge {
        right: 1rem;
        padding: 0.4rem 0.75rem;
    }

    .badge-text {
        font-size: 0.65rem;
    }

    .featured-name {
        font-size: 1.25rem;
        padding-right: 3rem;
    }

    .featured-bonus {
        padding: 1rem;
    }

    .featured-bonus .bonus-amount {
        font-size: 1.25rem;
    }

    .btn-featured {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .podium-secondary {
        flex-direction: column;
    }

    .casino-podium-card {
        padding: 1rem;
    }

    .podium-rank {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }

    .podium-name {
        font-size: 1rem;
    }

    .casino-list-item {
        grid-template-columns: 36px 1fr auto;
        padding: 0.875rem 1rem;
        gap: 0.75rem;
    }

    .list-rank {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }

    .list-name {
        font-size: 0.85rem;
    }

    .btn-list {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
    }

    .filter-options {
        flex-wrap: wrap;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    /* Category Casinos - Mobile */
    .category-casinos-section {
        padding: 2.5rem 0;
    }

    .cat-casino-featured {
        padding: 1.5rem;
    }

    .featured-badge-cat {
        position: static;
        display: inline-flex;
        margin-bottom: 1rem;
    }

    .featured-header-cat {
        padding-right: 0;
        margin-bottom: 1.25rem;
    }

    .featured-name-cat {
        font-size: 1.25rem;
    }

    .featured-bonus-cat {
        padding: 1rem;
        margin-bottom: 1.25rem;
    }

    .featured-bonus-cat .bonus-value-cat {
        font-size: 1.15rem;
    }

    .featured-perks-cat {
        margin-bottom: 1.25rem;
    }

    .featured-perks-cat li {
        font-size: 0.85rem;
    }

    .btn-featured-cat {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }

    .cat-casinos-supporting {
        grid-template-columns: 1fr;
    }

    .cat-casino-card {
        padding: 1rem 1.25rem;
        grid-template-columns: 32px 1fr auto;
        gap: 0.75rem;
    }

    .cat-casino-card .card-rank {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
        grid-row: auto;
    }

    .cat-casino-card .card-name {
        font-size: 0.9rem;
    }

    .cat-casino-card .card-bonus {
        font-size: 0.75rem;
        padding: 0.3rem 0.5rem;
    }

    .cat-casino-card .btn-card-cat {
        display: inline-flex;
        padding: 0.5rem 0.875rem;
        font-size: 0.75rem;
    }

    /* Casino mini-cards grid - mobile */
    .casinos-bar {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .casino-mini-card {
        padding: 0.75rem 1rem;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
        text-align: center;
    }

    .casino-mini-card .casino-name {
        width: 100%;
        font-size: 0.9rem;
    }

    .top-casinos-bar {
        padding: 1.5rem 0;
    }

    /* Scroll to Top - Mobile */
    .scroll-to-top {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 44px;
        height: 44px;
    }

    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    }
}
