:root {
    --bg-primary: #0d0d12;
    --bg-secondary: #141419;
    --bg-card: #1a1a22;
    --bg-elevated: #22222d;
    --neon-green: #00ff88;
    --neon-green-dim: rgba(0, 255, 136, 0.15);
    --neon-purple: #a855f7;
    --neon-purple-dim: rgba(168, 85, 247, 0.15);
    --neon-cyan: #22d3ee;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --accent-red: #ff4757;
    --accent-yellow: #fbbf24;
    --border-color: rgba(255, 255, 255, 0.08);
    --glow-green: 0 0 20px rgba(0, 255, 136, 0.3);
    --glow-purple: 0 0 20px rgba(168, 85, 247, 0.3);
    --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

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

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

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

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(rgba(0, 255, 136, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 136, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

header {
    background: rgba(13, 13, 18, 0.95);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

nav {
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    min-height: 56px;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--neon-green) !important;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: var(--glow-green);
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 100;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
}

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

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--neon-green);
    box-shadow: var(--glow-green);
    transition: all 0.3s ease;
    pointer-events: none;
}

.nav-menu {
    list-style: none;
    display: none;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(13, 13, 18, 0.98);
    border-bottom: 1px solid var(--border-color);
    z-index: 99;
}

.nav-menu.active {
    display: flex;
}

.nav-menu li {
    margin: 0;
    padding: 0;
}

.nav-menu li::before {
    display: none;
}

.nav-menu li a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

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

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

.nav-menu li a:hover,
.nav-menu li a:active {
    color: var(--neon-green);
}

h1 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 1.5rem 1.25rem;
    line-height: 1.25;
    text-transform: none;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

h2 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 2rem 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    line-height: 1.3;
}

h2::before {
    content: '';
    width: 4px;
    height: 1.25rem;
    background: linear-gradient(180deg, var(--neon-green), var(--neon-purple));
    border-radius: 2px;
    flex-shrink: 0;
}

h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--neon-cyan);
    margin: 1.5rem 0 0.75rem;
}

h4 {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--neon-green);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.75rem;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    font-size: 1rem;
    line-height: 1.7;
}

a {
    color: var(--neon-green);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--neon-cyan);
}

strong, b {
    color: var(--text-primary);
    font-weight: 600;
}

article {
    padding: 1.5rem 1.25rem 3rem;
    position: relative;
    z-index: 1;
}

section {
    margin-bottom: 2rem;
}

ul, ol {
    margin: 1rem 0 1.5rem 0;
    padding: 0;
    color: var(--text-secondary);
    list-style: none;
}

li {
    margin-bottom: 0.6rem;
    padding-left: 1.5rem;
    position: relative;
}

li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--neon-green);
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

ol {
    counter-reset: list-counter;
}

ol li {
    counter-increment: list-counter;
}

ol li::before {
    content: counter(list-counter) '.';
    color: var(--neon-green);
    font-family: var(--font-mono);
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FILTER BAR - COLLAPSIBLE ON MOBILE
   ═══════════════════════════════════════════════════════════════════════════ */
h1 + div {
    margin: 0 1.25rem 1rem;
    background: var(--bg-card);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 10;
    overflow: hidden;
}

h1 + div label:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1rem;
    margin: 0;
    color: var(--neon-green);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border-color);
}

h1 + div label:first-child::after {
    content: '▼';
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}

h1 + div.filter-open label:first-child::after {
    transform: rotate(180deg);
}

h1 + div select,
h1 + div button {
    display: none;
}

h1 + div.filter-open select,
h1 + div.filter-open button {
    display: block;
}

h1 + div select {
    margin: 0.5rem 1rem;
    width: calc(100% - 2rem);
    min-height: 44px;
    font-size: 0.9rem;
    padding: 0.75rem 2.5rem 0.75rem 0.875rem;
}

h1 + div button {
    margin: 0.5rem 1rem 1rem;
    width: calc(100% - 2rem);
    min-height: 44px;
    font-size: 0.85rem;
    padding: 0.75rem 1rem;
}

select {
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 0.875rem 2.5rem 0.875rem 1rem;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background: var(--bg-elevated);
    color: var(--text-primary);
    width: 100%;
    min-height: 48px;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2300ff88' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    cursor: pointer;
    transition: all 0.2s ease;
}

select:focus {
    border-color: var(--neon-green);
    outline: none;
    box-shadow: var(--glow-green);
}

button:not(.menu-toggle) {
    font-family: var(--font-body);
    font-size: 0.9rem;
    padding: 0.875rem 1.25rem;
    border-radius: 6px;
    border: 2px solid var(--neon-green);
    background: transparent;
    color: var(--neon-green);
    min-height: 48px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    transition: all 0.2s ease;
}

h1 + div button:first-of-type {
    background: var(--neon-green);
    color: var(--bg-primary);
}

h1 + div button:last-of-type {
    border-color: var(--text-muted);
    color: var(--text-muted);
}

button:not(.menu-toggle):hover {
    transform: translateY(-1px);
}

button:not(.menu-toggle):active {
    transform: scale(0.98);
}

#resultCount {
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    margin: 0 1.25rem 1rem;
    position: relative;
    z-index: 1;
}

.sort-controls {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin: 0 1.25rem 1.25rem;
    position: relative;
    z-index: 1;
}

