/* ============================================
   MODERN CASINO SITE STYLES
   Based on Baleszkoo inspiration but unique
============================================ */

/* CSS Custom Properties */
:root {
    /* Color Palette */
    --bg-primary: #0A0B1E;
    --bg-secondary: #1A1B3A;
    --bg-card: rgba(255, 255, 255, 0.08);
    --bg-card-hover: rgba(255, 255, 255, 0.12);
    
    /* Accent Colors */
    --accent-coral: #FF6B6B;
    --accent-orange: #FF8E53;
    --accent-emerald: #10B981;
    --accent-violet: #8B5CF6;
    --accent-amber: #F59E0B;
    
    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    
    /* Border Colors */
    --border-coral: #FF6B6B;
    --border-emerald: #10B981;
    --border-violet: #8B5CF6;
    --border-amber: #F59E0B;
    --border-slate: rgba(255, 255, 255, 0.1);
    
    /* Effects */
    --glow-coral: 0 0 20px rgba(255, 107, 107, 0.3);
    --glow-emerald: 0 0 20px rgba(16, 185, 129, 0.3);
    --glow-violet: 0 0 20px rgba(139, 92, 246, 0.3);
    --glow-amber: 0 0 20px rgba(245, 158, 11, 0.3);
    
    /* Transitions */
    --transition-fast: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Outfit', sans-serif;
    
    /* Spacing */
    --container-padding: 2rem;
    --section-spacing: 6rem;
    --card-padding: 1.5rem;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Reszponzív beállítások */
@media (max-width: 768px) {
    .giveaway-live-btn {
        top: 10px;
        right: 10px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

.cosmic-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, #0A0B1E 0%, #1A1B3A 50%, #0A0B1E 100%);
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255, 107, 107, 0.6), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(16, 185, 129, 0.6), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(139, 92, 246, 0.6), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(245, 158, 11, 0.6), transparent);
    background-repeat: repeat;
    background-size: 200px 150px;
    animation: particlesFloat 20s linear infinite;
}

.particles-2 {
    background-image: 
        radial-gradient(1px 1px at 60px 20px, rgba(255, 107, 107, 0.4), transparent),
        radial-gradient(1px 1px at 120px 60px, rgba(16, 185, 129, 0.4), transparent),
        radial-gradient(2px 2px at 180px 90px, rgba(139, 92, 246, 0.4), transparent);
    background-size: 250px 200px;
    animation: particlesFloat 25s linear infinite reverse;
}

.particles-3 {
    background-image: 
        radial-gradient(1px 1px at 80px 50px, rgba(255, 142, 83, 0.3), transparent),
        radial-gradient(1px 1px at 160px 100px, rgba(245, 158, 11, 0.3), transparent);
    background-size: 300px 250px;
    animation: particlesFloat 30s linear infinite;
}

@keyframes particlesFloat {
    0% { transform: translateY(0px) translateX(0px); }
    25% { transform: translateY(-100px) translateX(50px); }
    50% { transform: translateY(-200px) translateX(-25px); }
    75% { transform: translateY(-300px) translateX(75px); }
    100% { transform: translateY(-400px) translateX(0px); }
}

.gradient-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.7;
    animation: orbFloat 15s ease-in-out infinite alternate;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.2) 0%, transparent 70%);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    top: 60%;
    right: 15%;
    animation-delay: 5s;
}

.orb-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
    bottom: 20%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes orbFloat {
    0% { transform: translate(0px, 0px) scale(1); }
    100% { transform: translate(50px, -80px) scale(1.1); }
}

/* ============================================
   REVEAL ANIMATIONS
============================================ */
.reveal-animation {
    opacity: 0;
    transform: translateY(50px);
    transition: var(--transition-smooth);
}

.reveal-animation.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   HEADER STYLES
============================================ */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 11, 30, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-fast);
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.navbar-brand i {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--accent-coral), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logoRotate 8s linear infinite;
}

