/* Casino Modern CSS Styles */

:root {
    --primary-color: #ffd700;
    --secondary-color: #1a1a2e;
    --accent-color: #16213e;
    --success-color: #00ff88;
    --danger-color: #ff4757;
    --warning-color: #ffa502;
    --info-color: #3742fa;
    --dark-color: #0f0f23;
    --light-color: #ffffff;
    --gradient-primary: linear-gradient(135deg, #ffd700, #ffed4e);
    --gradient-secondary: linear-gradient(135deg, #1a1a2e, #16213e);
    --gradient-hero: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(22, 33, 62, 0.8));
    --shadow-primary: 0 10px 30px rgba(255, 215, 0, 0.3);
    --shadow-secondary: 0 5px 15px rgba(0, 0, 0, 0.3);
    --border-radius: 15px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: var(--secondary-color);
    color: var(--light-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
}

/* Navigation */
.casino-nav {
    background: var(--gradient-secondary) !important;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary-color);
    box-shadow: var(--shadow-secondary);
    transition: var(--transition);
}

.casino-nav.scrolled {
    background: rgba(26, 26, 46, 0.95) !important;
}

.casino-brand {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-color) !important;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.navbar-nav .nav-link {
    color: var(--light-color) !important;
    font-weight: 500;
    padding: 0.75rem 1rem !important;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

.wallet-link {
    background: var(--gradient-primary) !important;
    color: var(--dark-color) !important;
    border-radius: 25px;
    padding: 0.5rem 1rem !important;
    font-weight: 700;
    box-shadow: var(--shadow-primary);
}

.casino-btn {
    background: var(--gradient-primary);
    border: none;
    color: var(--dark-color);
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    transition: var(--transition);
    box-shadow: var(--shadow-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.casino-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.4);
    color: var(--dark-color);
}

.casino-dropdown {
    background: var(--accent-color);
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-secondary);
}

.casino-dropdown .dropdown-item {
    color: var(--light-color);
    transition: var(--transition);
}

.casino-dropdown .dropdown-item:hover {
    background: var(--primary-color);
    color: var(--dark-color);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-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"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffd700" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffd700" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffd700" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="%23ffd700" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="%23ffd700" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    animation: slideInLeft 1s ease-out;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: slideInLeft 1s ease-out 0.3s both;
}

.hero-buttons {
    animation: slideInLeft 1s ease-out 0.6s both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Game Cards */
.hero-games {
    position: relative;
    z-index: 2;
    animation: slideInRight 1s ease-out 0.3s both;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.game-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 500px;
    margin: 0 auto;
}

.game-card {
    background: var(--gradient-secondary);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transform: rotate(45deg);
    transition: var(--transition);
    opacity: 0;
}

.game-card:hover::before {
    opacity: 1;
    animation: shimmer 1.5s ease-in-out;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.game-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--shadow-primary);
}

.game-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.game-card span {
    font-weight: 700;
    font-size: 1.1rem;
}

/* Sections */
.features-section, .games-section, .promotions-section {
    padding: 5rem 0;
    position: relative;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.section-subtitle {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 3rem;
}

/* Feature Cards */
.feature-card {
    background: var(--gradient-secondary);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-secondary);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--dark-color);
    box-shadow: var(--shadow-primary);
}

.feature-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Game Items */
.game-item {
    background: var(--gradient-secondary);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 215, 0, 0.3);
    height: 100%;
}

.game-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-secondary);
    border-color: var(--primary-color);
}

.game-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.game-item:hover .game-image img {
    transform: scale(1.1);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.game-item:hover .game-overlay {
    opacity: 1;
}

.play-btn {
    padding: 0.75rem 2rem;
    font-weight: 700;
    border-radius: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.game-info {
    padding: 1.5rem;
}

.game-info h5 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.game-category {
    color: var(--light-color);
    opacity: 0.7;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.game-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

.rtp {
    color: var(--success-color);
    font-weight: 600;
}

.jackpot {
    color: var(--warning-color);
    font-weight: 600;
}

/* Promo Cards */
.promo-card {
    background: var(--gradient-secondary);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--primary-color);
    height: 100%;
}

.promo-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s ease-in-out infinite;
}

.welcome-bonus {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: var(--dark-color);
}

.daily-bonus {
    background: linear-gradient(135deg, #00ff88, #00d4aa);
    color: var(--dark-color);
}

.promo-content {
    position: relative;
    z-index: 2;
}

.promo-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.promo-card h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.promo-card p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Footer */
.casino-footer {
    background: var(--dark-color);
    padding: 4rem 0 2rem;
    border-top: 2px solid var(--primary-color);
}

.footer-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.footer-subtitle {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--light-color);
    text-decoration: none;
    transition: var(--transition);
    opacity: 0.8;
}

.footer-links a:hover {
    color: var(--primary-color);
    opacity: 1;
}

.social-links {
    margin-top: 1.5rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: var(--dark-color);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 1rem;
    transition: var(--transition);
    text-decoration: none;
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary);
}