.sort-controls label {
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.sort-controls select {
    flex: 1;
    min-height: 42px;
    font-size: 0.85rem;
    padding: 0.625rem 2rem 0.625rem 0.75rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CASINO LIST
   ═══════════════════════════════════════════════════════════════════════════ */
.casino-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0 1.25rem 2rem;
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CASINO CARD - PREMIUM DESIGN
   Visual hierarchy: Name → CTA → Key Stats → Details
   CTA is ALWAYS above the fold
   ═══════════════════════════════════════════════════════════════════════════ */
.casino-card {
    background: linear-gradient(165deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Gradient top accent bar */
.casino-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-green), var(--neon-cyan), var(--neon-purple));
}

.casino-card:hover {
    border-color: var(--neon-green);
    box-shadow: 
        0 0 0 1px rgba(0, 255, 136, 0.1),
        0 20px 40px -15px rgba(0, 0, 0, 0.5),
        0 0 30px -10px rgba(0, 255, 136, 0.2);
    transform: translateY(-3px);
}

/* ─── BADGE: Floating corner tag ─── */
.card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, var(--neon-purple), #8b5cf6);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.4rem 0.7rem;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.4);
    z-index: 5;
}

/* ─── HEADER ZONE: Name + Rating ─── */
.card-name {
    padding: 1.25rem 1.25rem 0.5rem;
}

.card-name a {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    line-height: 1.2;
    display: block;
    padding-right: 80px; /* space for badge */
}

.card-name a:hover {
    color: var(--neon-green);
}

/* Rating - inline with name area */
.card-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0 1.25rem 0.75rem;
    border: none;
}

.card-rating .label { display: none; }

.card-rating::before {
    content: '★';
    font-size: 1rem;
    color: var(--accent-yellow);
}

.card-rating {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-yellow);
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
}

/* ─── CTA ZONE: Big, bold, unmissable ─── */
.card-cta {
    display: block;
    margin: 1rem 1rem 0;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--neon-green) 0%, #00cc6a 100%);
    color: var(--bg-primary) !important;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    text-decoration: none !important;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 
        0 4px 15px rgba(0, 255, 136, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.card-cta::after {
    content: '→';
    margin-left: 0.5rem;
    display: inline-block;
    transition: transform 0.2s ease;
}

.card-cta:hover {
    transform: scale(1.02);
    box-shadow: 
        0 6px 25px rgba(0, 255, 136, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.card-cta:hover::after {
    transform: translateX(4px);
}

.card-cta:active {
    transform: scale(0.98);
}

/* ─── STATS ROW: Bonus + Spins side by side ─── */
.card-bonus,
.card-spins {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background: var(--bg-elevated);
    border: none;
    margin: 1rem 0.5rem 0 0;
    border-radius: 10px;
    flex: 1;
}

.card-bonus {
    margin-left: 1rem;
}

.card-spins {
    margin-right: 1rem;
}

.card-bonus .label,
.card-spins .label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.35rem;
}

.card-bonus {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neon-green);
    text-shadow: 0 0 25px rgba(0, 255, 136, 0.3);
}

.card-spins {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--neon-cyan);
}

/* ─── DETAILS: Minimal, scannable ─── */
.card-license,
.card-wagering,
.card-games,
.card-established,
.card-deposit {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.55rem 1.25rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.card-license {
    margin-top: 1rem;
}

.card-license .label,
.card-wagering .label,
.card-games .label,
.card-established .label,
.card-deposit .label {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ─── REVIEW LINK: Subtle secondary action ─── */
.card-review {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.25rem;
    color: var(--text-muted) !important;
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    margin-top: 0.5rem;
}

.card-review::before {
    content: '📖';
    font-size: 0.9rem;
}

.card-review:hover {
    color: var(--neon-purple) !important;
    background: var(--neon-purple-dim);
}

/* ═══════════════════════════════════════════════════════════════════════════
   CARD LAYOUT - CSS Grid for element reordering
   Order: Name → Rating → Bonus/Spins → CTA → Details → Review
   ═══════════════════════════════════════════════════════════════════════════ */
.casino-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "name     name"
        "rating   rating"
        "bonus    spins"
        "cta      cta"
        "license  license"
        "wagering wagering"
        "games    games"
        "established established"
        "deposit  deposit"
        "review   review"
        "actions  actions";
}

.card-badge { 
    position: absolute;
    z-index: 10;
}

.card-name { 
    grid-area: name; 
}

.card-rating { 
    grid-area: rating;
}

.card-cta { 
    grid-area: cta;
}

.card-bonus { 
    grid-area: bonus;
}

.card-spins { 
    grid-area: spins;
}

.card-license { grid-area: license; }
.card-wagering { grid-area: wagering; }
.card-games { grid-area: games; }
.card-established { grid-area: established; }
.card-deposit { grid-area: deposit; }
.card-review { grid-area: review; }

#viewAllBtn {
    display: block;
    width: calc(100% - 2.5rem);
    margin: 0 1.25rem 2rem;
    padding: 1rem;
    background: var(--bg-card);
    color: var(--neon-cyan) !important;
    border: 2px solid var(--neon-cyan);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

#viewAllBtn:hover {
    background: rgba(34, 211, 238, 0.1);
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.3);
}

table,
#casinoTable {
    width: calc(100% - 2.5rem);
    margin: 0 1.25rem 2rem;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    font-size: 0.8rem;
    position: relative;
    z-index: 1;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

thead {
    background: var(--bg-elevated);
}

th {
    padding: 0.75rem 0.6rem;
    text-align: left;
    font-weight: 600;
    color: var(--neon-green);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: var(--font-mono);
    border-bottom: 2px solid var(--neon-green);
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease;
}

th:hover {
    background: var(--neon-green-dim);
}

th a {
    color: var(--neon-green);
}

td {
    padding: 0.75rem 0.6rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.85rem;
    white-space: normal;
    min-width: 120px;
}

