/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Particle Background */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    background: linear-gradient(45deg, var(--casino-blue), var(--casino-purple));
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    opacity: 0.3;
}

.particle:nth-child(odd) {
    background: linear-gradient(45deg, var(--casino-green), var(--casino-blue));
    animation-duration: 8s;
}

.particle:nth-child(3n) {
    background: linear-gradient(45deg, var(--casino-gold), var(--casino-red));
    animation-duration: 10s;
    opacity: 0.4;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

/* Removed glow effects for cleaner look */

/* Smooth transitions for all interactive elements */
* {
    transition: all 0.3s ease;
}

/* Enhanced button interactions */
button, .btn, a {
    position: relative;
    overflow: hidden;
}

/* Loading animation for site cards */
@keyframes cardLoad {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.site-card, .alternative-site-card {
    animation: cardLoad 0.6s ease-out;
}

/* Enhanced hover states */
.site-card:hover .site-logo {
    transform: scale(1.1) rotate(5deg);
    filter: brightness(1.2);
}

.register-btn:active {
    transform: translateY(-1px) scale(0.98);
}

/* Removed glow keyframes */

/* Money Rain Effect */
.money-rain {
    position: fixed;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.money {
    position: absolute;
    color: var(--casino-gold);
    font-size: 20px;
    font-weight: bold;
    animation: moneyFall 3s linear infinite;
    opacity: 0.6;
}

@keyframes moneyFall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

:root {
    /* Soft Professional Casino Theme Colors */
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #f59e0b;
    --accent-color: #10b981;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --casino-gold: #f59e0b;
    --casino-red: #ef4444;
    --casino-green: #10b981;
    --casino-purple: #8b5cf6;
    --casino-blue: #6366f1;
    --casino-silver: #9ca3af;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
}

/* Dark Theme */
[data-theme="dark"] {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    
    --border-color: #334155;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.3), 0 2px 4px -2px rgb(0 0 0 / 0.3);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.3), 0 4px 6px -4px rgb(0 0 0 / 0.3);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.3), 0 8px 10px -6px rgb(0 0 0 / 0.3);
}

html, body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #334155 50%, #1e293b 75%, #0f172a 100%);
    background-attachment: fixed;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin: 0;
    padding: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 100vh !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (max-width: 768px) {
    .container {
        max-width: 100% !important;
        padding: 0 0.5rem !important;
        margin: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    * {
        box-sizing: border-box !important;
    }
    
    body {
        overflow-x: hidden !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

/* Header */
.header {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.98));
    border-bottom: 1px solid rgba(251, 191, 36, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(25px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.98));
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(251, 191, 36, 0.3);
}

[data-theme="dark"] .header {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.95));
}

.header .container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 1rem;
    flex-direction: column;
    gap: 1rem;
}

@media (max-width: 768px) {
    .header {
        padding: 0.8rem 0 0.6rem 0;
        background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
        border-bottom: 1px solid rgba(99, 102, 241, 0.3);
        position: sticky;
        top: 0;
        z-index: 100;
    }
    
    .header .container {
        padding: 0 0.8rem !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        gap: 0.6rem !important;
    }
    
    .logo {
        font-size: 1.2rem;
        gap: 0.4rem;
        display: flex;
        align-items: center;
        color: #fbbf24;
        font-weight: 700;
        justify-content: center;
        width: 100%;
    }
    
    .logo i {
        font-size: 1.4rem;
        color: #fbbf24;
    }
    
    
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 2.2rem;
    font-weight: 800;
    color: #fbbf24;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(251, 191, 36, 0.3);
}

.logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.2), transparent);
    transition: left 0.6s ease;
}

.logo:hover::before {
    left: 100%;
}

@media (max-width: 768px) {
    .logo {
        font-size: 1.3rem;
        gap: 0.5rem;
    }
}

.logo:hover {
    transform: scale(1.05);
    text-shadow: 0 0 30px rgba(30, 64, 175, 0.8);
}

.logo i {
    font-size: 2.5rem;
    color: #fbbf24;
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.8);
    filter: drop-shadow(0 2px 8px rgba(251, 191, 36, 0.4));
}

@media (max-width: 768px) {
    .logo i {
        font-size: 1.6rem;
    }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .header-actions {
        gap: 0.8rem;
    }
}







/* Warning Modal Styles */
.warning-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.warning-content {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 16px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.warning-icon {
    color: #fbbf24;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.warning-content h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.warning-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.registration-steps {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.step-number {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    text-align: left;
}

.warning-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-cancel-warning, .btn-continue-warning {
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-cancel-warning {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-cancel-warning:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
}

.btn-continue-warning {
    background: linear-gradient(135deg, #22c55e, #10b981);
    color: white;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.btn-continue-warning:hover {
    background: linear-gradient(135deg, #16a34a, #059669);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.btn-register-site {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-register-site:hover {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.btn-complete-registration {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-complete-registration:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.registration-instructions {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

.registration-instructions p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    line-height: 1.4;
}

.registration-instructions p strong {
    color: #6366f1;
}


/* Progress Notification */
.progress-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.95), rgba(34, 197, 94, 0.95));
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.3);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 300px;
}

.progress-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.notification-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #ffffff;
}

.notification-text {
    flex: 1;
}

.notification-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.2rem;
}

.notification-message {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Mobile Notification */
@media (max-width: 768px) {
    .progress-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        padding: 0.8rem 1rem;
    }
    
    .notification-content {
        gap: 0.6rem;
    }
    
    .notification-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .notification-title {
        font-size: 0.85rem;
    }
    
    .notification-message {
        font-size: 0.75rem;
    }
}

    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.progress-bar {
    width: 200px;
    height: 12px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(30, 64, 175, 0.05));
    border-radius: 25px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 0 10px rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--casino-gold), var(--primary-color), var(--casino-green));
    border-radius: var(--radius-lg);
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0%;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.4);
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.3), transparent);
    animation: progressShine 2s ease-in-out infinite;
}