.footer-divider {
    border-color: rgba(255, 215, 0, 0.3);
    margin: 2rem 0 1rem;
}

.footer-copyright {
    color: var(--light-color);
    opacity: 0.7;
    margin: 0;
}

.payment-methods {
    color: var(--light-color);
    opacity: 0.8;
}

.payment-methods i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Live Chat Widget */
.live-chat-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--dark-color);
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-primary);
    transition: var(--transition);
    position: relative;
}

.chat-toggle:hover {
    transform: scale(1.1);
}

.chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.chat-window {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 350px;
    height: 400px;
    background: var(--accent-color);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-secondary);
    display: none;
    flex-direction: column;
}

.chat-window.show {
    display: flex;
}

.chat-header {
    background: var(--primary-color);
    color: var(--dark-color);
    padding: 1rem;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
}

.chat-close {
    background: none;
    border: none;
    color: var(--dark-color);
    font-size: 1.2rem;
    cursor: pointer;
}

.chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
}

.message {
    margin-bottom: 1rem;
    padding: 0.75rem;
    border-radius: 10px;
    max-width: 80%;
}

.message.support {
    background: var(--primary-color);
    color: var(--dark-color);
    margin-right: auto;
}

.message.user {
    background: var(--info-color);
    color: white;
    margin-left: auto;
}

.chat-input {
    padding: 1rem;
    border-top: 1px solid rgba(255, 215, 0, 0.3);
    display: flex;
    gap: 0.5rem;
}

.chat-input input {
    flex: 1;
    background: var(--secondary-color);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    color: var(--light-color);
    outline: none;
}

.chat-input input:focus {
    border-color: var(--primary-color);
}

.chat-input button {
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: var(--dark-color);
    cursor: pointer;
    transition: var(--transition);
}

.chat-input button:hover {
    transform: scale(1.1);
}

/* Auth Cards */
.auth-card {
    background: var(--gradient-secondary);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-secondary);
    transition: var(--transition);
}

.auth-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-primary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .game-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .chat-window {
        width: 300px;
        height: 350px;
    }
    
    .casino-nav .navbar-nav {
        text-align: center;
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .game-cards {
        grid-template-columns: 1fr;
    }
    
    .chat-window {
        width: 280px;
        right: -10px;
    }
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.bounce {
    animation: bounce 2s infinite;
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 215, 0, 0.3);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--secondary-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ffed4e;
}

/* Utility Classes */
.text-casino-primary { color: var(--primary-color) !important; }
.bg-casino-primary { background: var(--primary-color) !important; }
.border-casino-primary { border-color: var(--primary-color) !important; }

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Game-specific styles */
.slot-machine {
    background: var(--gradient-secondary);
    border: 3px solid var(--primary-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
}

.reel {
    width: 100px;
    height: 100px;
    background: var(--light-color);
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    display: inline-block;
    margin: 0 0.5rem;
    font-size: 3rem;
    line-height: 100px;
    color: var(--dark-color);
    font-weight: 900;
}

.spin-btn {
    background: var(--gradient-primary);
    border: none;
    color: var(--dark-color);
    font-size: 1.5rem;
    font-weight: 900;
    padding: 1rem 3rem;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 2rem;
}

.spin-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary);
}