tr:hover td {
    background: var(--neon-green-dim);
}

tr:last-child td {
    border-bottom: none;
}

tbody {
    display: table-row-group;
}

.data-section {
    background: var(--bg-secondary);
    padding: 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}

.data-section > .container {
    position: relative;
}

.data-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-green), var(--neon-purple), var(--neon-cyan));
}

.container {
    padding: 1.5rem 1.25rem;
}

/* Reset h1 + div styles for review page intro sections */
.intro-text,
.quick-facts {
    display: block;
    margin: 0 0 1.5rem 0;
    padding: 1rem 1.25rem;
    background: var(--bg-card);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    overflow: visible;
}

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

.intro-text a {
    color: var(--neon-green);
    font-weight: 600;
}

.quick-facts h2 {
    margin: 0 0 1rem 0;
    font-size: 1.25rem;
}

.quick-facts ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.quick-facts li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.quick-facts li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--neon-green);
}

.data-section h1 {
    margin: 0 0 0.75rem 0;
    font-size: 2rem;
}

.rating-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.rating-stars {
    color: var(--accent-yellow);
    font-size: 1.25rem;
    letter-spacing: 0.1em;
}

.rating-number {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--neon-green), var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-button {
    display: block;
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--neon-green);
    color: var(--bg-primary) !important;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    text-decoration: none !important;
    border-radius: 6px;
    min-height: 52px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: var(--glow-green);
    animation: pulse 2s infinite;
    margin-bottom: 1.5rem;
}

@keyframes pulse {
    0%, 100% { box-shadow: var(--glow-green); }
    50% { box-shadow: 0 0 30px rgba(0, 255, 136, 0.5); }
}

.cta-button:hover {
    transform: translateY(-2px);
}

.cta-button:active {
    transform: scale(0.98);
    animation: none;
}

.data-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.data-card {
    background: var(--bg-card);
    border-radius: 10px;
    padding: 1.25rem;
    border: 1px solid var(--border-color);
    transition: border-color 0.2s ease;
}

.data-card:hover {
    border-color: var(--neon-purple);
}

.data-card h3 {
    color: var(--neon-purple);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--border-color);
}

.data-table {
    display: flex;
    flex-direction: column;
}

.data-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.data-row:last-child {
    border-bottom: none;
}

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

.data-value {
    color: var(--text-primary);
    font-weight: 500;
    font-family: var(--font-mono);
    text-align: right;
}

.data-value a {
    color: var(--neon-green);
}

.payment-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.payment-box {
    background: var(--bg-card);
    border-radius: 10px;
    padding: 1.25rem;
    border: 1px solid var(--border-color);
}

.payment-box h3 {
    color: var(--neon-cyan);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 1rem;
}

.payment-box ul {
    margin: 0;
}

.limit-info {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.85rem;
    font-family: var(--font-mono);
}

.pros-cons-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.pros-box,
.cons-box {
    background: var(--bg-card);
    border-radius: 10px;
    padding: 1.25rem;
    border: 1px solid var(--border-color);
    position: relative;
}

.pros-box::before,
.cons-box::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 10px 0 0 10px;
}

.pros-box::before {
    background: var(--neon-green);
    box-shadow: var(--glow-green);
}

.cons-box::before {
    background: var(--accent-red);
    box-shadow: 0 0 20px rgba(255, 71, 87, 0.3);
}

.pros-box h3 {
    color: var(--neon-green) !important;
    margin-top: 0;
}

.cons-box h3 {
    color: var(--accent-red) !important;
    margin-top: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   METHODOLOGY BOX - How we rate casinos (usually inside .container)
   ═══════════════════════════════════════════════════════════════════════════ */
.methodology-box {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--neon-cyan);
}

.methodology-box h4 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    color: var(--neon-cyan);
}

.methodology-box p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.methodology-box a {
    color: var(--neon-cyan);
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CREDENTIALS BOX - Homepage stats/credentials (outside container)
   ═══════════════════════════════════════════════════════════════════════════ */
.credentials-box {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin: 0 1.25rem 1.5rem;
    border: 1px solid var(--border-color);
}

.credentials-box ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
    justify-content: center;
}

.credentials-box li {
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

.credentials-box li::before {
    display: none;
}

.credentials-box strong {
    color: var(--neon-green);
    font-family: var(--font-mono);
    font-size: 1rem;
}

.credentials-box a {
    color: var(--neon-cyan);
}

/* ═══════════════════════════════════════════════════════════════════════════
   TRUST BOX - Why trust us (outside container, needs own alignment)
   ═══════════════════════════════════════════════════════════════════════════ */
.trust-box {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.05) 0%, rgba(34, 211, 238, 0.05) 100%);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin: 2rem 1.25rem;
    border: 1px solid var(--neon-green);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.1);
}

.trust-box h4 {
    margin: 0 0 1rem;
    font-size: 1.1rem;
    color: var(--neon-green);
}

.trust-box ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.trust-box li {
    padding: 0.4rem 0;
    padding-left: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.trust-box li::before {
    display: none;
}

.trust-box a {
    color: var(--neon-green);
}

/* ═══════════════════════════════════════════════════════════════════════════
   DISCLOSURE BOX - Affiliate disclosure (outside container, needs own alignment)
   ═══════════════════════════════════════════════════════════════════════════ */
.disclosure-box {
    background: var(--bg-elevated);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin: 2rem 1.25rem;
    border: 1px solid var(--border-color);
}

.disclosure-box p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.disclosure-box strong {
    color: var(--text-secondary);
}

.disclosure-box a {
    color: var(--neon-purple);
}

/* ═══════════════════════════════════════════════════════════════════════════
   GUIDE ARCHIVE - Guide listing page
   ═══════════════════════════════════════════════════════════════════════════ */
.guide-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.guide-card {
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    transition: all 0.2s ease;
}

.guide-card:hover {
    border-color: var(--neon-green);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.1);
}

