/**
 * Casino Listing System - Enhanced CSS
 * Mobile-First Trustpilot Style with Beautiful Animations
 */

/* ========================================
   CSS Variables
   ======================================== */
:root {
    --primary: #00b67a;
    --primary-dark: #009567;
    --primary-light: #e8f8f2;
    --primary-bg: rgba(0, 182, 122, 0.08);
    
    --gold: #ffd700;
    --gold-dark: #e6c200;
    --silver: #c0c0c0;
    --silver-dark: #a8a8a8;
    --bronze: #cd7f32;
    --bronze-dark: #b5651d;
    
    --dark: #1a1a2e;
    --dark-light: #2d2d44;
    --dark-lighter: #3d3d5c;
    
    --white: #ffffff;
    --bg: #f7f7f7;
    --text: #1a1a2e;
    --text-light: #6b7280;
    --text-muted: #9ca3af;
    --border: #e5e7eb;
    
    --star: #00b67a;
    --star-empty: #dcdce6;
    --success: #00b67a;
    --danger: #ef4444;
    --warning: #f59e0b;
    
    --font: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50px;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-lg: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-xl: 0 8px 40px rgba(0,0,0,0.16);
    --shadow-glow: 0 0 20px rgba(0, 182, 122, 0.3);
}

/* ========================================
   Reset & Base
   ======================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { 
    font-family: var(--font); 
    background: var(--bg); 
    color: var(--text); 
    line-height: 1.5; 
    min-height: 100vh; 
    display: flex; 
    flex-direction: column;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
main { flex: 1; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

/* ========================================
   HEADER - Enhanced
   ======================================== */
.header {
    background: var(--white);
    padding: var(--space-md) var(--space-lg);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Larger Logo */
.header-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.header-logo img {
    height: 40px;
    width: auto;
}

/* Desktop Navigation */
.nav-desktop {
    display: none;
    gap: var(--space-xl);
}

.nav-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    transition: all 0.2s;
    padding: var(--space-sm) 0;
    border-bottom: 2px solid transparent;
    position: relative;
}

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

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

/* Burger Button */
.burger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    padding: 4px;
    z-index: 1100;
    transition: opacity 0.3s ease;
}

/* Hide burger button when menu is open */
.burger-btn.active {
    opacity: 0;
    pointer-events: none;
}

.burger-line {
    display: block;
    width: 100%;
    height: 2.5px;
    background: var(--dark);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1001;
}

.mobile-menu-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-xl);
    z-index: 1002;
    display: flex;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg);
    border-bottom: 1px solid var(--border);
}

.mobile-logo img {
    height: 32px;
}

.close-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.2s;
    border-radius: 50%;
    background: var(--bg);
}

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

.close-btn svg {
    width: 24px;
    height: 24px;
}

.mobile-menu-links {
    flex: 1;
    padding: var(--space-md);
    overflow-y: auto;
}

.mobile-link {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    transition: all 0.2s;
    margin-bottom: var(--space-xs);
}

.mobile-link:hover {
    background: var(--primary-light);
    transform: translateX(4px);
}

.mobile-link.active {
    background: var(--primary);
    color: var(--white);
}

.link-icon {
    font-size: 22px;
}

.link-text {
    font-size: 16px;
    font-weight: 600;
}

.mobile-menu-footer {
    padding: var(--space-lg);
    border-top: 1px solid var(--border);
    background: var(--bg);
    text-align: center;
}

.mobile-menu-footer p {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
}

.mobile-badges {
    display: flex;
    justify-content: center;
}

.mobile-badges .badge-18 {
    background: var(--danger);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

@media (min-width: 768px) {
    .header-logo img {
        height: 44px;
    }
    .nav-desktop {
        display: flex;
    }
    .burger-btn {
        display: none;
    }
}

/* ========================================
   LISTING PAGE
   ======================================== */
.listing-page {
    max-width: 650px;
    margin: 0 auto;
    padding: var(--space-lg) var(--space-md);
}

.page-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.page-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: var(--space-sm);
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 15px;
    color: var(--text-light);
}

.casino-cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

/* ========================================
   CASINO CARD - Premium Design
   ======================================== */
.casino-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideInUp 0.5s ease forwards;
    opacity: 0;
    position: relative;
}

.casino-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

