/* CSS Variables - Modern Casino Theme */
:root {
    --primary-color: #7c3aed;
    --primary-hover: #6d28d9;
    --primary-light: #c4b5fd;
    --secondary-color: #475569;
    --success-color: #059669;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --gold-color: #f59e0b;
    --gold-dark: #d97706;
    --dark-color: #0f172a;
    --light-color: #f8fafc;
    --border-color: #e2e8f0;
    --text-color: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 50px rgba(124, 58, 237, 0.25);
    --shadow-gold: 0 4px 20px rgba(245, 158, 11, 0.4);
    --radius: 14px;
    --radius-lg: 24px;
    --gradient-primary: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #c084fc 100%);
    --gradient-dark: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #fcd34d 100%);
    --gradient-success: linear-gradient(135deg, #059669 0%, #10b981 100%);
    --gradient-hero: linear-gradient(135deg, #1e1b4b 0%, #312e81 20%, #5b21b6 40%, #7c3aed 60%, #a855f7 80%, #c084fc 100%);
    --gradient-card: linear-gradient(180deg, #ffffff 0%, #faf5ff 100%);
}

/* Animations */
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(5, 150, 105, 0); }
}

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

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

/* Base */
html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

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

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

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

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

/* Sections */
.section {
    padding: 80px 0;
}

.bg-light {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 40px;
    text-align: center;
    letter-spacing: -0.02em;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.95);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.2s;
}

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

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
    min-width: 200px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s;
    list-style: none;
}

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

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-color);
}

.dropdown-menu li a:hover {
    background: var(--light-color);
    color: var(--primary-color);
}

/* Search Box */
.search-box form {
    display: flex;
    gap: 8px;
}

.search-box input {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 14px;
    width: 200px;
}

.search-box button {
    padding: 8px 16px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s;
}

.search-box button:hover {
    background: var(--primary-hover);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    background: var(--gradient-hero);
    color: var(--white);
    padding: 120px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M40 40l-8-8 8-8 8 8-8 8zm0-20l-8-8 8-8 8 8-8 8zm20 20l-8-8 8-8 8 8-8 8zm-40 0l-8-8 8-8 8 8-8 8zm20 20l-8-8 8-8 8 8-8 8z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--white) 0%, transparent 100%);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.75rem;
    font-weight: 800;
    margin-bottom: 24px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.hero p {
    font-size: 1.4rem;
    opacity: 0.95;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    font-weight: 400;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
}

.stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: 28px 40px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.stat-number {
    display: block;
    font-size: 3.25rem;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-top: 4px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--dark-color);
    box-shadow: var(--shadow-gold);
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.5);
    color: var(--dark-color);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-light);
    font-weight: 600;
}

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

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1rem;
}

.btn-sm {
    padding: 10px 18px;
    font-size: 0.8rem;
    text-transform: none;
    letter-spacing: 0;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 6px 14px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 24px;
    letter-spacing: 0.06em;
}

.badge-verified {
    background: var(--gradient-success);
    color: var(--white);
    box-shadow: 0 3px 12px rgba(16, 185, 129, 0.35);
}

.badge-type {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 3px 12px rgba(99, 102, 241, 0.25);
}

.badge-sm {
    padding: 2px 8px;
    font-size: 0.65rem;
}

/* Bonus Cards */
.bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
}

.favorite-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    border: 2px solid var(--border-color);
    background: var(--white);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--gold-color);
    font-size: 18px;
    line-height: 1;
    opacity: 0.85;
    z-index: 2;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.favorite-btn:hover {
    opacity: 1;
    border-color: var(--gold-color);
    transform: scale(1.15) rotate(15deg);
    box-shadow: var(--shadow-gold);
    background: #fef3c7;
}

.favorite-btn.active {
    background: #fef3c7;
    border-color: var(--gold-color);
    opacity: 1;
}

.favorite-btn-sm {
    position: static;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 16px;
}

.favorite-btn-lg {
    position: static;
    width: 48px;
    height: 48px;
    font-size: 22px;
    margin-bottom: 14px;
}

.bonus-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 28px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    background-image: linear-gradient(white, white), linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    overflow: hidden;
}