@keyframes progressShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Hero Section */
.hero {
    padding: 0.1rem 0 0.2rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(251, 191, 36, 0.1);
}

@media screen and (max-width: 768px) {
    .hero {
        padding: 0.05rem 0 0.1rem 0;
        min-height: auto;
    }
    
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%23fbbf24" opacity="0.2"/><circle cx="80" cy="40" r="1.5" fill="%23dc2626" opacity="0.3"/><circle cx="40" cy="80" r="1" fill="%23059669" opacity="0.4"/><circle cx="70" cy="70" r="2.5" fill="%231e40af" opacity="0.2"/></svg>') repeat;
    animation: sparkle 20s linear infinite;
    pointer-events: none;
}

@keyframes sparkle {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-100px) translateY(-100px); }
}



.gradient-text {
    background: linear-gradient(135deg, var(--casino-gold), var(--primary-color), var(--casino-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from {
        filter: drop-shadow(0 0 10px rgba(30, 64, 175, 0.3));
    }
    to {
        filter: drop-shadow(0 0 20px rgba(30, 64, 175, 0.5));
    }
}







/* Removed ::before pseudo-element for cleaner look */


.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: #ffffff;
    position: relative;
    z-index: 2;
}

.section-title i {
    color: var(--casino-gold);
    font-size: 2rem;
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
}

/* Sites Section */
.sites-section {
    padding: 0.4rem 0;
    position: relative;
    overflow: hidden;
}

.sites-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="10" cy="10" r="1" fill="%23fbbf24" opacity="0.3"/><circle cx="90" cy="30" r="1.5" fill="%23dc2626" opacity="0.2"/><circle cx="30" cy="90" r="1" fill="%23059669" opacity="0.4"/><circle cx="70" cy="70" r="2" fill="%231e40af" opacity="0.2"/></svg>') repeat;
    animation: sparkle 25s linear infinite;
    pointer-events: none;
}

.sites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 0.8rem;
    position: relative;
    z-index: 2;
}

@media screen and (max-width: 768px) {
    .sites-section {
        padding: 0.2rem 0;
    }
    
    .sites-section .sites-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.4rem !important;
        padding: 0 0.5rem !important;
        margin: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .sites-section .site-card {
        background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
        border: 1px solid rgba(99, 102, 241, 0.3) !important;
        border-radius: 16px !important;
        padding: 0 !important;
        min-height: 80px !important;
        display: flex !important;
        flex-direction: column !important;
        cursor: pointer !important;
        overflow: hidden !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
        transition: all 0.3s ease !important;
        position: relative !important;
    }
    
    .sites-section .site-card:hover {
        transform: translateY(-3px) !important;
        box-shadow: 0 12px 30px rgba(99, 102, 241, 0.3) !important;
        border-color: #6366f1 !important;
        background: linear-gradient(135deg, #334155 0%, #475569 100%) !important;
    }
    
    .sites-section .site-card.completed {
        border-color: #10b981 !important;
        background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.05) 100%) !important;
        filter: blur(1px) !important;
        opacity: 0.8 !important;
        position: relative !important;
    }
    
    .sites-section .site-card.completed::after {
        content: '✓' !important;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        background: linear-gradient(135deg, #22c55e, #10b981) !important;
        color: white !important;
        width: 35px !important;
        height: 35px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 1.1rem !important;
        font-weight: 700 !important;
        z-index: 10 !important;
        box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4) !important;
        animation: checkmarkPop 0.3s ease-out !important;
    }
    
    .sites-section .card-header {
        padding: 0.6rem 0.5rem 0.3rem 0.5rem !important;
        display: flex !important;
        align-items: center !important;
        gap: 0.5rem !important;
        flex: 1 !important;
    }
    
    .sites-section .card-footer {
        padding: 0.3rem 0.5rem 0.6rem 0.5rem !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
        background: rgba(15, 23, 42, 0.3) !important;
    }
    
    .sites-section .site-logo {
        width: 36px !important;
        height: 36px !important;
        border-radius: 10px !important;
        object-fit: cover !important;
        flex-shrink: 0 !important;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4) !important;
    }
    
    .sites-section .site-name {
        font-size: 0.8rem !important;
        font-weight: 700 !important;
        color: white !important;
        margin: 0 !important;
    }
    
    .sites-section .bonus-text {
        color: rgba(255, 255, 255, 0.8) !important;
        font-size: 0.7rem !important;
        font-weight: 500 !important;
    }
    
    .sites-section .status-icon {
        width: 22px !important;
        height: 22px !important;
        border-radius: 50% !important;
        background: rgba(99, 102, 241, 0.2) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: all 0.3s ease !important;
    }
    
    .sites-section .status-icon i {
        color: #6366f1 !important;
        font-size: 0.7rem !important;
        transition: all 0.3s ease !important;
    }
    
    .sites-section .site-card.completed .status-icon i {
        color: #10b981 !important;
        transform: rotate(0deg) !important;
    }
}

.site-card {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border: 1px solid #475569;
    border-radius: 16px;
    padding: 0;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    min-height: 120px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    overflow: hidden;
}

.site-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
    border-color: #6366f1;
}

.site-card.completed {
    border-color: var(--casino-green);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.05) 100%);
    position: relative;
    filter: blur(1px);
    opacity: 0.8;
    overflow: hidden;
}

.site-card.completed .site-card-inner {
    position: relative;
    z-index: 3;
}

.site-card.completed .border-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #22c55e, #10b981, #059669, #22c55e);
    background-size: 400% 400%;
    border-radius: 12px;
    z-index: -1;
    animation: borderGlow 2s ease-in-out infinite alternate;
}