/* Animation delays */
.casino-card:nth-child(1) { animation-delay: 0ms; }
.casino-card:nth-child(2) { animation-delay: 100ms; }
.casino-card:nth-child(3) { animation-delay: 200ms; }
.casino-card:nth-child(4) { animation-delay: 300ms; }
.casino-card:nth-child(5) { animation-delay: 400ms; }

/* ========================================
   TOP BAR - Premium Rank Badge
   ======================================== */
.card-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) var(--space-md);
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    position: relative;
    overflow: hidden;
}

/* Animated shine effect */
.card-top-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

/* Premium Rank Badge */
.rank-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 15px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Default rank */
.rank-badge {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

/* Gold - #1 */
.rank-badge.rank-top-1 {
    background: linear-gradient(135deg, #ffd700 0%, #ffb800 50%, #ffd700 100%);
    color: var(--dark);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.5);
    animation: pulse-gold 2s infinite;
}

.rank-badge.rank-top-1::before {
    content: '👑';
    margin-right: 4px;
    animation: bounce 1s infinite;
}

/* Silver - #2 */
.rank-badge.rank-top-2 {
    background: linear-gradient(135deg, #e8e8e8 0%, #c0c0c0 50%, #e8e8e8 100%);
    color: var(--dark);
    box-shadow: 0 4px 15px rgba(192, 192, 192, 0.5);
}

.rank-badge.rank-top-2::before {
    content: '🥈';
    margin-right: 4px;
}

/* Bronze - #3 */
.rank-badge.rank-top-3 {
    background: linear-gradient(135deg, #cd7f32 0%, #b5651d 50%, #cd7f32 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(205, 127, 50, 0.5);
}

.rank-badge.rank-top-3::before {
    content: '🥉';
    margin-right: 4px;
}

@keyframes pulse-gold {
    0%, 100% { box-shadow: 0 4px 20px rgba(255, 215, 0, 0.5); }
    50% { box-shadow: 0 4px 30px rgba(255, 215, 0, 0.8); }
}

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

.rank-hash {
    font-size: 13px;
    opacity: 0.7;
}

.rank-num {
    font-size: 16px;
}

/* Verified Badge */
.verified-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    background: rgba(0, 182, 122, 0.15);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
}

.verified-icon {
    width: 18px;
    height: 18px;
}

/* ========================================
   CARD CONTENT - Larger Logo
   ======================================== */
.card-content {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-lg);
}

/* Extra Large Logo */
.casino-logo-wrapper {
    flex-shrink: 0;
}

.casino-logo {
    width: 140px;
    height: 95px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--dark);
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.casino-card:hover .casino-logo {
    transform: scale(1.02);
}

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

/* Casino Info */
.casino-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.casino-name {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: var(--space-sm);
    color: var(--dark);
}

.rating-row {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    font-size: 15px;
    color: var(--star-empty);
    transition: color 0.2s;
}

.star.filled {
    color: var(--star);
}

.rating-num {
    font-size: 14px;
    font-weight: 800;
    color: var(--primary);
    background: var(--primary-light);
    padding: 3px 10px;
    border-radius: var(--radius-full);
}

.accepts-from .flag {
    font-size: 16px;
    margin-left: 4px;
}

/* ========================================
   BONUS SECTION - Expandable
   ======================================== */
.bonus-section {
    margin: 0 var(--space-lg);
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(0, 182, 122, 0.05) 100%);
    border: 2px solid rgba(0, 182, 122, 0.15);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s;
}

.bonus-section:hover {
    border-color: rgba(0, 182, 122, 0.3);
}

.bonus-header {
    padding: var(--space-md) var(--space-lg);
    cursor: pointer;
    transition: background 0.2s;
}

.bonus-header:hover {
    background: rgba(0, 182, 122, 0.05);
}

.bonus-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-xs);
}

.bonus-main-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bonus-value {
    font-size: 18px;
    font-weight: 800;
    color: var(--dark);
}

.expand-btn {
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 182, 122, 0.3);
}

.expand-btn:hover {
    transform: scale(1.1);
}

.expand-btn.rotated {
    transform: rotate(180deg);
    background: var(--primary-dark);
}

.expand-icon {
    width: 20px;
    height: 20px;
    color: var(--white);
}

/* Expandable Details */
.bonus-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: var(--white);
    border-top: 1px solid rgba(0, 182, 122, 0.15);
}