.bonus-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bonus-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 70%
    );
    transform: translateX(-100%) rotate(45deg);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.bonus-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 50px rgba(124, 58, 237, 0.2),
        0 0 0 1px rgba(124, 58, 237, 0.1);
    background-image: linear-gradient(white, white), var(--gradient-primary);
}

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

.bonus-card:hover::after {
    transform: translateX(100%) rotate(45deg);
}

.bonus-card.verified {
    background-image: linear-gradient(white, white), var(--gradient-success);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.bonus-card.verified::before {
    opacity: 1;
    background: var(--gradient-success);
}

.bonus-card.verified:hover {
    box-shadow: 
        0 20px 50px rgba(5, 150, 105, 0.25),
        0 0 0 1px rgba(5, 150, 105, 0.1);
    background-image: linear-gradient(white, white), var(--gradient-success);
}

.bonus-card.verified .badge-verified {
    animation: pulse-glow 2s ease-in-out infinite;
}

.bonus-card .badge {
    position: static;
    display: inline-block;
}

.bonus-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    padding-top: 36px;
}

.bonus-card .favorite-btn {
    right: 18px;
    top: 18px;
}

.bonus-card .compare-toggle-btn {
    right: 70px;
    top: 18px;
}

/* Casino Logo in Bonus Card */
.bonus-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.casino-logo {
    width: 60px;
    height: 60px;
    border-radius: var(--radius);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.bonus-card:hover .casino-logo {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.15);
    border-color: var(--primary-light);
}

.casino-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.bonus-casino {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
    margin-top: 8px;
    line-height: 1.3;
}

.bonus-casino a {
    color: var(--dark-color);
    transition: color 0.2s ease;
}

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

.bonus-amount {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 16px;
    line-height: 1.5;
    min-height: 45px;
    transition: color 0.3s ease;
}

.bonus-card:hover .bonus-amount {
    color: var(--primary-color);
}

.bonus-code {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 2px dashed var(--primary-light);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.bonus-code::before {
    content: '📋';
    position: absolute;
    right: 12px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.bonus-code:hover {
    background: linear-gradient(135deg, #f3e8ff 0%, #ede9fe 100%);
    border-color: var(--primary-color);
    cursor: pointer;
}

.bonus-code:hover::before {
    opacity: 0.6;
    transform: scale(1);
}

.bonus-code span {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
}

.bonus-code strong {
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
    font-size: 1.1rem;
    color: var(--primary-color);
    letter-spacing: 2px;
    font-weight: 800;
}

.copy-btn {
    padding: 4px 12px;
    font-size: 0.75rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.2s;
}

.copy-btn:hover {
    background: var(--primary-hover);
}

.bonus-details {
    margin-bottom: 14px;
}

.bonus-details p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 3px;
}

.bonus-details p strong {
    color: var(--text-color);
}

.bonus-votes {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.vote-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid var(--border-color);
    background: var(--light-color);
    color: var(--text-color);
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.vote-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.vote-btn.vote-up:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--success-color);
}

.vote-btn.vote-down:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: var(--danger-color);
}

.vote-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.vote-btn.active.vote-up {
    border-color: var(--success-color);
    background: rgba(16, 185, 129, 0.12);
}

.vote-btn.active.vote-down {
    border-color: var(--danger-color);
    background: rgba(239, 68, 68, 0.12);
}

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

.bonus-votes-sm {
    margin-bottom: 0;
}

.bonus-votes-sm .vote-btn {
    padding: 4px 10px;
    font-size: 0.85rem;
}