.site-card.completed::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: shimmer 3s infinite;
    z-index: 2;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes borderGlow {
    0% {
        background-position: 0% 50%;
        opacity: 0.7;
    }
    100% {
        background-position: 100% 50%;
        opacity: 1;
    }
}

.site-card.completed::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #22c55e, #10b981);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
    animation: checkmarkPop 0.3s ease-out;
}

@keyframes checkmarkPop {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.site-card.completed .status-icon i {
    color: var(--casino-green);
    transform: rotate(0deg);
}

.card-header {
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.card-footer {
    padding: 1rem 1.5rem 1.5rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(15, 23, 42, 0.3);
}


.site-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.bonus-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
}

.status-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.status-icon i {
    color: #6366f1;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.site-card:hover .status-icon {
    background: rgba(99, 102, 241, 0.3);
}

.site-card:hover .status-icon i {
    color: #8b5cf6;
    transform: translateX(2px);
}

@media (max-width: 768px) {
    .site-card {
        padding: 1rem;
        min-height: auto;
        border-radius: 15px;
    }
}

/* Removed ::before pseudo-element for cleaner look */

.site-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Removed card glow animation for cleaner look */

.site-card.completed {
    border-color: var(--success-color);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
}

.site-card.completed::before {
    background: linear-gradient(90deg, var(--success-color), #059669);
    height: 6px;
}

/* Recommended Site Styles */
.site-card.recommended {
    border: 2px solid var(--casino-gold);
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(30, 64, 175, 0.1));
    position: relative;
}

.site-card.recommended::before {
    background: linear-gradient(90deg, var(--casino-gold), var(--primary-color));
    height: 6px;
}

.recommended-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, var(--casino-gold), #f59e0b);
    color: #1e293b;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
    border: 1px solid rgba(251, 191, 36, 0.2);
    white-space: nowrap;
}

@media (max-width: 768px) {
    .recommended-badge {
        font-size: 0.65rem;
        padding: 0.25rem 0.5rem;
        top: 8px;
        right: 8px;
    }
}

/* Test Site Styles */
.site-card.test-site {
    border: 2px solid var(--casino-purple);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(30, 64, 175, 0.1));
    position: relative;
    overflow: hidden;
}

.site-card.test-site::before {
    background: linear-gradient(90deg, var(--casino-purple), var(--casino-blue));
    height: 5px;
}

.site-card.test-site::after {
    content: '🧪';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.2rem;
    opacity: 0.7;
}

.test-badge {
    background: linear-gradient(135deg, var(--casino-purple), var(--casino-blue));
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 700;
    margin-left: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.test-bonus {
    background: linear-gradient(135deg, var(--casino-purple), var(--casino-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.test-alternative {
    background: linear-gradient(135deg, var(--casino-purple), var(--casino-blue));
    color: white;
}

.test-btn {
    background: linear-gradient(135deg, var(--casino-purple), var(--casino-blue));
    color: white;
    animation: testPulse 2s ease-in-out infinite;
}

@keyframes testPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(124, 58, 237, 0);
    }
}


@media (max-width: 768px) {
    .site-header {
        gap: 1rem;
        margin-bottom: 0.8rem;
        padding-bottom: 0.8rem;
    }
}

.site-logo {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .site-logo {
        width: 70px;
        height: 70px;
        border-radius: 10px;
    }
}

.site-card:hover .site-logo {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.site-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    gap: 0.5rem;
    position: relative;
}


@media (max-width: 768px) {
    .site-info h3 {
        font-size: 1.2rem;
        line-height: 1.2;
    }
}

/* Rating styles removed - no longer using rating system */

/* Alternative Warning */
.alternative-warning {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 25px;
    padding: 0.6rem 1.2rem;
    margin-bottom: 0.4rem;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 500;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.1);
}

.alternative-warning i {
    color: #6366f1;
    font-size: 1rem;
    flex-shrink: 0;
}

.alternative-warning span {
    flex: 1;
    text-align: center;
}


@media (max-width: 768px) {
    .alternative-warning {
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1)) !important;
        border: 1px solid rgba(99, 102, 241, 0.3) !important;
        border-radius: 20px !important;
        padding: 0.5rem 1rem !important;
        margin: 0.2rem 0.5rem 0.3rem 0.5rem !important;
        font-size: 0.75rem !important;
        display: flex !important;
        align-items: center !important;
        gap: 0.6rem !important;
        color: rgba(255, 255, 255, 0.9) !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* Additional Bonus Sites Section */
.alternative-sites-section {
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.alternative-sites-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="%236366f1" opacity="0.1"/><circle cx="80" cy="40" r="1.5" fill="%23f59e0b" opacity="0.1"/><circle cx="40" cy="80" r="1" fill="%2310b981" opacity="0.1"/></svg>') repeat;
    animation: sparkle 40s linear infinite;
    pointer-events: none;
}

.section-description {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}




@media (max-width: 768px) {
    .site-bonus {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }
}

.site-description {
    display: none;
}

@media (max-width: 768px) {
    .site-description {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 0.8rem;
    }
}

/* Alternative info styles removed - no longer using in site cards */

/* Features Container */
.features-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .features-container {
        gap: 0.3rem;
        margin-bottom: 0.8rem;
    }
}

.feature-tag {
    background: linear-gradient(135deg, var(--primary-color), var(--casino-blue));
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border: 1px solid rgba(251, 191, 36, 0.2);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .feature-tag {
        padding: 0.25rem 0.6rem;
        font-size: 0.65rem;
        border-radius: 4px;
    }
}

.feature-tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.4);
}

.site-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 768px) {
    .site-actions {
        flex-direction: column;
        gap: 0.8rem;
        align-items: stretch;
    }
}