.bonus-details.expanded {
    max-height: 400px;
}

.deposit-row {
    display: flex;
    justify-content: space-between;
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px dashed var(--border);
    transition: background 0.2s;
}

.deposit-row:hover {
    background: var(--bg);
}

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

.deposit-row.wagering-row {
    background: var(--primary-light);
    border-bottom: none;
}

.deposit-label {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
}

.deposit-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-dark);
}

/* ========================================
   BUTTONS
   ======================================== */
.button-group {
    display: flex;
    gap: var(--space-sm);
    padding: 0 var(--space-lg);
}

.btn {
    flex: 1;
    padding: var(--space-md);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 800;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

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

.btn-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 182, 122, 0.4);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 182, 122, 0.5);
}

/* Terms */
.terms {
    text-align: center;
    font-size: 11px;
    color: var(--text-muted);
    padding: var(--space-sm) var(--space-lg) var(--space-lg);
}

/* Disclaimer */
.disclaimer {
    margin-top: var(--space-xl);
    padding: var(--space-lg);
    background: var(--white);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
}

.disclaimer p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    color: var(--white);
    margin-top: auto;
}

.footer-container {
    max-width: 700px;
    margin: 0 auto;
    padding: var(--space-2xl) var(--space-md);
}

.footer-brand {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.footer-logo {
    height: 40px;
    width: auto;
    max-width: 240px;
    margin: 0 auto var(--space-sm);
    display: block;
}

.footer-tagline {
    font-size: 14px;
    opacity: 0.7;
}

.footer-responsible {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.responsible-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--primary);
}

.responsible-badges {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.badge-item {
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-18 {
    background: var(--danger);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.badge-gamcare {
    background: var(--primary);
}

.badge-gamstop {
    background: #2563eb;
}

.responsible-text {
    font-size: 13px;
    opacity: 0.7;
    max-width: 450px;
    margin: 0 auto;
    line-height: 1.7;
}

.footer-legal {
    text-align: center;
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-md);
}

.legal-links a {
    font-size: 13px;
    opacity: 0.7;
    transition: all 0.2s;
}

.legal-links a:hover {
    opacity: 1;
    color: var(--primary);
}

.copyright {
    font-size: 12px;
    opacity: 0.5;
}

/* Footer Social Links */
.footer-social {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Footer Contact */
.footer-contact {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.footer-contact a {
    font-size: 14px;
    opacity: 0.8;
    transition: all 0.2s;
}

.footer-contact a:hover {
    opacity: 1;
    color: var(--primary);
}

/* Footer Help Link */
.help-link {
    display: inline-block;
    margin-top: var(--space-md);
    font-size: 12px;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.help-link:hover {
    opacity: 1;
}

/* ========================================
   REVIEW PAGE
   ======================================== */
.review-page {
    padding-bottom: 100px;
}

.review-hero {
    background: linear-gradient(160deg, var(--dark) 0%, var(--dark-light) 100%);
    padding: var(--space-xl) var(--space-md) var(--space-2xl);
}

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

.hero-logo-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: var(--space-md);
}

.hero-logo {
    width: 110px;
    height: 110px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--dark-light);
    box-shadow: var(--shadow-xl);
}

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

.hero-rating {
    position: absolute;
    bottom: -10px;
    right: -10px;
    background: var(--primary);
    color: var(--white);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: var(--shadow-lg);
}

.hero-rating .star {
    color: var(--white);
    font-size: 14px;
}

.hero-title {
    color: var(--white);
    font-size: 28px;
    font-weight: 800;
    margin-bottom: var(--space-xs);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    margin-bottom: var(--space-lg);
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm) var(--space-lg);
    margin-bottom: var(--space-lg);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--white);
    font-size: 14px;
}

.stat-icon {
    color: var(--primary);
}

/* Hero Bonus */
.hero-bonus {
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-bonus-header {
    padding: var(--space-md);
    cursor: pointer;
    transition: background 0.2s;
}

.hero-bonus-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

.bonus-tag {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
}

.bonus-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}

.bonus-amount {
    color: var(--white);
    font-size: 22px;
    font-weight: 800;
}

.bonus-expand {
    width: 28px;
    height: 28px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.bonus-expand.rotated {
    transform: rotate(180deg);
}

.bonus-expand svg {
    width: 18px;
    height: 18px;
    color: var(--white);
}

.hero-bonus-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: rgba(0, 0, 0, 0.2);
}

.hero-bonus-details.expanded {
    max-height: 300px;
}

.bonus-detail-row {
    display: flex;
    justify-content: space-between;
    padding: var(--space-sm) var(--space-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
}

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

.bonus-detail-row.wagering {
    margin-top: var(--space-sm);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.detail-label {
    font-size: 13px;
    opacity: 0.7;
}

.detail-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-light);
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--primary);
    color: var(--white);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-lg);
    font-size: 16px;
    font-weight: 800;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0, 182, 122, 0.4);
}