.bonus-votes-lg {
    background: var(--light-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 12px 14px;
    margin: 16px 0;
}

.bonus-votes-label {
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.bonus-votes-buttons {
    display: flex;
    gap: 10px;
}

.bonus-votes-hint {
    margin-top: 6px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.bonus-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.bonus-actions .btn {
    flex: 1;
    padding: 14px 18px;
    font-size: 0.85rem;
    position: relative;
    overflow: hidden;
}

.bonus-actions .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.bonus-actions .btn-primary:hover::before {
    left: 100%;
}

/* Bonus List */
.bonus-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bonus-list-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px 24px;
    display: grid;
    grid-template-columns: 2.5fr 1.5fr auto auto;
    align-items: center;
    gap: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.bonus-list-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.bonus-list-item:hover {
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.12);
    border-color: var(--primary-light);
    transform: translateX(6px);
}

.bonus-list-item:hover::before {
    transform: scaleY(1);
}

.bonus-list-casino {
    display: flex;
    align-items: center;
    gap: 14px;
}

.bonus-list-casino-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bonus-list-casino h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0;
}

.bonus-list-casino h4 a {
    color: var(--dark-color);
}

.bonus-list-casino h4 a:hover {
    color: var(--primary-color);
}

.casino-logo-sm {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.casino-logo-sm img {
    padding: 4px;
}

.bonus-list-amount {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.4;
}

.bonus-list-code {
    font-family: 'SF Mono', monospace;
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    padding: 6px 12px;
    border-radius: 6px;
    text-align: center;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.85rem;
}

.bonus-list-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: nowrap;
}

/* Type Cards */
.type-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.type-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 24px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.type-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(124, 58, 237, 0.15);
    border-color: var(--primary-light);
}

.type-card:hover::before {
    transform: scaleX(1);
}

.type-icon {
    font-size: 3.5rem;
    margin-bottom: 16px;
    display: block;
}

.type-card h3 {
    font-size: 1.15rem;
    color: var(--dark-color);
    margin-bottom: 8px;
    font-weight: 700;
}

.type-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--dark-color) 0%, #334155 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

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

.page-header p {
    opacity: 0.9;
}

/* Bonuses Page Layout */
.bonuses-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

.filters-sidebar {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filters-sidebar h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.filter-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.filter-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    font-size: 0.875rem;
}

.filter-group select,
.filter-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 0.9rem;
}