@media (max-width: 768px) {
    .register-btn {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
        justify-content: center;
        border-radius: 8px;
    }
}





@media (max-width: 768px) {
    .status-indicator {
        padding: 0.6rem 1rem;
        justify-content: center;
        font-size: 0.85rem;
    }
}

.status-indicator.completed {
    color: var(--success-color);
    background: rgba(16, 185, 129, 0.3);
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    animation: completedPulse 2s ease-in-out infinite;
}

@keyframes completedPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(16, 185, 129, 0.5);
    }
}

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

.status-indicator.pending {
    color: rgba(255, 255, 255, 0.7);
    background: rgba(107, 114, 128, 0.2);
    border-color: rgba(107, 114, 128, 0.3);
}



/* Registration Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    touch-action: manipulation;
    -webkit-overflow-scrolling: touch;
}

.modal-content {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.95));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 20px;
    margin: 10% auto;
    padding: 0;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease-out;
    display: flex;
    flex-direction: column;
    max-height: 80vh;
    overflow: hidden;
    touch-action: manipulation;
    -webkit-overflow-scrolling: touch;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
    flex-shrink: 0;
}

.modal-header h3 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.modal-body {
    padding: 2rem 1.5rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
}

.warning-icon {
    width: 60px;
    height: 60px;
    background: rgba(239, 68, 68, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #ef4444;
    font-size: 1.5rem;
}

.modal-body p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.modal-body p strong {
    color: #ef4444;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-shrink: 0;
}

.btn-continue, .btn-cancel {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

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

.btn-continue:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.btn-cancel {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-cancel:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 90vh;
        overflow-y: auto;
        box-sizing: border-box;
    }
    
    .modal-header {
        padding: 1rem;
        flex-shrink: 0;
    }
    
    .modal-header h3 {
        font-size: 1.1rem;
    }
    
    .modal-body {
        padding: 1.5rem 1rem;
        overflow-y: auto;
        flex: 1;
    }
    
    .modal-body p {
        font-size: 0.9rem;
        line-height: 1.5;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .modal-actions {
        flex-direction: column;
        gap: 0.8rem;
        margin-top: 1.5rem;
        flex-shrink: 0;
    }
    
    .btn-continue, .btn-cancel {
        width: 100%;
        min-width: auto;
        padding: 0.9rem 1rem;
        font-size: 0.9rem;
    }
}

/* Extra small mobile devices */
@media (max-width: 430px) {
    .modal-content {
        width: 98%;
        margin: 2% auto;
        max-height: 95vh;
        border-radius: 15px;
    }
    
    .modal-header {
        padding: 0.8rem;
    }
    
    .modal-header h3 {
        font-size: 1rem;
    }
    
    .modal-body {
        padding: 1rem 0.8rem;
    }
    
    .modal-body p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .warning-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .modal-actions {
        gap: 0.6rem;
        margin-top: 1rem;
    }
    
    .btn-continue, .btn-cancel {
        padding: 0.8rem 0.5rem;
        font-size: 0.85rem;
    }
}

/* Completion Notification */
.completion-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--casino-green), var(--primary-color));
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
    z-index: 10001;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.completion-notification.show {
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    font-size: 1rem;
}

.notification-content i {
    font-size: 1.2rem;
    color: #ffffff;
}

@media (max-width: 768px) {
    .completion-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        transform: translateY(-100%);
    }
    
    .completion-notification.show {
        transform: translateY(0);
    }
}

/* Footer */
.footer {
    padding: 0.6rem 0 1.2rem 0;
    border-top: 1px solid rgba(99, 102, 241, 0.2);
    position: relative;
    overflow: hidden;
    margin-top: 1.2rem;
    margin-bottom: 0;
    padding-bottom: 0;
    min-height: 100px;
}


.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.3rem;
    position: relative;
    z-index: 2;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
}

.footer-logo i {
    color: #fbbf24;
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

.footer-description {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
    margin: 0;
}

.footer-actions {
    display: flex;
    gap: 0.6rem;
}

.footer-btn {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 8px;
    padding: 0.5rem 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.footer-btn:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.5);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 3px 12px rgba(99, 102, 241, 0.3);
}

.footer-btn i {
    font-size: 0.9rem;
}



/* Responsive Design */
@media (max-width: 768px) {
    
}

@media (max-width: 1024px) and (min-width: 769px) {
    
    .sites-section .sites-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.4rem !important;
        display: grid !important;
        padding: 0 0.5rem !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .header-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    
    .footer {
        padding: 0.4rem 0 0.2rem 0;
        margin-top: 0.4rem;
        min-height: 50px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 0.3rem;
        text-align: center;
        margin-bottom: 0.2rem;
    }
    
    .footer-actions {
        justify-content: center;
    }
    
    .footer-logo {
        font-size: 0.9rem;
    }
    
    .footer-description {
        font-size: 0.7rem;
    }
    
    .footer-btn {
        padding: 0.3rem 0.5rem;
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-card {
        padding: 2rem;
    }
    
    .site-card {
        padding: 1.5rem;
    }
    
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes casinoSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.site-card {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-in {
    animation: fadeInUp 0.8s ease forwards;
}

/* Casino-themed hover effects */
.site-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.2);
}

.site-card.completed {
    border-color: rgba(16, 185, 129, 0.5);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.9));
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.2);
}

.site-card.completed::before {
    background: linear-gradient(90deg, var(--casino-green), var(--primary-color));
    height: 4px;
}

.site-card.completed:hover {
    border-color: rgba(16, 185, 129, 0.7);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.3);
}

.register-btn:hover {
    animation: pulse 0.6s ease-in-out;
    box-shadow: 0 10px 25px rgba(30, 64, 175, 0.3);
}

