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

body {
    font-family: 'Rajdhani', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background Effects */
.ocean-bubbles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    background: radial-gradient(circle at 20% 80%, rgba(0, 191, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(0, 255, 255, 0.1) 0%, transparent 50%);
    animation: bubbleFloat 20s ease-in-out infinite;
}

.neon-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    background-image: 
        linear-gradient(rgba(0, 191, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 191, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 30s linear infinite;
}

@keyframes bubbleFloat {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(180deg); }
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Header */
.casino-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid rgba(0, 191, 255, 0.3);
    z-index: 1000;
    padding: 1rem 0;
}

.casino-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo h1 {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(45deg, #00bfff, #0080ff, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 191, 255, 0.5);
}

.logo-subtitle {
    font-size: 0.8rem;
    color: #00bfff;
    display: block;
    margin-top: -5px;
}

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

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    background: rgba(0, 191, 255, 0.1);
    color: #00bfff;
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.3);
}

.wallet-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.balance-display {
    background: rgba(0, 191, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    border: 1px solid rgba(0, 191, 255, 0.3);
}

.balance-amount {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    color: #00bfff;
}

.connect-btn {
    background: linear-gradient(45deg, #00bfff, #0080ff);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 191, 255, 0.3);
}

.connect-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 191, 255, 0.5);
}

/* Hero Section */
.hero-casino {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 2rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.casino-title {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(45deg, #00bfff, #0080ff, #00ffff, #00bfff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 400% 400%;
    animation: gradientShift 4s ease-in-out infinite;
}

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

.casino-subtitle {
    display: block;
    font-size: 1.5rem;
    color: #00bfff;
    margin-top: 0.5rem;
    text-shadow: 0 0 20px rgba(0, 191, 255, 0.5);
}

.casino-description {
    font-size: 1.2rem;
    color: #b0c4de;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(0, 191, 255, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(0, 191, 255, 0.3);
    backdrop-filter: blur(10px);
}

.stat-number {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    color: #00bfff;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #b0c4de;
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.casino-wheel-preview {
    position: relative;
}

.wheel-container {
    position: relative;
    width: 400px;
    height: 400px;
}

.wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    border: 5px solid #00bfff;
    box-shadow: 0 0 50px rgba(0, 191, 255, 0.5);
    animation: wheelSpin 10s linear infinite;
}

@keyframes wheelSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.wheel-segment {
    position: absolute;
    width: 50%;
    height: 50%;
    top: 50%;
    left: 50%;
    transform-origin: 0 0;
    transform: rotate(var(--rotation)) skew(22.5deg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.wheel-pointer {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    z-index: 10;
    filter: drop-shadow(0 0 10px rgba(0, 191, 255, 0.8));
}

/* Token Section */
.token-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(0, 191, 255, 0.1) 100%);
    border-top: 2px solid rgba(255, 215, 0, 0.3);
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

.token-banner {
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 25px;
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    backdrop-filter: blur(10px);
}

.token-info h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    color: #ffd700;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.token-info p {
    font-size: 1.2rem;
    color: #b0c4de;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.token-details {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.token-details span {
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    color: #ffd700;
    word-break: break-all;
}

.token-buttons {
    display: flex;
    gap: 1rem;
}

.token-btn {
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-align: center;
    flex: 1;
}

.token-btn:not(.secondary) {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #000;
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

.token-btn.secondary {
    background: transparent;
    color: #ffd700;
    border: 2px solid #ffd700;
}

.token-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.5);
}

.token-benefits {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(0, 191, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 191, 255, 0.3);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateX(10px);
    border-color: rgba(0, 191, 255, 0.6);
    box-shadow: 0 10px 25px rgba(0, 191, 255, 0.2);
}

.benefit-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 0 10px rgba(0, 191, 255, 0.5));
}

.benefit-text h4 {
    color: #00bfff;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.benefit-text p {
    color: #b0c4de;
    font-size: 0.9rem;
    margin: 0;
}

/* Games Section */
.games-section {
    padding: 6rem 2rem;
    background: rgba(0, 0, 0, 0.2);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, #00bfff, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.game-card {
    background: rgba(0, 191, 255, 0.1);
    border: 2px solid rgba(0, 191, 255, 0.3);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 191, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.game-card:hover::before {
    opacity: 1;
    animation: cardGlow 1.5s ease-in-out infinite;
}

.game-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(0, 191, 255, 0.6);
    box-shadow: 0 20px 40px rgba(0, 191, 255, 0.3);
}

.game-card.featured {
    border: 2px solid #ffd700;
    background: rgba(255, 215, 0, 0.1);
}

.game-card.featured::before {
    background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.1), transparent);
}

@keyframes cardGlow {
    0%, 100% { transform: rotate(45deg) translateX(-100%); }
    50% { transform: rotate(45deg) translateX(100%); }
}

.game-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 20px rgba(0, 191, 255, 0.5));
}

.game-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    color: #00bfff;
    margin-bottom: 1rem;
}

.game-card p {
    color: #b0c4de;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.game-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #87ceeb;
}

.play-btn {
    background: linear-gradient(45deg, #00bfff, #0080ff);
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-size: 1.1rem;
}

.play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 191, 255, 0.4);
}

/* Leaderboard */
.leaderboard-section {
    padding: 6rem 2rem;
}

.leaderboard-table {
    background: rgba(0, 191, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(0, 191, 255, 0.2);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.leaderboard-header {
    display: grid;
    grid-template-columns: 80px 1fr 150px 100px;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: rgba(0, 191, 255, 0.1);
    font-weight: 700;
    color: #00bfff;
    border-bottom: 1px solid rgba(0, 191, 255, 0.3);
}

.leaderboard-row {
    display: grid;
    grid-template-columns: 80px 1fr 150px 100px;
    gap: 1rem;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(0, 191, 255, 0.1);
    transition: all 0.3s ease;
}

.leaderboard-row:hover {
    background: rgba(0, 191, 255, 0.05);
}

.rank {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    text-align: center;
    padding: 0.5rem;
    border-radius: 10px;
}

.rank.gold {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #000;
}

.rank.silver {
    background: linear-gradient(45deg, #c0c0c0, #e8e8e8);
    color: #000;
}

.rank.bronze {
    background: linear-gradient(45deg, #cd7f32, #daa520);
    color: #000;
}

.player {
    font-weight: 600;
    color: #00bfff;
}

.winnings {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    color: #00ff00;
}

.games {
    color: #b0c4de;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    margin: 5% auto;
    padding: 2rem;
    border: 2px solid rgba(0, 191, 255, 0.3);
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.close-modal {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: #00bfff;
    transition: all 0.3s ease;
}

.close-modal:hover {
    color: #ffffff;
    transform: scale(1.2);
}

/* Footer */
.casino-footer {
    background: rgba(0, 0, 0, 0.9);
    padding: 3rem 2rem 2rem;
    border-top: 2px solid rgba(0, 191, 255, 0.3);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #00bfff;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #b0c4de;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #00bfff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 191, 255, 0.2);
    color: #87ceeb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .casino-nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        order: 1;
    }
    
    .wallet-section {
        order: 2;
    }
    
    .hero-casino {
        flex-direction: column;
        text-align: center;
        padding-top: 160px;
    }
    
    .casino-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .wheel-container {
        width: 250px;
        height: 250px;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .leaderboard-header,
    .leaderboard-row {
        grid-template-columns: 60px 1fr 120px 80px;
        gap: 0.5rem;
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .token-banner {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    
    .token-info h2 {
        font-size: 2rem;
    }
    
    .token-buttons {
        flex-direction: column;
    }
}