.hero-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 182, 122, 0.5);
}

.hero-cta .arrow {
    font-size: 20px;
}

/* ========================================
   REVIEW MAIN - With Sticky TOC
   ======================================== */
.review-main {
    max-width: 900px;
    margin: -30px auto 0;
    padding: 0 var(--space-md);
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

/* Sticky Table of Contents */
.toc {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    box-shadow: var(--shadow-lg);
}

/* Desktop: Make TOC sticky on sidebar */
@media (min-width: 900px) {
    .review-main {
        grid-template-columns: 250px 1fr;
        align-items: start;
    }
    
    .toc {
        position: sticky;
        top: 90px;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
    }
    
    .toc::-webkit-scrollbar {
        width: 4px;
    }
    
    .toc::-webkit-scrollbar-track {
        background: var(--bg);
        border-radius: 4px;
    }
    
    .toc::-webkit-scrollbar-thumb {
        background: var(--primary);
        border-radius: 4px;
    }
}

.toc-title {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--primary);
    margin-bottom: var(--space-md);
}

.toc-title svg {
    color: var(--primary);
}

.toc-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.toc-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.toc-link:hover {
    background: var(--primary-light);
    border-left-color: var(--primary);
    transform: translateX(4px);
}

.toc-link.active {
    background: var(--primary);
    color: var(--white);
    border-left-color: var(--primary-dark);
    box-shadow: var(--shadow);
}

.toc-num {
    width: 24px;
    height: 24px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
    transition: all 0.3s;
}

.toc-link.active .toc-num {
    background: var(--white);
    color: var(--primary);
}

.toc-text {
    font-size: 13px;
    font-weight: 500;
}

/* Review Sections */
.review-sections {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.review-section {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow);
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.review-section:nth-child(1) { animation-delay: 0ms; }
.review-section:nth-child(2) { animation-delay: 100ms; }
.review-section:nth-child(3) { animation-delay: 200ms; }
.review-section:nth-child(4) { animation-delay: 300ms; }
.review-section:nth-child(5) { animation-delay: 400ms; }
.review-section:nth-child(6) { animation-delay: 500ms; }

.section-title {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: 18px;
    font-weight: 800;
    margin-bottom: var(--space-lg);
    color: var(--text);
}

.section-num {
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(0, 182, 122, 0.3);
}

.section-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-light);
}

.subsection-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin: var(--space-xl) 0 var(--space-md);
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.info-card {
    background: var(--bg);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.info-card.highlight {
    background: var(--primary-light);
    border-color: var(--primary);
}

.info-icon {
    font-size: 28px;
    margin-bottom: var(--space-sm);
}

.info-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-xs);
}

.info-value {
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
}

/* Bonus Card */
.bonus-card-main {
    border: 2px solid var(--primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.bonus-card-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: var(--space-xl);
    text-align: center;
}

.bonus-card-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
}

.bonus-card-value {
    color: var(--white);
    font-size: 26px;
    font-weight: 800;
}

.bonus-card-body {
    padding: var(--space-xl);
}

.bonus-breakdown {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    margin-bottom: var(--space-md);
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) var(--space-sm);
    border-bottom: 1px dashed var(--border);
    transition: background 0.2s;
}

.breakdown-row:hover {
    background: var(--white);
    border-radius: var(--radius-sm);
}

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

.breakdown-left {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.breakdown-icon {
    width: 26px;
    height: 26px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.breakdown-label {
    font-size: 13px;
    color: var(--text-light);
}

.breakdown-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-dark);
}

.bonus-footer {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border);
}

.wagering-label {
    font-size: 13px;
    color: var(--text-muted);
}

.wagering-value {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
}