/* Progress bar casino animation */
.progress-fill {
    background: linear-gradient(90deg, var(--casino-gold), var(--primary-color), var(--casino-green), var(--casino-red));
    background-size: 200% 200%;
    animation: casinoGradient 3s ease infinite;
}

@keyframes casinoGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.site-card:nth-child(1) { animation-delay: 0.1s; }
.site-card:nth-child(2) { animation-delay: 0.2s; }
.site-card:nth-child(3) { animation-delay: 0.3s; }
.site-card:nth-child(4) { animation-delay: 0.4s; }
.site-card:nth-child(5) { animation-delay: 0.5s; }
.site-card:nth-child(6) { animation-delay: 0.6s; }
.site-card:nth-child(7) { animation-delay: 0.7s; }
.site-card:nth-child(8) { animation-delay: 0.8s; }
.site-card:nth-child(9) { animation-delay: 0.9s; }
.site-card:nth-child(10) { animation-delay: 1.0s; }
.site-card:nth-child(11) { animation-delay: 1.1s; }
.site-card:nth-child(12) { animation-delay: 1.2s; }

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Live Support System */
.floating-support-btn {
    position: fixed;
    bottom: 30px;
    right: 60px;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    padding: 0;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

/* Celebration Modal */
.celebration-modal .modal-content {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(99, 102, 241, 0.1));
    backdrop-filter: blur(20px);
    border: 2px solid var(--casino-green);
    border-radius: 20px;
    max-width: 500px;
    text-align: center;
}

.celebration-header {
    padding: 2rem 0 1rem;
}

.celebration-icon {
    font-size: 4rem;
    color: var(--casino-gold);
    margin-bottom: 1rem;
    animation: bounce 1s ease-in-out infinite alternate;
}

.celebration-header h2 {
    color: var(--casino-gold);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
}

.celebration-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.completion-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-item i {
    font-size: 2rem;
    color: var(--casino-green);
}

.stat-item span {
    color: var(--text-light);
    font-weight: 600;
}

.celebration-message {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.celebration-message p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

.btn-support {
    background: linear-gradient(135deg, var(--casino-green), var(--primary-color));
    color: white;
    border: 1px solid var(--casino-green);
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.btn-support:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, var(--primary-color), var(--casino-green));
}

.btn-support-main {
    background: linear-gradient(135deg, var(--casino-green), var(--primary-color));
    color: white;
    border: 1px solid var(--casino-green);
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.btn-support-main:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, var(--primary-color), var(--casino-green));
}

/* Support Options Modal */
.support-options-modal .modal-content {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(16, 185, 129, 0.1));
    backdrop-filter: blur(20px);
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    max-width: 600px;
}

.support-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem 0;
}

.support-option {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.support-option:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--casino-green);
}

.option-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: white;
}

.telegram-icon {
    background: linear-gradient(135deg, #0088cc, #229ED9);
}

.whatsapp-icon {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.support-option h4 {
    color: var(--text-light);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.support-option p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.btn-option {
    background: linear-gradient(135deg, var(--primary-color), var(--casino-green));
    color: white;
    border: 1px solid var(--primary-color);
    padding: 0.8rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    justify-content: center;
}

.btn-option:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
    background: linear-gradient(135deg, var(--casino-green), var(--primary-color));
}

@media (max-width: 768px) {
    .support-options {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .completion-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .celebration-header h2 {
        font-size: 1.5rem;
    }
}

.floating-support-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(139, 92, 246, 0.4);
    background: linear-gradient(135deg, #7c3aed, #8b5cf6);
}

.floating-support-btn:hover .support-avatar {
    transform: scale(1.1);
    filter: drop-shadow(0 0 40px rgba(139, 92, 246, 1)) 
            drop-shadow(0 0 80px rgba(139, 92, 246, 0.8)) 
            drop-shadow(0 0 120px rgba(139, 92, 246, 0.6));
    animation: none;
}

.floating-support-btn i {
    font-size: 1.5rem;
}

/* Support Unread Badge */
.support-unread-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    font-size: 11px;
    font-weight: 700;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    border: 2px solid white;
    z-index: 1001;
    animation: pulse 2s infinite;
}

.support-unread-badge span {
    font-size: 10px;
    line-height: 1;
}

/* Pulse animation for unread badge */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 4px 12px rgba(239, 68, 68, 0.6);
    }
}

.floating-support-btn .support-avatar {
    position: absolute;
    top: -220px;
    right: -50px;
    width: 240px;
    height: 240px;
    object-fit: contain;
    z-index: 1;
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.8)) 
            drop-shadow(0 0 40px rgba(139, 92, 246, 0.6)) 
            drop-shadow(0 0 60px rgba(139, 92, 246, 0.4));
    animation: neonPulse 2s ease-in-out infinite;
}

/* Span removed - only icon now */