.guide-card h2 {
    font-size: 1.25rem;
    margin: 0 0 0.75rem;
    color: var(--text-primary);
}

.guide-card h2 a {
    color: inherit;
    text-decoration: none;
}

.guide-card h2 a:hover {
    color: var(--neon-green);
}

.guide-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.guide-topics {
    background: var(--bg-elevated);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
}

.guide-topics p {
    margin: 0 0 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.guide-topics ul {
    margin: 0;
    padding-left: 1.25rem;
    list-style: disc;
}

.guide-topics li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 0.25rem 0;
    padding-left: 0;
}

.guide-topics li::before {
    display: none;
}

.guide-topics li::marker {
    color: var(--neon-purple);
}

.guide-card > a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--neon-green);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: gap 0.2s ease;
}

.guide-card > a:hover {
    gap: 0.75rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CASINO ARCHIVE - Casino listing page (if different from main index)
   ═══════════════════════════════════════════════════════════════════════════ */
.casino-archive-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.casino-archive-card {
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    padding: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s ease;
}

.casino-archive-card:hover {
    border-color: var(--neon-green);
}

.casino-archive-card h2 {
    font-size: 1.1rem;
    margin: 0;
}

.casino-archive-card a {
    color: var(--neon-green);
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CASINO ARCHIVE - /kasiino/ page with .casino-header structure
   ═══════════════════════════════════════════════════════════════════════════ */
.casino-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.casino-header h2 {
    font-size: 1.25rem;
    margin: 0;
    color: var(--text-primary);
}

.casino-header .rating {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-yellow);
    background: var(--bg-elevated);
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
}

.casino-header .rating::before {
    content: '★ ';
}

.casino-details {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.casino-details span {
    color: var(--text-secondary);
}

.casino-bonus {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    background: var(--bg-elevated);
    border-radius: 8px;
    border-left: 3px solid var(--neon-green);
}

.casino-bonus strong {
    color: var(--neon-green);
}

.casino-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--neon-green);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: gap 0.2s ease;
}

.casino-link:hover {
    gap: 0.75rem;
}

/* Make archive .casino-card simpler (block layout, not grid) */
article .casino-list .casino-card {
    display: block;
    padding: 1.25rem 1.5rem;
}

article .casino-list .casino-card::before {
    display: none;
}

.faq-container {
    margin: 1.5rem 0;
}

.faq-item {
    background: var(--bg-card);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: border-color 0.2s ease;
}

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

.faq-question {
    padding: 1rem 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 56px;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: var(--neon-purple-dim);
}

.faq-question span {
    color: var(--neon-purple);
    font-family: var(--font-mono);
    flex-shrink: 0;
    margin-left: 1rem;
    transition: transform 0.2s ease;
}