@keyframes logoRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.brand-text {
    background: linear-gradient(135deg, var(--accent-coral), var(--accent-orange), var(--accent-emerald));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 6s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ============================================
   HERO SECTION
============================================ */
.hero-section {
    padding: 8rem 0 6rem;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 0vh;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.title-gradient {
    background: linear-gradient(135deg, var(--text-primary), var(--accent-coral), var(--accent-emerald));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 8s ease-in-out infinite;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-coral);
    text-shadow: var(--glow-coral);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.floating-card {
    position: relative;
    animation: cardFloat 6s ease-in-out infinite;
    z-index: 2;
}

.card-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, var(--accent-coral), var(--accent-orange));
    border-radius: 30px;
    filter: blur(30px);
    opacity: 0.3;
    z-index: -1;
    animation: glowPulse 4s ease-in-out infinite;
}

.hero-logo {
    width: 400px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.05); }
}

/* ============================================
   SECTION HEADERS
============================================ */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-title i {
    color: var(--accent-coral);
    font-size: 2rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.section-actions {
    text-align: center;
    margin-top: 1rem;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-fast);
    backdrop-filter: blur(10px);
}

.view-all-btn:hover {
    background: var(--accent-coral);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--glow-coral);
    text-decoration: none;
}

/* ============================================
   FEATURED SECTION
============================================ */
.featured-section {
    padding: var(--section-spacing) 0;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.featured-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 2rem;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    transition: var(--transition-smooth);
    overflow: hidden;
}

.featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), transparent);
    opacity: 0;
    transition: var(--transition-fast);
    z-index: 1;
}

.featured-card:hover::before {
    opacity: 1;
}

.featured-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3), var(--glow-coral);
    border-color: var(--accent-coral);
}

.card-spotlight {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transform: rotate(45deg);
    transition: var(--transition-smooth);
    z-index: 1;
}

.featured-card:hover .card-spotlight {
    animation: spotlight 1s ease-out;
}

@keyframes spotlight {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--accent-amber), #F59E0B);
    color: #1A1B3A;
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.card-header {
    text-align: center;
    margin-bottom: 1.5rem;
    z-index: 2;
    position: relative;
}

.casino-logo {
    width: 120px;
    height: 80px;
    object-fit: contain;
    background: white;
    border-radius: 16px;
    padding: 0.2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.card-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.casino-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.casino-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stars {
    display: flex;
    gap: 2px;
}

.stars i {
    color: var(--accent-amber);
    font-size: 1.1rem;
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.rating-number {
    background: var(--accent-amber);
    color: #1A1B3A;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
}

.casino-bonus {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.casino-bonus i {
    color: var(--accent-emerald);
    font-size: 1.2rem;
}

.card-actions {
    display: flex;
    gap: 1rem;
    z-index: 2;
    position: relative;
}

.details-btn, .play-btn {
    flex: 1;
    padding: 1rem;
    border-radius: 16px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
    border: none;
    cursor: pointer;
}

.details-btn {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.details-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
    color: var(--text-primary);
}

.play-btn {
    background: linear-gradient(135deg, var(--accent-coral), var(--accent-orange));
    color: white;
    position: relative;
    overflow: hidden;
}

.play-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.play-btn:hover::before {
    left: 100%;
}

.play-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-coral);
    color: white;
    text-decoration: none;
}

/* ============================================
   CASINO GRID
============================================ */
.casinos-section {
    padding: var(--section-spacing) 0;
}

.casino-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.casino-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
    backdrop-filter: blur(20px);
    position: relative;
}

.casino-card.border-coral { border-color: var(--border-coral); }
.casino-card.border-emerald { border-color: var(--border-emerald); }
.casino-card.border-violet { border-color: var(--border-violet); }
.casino-card.border-amber { border-color: var(--border-amber); }
.casino-card.border-slate { border-color: var(--border-slate); }

.casino-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.casino-card.border-coral:hover { box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), var(--glow-coral); }
.casino-card.border-emerald:hover { box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), var(--glow-emerald); }
.casino-card.border-violet:hover { box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), var(--glow-violet); }
.casino-card.border-amber:hover { box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), var(--glow-amber); }

.casino-tag {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 2;
}

