/* Lucky Dragon Casino - Global Styles */
:root {
    --gold: #FFD700;
    --dark-gold: #B8860B;
    --red: #DC143C;
    --dark-red: #8B0000;
    --green: #228B22;
    --bg-dark: #0a0a1a;
    --bg-card: #1a1a2e;
    --bg-card-hover: #252545;
    --text-light: #f0e6d3;
    --text-muted: #a09880;
    --neon-glow: 0 0 10px rgba(255, 215, 0, 0.5), 0 0 20px rgba(255, 215, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    min-height: 100vh;
    background-image: 
        radial-gradient(ellipse at 20% 50%, rgba(139, 0, 0, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 215, 0, 0.08) 0%, transparent 50%);
}

/* Navigation */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: linear-gradient(180deg, #1a0a0a 0%, #0a0a1a 100%);
    border-bottom: 2px solid var(--dark-gold);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gold);
    text-shadow: var(--neon-glow);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
    background: rgba(255, 215, 0, 0.1);
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

/* Hero Section */
.hero {
    height: 50vh;
    background: 
        linear-gradient(rgba(10, 10, 26, 0.6), rgba(10, 10, 26, 0.8)),
        url('https://images.unsplash.com/photo-1606167668584-78701c57f13d?w=1600&h=800&fit=crop') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay h1 {
    font-size: 3rem;
    color: var(--gold);
    text-shadow: var(--neon-glow);
    margin-bottom: 1rem;
    animation: glow 2s ease-in-out infinite alternate;
}

.hero-overlay .hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-style: italic;
}

@keyframes glow {
    from { text-shadow: 0 0 10px rgba(255, 215, 0, 0.5); }
    to { text-shadow: 0 0 20px rgba(255, 215, 0, 0.8), 0 0 40px rgba(255, 215, 0, 0.4); }
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--red) 0%, var(--dark-red) 100%);
    color: var(--gold);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    border: 2px solid var(--gold);
    transition: all 0.3s ease;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(220, 20, 60, 0.5), var(--neon-glow);
}

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

/* Section Headings */
.container h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 2rem;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

/* Game Grid */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.game-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-light);
    position: relative;
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 215, 0, 0.2);
    background: var(--bg-card-hover);
}

.game-card .game-icon {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 2rem;
    z-index: 2;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.game-card:hover img {
    opacity: 1;
}

.game-card h3 {
    padding: 1rem 1rem 0.3rem;
    color: var(--gold);
    font-size: 1.2rem;
}

.game-card p {
    padding: 0 1rem 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge.hot { background: var(--red); color: white; }
.badge.new { background: var(--green); color: white; }
.badge.vip { background: var(--dark-gold); color: black; }
.badge.free { background: #6a0dad; color: white; }

/* Stats Bar */
.stats-bar {
    display: flex;
    justify-content: space-around;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 12px;
    margin-bottom: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    color: var(--gold);
    font-weight: bold;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

/* Winners */
.winner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.winner-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
}

.winner-card:hover {
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.15);
}

.winner-avatar {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.winner-name {
    color: var(--text-light);
    font-weight: bold;
}

.winner-amount {
    color: var(--gold);
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0.3rem 0;
    text-shadow: 0 0 6px rgba(255, 215, 0, 0.3);
}

.winner-game {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-style: italic;
}

/* Page Content */
.page-content {
    padding: 2rem 0;
}

.page-content h1 {
    color: var(--gold);
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: var(--neon-glow);
}

.page-content .page-desc {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.content-section {
    background: var(--bg-card);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.content-section h2 {
    text-align: left;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.content-section p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.content-section img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin: 1rem 0;
    opacity: 0.9;
}

/* Promo Cards */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.promo-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, #2a1a3e 100%);
    border: 2px solid var(--dark-gold);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.promo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.2);
}

.promo-card .promo-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.promo-card h3 {
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.promo-card p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.promo-card .promo-value {
    color: var(--red);
    font-size: 1.8rem;
    font-weight: bold;
}

/* Slot Machine Demo */
.slot-machine {
    background: linear-gradient(135deg, #2a1a0a, #1a0a1a);
    border: 3px solid var(--dark-gold);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    max-width: 400px;
    margin: 2rem auto;
}

.slot-display {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.slot-reel {
    width: 80px;
    height: 80px;
    background: #000;
    border: 2px solid var(--gold);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    transition: all 0.1s;
}

.spin-btn {
    padding: 0.8rem 3rem;
    background: linear-gradient(135deg, var(--red), var(--dark-red));
    color: var(--gold);
    border: 2px solid var(--gold);
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.spin-btn:hover {
    box-shadow: 0 0 20px rgba(220, 20, 60, 0.5);
    transform: scale(1.05);
}

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

/* Roulette Wheel */
.roulette-demo {
    text-align: center;
    margin: 2rem 0;
}

.roulette-wheel {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 6px solid var(--dark-gold);
    margin: 1rem auto;
    background: conic-gradient(
        #DC143C 0deg 10deg, #228B22 10deg 20deg,
        #000 20deg 30deg, #DC143C 30deg 40deg,
        #000 40deg 50deg, #DC143C 50deg 60deg,
        #000 60deg 70deg, #DC143C 70deg 80deg,
        #000 80deg 90deg, #DC143C 90deg 100deg,
        #228B22 100deg 110deg, #000 110deg 120deg,
        #DC143C 120deg 130deg, #000 130deg 140deg,
        #DC143C 140deg 150deg, #000 150deg 160deg,
        #DC143C 160deg 170deg, #000 170deg 180deg,
        #DC143C 180deg 190deg, #000 190deg 200deg,
        #DC143C 200deg 210deg, #000 210deg 220deg,
        #DC143C 220deg 230deg, #000 230deg 240deg,
        #DC143C 240deg 250deg, #000 250deg 260deg,
        #DC143C 260deg 270deg, #228B22 270deg 280deg,
        #000 280deg 290deg, #DC143C 290deg 300deg,
        #000 300deg 310deg, #DC143C 310deg 320deg,
        #000 320deg 330deg, #DC143C 330deg 340deg,
        #000 340deg 350deg, #DC143C 350deg 360deg
    );
    transition: transform 3s cubic-bezier(0.17, 0.67, 0.12, 0.99);
    position: relative;
}

.roulette-wheel::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--gold);
    border-radius: 50%;
    border: 3px solid var(--dark-gold);
}

/* Poker Table */
.poker-hand {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.playing-card {
    width: 80px;
    height: 120px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: transform 0.3s;
    cursor: pointer;
}

.playing-card:hover {
    transform: translateY(-10px);
}

.playing-card.red { color: var(--red); }
.playing-card.black { color: #333; }

/* Footer */
.site-footer {
    background: linear-gradient(180deg, #0a0a1a 0%, #000 100%);
    border-top: 2px solid var(--dark-gold);
    padding: 2rem;
    text-align: center;
    margin-top: 3rem;
}

.footer-content p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.footer-disclaimer {
    font-size: 0.8rem;
    color: var(--red) !important;
    font-style: italic;
}

.footer-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--gold);
}

/* Responsive */
@media (max-width: 768px) {
    .top-nav {
        flex-direction: column;
        gap: 1rem;
    }
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero-overlay h1 {
        font-size: 1.8rem;
    }
    .stats-bar {
        flex-wrap: wrap;
        gap: 1rem;
    }
    .stat {
        flex: 1 1 40%;
    }
}