/* Game Types Grid */
.game-types-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
}

.game-type-card {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--primary-light);
    border-radius: var(--radius-md);
    transition: all 0.2s;
}

.game-type-card:hover {
    background: var(--primary-bg);
    transform: translateX(4px);
}

.game-type-icon {
    font-size: 22px;
}

.game-type-name {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
}

.game-type-check {
    color: var(--primary);
    font-weight: bold;
    font-size: 16px;
}

/* Providers */
.providers-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.provider-badge {
    background: var(--bg);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.provider-badge:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Payments */
.payments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.payment-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: all 0.2s;
}

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

.payment-card img {
    width: 44px;
    height: 28px;
    object-fit: contain;
}

.payment-card span {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Pros & Cons */
.pros-cons-container {
    display: grid;
    gap: var(--space-md);
}

.pros-box,
.cons-box {
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
}

.pros-box {
    background: rgba(0, 182, 122, 0.08);
    border-left: 4px solid var(--primary);
}

.cons-box {
    background: rgba(239, 68, 68, 0.08);
    border-left: 4px solid var(--danger);
}

.pros-title,
.cons-title {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 15px;
    font-weight: 800;
    margin-bottom: var(--space-md);
}

.pros-title {
    color: var(--primary);
}

.cons-title {
    color: var(--danger);
}

.pros-icon,
.cons-icon {
    font-size: 22px;
}

.pros-list li,
.cons-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: 14px;
    padding: var(--space-sm) 0;
}

.check-icon {
    color: var(--primary);
    font-weight: bold;
    font-size: 16px;
}

.x-icon {
    color: var(--danger);
    font-weight: bold;
    font-size: 16px;
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.12);
    z-index: 100;
}

.sticky-content {
    max-width: 600px;
    margin: 0 auto;
    padding: var(--space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

.sticky-left {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex: 1;
    min-width: 0;
}

.sticky-logo {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    object-fit: cover;
    box-shadow: var(--shadow);
}

.sticky-info {
    min-width: 0;
}

.sticky-name {
    display: block;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sticky-bonus {
    display: block;
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sticky-btn {
    background: var(--primary);
    color: var(--white);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 182, 122, 0.4);
    transition: all 0.2s;
}

.sticky-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ========================================
   STATIC PAGES
   ======================================== */
.static-page {
    min-height: 100vh;
}

.page-hero {
    background: linear-gradient(160deg, var(--dark) 0%, var(--dark-light) 100%);
    padding: var(--space-2xl) var(--space-md);
    text-align: center;
}

.page-hero-small {
    padding: var(--space-xl) var(--space-md);
}

.hero-title {
    color: var(--white);
    font-size: 32px;
    font-weight: 800;
    margin-bottom: var(--space-sm);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
}

.hero-date {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.page-content {
    max-width: 750px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-md);
}

.content-section {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow);
}

.section-icon {
    font-size: 36px;
    margin-bottom: var(--space-md);
}

.section-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: var(--space-md);
    color: var(--text);
}

.section-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-light);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.feature-card {
    background: var(--bg);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary);
    transition: all 0.2s;
}

.feature-card:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow);
}

.feature-card .feature-icon {
    color: var(--primary);
    font-size: 20px;
    font-weight: bold;
    margin-bottom: var(--space-sm);
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.feature-card p {
    font-size: 14px;
    color: var(--text-light);
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--primary-light);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-dark);
}

.badge-icon {
    font-size: 18px;
}

.highlight-section {
    background: var(--primary-light);
    border-left: 4px solid var(--primary);
}

.contact-btn {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-lg);
    font-size: 15px;
    font-weight: 700;
    margin-top: var(--space-xl);
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 182, 122, 0.3);
}

.contact-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

.legal-content .legal-section {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow);
}

.legal-section h2 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: var(--space-md);
    color: var(--text);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--primary);
}

.legal-section p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: var(--space-md);
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-list {
    margin: var(--space-md) 0;
}

.legal-list li {
    font-size: 14px;
    color: var(--text-light);
    padding: var(--space-sm) 0;
    padding-left: var(--space-lg);
    position: relative;
}

.legal-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.cookie-types {
    display: grid;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.cookie-type {
    background: var(--bg);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
}

.cookie-type h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: var(--space-xs);
    color: var(--text);
}