@media (max-width: 768px) {
    .floating-support-btn {
        bottom: 20px;
        right: 20px;
        padding: 0.4rem;
        font-size: 0.6rem;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Span removed - only icon now */
    
    .floating-support-btn i {
        font-size: 0.9rem;
    }
    
    .floating-support-btn .support-avatar {
        width: 120px;
        height: 120px;
        top: -110px;
        right: -25px;
    }
}

/* Very Small Mobile Devices */
@media (max-width: 480px) {
    .floating-support-btn {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        padding: 0.3rem;
    }
    
    .floating-support-btn i {
        font-size: 0.8rem;
    }
    
    .floating-support-btn .support-avatar {
        width: 100px;
        height: 100px;
        top: -95px;
        right: -20px;
    }
}

/* iPhone 14 Pro Max Specific */
@media (max-width: 430px) and (max-height: 932px) {
    .footer {
        padding: 0.3rem 0 0.1rem 0;
        margin-top: 0.2rem;
        min-height: 45px;
    }
    
    .footer-content {
        gap: 0.2rem;
        margin-bottom: 0.1rem;
    }
    
    .footer-btn {
        padding: 0.25rem 0.4rem;
        font-size: 0.65rem;
    }
    
    .floating-support-btn {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        padding: 0.3rem;
    }
    
    .floating-support-btn i {
        font-size: 0.8rem;
    }
    
    .floating-support-btn .support-avatar {
        width: 100px;
        height: 100px;
        top: -95px;
        right: -20px;
    }
}

/* Support Modal Styles */
.support-modal {
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

.support-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.completed-site-info,
.user-info,
.support-message {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
}

.completed-site-info h4,
.user-info h4,
.support-message h4 {
    color: var(--casino-gold);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.site-summary {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.site-summary img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
}

.site-summary .site-details h5 {
    color: var(--casino-green);
    margin: 0 0 0.3rem 0;
    font-size: 1.1rem;
}

.site-summary .site-details p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.9rem;
}

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

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.info-item label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.info-item span {
    color: var(--casino-gold);
    font-weight: 600;
}

.support-message textarea {
    width: 100%;
    min-height: 100px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 8px;
    padding: 1rem;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    outline: none;
    transition: border-color 0.3s ease;
}

.support-message textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.support-message textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Support Modal Buttons */
.btn-telegram,
.btn-whatsapp {
    background: linear-gradient(135deg, #0088cc, #229ED9);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.btn-telegram:hover {
    background: linear-gradient(135deg, #229ED9, #0088cc);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 136, 204, 0.3);
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #128C7E, #25D366);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.modal-footer {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .support-modal {
        max-width: 95%;
        margin: 1rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .btn-telegram,
    .btn-whatsapp {
        justify-content: center;
    }
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--border-color);
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Typing Indicator Animation */
.typing-dots {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0.75rem 1rem !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    animation: typingDots 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typingDots {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Chat Modal Styles - Premium Modern Design */
.chat-modal .modal-content {
    max-width: 440px;
    width: 90%;
    height: 640px;
    display: flex;
    flex-direction: column;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.chat-content {
    background: linear-gradient(145deg,
        rgba(20, 20, 30, 0.98) 0%,
        rgba(15, 15, 25, 0.96) 100%);
    backdrop-filter: blur(30px) saturate(120%);
    -webkit-backdrop-filter: blur(30px) saturate(120%);
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 120px rgba(99, 102, 241, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
}

.chat-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 30%,
        rgba(99, 102, 241, 0.08) 0%,
        transparent 50%);
    pointer-events: none;
    animation: floatGradient 20s ease-in-out infinite;
}

@keyframes floatGradient {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

.chat-header {
    background: linear-gradient(135deg,
        rgba(99, 102, 241, 0.95) 0%,
        rgba(139, 92, 246, 0.95) 50%,
        rgba(168, 85, 247, 0.95) 100%);
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10;
    border-bottom: none;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.15);
}

.chat-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 100%);
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 14px;
    color: white;
}

.chat-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-reset-btn {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
}

.chat-reset-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}

.chat-locked-message {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    color: #ef4444;
    font-size: 0.9rem;
    margin-top: 10px;
    animation: slideIn 0.3s ease-out;
}

.chat-locked-message i {
    font-size: 1rem;
}

.chat-header-avatar {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.chat-header-avatar i {
    font-size: 20px;
    color: white;
}

.chat-header-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.chat-header-title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: white;
}

.chat-status {
    font-size: 12px;
    color: #86efac;
    display: flex;
    align-items: center;
    gap: 6px;
}

.chat-status::before {
    content: '';
    width: 7px;
    height: 7px;
    background: #86efac;
    border-radius: 50%;
    display: inline-block;
    animation: statusPulse 2s infinite;
    box-shadow: 0 0 8px rgba(134, 239, 172, 0.6);
}

@keyframes statusPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(0.95);
    }
}

.chat-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    color: white;
    opacity: 0.9;
    cursor: pointer;
    font-size: 22px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg) scale(1.1);
}

.chat-body {
    flex: 1;
    overflow: hidden;
    background: transparent;
    position: relative;
}

.chat-messages {
    height: 100%;
    overflow-y: auto;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    scroll-behavior: smooth;
    background: linear-gradient(180deg,
        rgba(15, 15, 25, 0) 0%,
        rgba(15, 15, 25, 0.4) 100%);
}

.chat-message {
    display: flex;
    gap: 10px;
    animation: messageSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-width: 85%;
    min-width: 200px;
    position: relative;
    word-wrap: break-word;
    word-break: keep-all;
    hyphens: none;
}

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

.message-avatar {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.message-avatar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.2) 0%,
        transparent 100%);
    pointer-events: none;
}

.message-avatar i {
    font-size: 16px;
    z-index: 1;
}

.message-content {
    max-width: 75%;
    min-width: 150px;
    padding: 0;
    border-radius: 18px;
    color: white;
    line-height: 1.5;
    word-wrap: break-word;
    word-break: keep-all;
    overflow-wrap: break-word;
    white-space: pre-wrap;
    font-size: 14px;
    position: relative;
    transition: all 0.2s ease;
    hyphens: none;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: auto;
}

.user-message {
    flex-direction: row-reverse;
    align-self: flex-end;
}

.user-message .message-avatar {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

.user-message .message-content {
    background: linear-gradient(135deg,
        rgba(99, 102, 241, 0.9) 0%,
        rgba(139, 92, 246, 0.9) 100%);
    border-radius: 18px 18px 4px 18px;
    color: white;
    box-shadow:
        0 8px 24px rgba(99, 102, 241, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 16px;
}

/* Image messages don't need padding */
.user-message .message-content.chat-image-message {
    padding: 0;
}

.user-message .message-content:hover {
    transform: translateY(-1px);
    box-shadow:
        0 10px 28px rgba(99, 102, 241, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.bot-message {
    align-self: flex-start;
}

.bot-message .message-avatar {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.bot-message .message-content {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.05) 100%);
    border-radius: 18px 18px 18px 4px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    padding: 12px 16px;
}

/* Image messages don't need padding */
.bot-message .message-content.chat-image-message {
    padding: 0;
}

.bot-message .message-content:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.07) 100%);
}

