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

/* Variables */
:root {
    --bg-dark: #0a0a0f;
    --bg-card: #0d0d12;
    --gold: #f0c030;
    --neon-green: #00ff88;
    --hot-orange: #ff4500;
    --text-light: #ffffff;
    --text-gray: #888888;
}

/* Base */
body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
}

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

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--gold), #d4a227);
    color: #000;
    border: none;
    padding: 12px 30px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s;
    text-transform: uppercase;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(240, 192, 48, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--gold);
    padding: 10px 28px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s;
    text-transform: uppercase;
}

.btn-secondary:hover {
    background: var(--gold);
    color: #000;
}

.btn-large {
    padding: 16px 48px;
    font-size: 18px;
}

/* Header */
.header {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(240, 192, 48, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--gold);
    text-shadow: 0 0 20px rgba(240, 192, 48, 0.5);
}

.nav {
    display: flex;
    gap: 40px;
}

.nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s;
    position: relative;
}

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

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s;
}

.nav a:hover::after {
    width: 100%;
}

.header-buttons {
    display: flex;
    gap: 15px;
}

/* Slider */
.slider {
    position: relative;
    height: 580px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    height: 100%;
}

.slider-track {
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10,10,15,0.95) 0%, rgba(10,10,15,0.6) 50%, rgba(10,10,15,0.3) 100%);
}

.slide-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 100px;
    max-width: 50%;
}

.slide-title {
    font-size: 52px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--gold);
    text-shadow: 0 4px 30px rgba(240, 192, 48, 0.5);
}

.slide-text {
    font-size: 24px;
    margin-bottom: 40px;
    color: var(--text-light);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(240, 192, 48, 0.2);
    color: var(--gold);
    border: 2px solid var(--gold);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.slider-arrow:hover {
    background: var(--gold);
    color: #000;
}

.slider-arrow-left {
    left: 30px;
}

.slider-arrow-right {
    right: 30px;
}

.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--gold);
    width: 40px;
    border-radius: 6px;
}

.dot:hover {
    background: rgba(240, 192, 48, 0.7);
}

/* Games Section */
.games-section {
    padding: 80px 0;
}

.section-title {
    font-size: 42px;
    text-align: center;
    color: var(--gold);
    margin-bottom: 15px;
    text-shadow: 0 0 30px rgba(240, 192, 48, 0.5);
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 60px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
}

.game-card {
    position: relative;
    width: 100%;
    height: 320px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
}

.game-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.game-card:hover .game-overlay {
    background: linear-gradient(180deg, rgba(10,10,15,0.3) 0%, rgba(10,10,15,0.95) 100%);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10,10,15,0) 0%, rgba(10,10,15,0.9) 100%);
    transition: all 0.3s;
}

.game-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 3;
}

.game-badge-gold {
    background: rgba(240, 192, 48, 0.9);
    color: #000;
    box-shadow: 0 0 20px rgba(240, 192, 48, 0.5);
}

.game-badge-hot {
    background: rgba(255, 69, 0, 0.9);
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.5);
}

.game-badge-new {
    background: rgba(0, 255, 136, 0.9);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

.game-rtp, .game-rtp-new {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    background: rgba(240, 192, 48, 0.15);
    border: 1px solid var(--gold);
    color: var(--gold);
    z-index: 3;
}

.game-rtp-new {
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
    background: rgba(0, 255, 136, 0.15);
}

.game-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    z-index: 3;
}

.game-title {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-light);
}

.game-play-btn {
    width: 100%;
    background: var(--gold);
    color: #000;
    border: none;
    padding: 12px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(20px);
}

.game-card:hover .game-play-btn {
    opacity: 1;
    transform: translateY(0);
}

.game-play-btn:hover {
    background: #fff;
    box-shadow: 0 4px 20px rgba(240, 192, 48, 0.6);
}

.games-section-hot .game-card:hover {
    box-shadow: 0 20px 60px rgba(255, 69, 0, 0.4);
}

.games-section-new .game-card:hover {
    box-shadow: 0 20px 60px rgba(0, 255, 136, 0.4);
}

/* Jackpot Section */
.jackpot-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(180deg, #0d0d12 0%, #1a1014 100%);
    overflow: hidden;
}

.jackpot-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.jackpot-container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.jackpot-display {
    position: relative;
    display: inline-block;
    margin: 40px 0;
}

.jackpot-amount {
    font-family: 'Cinzel', serif;
    font-size: 92px;
    font-weight: 700;
    color: var(--gold);
    text-shadow: 0 0 40px rgba(240, 192, 48, 0.8);
    padding: 40px 80px;
    border: 3px solid var(--gold);
    border-radius: 20px;
    background: rgba(240, 192, 48, 0.05);
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
    0%, 100% {
        box-shadow: 0 0 30px rgba(240, 192, 48, 0.4);
    }
    50% {
        box-shadow: 0 0 60px rgba(240, 192, 48, 0.8);
    }
}

.jackpot-notifications {
    position: absolute;
    top: 20px;
    right: -120px;
    width: 180px;
}

.jackpot-notification {
    background: rgba(0, 255, 136, 0.2);
    border: 2px solid var(--neon-green);
    color: var(--neon-green);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    animation: float-up 2.5s ease-out forwards;
}

@keyframes float-up {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-100px);
    }
}

.jackpot-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 60px 0;
}

.jackpot-stat {
    text-align: center;
    background: rgba(240, 192, 48, 0.05);
    padding: 30px 40px;
    border-radius: 12px;
    border: 1px solid rgba(240, 192, 48, 0.2);
}

.stat-icon {
    font-size: 36px;
    color: var(--gold);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-gray);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 5px;
}

.stat-detail {
    font-size: 14px;
    color: var(--text-gray);
}

.jackpot-btn {
    animation: pulse-btn 2s infinite;
}

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

.jackpot-note {
    margin-top: 15px;
    color: var(--text-gray);
    font-size: 14px;
}

/* Info Section */
.info-section {
    padding: 80px 0;
    background: var(--bg-card);
}

.info-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px;
    border: 1px solid rgba(240, 192, 48, 0.2);
    border-radius: 12px;
    background: rgba(10, 10, 15, 0.5);
}

.info-content h2 {
    font-size: 36px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.info-content h3 {
    font-size: 24px;
    color: var(--gold);
    margin: 30px 0 15px 0;
}

.info-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.info-content ul {
    list-style: none;
    padding-left: 0;
}

.info-content li {
    font-size: 17px;
    line-height: 2;
    padding-left: 25px;
    position: relative;
}

.info-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--neon-green);
    font-weight: bold;
}

/* Footer */
.footer {
    background: #080810;
    padding: 60px 0 30px 0;
    border-top: 1px solid rgba(240, 192, 48, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 15px;
}

.footer-column h4 {
    font-size: 18px;
    color: var(--gold);
    margin-bottom: 20px;
}

.footer-column a {
    display: block;
    color: var(--text-gray);
    text-decoration: none;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.footer-column a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-column p {
    color: var(--text-gray);
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-gray);
}

/* Responsive */
@media (max-width: 1200px) {
    .slide-content {
        padding-left: 60px;
        max-width: 60%;
    }
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    .slide-content {
        padding-left: 30px;
        max-width: 80%;
    }
    .slide-title {
        font-size: 36px;
    }
    .slide-text {
        font-size: 18px;
    }
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 20px;
    }
    .game-card {
        height: 250px;
    }
    .jackpot-amount {
        font-size: 48px;
        padding: 20px 40px;
    }
    .jackpot-stats {
        flex-direction: column;
        gap: 30px;
    }
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}