.faq-answer {
    padding: 0 1.25rem 1rem;
    color: var(--text-secondary);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question span {
    transform: rotate(180deg);
}

.conclusion-box {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 1.5rem;
    border: 2px solid var(--neon-purple);
    margin: 2rem 0;
    position: relative;
    box-shadow: var(--glow-purple);
}

.conclusion-box::before {
    content: '// VERDICT';
    position: absolute;
    top: -12px;
    left: 16px;
    background: var(--bg-card);
    padding: 0 10px;
    color: var(--neon-purple);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.conclusion-box h2 {
    margin-top: 0;
}

.conclusion-box h2::before {
    display: none;
}

.conclusion-box p:last-child {
    margin-bottom: 0;
}

footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
    margin-top: 2rem;
}

.footer-links {
    padding: 2rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-col {
    flex: 1;
}

.footer-col h4 {
    color: var(--neon-green);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.footer-col h4::before {
    content: '// ';
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    padding: 0.6rem 0;
    min-height: 44px;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--neon-green);
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col li {
    padding: 0;
    margin: 0;
}

.footer-col li::before {
    display: none;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 1.25rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin: 0;
    font-family: var(--font-mono);
}

/* Footer Responsible Gambling Row */
.footer-rg {
    border-top: 1px solid var(--border-color);
    padding: 2rem 1.25rem;
}

.footer-rg h4 {
    color: var(--neon-green);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.footer-rg h4::before {
    content: '// ';
}

.footer-rg-links {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.footer-rg-links a {
    display: block;
    color: var(--text-muted);
    padding: 0.6rem 0;
    min-height: 44px;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-rg-links a:hover {
    color: var(--neon-green);
}

/* ═══════════════════════════════════════════════════════════════════════════
   TABLET & DESKTOP (768px+)
   ═══════════════════════════════════════════════════════════════════════════ */
@media (min-width: 768px) {
    nav {
        max-width: 1200px;
        margin: 0 auto;
        padding: 1rem 2rem;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .menu-toggle {
        display: none;
    }

    .nav-menu {
        display: flex;
        flex-direction: row;
        gap: 2rem;
        width: auto;
        position: static;
        background: transparent;
        border-bottom: none;
    }

    .nav-menu li a {
        padding: 0.5rem 1rem;
        border-bottom: none;
        border-radius: 4px;
        position: relative;
    }

    .nav-menu li a::before {
        content: '';
        position: absolute;
        inset: 0;
        border: 1px solid transparent;
        border-radius: 4px;
        transition: all 0.3s ease;
    }

    .nav-menu li a:hover::before {
        border-color: var(--neon-green);
        box-shadow: var(--glow-green);
    }

    h1 {
        font-size: 2.25rem;
        max-width: 1000px;
        margin: 2rem auto;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.15rem;
    }

    article {
        max-width: 900px;
        margin: 0 auto;
        padding: 2rem;
    }

    /* Filter bar - horizontal on desktop, fits one line */
    h1 + div {
        max-width: 1000px;
        margin: 0 auto 1.5rem;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        gap: 0.75rem;
        padding: 1rem 1.25rem;
        overflow: visible;
    }

    h1 + div label:first-child {
        padding: 0;
        margin: 0;
        background: transparent;
        border: none;
        cursor: default;
        flex-shrink: 0;
    }

    h1 + div label:first-child::after {
        display: none;
    }

    h1 + div select,
    h1 + div button {
        display: block;
        margin: 0;
        width: auto;
        flex: 1;
        min-width: 100px;
    }

    h1 + div select {
        min-height: 42px;
        font-size: 0.85rem;
        padding: 0.625rem 2rem 0.625rem 0.75rem;
    }

    h1 + div button {
        min-height: 42px;
        flex: 0;
        min-width: auto;
        padding: 0.625rem 1rem;
        white-space: nowrap;
    }

    #resultCount {
        max-width: 1000px;
        margin: 0 auto 1rem;
        padding: 0 2rem;
    }

    .sort-controls {
        max-width: 1000px;
        margin: 0 auto 1.5rem;
        padding: 0 2rem;
    }

    .sort-controls select {
        flex: 0;
        min-width: 220px;
    }

    /* Casino list - same width as filter bar */
    .casino-list {
        max-width: 1000px;
        margin: 0 auto 2rem;
        padding: 0;
    }

    /* ═══════════════════════════════════════════════════════════════════
       DESKTOP CARD - TWO COLUMN LAYOUT
       Left: Name, Rating, Details list
       Right: Badge, Review link, Bonus/Spins boxes, CTA
       ═══════════════════════════════════════════════════════════════════ */
    .casino-card {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto auto auto;
        padding: 0;
        gap: 0;
    }

    /* ─── LEFT COLUMN ─── */
    .card-name {
        grid-column: 1;
        grid-row: 1;
        padding: 1.75rem 1.75rem 0.5rem;
        display: block;
    }

    .card-name::before {
        display: none;
    }

    .card-name a {
        font-size: 1.75rem;
        padding-right: 0;
    }

    .card-rating {
        grid-column: 1;
        grid-row: 2;
        padding: 0 1.75rem 1rem;
    }

    .card-license {
        grid-column: 1;
        grid-row: 3;
        display: flex;
        justify-content: space-between;
        padding: 0.65rem 1.75rem;
        margin: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    .card-wagering {
        grid-column: 1;
        grid-row: 4;
        display: flex;
        justify-content: space-between;
        padding: 0.65rem 1.75rem;
        border-top: 1px solid rgba(255, 255, 255, 0.04);
    }

    .card-games {
        grid-column: 1;
        grid-row: 5;
        display: flex;
        justify-content: space-between;
        padding: 0.65rem 1.75rem;
        border-top: 1px solid rgba(255, 255, 255, 0.04);
    }

    .card-established {
        grid-column: 1;
        grid-row: 6;
        display: flex;
        justify-content: space-between;
        padding: 0.65rem 1.75rem;
        border-top: 1px solid rgba(255, 255, 255, 0.04);
    }

    .card-deposit {
        grid-column: 1;
        grid-row: 7;
        display: flex;
        justify-content: space-between;
        padding: 0.65rem 1.75rem 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.04);
    }

    /* ─── RIGHT COLUMN ─── */
    .card-badge {
        position: absolute;
        top: 1.25rem;
        right: 1.25rem;
    }

    .card-review {
        grid-column: 2;
        grid-row: 1 / 3;
        display: flex;
        align-self: center;
        justify-self: center;
        margin: 1.5rem 0 0;
        padding: 0.75rem 1.5rem;
        background: transparent;
        border: none;
        border-radius: 0;
        border-top: none;
    }

    .card-review::before {
        content: '📖';
    }

    .card-bonus {
        grid-column: 2;
        grid-row: 3 / 5;
        margin: 1rem 0.5rem 0.5rem 1rem;
        justify-self: start;
        width: calc(50% - 1rem);
        padding: 1.25rem;
        background: var(--bg-elevated);
        border-radius: 10px;
        font-size: 1.75rem;
    }

    .card-bonus .label {
        display: block;
        margin-bottom: 0.35rem;
    }

    .card-spins {
        grid-column: 2;
        grid-row: 3 / 5;
        margin: 1rem 1.5rem 0.5rem 0;
        justify-self: end;
        width: calc(50% - 1rem);
        padding: 1.25rem;
        background: var(--bg-elevated);
        border-radius: 10px;
        font-size: 1.35rem;
    }

    .card-spins .label {
        display: block;
        margin-bottom: 0.35rem;
    }

    .card-cta {
        grid-column: 2;
        grid-row: 5 / 8;
        align-self: start;
        margin: 0.5rem 1.5rem 1.5rem 1rem;
        padding: 1.25rem 2rem;
        font-size: 1.1rem;
    }

    #viewAllBtn {
        max-width: 1000px;
        width: calc(100% - 4rem);
        margin: 0 auto 2rem;
        padding: 0 2rem;
    }

    table,
    #casinoTable {
        width: calc(100% - 4rem);
        max-width: 1200px;
        margin: 0 auto 2rem;
        display: table;
        font-size: 0.9rem;
    }

    th {
        padding: 1rem;
        font-size: 0.75rem;
    }

    td {
        padding: 1rem;
    }

    .container {
        max-width: 1000px;
        margin: 0 auto;
        padding: 2.5rem 2rem;
    }

    /* Keep intro-text and quick-facts as block on desktop */
    .intro-text,
    .quick-facts {
        display: block;
        max-width: none;
        margin: 0 0 1.5rem 0;
        flex-direction: unset;
        flex-wrap: unset;
    }

    /* Credentials, trust and disclosure boxes are outside container, need own centering */
    .credentials-box {
        max-width: 1000px;
        margin: 0 auto 1.5rem;
        padding: 1rem 2rem;
    }

    .credentials-box ul {
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .trust-box,
    .disclosure-box {
        max-width: 1000px;
        margin: 2rem auto;
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .data-section h1 {
        font-size: 2.5rem;
    }

    .cta-button {
        width: auto;
        display: inline-flex;
        padding: 1rem 2.5rem;
    }

    .data-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .payment-grid {
        flex-direction: row;
    }

    .payment-box {
        flex: 1;
    }

    .pros-cons-container {
        flex-direction: row;
    }

    .pros-box,
    .cons-box {
        flex: 1;
    }

    .footer-links {
        max-width: 1200px;
        margin: 0 auto;
        padding: 3rem 2rem;
        flex-direction: row;
        justify-content: space-between;
    }
    
    .footer-rg {
        padding: 2rem 2rem;
    }

    .footer-rg-inner {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .footer-rg h4 {
        margin-bottom: 0;
    }

    .footer-rg-links {
        flex-direction: row;
        gap: 2rem;
    }

    .footer-rg-links a {
        padding: 0.5rem 0;
        min-height: auto;
    }
}

@media (min-width: 1024px) {
    h1 {
        font-size: 2.4rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .data-section h1 {
        font-size: 3rem;
    }

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

/* ═══════════════════════════════════════════════════════════════════════════
   COMPARE CHECKBOX FEATURE - MOBILE FIRST
   ═══════════════════════════════════════════════════════════════════════════ */

/* Compare checkbox container in card */
.card-compare {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    cursor: pointer;
    transition: background 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.card-compare:hover {
    background: rgba(0, 255, 136, 0.05);
}

.card-compare input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid var(--neon-green);
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    position: relative;
    transition: all 0.15s ease;
}

.card-compare input[type="checkbox"]:checked {
    background: var(--neon-green);
    border-color: var(--neon-green);
}

.card-compare input[type="checkbox"]:not(:checked):hover {
    background: rgba(0, 255, 136, 0.1);
}

.card-compare input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--bg-primary);
    font-size: 0.75rem;
    font-weight: 700;
}

.card-compare label {
    font-size: 0.8rem;
    color: var(--neon-green);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
    user-select: none;
}

.card-compare:has(input:checked) label {
    color: var(--neon-green);
}

/* Highlight card when selected for comparison */
.casino-card.compare-selected {
    border-color: var(--neon-green);
    box-shadow: 
        0 0 0 1px rgba(0, 255, 136, 0.2),
        0 0 20px -5px rgba(0, 255, 136, 0.3);
}

/* ═══════════════════════════════════════════════════════════════════════════
   STICKY COMPARE BAR - MOBILE FIRST
   ═══════════════════════════════════════════════════════════════════════════ */

.compare-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(13, 13, 18, 0.98);
    border-top: 1px solid var(--neon-green);
    padding: 1rem;
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
}

.compare-sticky-bar.active {
    transform: translateY(0);
}

.compare-sticky-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-green), var(--neon-cyan), var(--neon-purple));
}

.compare-bar-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 1000px;
    margin: 0 auto;
}

.compare-bar-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.compare-selected-names {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    flex: 1;
}

.compare-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    color: var(--text-primary);
    font-weight: 500;
}

.compare-chip .remove-chip {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0;
    font-size: 0.9rem;
    line-height: 1;
    margin-left: 0.25rem;
    min-height: auto;
    transition: color 0.2s ease;
}

.compare-chip .remove-chip:hover {
    color: var(--accent-red);
    transform: none;
}

.compare-bar-status {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.compare-bar-status .count {
    color: var(--neon-green);
    font-weight: 600;
}

.compare-bar-actions {
    display: flex;
    gap: 0.5rem;
}

.compare-bar-actions .compare-btn {
    flex: 1;
    min-height: 48px;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, var(--neon-green) 0%, #00cc6a 100%);
    color: var(--bg-primary) !important;
    border: none;
    border-radius: 8px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
    transition: all 0.2s ease;
}

.compare-bar-actions .compare-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 255, 136, 0.4);
}