.bot-message .message-content b {
    color: #a78bfa;
    font-weight: 600;
}

.typing-indicator .message-content {
    padding: 12px 16px;
    min-width: 60px;
}

.typing-dots {
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #a78bfa 0%, #c084fc 100%);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite;
    box-shadow: 0 2px 4px rgba(167, 139, 250, 0.3);
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.15s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes typingBounce {
    0%, 60%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.5;
    }
    30% {
        transform: translateY(-12px) scale(1.2);
        opacity: 1;
    }
}

.chat-footer {
    padding: 16px 20px;
    background: linear-gradient(180deg,
        rgba(15, 15, 25, 0.98) 0%,
        rgba(20, 20, 30, 0.98) 100%);
    backdrop-filter: blur(30px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.chat-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(99, 102, 241, 0.3) 50%,
        transparent 100%);
}

.chat-input-container {
    display: flex;
    gap: 10px;
    align-items: center;
    position: relative;
}

.chat-image-btn {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg,
        rgba(16, 185, 129, 0.2) 0%,
        rgba(16, 185, 129, 0.1) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.chat-image-btn:hover {
    background: linear-gradient(135deg,
        rgba(16, 185, 129, 0.3) 0%,
        rgba(16, 185, 129, 0.2) 100%);
    border-color: rgba(16, 185, 129, 0.5);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.chat-image-btn:active {
    transform: scale(0.95);
}

.chat-image-btn i {
    font-size: 18px;
    z-index: 1;
}

/* Chat Image Message Styles */
.chat-image-message {
    margin: 0;
    display: block;
    width: fit-content;
    max-width: 100%;
}

.chat-image-preview {
    position: relative;
    display: inline-block;
    margin: 0;
    padding: 0;
}

.chat-image-preview img,
.chat-image-thumbnail {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    margin: 0;
    padding: 0;
    display: block;
}

/* Image info styles removed - only showing image */

/* Image Popup Styles */
.image-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.image-popup-content {
    background: white;
    border-radius: 12px;
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: slideIn 0.3s ease;
}

.image-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.image-popup-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.image-popup-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.image-popup-body {
    padding: 20px;
    text-align: center;
    max-height: 70vh;
    overflow: auto;
}

.image-popup-img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.image-popup-footer {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.image-popup-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background 0.2s;
}

.image-popup-btn:hover {
    background: var(--primary-dark);
}

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

@keyframes slideIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.chat-input {
    flex: 1;
    padding: 12px 18px;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    color: white;
    font-size: 14px;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.chat-input:focus {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0.08) 100%);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow:
        0 0 0 3px rgba(99, 102, 241, 0.1),
        0 4px 16px rgba(99, 102, 241, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.chat-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
}

.chat-send-btn {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg,
        rgba(99, 102, 241, 1) 0%,
        rgba(139, 92, 246, 1) 100%);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 4px 12px rgba(99, 102, 241, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.chat-send-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle,
        rgba(255, 255, 255, 0.3) 0%,
        transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease;
}

.chat-send-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow:
        0 8px 24px rgba(99, 102, 241, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.chat-send-btn:hover::before {
    transform: translate(-50%, -50%) scale(2);
}

.chat-send-btn:active {
    transform: scale(0.95);
}

.chat-send-btn i {
    font-size: 18px;
    z-index: 1;
}

.chat-action-btn {
    background: linear-gradient(135deg, var(--primary-gradient-start, #6366f1), var(--primary-gradient-end, #8b5cf6));
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    margin-top: 10px;
}

.chat-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.4);
}

.chat-messages::-webkit-scrollbar {
    width: 4px;
}

.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg,
        rgba(99, 102, 241, 0.3) 0%,
        rgba(139, 92, 246, 0.3) 100%);
    border-radius: 100px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg,
        rgba(99, 102, 241, 0.5) 0%,
        rgba(139, 92, 246, 0.5) 100%);
}

/* Mobile responsive chat */
@media (max-width: 768px) {
    .chat-modal .modal-content {
        width: 95%;
        height: 85vh;
        max-height: 700px;
        border-radius: 20px;
    }

    .chat-content {
        border-radius: 20px;
    }

    .message-content {
        max-width: 80%;
        min-width: 120px;
        font-size: 13px;
        word-break: keep-all;
        hyphens: none;
    }

    .chat-header {
        padding: 16px 18px;
    }

    .chat-messages {
        padding: 16px;
    }

    .chat-footer {
        padding: 12px 16px;
    }
}

/* Neon Pulse Animation for Avatar */
@keyframes neonPulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.8)) 
                drop-shadow(0 0 40px rgba(139, 92, 246, 0.6)) 
                drop-shadow(0 0 60px rgba(139, 92, 246, 0.4));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 30px rgba(139, 92, 246, 1)) 
                drop-shadow(0 0 60px rgba(139, 92, 246, 0.8)) 
                drop-shadow(0 0 90px rgba(139, 92, 246, 0.6));
    }
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.8)) 
                drop-shadow(0 0 40px rgba(139, 92, 246, 0.6)) 
                drop-shadow(0 0 60px rgba(139, 92, 246, 0.4));
    }
}

/* Username Entry Modal Styles */
.username-modal {
    z-index: 10001;
}