.cookie-type p {
    font-size: 13px;
    margin: 0;
}

.highlight-box {
    background: var(--primary-light) !important;
    border-left: 4px solid var(--primary);
}

.warning-box {
    background: rgba(245, 158, 11, 0.1) !important;
    border-left: 4px solid var(--warning);
}

.warning-box h2 {
    border-bottom-color: var(--warning) !important;
}

.contact-box {
    background: var(--bg);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    margin-top: var(--space-md);
}

.contact-box p {
    margin: 0;
    font-size: 14px;
}

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

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

/* ========================================
   RESPONSIVE
   ======================================== */
@media (min-width: 480px) {
    .casino-logo {
        width: 160px;
        height: 110px;
    }
    
    .bonus-value {
        font-size: 20px;
    }
    
    .payments-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 600px) {
    .info-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .pros-cons-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .game-types-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .casino-card,
    .review-section {
        opacity: 1;
    }
}

/* Country Flags - Compact */
.country-flag {
    width: 18px;
    height: 13px;
    border-radius: 2px;
    vertical-align: middle;
    display: inline-block;
    object-fit: cover;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.info-icon .country-flag {
    width: 24px;
    height: 17px;
}
.accepts-from {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--text-light);
    white-space: nowrap;
}
.accepts-from .country-flag {
    width: 16px;
    height: 11px;
}

/* ========================================
   ENHANCED MOBILE STYLES
   ======================================== */