.compare-bar-actions .compare-btn:disabled {
    background: var(--bg-elevated);
    color: var(--text-muted) !important;
    cursor: not-allowed;
    box-shadow: none;
}

.compare-bar-actions .compare-btn:disabled:hover {
    transform: none;
}

.compare-bar-actions .clear-btn {
    min-height: 48px;
    padding: 0.875rem 1rem;
    background: transparent;
    border: 1px solid var(--text-muted);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.compare-bar-actions .clear-btn:hover {
    border-color: var(--accent-red);
    color: var(--accent-red);
}

/* Single casino selected state */
.compare-sticky-bar.single-selected .compare-bar-status {
    color: var(--accent-yellow);
}

/* Desktop styles for compare feature */
@media (min-width: 768px) {
    .card-actions-row {
        grid-column: 1;
        grid-row: 8;
        padding: 0.65rem 1.75rem 1rem;
    }
    
    .card-actions-row .card-compare {
        padding: 0;
    }
    
    .card-actions-row .card-favorite {
        padding: 0;
    }

    .compare-sticky-bar {
        padding: 1.25rem 2rem;
    }

    .compare-bar-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .compare-bar-info {
        flex: 1;
    }

    .compare-bar-actions {
        flex: 0 0 auto;
    }

    .compare-bar-actions .compare-btn {
        min-width: 180px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   RANDOM CASINO PICKER / SPINNER - MOBILE FIRST
   ═══════════════════════════════════════════════════════════════════════════ */

/* Picker Button in Sort Controls */
.random-picker-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    min-height: 48px;
    padding: 0.75rem 1rem;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--neon-purple) 0%, #8b5cf6 100%);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.random-picker-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(168, 85, 247, 0.4);
}

.random-picker-btn:active {
    transform: scale(0.98);
}

/* Modal Overlay */
.random-picker-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.random-picker-modal.active {
    opacity: 1;
    visibility: visible;
}

.random-picker-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Modal Content */
.random-picker-content {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.5rem;
    width: calc(100% - 2rem);
    max-width: 400px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.random-picker-modal.active .random-picker-content {
    transform: scale(1) translateY(0);
}

.random-picker-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    min-height: 36px;
    padding: 0;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
}

.random-picker-close:hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
    color: #fff;
    transform: none;
}