.spin-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Table Games */
.poker-table {
    background: radial-gradient(circle, #0d5016, #1a1a2e);
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 400px;
    height: 400px;
    margin: 2rem auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card {
    width: 60px;
    height: 90px;
    background: var(--light-color);
    border: 2px solid var(--dark-color);
    border-radius: 8px;
    display: inline-block;
    margin: 0 0.25rem;
    position: relative;
    font-weight: 900;
    color: var(--dark-color);
    text-align: center;
    line-height: 90px;
    font-size: 1.2rem;
}

.card.red {
    color: var(--danger-color);
}

.card.black {
    color: var(--dark-color);
}

/* Roulette */
.roulette-wheel {
    width: 300px;
    height: 300px;
    border: 8px solid var(--primary-color);
    border-radius: 50%;
    margin: 2rem auto;
    position: relative;
    background: conic-gradient(
        #ff0000 0deg 9.5deg,
        #000000 9.5deg 19deg,
        #ff0000 19deg 28.5deg,
        #000000 28.5deg 38deg,
        #ff0000 38deg 47.5deg,
        #000000 47.5deg 57deg,
        #ff0000 57deg 66.5deg,
        #000000 66.5deg 76deg,
        #ff0000 76deg 85.5deg,
        #000000 85.5deg 95deg,
        #ff0000 95deg 104.5deg,
        #000000 104.5deg 114deg,
        #ff0000 114deg 123.5deg,
        #000000 123.5deg 133deg,
        #ff0000 133deg 142.5deg,
        #000000 142.5deg 152deg,
        #ff0000 152deg 161.5deg,
        #000000 161.5deg 171deg,
        #ff0000 171deg 180.5deg,
        #000000 180.5deg 190deg,
        #ff0000 190deg 199.5deg,
        #000000 199.5deg 209deg,
        #ff0000 209deg 218.5deg,
        #000000 218.5deg 228deg,
        #ff0000 228deg 237.5deg,
        #000000 237.5deg 247deg,
        #ff0000 247deg 256.5deg,
        #000000 256.5deg 266deg,
        #ff0000 266deg 275.5deg,
        #000000 275.5deg 285deg,
        #ff0000 285deg 294.5deg,
        #000000 294.5deg 304deg,
        #ff0000 304deg 313.5deg,
        #000000 313.5deg 323deg,
        #ff0000 323deg 332.5deg,
        #000000 332.5deg 342deg,
        #ff0000 342deg 351.5deg,
        #000000 351.5deg 360deg
    );
    animation: spin 3s linear infinite;
}

.roulette-ball {
    width: 20px;
    height: 20px;
    background: var(--light-color);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

/* Betting Area */
.betting-area {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.bet-button {
    background: var(--gradient-secondary);
    border: 2px solid var(--primary-color);
    color: var(--light-color);
    padding: 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 700;
    text-align: center;
}

.bet-button:hover {
    background: var(--primary-color);
    color: var(--dark-color);
    transform: translateY(-3px);
}

.bet-button.selected {
    background: var(--primary-color);
    color: var(--dark-color);
    box-shadow: var(--shadow-primary);
}

/* Results Display */
.result-display {
    background: var(--gradient-secondary);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
}

.result-display h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.result-display .result-amount {
    font-size: 2rem;
    font-weight: 900;
    color: var(--success-color);
}

.result-display .result-amount.loss {
    color: var(--danger-color);
}

/* Auth Pages Styles */
.auth-body {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    min-height: 100vh;
}

.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.auth-overlay {
    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"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffd700" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffd700" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffd700" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="%23ffd700" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="%23ffd700" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

.auth-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.auth-subtitle {
    color: var(--light-color);
    opacity: 0.8;
    font-size: 1.1rem;
}

.auth-input {
    background: var(--secondary-color);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    color: var(--light-color);
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.auth-input:focus {
    background: var(--secondary-color);
    border-color: var(--primary-color);
    color: var(--light-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.25);
}

.auth-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.password-input-group {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--light-color);
    cursor: pointer;
    transition: var(--transition);
}

.password-toggle:hover {
    color: var(--primary-color);
}

.auth-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.auth-link:hover {
    color: var(--light-color);
    text-decoration: underline;
}

.social-login {
    margin-top: 2rem;
}

.divider {
    position: relative;
    text-align: center;
    margin: 2rem 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 215, 0, 0.3);
}

.divider span {
    background: var(--accent-color);
    padding: 0 1rem;
    color: var(--light-color);
    position: relative;
    z-index: 1;
}

.social-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-btn {
    flex: 1;
    max-width: 200px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.social-btn:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--dark-color);
}

.security-info, .welcome-bonus-info {
    padding: 1.5rem;
}

.security-list, .bonus-details {
    list-style: none;
    padding: 0;
}

.security-list li, .bonus-item {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

.password-strength {
    margin-top: 0.5rem;
}

.strength-bar {
    width: 100%;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.strength-fill {
    height: 100%;
    transition: var(--transition);
    border-radius: 2px;
}

.strength-fill.very-weak { background: #ff4757; width: 20%; }
.strength-fill.weak { background: #ff6b7a; width: 40%; }
.strength-fill.medium { background: #ffa502; width: 60%; }
.strength-fill.strong { background: #2ed573; width: 80%; }
.strength-fill.very-strong { background: #1e90ff; width: 100%; }

.strength-text {
    color: var(--light-color);
    opacity: 0.7;
    font-size: 0.85rem;
}

/* Payment Methods */
.payment-methods, .withdraw-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.payment-method, .withdraw-method {
    position: relative;
}

.payment-method input, .withdraw-method input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.payment-option, .withdraw-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    background: var(--gradient-secondary);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.payment-option:hover, .withdraw-option:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.payment-option.selected, .withdraw-option.selected {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--dark-color);
}

.payment-option i, .withdraw-option i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.payment-option.selected i, .withdraw-option.selected i {
    color: var(--dark-color);
}

.payment-option span, .withdraw-option span {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.payment-option small, .withdraw-option small {
    opacity: 0.7;
    font-size: 0.85rem;
}

/* Quick Amount Buttons */
.quick-amounts {
    border-top: 1px solid rgba(255, 215, 0, 0.3);
    padding-top: 1.5rem;
}

/* Deposit/Withdraw Specific Styles */
.deposit-header, .withdraw-header {
    background: var(--gradient-secondary);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
}

.deposit-header h2, .withdraw-header h2 {
    font-size: 3rem;
    font-weight: 900;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

/* Games Page Specific */
.games-header {
    background: var(--gradient-secondary);
    border-bottom: 2px solid var(--primary-color);
}

.filter-card {
    background: var(--gradient-secondary);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-secondary);
}

.games-grid {
    background: var(--secondary-color);
}

.no-games {
    padding: 4rem 2rem;
    text-align: center;
}

.featured-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--gradient-primary);
    color: var(--dark-color);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: var(--shadow-primary);
}

.game-description {
    margin-top: 0.5rem;
    color: var(--light-color);
    opacity: 0.7;
}

.quick-play {
    background: var(--gradient-secondary);
    border-top: 2px solid var(--primary-color);
}

.quick-play-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    background: var(--gradient-secondary);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--light-color);
    transition: var(--transition);
    height: 100%;
}

.quick-play-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    color: var(--light-color);
    text-decoration: none;
}

.quick-play-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.quick-play-item span {
    font-weight: 700;
    font-size: 1.1rem;
}

/* Casino Modal */
.casino-modal {
    background: var(--gradient-secondary);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    color: var(--light-color);
}

.casino-modal .modal-header {
    background: var(--primary-color);
    color: var(--dark-color);
    border-bottom: none;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.casino-modal .modal-footer {
    border-top: 1px solid rgba(255, 215, 0, 0.3);
    background: var(--accent-color);
}

/* Statistics */
.stat-item {
    padding: 1rem;
    text-align: center;
}

.stat-item h4 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

/* Admin Panel Styles */
.admin-dashboard {
    background: var(--secondary-color);
    min-height: 100vh;
}

.stat-card {
    background: var(--gradient-secondary);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: var(--border-radius);
    padding: 2rem;
    display: flex;
    align-items: center;
    transition: var(--transition);
    height: 100%;
}

.stat-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-secondary);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    font-size: 1.5rem;
    color: var(--dark-color);
    box-shadow: var(--shadow-primary);
}

.stat-content h3 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-content p {
    color: var(--light-color);
    opacity: 0.8;
    margin: 0;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .poker-table {
        width: 300px;
        height: 300px;
    }
    
    .roulette-wheel {
        width: 250px;
        height: 250px;
    }
    
    .betting-area {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .card {
        width: 45px;
        height: 70px;
        line-height: 70px;
        font-size: 1rem;
    }
    
    .auth-title {
        font-size: 2rem;
    }
    
    .payment-methods, .withdraw-methods {
        grid-template-columns: 1fr;
    }
    
    .social-buttons {
        flex-direction: column;
    }
    
    .social-btn {
        max-width: none;
    }
    
    .deposit-header h2, .withdraw-header h2 {
        font-size: 2rem;
    }
    
    .quick-play-item {
        padding: 1.5rem 1rem;
    }
    
    .quick-play-item i {
        font-size: 2rem;
    }
}