.casino-tag.featured { background: var(--accent-amber); color: #1A1B3A; }
.casino-tag.best { background: var(--accent-coral); color: white; }
.casino-tag.hot { background: var(--accent-emerald); color: white; }
.casino-tag.new { background: var(--accent-violet); color: white; }

.card-inner {
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.casino-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.casino-logo-compact {
    width: 60px;
    height: 40px;
    object-fit: contain;
    background: white;
    border-radius: 8px;
    padding: 0.5rem;
    flex-shrink: 0;
}

.casino-info {
    flex-grow: 1;
}

.casino-name-compact {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.casino-rating-compact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars-mini {
    display: flex;
    gap: 1px;
}

.stars-mini i {
    font-size: 0.8rem;
    color: var(--accent-amber);
}

.rating-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.casino-bonus-compact {
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-actions-compact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
}

.info-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.info-btn:hover {
    background: var(--accent-coral);
    transform: scale(1.1);
    box-shadow: var(--glow-coral);
}

.play-btn-compact {
    flex: 1;
    padding: 0.8rem 1.2rem;
    background: linear-gradient(135deg, var(--accent-coral), var(--accent-orange));
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.play-btn-compact:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-coral);
    color: white;
    text-decoration: none;
}

/* ============================================
   MODALS
============================================ */
.age-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 11, 30, 0.95);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.age-overlay.show {
    opacity: 1;
    visibility: visible;
}

.age-card {
    background: var(--bg-card);
    backdrop-filter: blur(30px);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    max-width: 500px;
    margin: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    animation: modalSlideIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalSlideIn {
    0% { opacity: 0; transform: translateY(50px) scale(0.8); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.age-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.age-icon-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: var(--accent-emerald);
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0.3;
    animation: iconGlow 3s ease-in-out infinite;
}

.age-icon {
    font-size: 4rem;
    color: var(--accent-emerald);
    position: relative;
    z-index: 2;
}

@keyframes iconGlow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

.age-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.age-text {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.age-decorations {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.decoration-item {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    animation: decorationFloat 3s ease-in-out infinite;
}

.decoration-item:nth-child(2) { animation-delay: 0.5s; }
.decoration-item:nth-child(3) { animation-delay: 1s; }
.decoration-item:nth-child(4) { animation-delay: 1.5s; }
.decoration-item:nth-child(5) { animation-delay: 2s; }

@keyframes decorationFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.age-confirm-btn {
    background: linear-gradient(135deg, var(--accent-emerald), #10B981);
    color: white;
    border: none;
    border-radius: 16px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.btn-glow {
    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.6s ease;
}

.age-confirm-btn:hover .btn-glow {
    left: 100%;
}

.age-confirm-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-emerald);
}

.age-language-switch {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.lang-btn {
    padding: 0.5rem 1rem;
    border-radius: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-fast);
}

.lang-btn.active,
.lang-btn:hover {
    background: var(--accent-coral);
    color: white;
    text-decoration: none;
}

.age-disclaimer {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Casino Modal */
.casino-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.casino-modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 11, 30, 0.9);
    backdrop-filter: blur(10px);
}

.modal-container {
    background: var(--bg-card);
    backdrop-filter: blur(30px);
    border-radius: 24px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: modalSlideIn 0.4s ease-out;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--accent-coral);
    transform: scale(1.1);
}

.modal-header {
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-casino-logo {
    width: 80px;
    height: 60px;
    object-fit: contain;
    background: white;
    border-radius: 12px;
    padding: 0.5rem;
}

.modal-casino-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.modal-visit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--accent-coral), var(--accent-orange));
    color: white;
    text-decoration: none;
    border-radius: 16px;
    font-weight: 600;
    transition: var(--transition-fast);
}

.modal-visit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-coral);
    color: white;
    text-decoration: none;
}

/* ============================================
   FOOTER
============================================ */
.main-footer {
    background: var(--bg-secondary);
    padding: 3rem 0 2rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* ============================================
   RESPONSIVE DESIGN
============================================ */
@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
        --section-spacing: 4rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .casino-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1rem;
    }
    
    .age-card {
        margin: 1rem;
        padding: 2rem;
    }
    
    .modal-container {
        width: 95%;
    }
}

/* ============================================
   UTILITY CLASSES
============================================ */
.blur-content {
    filter: blur(8px);
    pointer-events: none;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-coral), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   LOADING STATES
============================================ */
@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.loading-shimmer {
    position: relative;
    overflow: hidden;
}

.loading-shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 2s infinite;
}

/* ============================================
   SCROLL OPTIMIZATIONS
============================================ */
* {
    will-change: auto;
}

.casino-card,
.featured-card,
.floating-card {
    will-change: transform;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .particles,
    .particles-2,
    .particles-3,
    .orb {
        animation: none;
    }
}