.results-count {
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* Casino Page */
.casino-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.casino-rating {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Casinos Index */
.casinos-search {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.casinos-search input {
    flex: 1;
    min-width: 240px;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 0.95rem;
}

.casino-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.casino-card {
    display: block;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 18px;
    color: var(--text-color);
}

.casino-card:hover {
    border-color: var(--primary-color);
}

.casino-card-name {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.casino-card-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.casino-card-rating {
    color: var(--text-muted);
}

/* Status Page */
.status-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.status-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 24px;
}

.status-card h3 {
    color: var(--dark-color);
    font-size: 1.125rem;
    margin-bottom: 10px;
}

.status-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.status-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.status-list {
    list-style: none;
    margin: 10px 0 12px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.status-list li {
    border: 1px solid var(--border-color);
    border-radius: 999px;
    padding: 6px 10px;
    background: var(--light-color);
    font-size: 0.9rem;
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--white);
}

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

.status-table th,
.status-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
    font-size: 0.9rem;
}

.status-table th {
    background: var(--light-color);
    color: var(--dark-color);
    font-weight: 600;
}

.status-logs .section-title {
    margin-bottom: 20px;
}

/* Admin */
.admin-scrape-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-scrape-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.admin-scrape-select {
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 0.95rem;
}

.admin-scrape-result {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.admin-scrape-result.ok {
    color: var(--success-color);
}

.admin-scrape-result.error {
    color: var(--danger-color);
}

.admin-scrape-result.pending {
    color: var(--warning-color);
}

/* Compare */
.compare-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

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

.compare-table th,
.compare-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
    vertical-align: top;
    font-size: 0.9rem;
}

.compare-table th {
    background: var(--light-color);
    color: var(--dark-color);
    font-weight: 700;
}

.compare-col-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.compare-remove-btn {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: var(--white);
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    color: var(--text-muted);
}

.compare-remove-btn:hover {
    border-color: var(--danger-color);
    color: var(--danger-color);
}

.compare-actions-cell {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.compare-bar {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    box-shadow: var(--shadow-lg);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 9998;
}

.compare-bar .compare-count {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.compare-bar .compare-clear {
    border: 1px solid var(--border-color);
    background: transparent;
    border-radius: 999px;
    padding: 6px 10px;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.compare-bar .compare-clear:hover {
    border-color: var(--danger-color);
    color: var(--danger-color);
}

.compare-toggle-btn {
    position: absolute;
    top: 18px;
    right: 70px;
    border: 1px solid var(--border-color);
    background: var(--white);
    border-radius: 999px;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 700;
    opacity: 0.9;
    z-index: 2;
}

.compare-toggle-btn:hover {
    opacity: 1;
    border-color: var(--primary-color);
}

.compare-toggle-btn.active {
    background: rgba(99, 102, 241, 0.12);
    border-color: var(--primary-color);
}

/* Pagination */
.pagination {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.pagination-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.pagination-pages {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.pagination-btn,
.pagination-page {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--text-color);
    font-size: 0.9rem;
}

.pagination-btn:hover,
.pagination-page:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagination-page.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

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

.pagination-ellipsis {
    color: var(--text-muted);
    padding: 0 4px;
}

/* Bonus Detail Page */
.bonus-detail-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
}

.breadcrumb {
    margin-bottom: 24px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

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

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

.bonus-detail-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 40px;
}

.bonus-detail-header {
    margin-bottom: 24px;
}

.bonus-detail-header h1 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-top: 12px;
}

.bonus-detail-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.bonus-detail-code {
    margin-bottom: 30px;
}

.bonus-detail-code label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.code-box {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--light-color);
    padding: 16px 20px;
    border-radius: var(--radius);
    border: 2px dashed var(--border-color);
}

.code-box .code-text {
    font-family: monospace;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--dark-color);
}

.bonus-detail-info {
    margin-bottom: 30px;
}

.bonus-detail-info h3 {
    font-size: 1.25rem;
    color: var(--dark-color);
    margin-bottom: 16px;
}

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

.info-table th,
.info-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.info-table th {
    font-weight: 500;
    color: var(--text-muted);
    width: 40%;
}

.info-table td {
    color: var(--dark-color);
    font-weight: 500;
}

.bonus-detail-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 30px;
}

.bonus-detail-disclaimer {
    background: #fef3c7;
    padding: 16px;
    border-radius: var(--radius);
    font-size: 0.875rem;
    color: #92400e;
}

/* Sidebar */
.bonus-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.related-bonuses,
.quick-links {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 24px;
}

.related-bonuses h3,
.quick-links h3 {
    font-size: 1.125rem;
    color: var(--dark-color);
    margin-bottom: 16px;
}

.related-bonus-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.related-bonus-item:last-child {
    border-bottom: none;
}

.related-bonus-amount {
    flex: 1;
    font-weight: 600;
    color: var(--dark-color);
}

.quick-links ul {
    list-style: none;
}

.quick-links li {
    padding: 8px 0;
}

.quick-links a {
    color: var(--text-color);
}

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

/* Error Page */
.error-page {
    text-align: center;
    padding: 100px 0;
}

.error-content h1 {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.error-message {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.error-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* No Results */
.no-results,
.no-results-box {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.no-results-box {
    background: var(--light-color);
    border-radius: var(--radius-lg);
}

.no-results-box h3 {
    color: var(--dark-color);
    margin-bottom: 12px;
}

.no-results-box p {
    margin-bottom: 20px;
}

/* Footer */
.footer {
    background: var(--gradient-dark);
    color: var(--white);
    padding: 80px 0 40px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-section h4 {
    font-size: 1.125rem;
    margin-bottom: 20px;
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #94a3b8;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: #64748b;
    font-size: 0.875rem;
}

.disclaimer {
    margin-top: 12px;
    color: #94a3b8;
}

.last-updated {
    margin-top: 12px;
    color: #64748b;
    font-size: 0.875rem;
}

/* Section CTA */
.section-cta {
    text-align: center;
    margin-top: 40px;
}

/* Responsive */
@media (max-width: 1024px) {
    .bonuses-layout {
        grid-template-columns: 1fr;
    }

    .filters-sidebar {
        position: static;
    }

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

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

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

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

@media (max-width: 768px) {
    .nav-links,
    .search-box {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

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

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

    .stat {
        padding: 20px 30px;
    }

    .bonus-list-item {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 12px;
    }

    .bonus-list-actions {
        justify-content: center;
    }

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

    .bonus-detail-actions {
        flex-direction: column;
    }

    .type-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

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

    .bonus-actions {
        flex-direction: column;
    }

    .type-cards {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 50px 0;
    }
}