.username-modal-content {
    background: linear-gradient(145deg,
        rgba(15, 15, 25, 0.98) 0%,
        rgba(20, 20, 30, 0.96) 50%,
        rgba(25, 25, 35, 0.94) 100%);
    backdrop-filter: blur(30px) saturate(120%);
    -webkit-backdrop-filter: blur(30px) saturate(120%);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 24px;
    max-width: 480px;
    width: 90%;
    margin: 5% auto;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.6),
        0 0 120px rgba(99, 102, 241, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.username-modal-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 40%,
        rgba(99, 102, 241, 0.1) 0%,
        rgba(139, 92, 246, 0.08) 30%,
        transparent 70%);
    pointer-events: none;
    animation: floatGradient 15s ease-in-out infinite;
}

.username-modal-header {
    padding: 2rem 2rem 1.5rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.welcome-avatar {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
    animation: avatarFloat 3s ease-in-out infinite;
}

.avatar-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(99, 102, 241, 0.3);
    position: relative;
    z-index: 2;
}

.avatar-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, 
        rgba(99, 102, 241, 0.4),
        rgba(139, 92, 246, 0.4),
        rgba(168, 85, 247, 0.4));
    border-radius: 50%;
    filter: blur(15px);
    animation: glowPulse 2s ease-in-out infinite alternate;
    z-index: 1;
}

@keyframes avatarFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-8px) rotate(2deg);
    }
}

@keyframes glowPulse {
    0% {
        opacity: 0.6;
        transform: scale(1);
    }
    100% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.welcome-title {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    text-shadow: 0 2px 10px rgba(99, 102, 241, 0.3);
    letter-spacing: 0.5px;
}

.welcome-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin: 0;
    font-weight: 400;
    line-height: 1.5;
}

.username-modal-body {
    padding: 0 2rem 1.5rem;
    position: relative;
    z-index: 2;
}

.input-container {
    margin-bottom: 1.5rem;
}

.input-wrapper {
    position: relative;
    margin-bottom: 0.5rem;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    z-index: 2;
    transition: color 0.3s ease;
}

.username-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.05) 100%);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.username-input:focus {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0.08) 100%);
    border-color: rgba(99, 102, 241, 0.6);
    box-shadow:
        0 0 0 4px rgba(99, 102, 241, 0.1),
        0 8px 24px rgba(99, 102, 241, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.username-input:focus + .input-focus-line {
    width: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(99, 102, 241, 0.8) 50%,
        transparent 100%);
}

.username-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.95rem;
}

.input-focus-line {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(99, 102, 241, 0.8) 50%,
        transparent 100%);
    border-radius: 2px;
    transition: width 0.3s ease;
    z-index: 1;
}

.validation-message {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    padding-left: 0.5rem;
    min-height: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.validation-message.show {
    opacity: 1;
    transform: translateY(0);
}

.validation-message.success {
    color: #10b981;
}

.validation-message::before {
    content: '⚠️';
    font-size: 0.8rem;
}

.validation-message.success::before {
    content: '✅';
}


.validation-rules {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.rule-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.rule-item.valid {
    color: #10b981;
}

.rule-item.invalid {
    color: #ef4444;
}

.rule-item i {
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.rule-item.valid i {
    color: #10b981;
    transform: scale(1.1);
}

.rule-item.invalid i {
    color: #ef4444;
}

.username-modal-footer {
    padding: 1.5rem 2rem 2rem;
    display: flex;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.btn-start-chat {
    flex: 1;
    background: linear-gradient(135deg,
        rgba(99, 102, 241, 1) 0%,
        rgba(139, 92, 246, 1) 100%);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    box-shadow:
        0 8px 24px rgba(99, 102, 241, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-start-chat::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle,
        rgba(255, 255, 255, 0.3) 0%,
        transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease;
}

.btn-start-chat:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow:
        0 12px 32px rgba(99, 102, 241, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg,
        rgba(139, 92, 246, 1) 0%,
        rgba(99, 102, 241, 1) 100%);
}

.btn-start-chat:hover::before {
    transform: translate(-50%, -50%) scale(2);
}

.btn-start-chat:active {
    transform: scale(0.98);
}

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

.btn-later {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 1.5rem;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    backdrop-filter: blur(10px);
}

.btn-later:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
    transform: translateY(-1px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .username-modal-content {
        width: 95%;
        margin: 2% auto;
        border-radius: 20px;
        max-width: none;
    }
    
    .username-modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .avatar-image {
        width: 70px;
        height: 70px;
    }
    
    .welcome-title {
        font-size: 1.5rem;
    }
    
    .welcome-subtitle {
        font-size: 0.9rem;
    }
    
    .username-modal-body {
        padding: 0 1.5rem 1rem;
    }
    
    .username-input {
        padding: 0.9rem 0.9rem 0.9rem 2.8rem;
        font-size: 0.95rem;
    }
    
    .input-icon {
        left: 0.9rem;
        font-size: 1rem;
    }
    
    
    .validation-rules {
        gap: 0.6rem;
    }
    
    .rule-item {
        font-size: 0.8rem;
        gap: 0.6rem;
    }
    
    .username-modal-footer {
        padding: 1rem 1.5rem 1.5rem;
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .btn-start-chat,
    .btn-later {
        width: 100%;
        padding: 0.9rem 1rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 430px) {
    .username-modal-content {
        width: 98%;
        margin: 1% auto;
        border-radius: 16px;
    }
    
    .username-modal-header {
        padding: 1.2rem 1.2rem 0.8rem;
    }
    
    .avatar-image {
        width: 60px;
        height: 60px;
    }
    
    .welcome-title {
        font-size: 1.3rem;
    }
    
    .username-modal-body {
        padding: 0 1.2rem 0.8rem;
    }
    
    .username-modal-footer {
        padding: 0.8rem 1.2rem 1.2rem;
    }
}