.random-picker-content h3 {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-primary);
    margin: 0 0 1.5rem;
}

/* Shuffle Display */
.shuffle-display {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--bg-elevated);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.shuffle-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    transition: all 0.1s ease;
}

.shuffle-display.shuffling .shuffle-name {
    color: var(--text-muted);
}

.shuffle-display.winner {
    border-color: var(--neon-green);
    background: rgba(0, 255, 136, 0.05);
}

.shuffle-display.winner .shuffle-name {
    color: var(--neon-green);
    animation: winnerPop 0.4s ease;
}

@keyframes winnerPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Picker Result */
.picker-result {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

.picker-result.active {
    display: flex;
}

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

.result-casino-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.result-casino-info span {
    padding: 0.25rem 0.6rem;
    background: var(--bg-card);
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.result-rating {
    color: var(--accent-yellow) !important;
}

.result-bonus {
    color: var(--neon-green) !important;
}

.result-actions {
    display: flex;
    gap: 0.75rem;
    width: 100%;
}

.result-cta {
    flex: 1;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, var(--neon-green) 0%, #00cc6a 100%);
    border-radius: 8px;
    color: var(--bg-primary) !important;
    font-weight: 600;
    font-size: 0.85rem;
    text-align: center;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.result-cta:hover {
    transform: translateY(-1px);
}

.result-review {
    flex: 1;
    padding: 0.75rem 1rem;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary) !important;
    font-size: 0.85rem;
    text-align: center;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.result-review:hover {
    border-color: var(--neon-green);
    color: var(--neon-green) !important;
}

/* Pick Button */
.pick-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 0.875rem 1.5rem;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pick-btn:hover:not(:disabled) {
    border-color: var(--neon-green);
    color: var(--neon-green);
}

.pick-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Desktop styles for Random Picker */
@media (min-width: 768px) {
    .random-picker-btn {
        width: auto;
        min-width: 160px;
        margin-bottom: 0;
        order: 1;
    }
    
    .sort-controls {
        flex-wrap: nowrap;
    }
    
    .sort-controls label {
        order: 2;
    }
    
    .sort-controls select {
        order: 3;
    }
    
    .random-picker-content {
        padding: 2rem;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   CARD ACTIONS ROW (Compare + Favorite wrapper)
   ═══════════════════════════════════════════════════════════════════════════ */

.card-actions-row {
    grid-area: actions;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.card-actions-row .card-compare {
    flex: 0 0 auto;
}

.card-actions-row .card-favorite {
    flex: 0 0 auto;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FAVORITES FEATURE - MOBILE FIRST
   ═══════════════════════════════════════════════════════════════════════════ */

.card-favorite {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.card-favorite:hover {
    background: rgba(168, 85, 247, 0.05);
}

.favorite-label {
    font-size: 0.75rem;
    color: var(--neon-purple);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
    user-select: none;
    opacity: 0.8;
}

.card-favorite:hover .favorite-label {
    opacity: 1;
}

.heart-icon {
    font-size: 1.5rem;
    color: var(--neon-purple);
    transition: all 0.2s ease;
    line-height: 1;
    text-shadow: 
        0 0 2px var(--neon-purple),
        0 0 4px rgba(168, 85, 247, 0.3);
    -webkit-text-stroke: 1px var(--neon-purple);
}

.heart-icon.filled {
    color: var(--neon-purple);
    text-shadow: 
        0 0 8px rgba(168, 85, 247, 0.6),
        0 0 16px rgba(168, 85, 247, 0.4);
    -webkit-text-stroke: 0;
    animation: heartPop 0.3s ease;
}

.like-count {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--neon-purple);
    min-width: 1rem;
}

.like-count:empty {
    display: none;
}

@keyframes heartPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* Favorite selected card */
.casino-card.favorite-selected {
    border-color: var(--neon-purple);
    box-shadow: 
        0 0 0 1px rgba(168, 85, 247, 0.2),
        0 0 20px -5px rgba(168, 85, 247, 0.3);
}

/* Both compare and favorite selected */
.casino-card.compare-selected.favorite-selected {
    border-image: linear-gradient(135deg, var(--neon-green), var(--neon-purple)) 1;
    box-shadow: 
        0 0 0 1px rgba(0, 255, 136, 0.15),
        0 0 0 1px rgba(168, 85, 247, 0.15),
        0 0 20px -5px rgba(0, 255, 136, 0.2),
        0 0 20px -5px rgba(168, 85, 247, 0.2);
}

/* ═══════════════════════════════════════════════════════════════════════════
   FAVORITES NAV BADGE
   ═══════════════════════════════════════════════════════════════════════════ */

.nav-favorites {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-heart {
    color: var(--neon-purple);
    font-size: 1rem;
    text-shadow: 0 0 6px rgba(168, 85, 247, 0.5);
}

.favorites-badge {
    display: none;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--neon-purple);
    border-radius: 9px;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
}

.nav-favorites.active {
    color: var(--neon-purple) !important;
}

.nav-favorites.active .nav-heart {
    animation: heartPop 0.3s ease;
}

/* ═══════════════════════════════════════════════════════════════════════════
   NO FAVORITES PROMPT MODAL
   ═══════════════════════════════════════════════════════════════════════════ */

.favorites-prompt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
    animation: fadeIn 0.2s ease;
}

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

.favorites-prompt {
    background: var(--bg-secondary);
    border: 1px solid var(--neon-purple);
    border-radius: 16px;
    padding: 2rem;
    max-width: 360px;
    text-align: center;
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.3);
    animation: slideUp 0.3s ease;
}

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

.favorites-prompt .prompt-heart {
    font-size: 3rem;
    color: var(--neon-purple);
    display: block;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
    -webkit-text-stroke: 2px var(--neon-purple);
}

.favorites-prompt h3 {
    color: var(--text-primary);
    margin: 0 0 0.75rem;
    font-size: 1.25rem;
}

.favorites-prompt p {
    color: var(--text-muted);
    margin: 0 0 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.prompt-close-btn {
    background: var(--neon-purple);
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.prompt-close-btn:hover {
    background: #9333ea;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

/* Desktop adjustments for favorites are combined with compare styles above */

/* ═══════════════════════════════════════════════════════════════════════════
   REVIEW PAGE FAVORITE BUTTON
   ═══════════════════════════════════════════════════════════════════════════ */

.review-favorite {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid var(--neon-purple);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    z-index: 10;
}

.review-favorite:hover {
    background: rgba(168, 85, 247, 0.2);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}

.review-favorite.active {
    background: rgba(168, 85, 247, 0.25);
}

.review-favorite .heart-icon {
    font-size: 1.5rem;
    color: var(--neon-purple);
    transition: all 0.2s ease;
    line-height: 1;
    -webkit-text-stroke: 1px var(--neon-purple);
}

.review-favorite .heart-icon.filled {
    -webkit-text-stroke: 0;
    text-shadow: 
        0 0 8px rgba(168, 85, 247, 0.6),
        0 0 16px rgba(168, 85, 247, 0.4);
    animation: heartPop 0.3s ease;
}

.review-favorite .favorite-count {
    font-size: 1rem;
    font-weight: 700;
    color: var(--neon-purple);
    min-width: 1.5rem;
}

.review-favorite .favorite-count:empty {
    display: none;
}

.review-favorite .favorite-label {
    font-size: 0.85rem;
    color: var(--text-primary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-left: 1rem;
}

@media (max-width: 480px) {
    .review-favorite {
        position: static !important;
        width: auto !important;
        max-width: fit-content;
        margin: 0.75rem 0 !important;
        padding: 0.5rem 0.75rem !important;
        border: 1px solid #a855f7 !important;
        border-radius: 50px !important;
        -webkit-border-radius: 50px !important;
        background-color: rgba(168, 85, 247, 0.1) !important;
        box-sizing: border-box;
        gap: 0.5rem;
        margin-right: 0.35rem;
    }
    
    .review-favorite .favorite-label {
        font-size: 0.7rem;
    }
    
    .review-favorite .heart-icon {
        font-size: 1.25rem;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   TOOLS GRID - Homepage tool links
   ═══════════════════════════════════════════════════════════════════════════ */
.tools-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin: 0 1.25rem 1.5rem;
    position: relative;
    z-index: 1;
}

.tool-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem 1rem;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-decoration: none;
    transition: all 0.2s ease;
}

.tool-card:hover {
    border-color: var(--neon-green);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.15);
    transform: translateY(-2px);
}

.tool-card-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.tool-card-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.tool-card:hover .tool-card-title {
    color: var(--neon-green);
}

.tool-card-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

@media (min-width: 768px) {
    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1000px;
        margin: 0 auto 1.5rem;
        gap: 1rem;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   ARTICLE BYLINE - E-E-A-T Author Attribution
   ═══════════════════════════════════════════════════════════════════════════ */
.article-byline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.5rem;
    margin: 0 1.25rem 1.5rem;
    font-size: 0.85rem;
    background: none;
    border: none;
}

.article-byline .byline-prefix {
    color: var(--text-muted);
}

.article-byline .byline-org {
    color: var(--neon-green);
    text-decoration: none;
    font-weight: 500;
}

.article-byline .byline-org:hover {
    text-decoration: underline;
    color: var(--neon-cyan);
}

.article-byline .byline-badge {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
    background: var(--neon-purple-dim);
    color: var(--neon-purple);
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .article-byline {
        margin: 0 auto 1.5rem;
        max-width: 1000px;
        font-size: 0.9rem;
        gap: 0.5rem 0.6rem;
        background: none;
        border: none;
    }

    .article-byline .byline-badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
    }
}