/* Fade-in animations for cards */
.casino-card {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

.casino-card:nth-child(1) { animation-delay: 0.05s; }
.casino-card:nth-child(2) { animation-delay: 0.1s; }
.casino-card:nth-child(3) { animation-delay: 0.15s; }
.casino-card:nth-child(4) { animation-delay: 0.2s; }
.casino-card:nth-child(5) { animation-delay: 0.25s; }

/* Small devices (phones) */
@media (max-width: 479px) {
    :root {
        --space-lg: 16px;
        --space-xl: 24px;
    }
    
    /* Container */
    .container {
        padding: 0 12px;
    }
    
    /* Hero adjustments */
    .hero {
        padding: var(--space-lg) 0;
    }
    
    .hero-title {
        font-size: 22px;
    }
    
    .hero-subtitle {
        font-size: 13px;
    }
    
    /* Casino Card Mobile */
    .casino-card {
        border-radius: var(--radius-lg);
        margin-bottom: var(--space-md);
    }
    
    /* Card Header */
    .card-header {
        padding: var(--space-sm) var(--space-md);
    }
    
    .rank-badge {
        padding: 4px 10px;
        font-size: 13px;
    }
    
    .verified-badge {
        padding: 3px 8px;
        font-size: 11px;
    }
    
    /* Card Content */
    .card-content {
        padding: var(--space-md);
        gap: var(--space-md);
    }
    
    /* Logo - Fixed size with contain */
    .casino-logo {
        width: 90px;
        height: 70px;
        min-width: 90px;
        padding: 8px;
    }
    
    .casino-logo img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
    }
    
    /* Casino Info */
    .casino-info {
        min-width: 0;
        flex: 1;
    }
    
    .casino-name {
        font-size: 16px;
        line-height: 1.2;
        word-wrap: break-word;
    }
    
    /* Rating */
    .rating-row {
        flex-wrap: wrap;
        gap: 6px;
        margin: 6px 0;
    }
    
    .stars {
        gap: 2px;
    }
    
    .star-icon {
        width: 14px;
        height: 14px;
    }
    
    .rating-score {
        font-size: 14px;
        padding: 3px 8px;
    }
    
    /* Accepts From - Not touching edges */
    .accepts-from {
        font-size: 11px;
        padding: 4px 0;
        margin-top: 4px;
    }
    
    /* Bonus Section */
    .bonus-section {
        margin: 0 var(--space-md);
        margin-bottom: var(--space-sm);
        border-radius: var(--radius-md);
    }
    
    .bonus-header {
        padding: var(--space-sm) var(--space-md);
    }
    
    .bonus-label {
        font-size: 10px;
        letter-spacing: 0.5px;
    }
    
    .bonus-value {
        font-size: 15px;
    }
    
    .expand-btn {
        width: 28px;
        height: 28px;
    }
    
    .expand-icon {
        width: 16px;
        height: 16px;
    }
    
    /* Buttons - Always on one line */
    .button-group {
        padding: 0 var(--space-md);
        gap: 8px;
    }
    
    .btn {
        padding: 12px 8px;
        font-size: 11px;
        letter-spacing: 0;
        white-space: nowrap;
        min-width: 0;
    }
    
    /* Terms */
    .terms {
        padding: var(--space-sm) var(--space-md) var(--space-md);
        font-size: 10px;
    }
    
    /* Deposit rows */
    .deposit-row {
        padding: var(--space-sm) var(--space-md);
    }
    
    .deposit-label, .deposit-value {
        font-size: 12px;
    }
    
    /* Footer */
    .footer-container {
        padding: var(--space-xl) var(--space-md);
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: var(--space-md);
    }
    
    .footer-link {
        font-size: 13px;
    }
    
    .footer-badges {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-badge img {
        height: 28px;
    }
    
    .footer-text {
        font-size: 11px;
        padding: 0 var(--space-sm);
    }
    
    .footer-bottom {
        font-size: 11px;
    }
}

/* Medium phones */
@media (min-width: 375px) and (max-width: 479px) {
    .casino-logo {
        width: 100px;
        height: 75px;
        min-width: 100px;
    }
    
    .casino-name {
        font-size: 17px;
    }
    
    .bonus-value {
        font-size: 16px;
    }
    
    .btn {
        font-size: 12px;
        padding: 13px 10px;
    }
}

/* Tablet devices */
@media (min-width: 480px) and (max-width: 767px) {
    .container {
        padding: 0 20px;
    }
    
    .card-content {
        padding: var(--space-lg);
        gap: var(--space-md);
    }
    
    .casino-logo {
        width: 120px;
        height: 85px;
    }
    
    .casino-name {
        font-size: 18px;
    }
    
    .bonus-value {
        font-size: 18px;
    }
    
    .button-group {
        gap: 12px;
    }
    
    .btn {
        font-size: 13px;
        padding: var(--space-md);
    }
}

/* Smooth transitions for all interactive elements */
.casino-card,
.btn,
.bonus-header,
.expand-btn,
.footer-link {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover effects with GPU acceleration */
.casino-card:hover {
    transform: translateY(-4px);
}

@media (max-width: 479px) {
    .casino-card:hover {
        transform: translateY(-2px);
    }
}

/* Logo max-width enforcement */
.casino-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain !important;
}

/* Prevent content overflow */
.casino-info,
.bonus-value,
.casino-name {
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Touch-friendly tap targets */
@media (hover: none) {
    .btn {
        min-height: 44px;
    }
    
    .expand-btn {
        min-width: 44px;
        min-height: 44px;
    }
    
    .bonus-header {
        min-height: 60px;
    }
}

/* Loading animation for images */
.casino-logo {
    position: relative;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
}

.casino-logo img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Image error fallback */
.casino-logo img.error {
    opacity: 0.3;
}

/* Broken image placeholder */
.casino-logo::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23666' viewBox='0 0 24 24'%3E%3Cpath d='M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z'/%3E%3C/svg%3E") center/contain no-repeat;
    opacity: 0;
    z-index: 0;
}

.casino-logo:not(:has(img[src])):after,
.casino-logo:has(img.error)::after {
    opacity: 1;
}

/* Ensure logo image is above placeholder */
.casino-logo img {
    position: relative;
    z-index: 1;
}

/* Pulse animation for CTA button */
@keyframes pulse-cta {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(0, 182, 122, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(0, 182, 122, 0.6);
    }
}

.btn-cta {
    animation: pulse-cta 2s infinite;
}

.btn-cta:hover {
    animation: none;
}

/* Shimmer loading effect */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.casino-logo.loading {
    background: linear-gradient(90deg, var(--dark) 25%, var(--dark-light) 50%, var(--dark) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* Ensure proper spacing on all devices */
.casino-cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

@media (max-width: 479px) {
    .casino-cards {
        gap: var(--space-sm);
    }
}

/* Fix accepts-from not touching edges */
.accepts-from {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--text-light);
    white-space: nowrap;
    margin-top: 6px;
    padding-left: 0;
}

/* Ensure card content doesn't overflow */
.card-content {
    overflow: hidden;
}

.casino-info {
    min-width: 0;
    word-wrap: break-word;
}
