/* --- CORE VARIABLES & RESET --- */
:root {
    --primary-red: #8b0000;
    --bright-red: #ff0000;
    --gold: #ffcc00;
    --gold-gradient: linear-gradient(180deg, #ffeebb 0%, #ffcc00 50%, #e6ac00 100%);
    --button-gradient: linear-gradient(to bottom, #ff3333, #aa0000);
    --bg-dark: #0a0303;
    --card-bg: #1e1e1e;
    --text-light: #ffffff;
    --font-main: 'Montserrat', sans-serif;
    --font-numbers: 'Oswald', sans-serif;
}

html { scroll-behavior: smooth; }
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- PRELOADER --- */
#preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: #000; z-index: 9999;
    display: flex; justify-content: center; align-items: center; flex-direction: column;
    transition: opacity 0.5s ease-out, visibility 0.5s;
}
.loader-logo { font-size: 3rem; font-weight: 900; color: var(--gold); animation: pulse 1s infinite; margin-bottom: 20px;}
.loader-spinner {
    width: 40px; height: 40px; border: 4px solid rgba(255,204,0,0.3);
    border-top: 4px solid var(--gold); border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* --- HEADER STYLES --- */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.top-nav {
    background: rgba(0, 0, 0, 0.95);
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
    backdrop-filter: blur(10px);
    position: relative;
}

.logo-text {
    color: var(--gold);
    font-weight: 900;
    font-size: 1.8rem;
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
    letter-spacing: -1px;
    display: flex; align-items: center; gap: 10px;
}

/* Desktop Nav Links */
.nav-links { display: flex; gap: 25px; align-items: center; }
.nav-links a {
    color: #fff; text-decoration: none; text-transform: uppercase;
    font-weight: 700; font-size: 0.85rem; transition: color 0.3s; position: relative;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a::after {
    content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0;
    background-color: var(--gold); transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }

/* Header Registration Button */
.btn-header-reg {
    background: var(--gold-gradient);
    color: #000;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
    border: 2px solid #fff;
    transition: all 0.3s;
    margin-right: 15px;
    animation: pulse-gold 2s infinite;
    white-space: nowrap;
}
.btn-header-reg:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px var(--gold);
    background: #fff;
}
@keyframes pulse-gold {
    0% { box-shadow: 0 0 0 0 rgba(255, 204, 0, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 204, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 204, 0, 0); }
}

.flag-icon { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(90deg, #009246 33%, #ffffff 33%, #ffffff 66%, #ce2b37 66%); border: 1px solid #fff; cursor: pointer; flex-shrink: 0; }
.menu-btn { display: none; font-size: 1.8rem; cursor: pointer; color: var(--gold); margin-left: 10px; }

/* Mobile Menu */
.mobile-menu {
    position: fixed; top: 0; right: -100%; width: 80%; max-width: 300px; height: 100%;
    background: #1a0505; border-left: 2px solid var(--gold);
    z-index: 1001; padding: 60px 20px; transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0,0,0,0.8);
}
.mobile-menu.active { right: 0; }
.mobile-menu a { display: block; padding: 15px 0; border-bottom: 1px solid #333; color: white; text-decoration: none; font-weight: bold; font-size: 1.1rem; }
.close-btn { position: absolute; top: 20px; right: 20px; font-size: 2rem; cursor: pointer; color: #fff; }

/* Carnival Lights Border */
.lights-border {
    height: 14px; background: #300; display: flex; justify-content: space-around;
    align-items: center; overflow: hidden; border-bottom: 2px solid var(--gold);
    box-shadow: 0 0 15px var(--primary-red);
}
.bulb { width: 6px; height: 6px; background: #fff; border-radius: 50%; box-shadow: 0 0 5px #fff; animation: blink 1.5s infinite alternate; }
.bulb:nth-child(even) { animation-delay: 0.5s; background: var(--gold); }
@keyframes blink { from { opacity: 0.3; transform: scale(0.8); } to { opacity: 1; transform: scale(1.2); } }

/* --- HERO SECTION --- */
.hero {
    position: relative;
    background: radial-gradient(circle at center, #6e0000 0%, #2a0000 70%, #000000 100%);
    min-height: 90vh;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center; overflow: hidden; padding: 80px 20px;
}
.hero::before {
    content: ''; position: absolute; top: 50%; left: 50%; width: 200%; height: 200%;
    background: repeating-conic-gradient(from 0deg, rgba(255,204,0,0.05) 0deg 10deg, transparent 10deg 20deg);
    transform: translate(-50%, -50%); z-index: 0;
    animation: rotate 80s linear infinite;
}
@keyframes rotate { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }

/* Characters */
.character {
    position: absolute; bottom: 0; z-index: 5;
    max-height: 75vh; width: auto; max-width: 380px; height: auto;
    object-fit: contain; object-position: bottom center;
    pointer-events: none; filter: drop-shadow(0 0 30px rgba(0,0,0,0.9));
    transition: all 0.5s ease; animation: float 6s ease-in-out infinite;
}
.char-left { left: 2%; animation-delay: 0s; }
.char-right { right: 2%; animation-delay: 3s; }
@keyframes float { 0% { transform: translateY(0); } 50% { transform: translateY(-15px); } 100% { transform: translateY(0); } }

/* Dynamic Jackpot */
.jackpot-container {
    background: rgba(0,0,0,0.6); padding: 10px 30px; border-radius: 50px;
    border: 2px solid var(--gold); margin-bottom: 20px; z-index: 10;
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.3); backdrop-filter: blur(5px);
    animation: bounceIn 1s;
}
.jackpot-label { color: var(--gold); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; }
.jackpot-value {
    font-family: var(--font-numbers); font-size: 2.5rem; color: #fff;
    text-shadow: 0 0 10px var(--bright-red); letter-spacing: 2px;
}
@keyframes bounceIn { 0% { transform: scale(0.5); opacity: 0; } 60% { transform: scale(1.2); } 100% { transform: scale(1); opacity: 1; } }

.hero-content { position: relative; z-index: 10; max-width: 900px; margin-bottom: 40px; }
.hero h1 {
    font-size: 4rem; text-transform: uppercase; line-height: 1; margin-bottom: 15px;
    text-shadow: 0 5px 15px rgba(0,0,0,0.8);
}
.hero h1 span { display: block; font-size: 1.8rem; font-weight: 400; margin-bottom: 5px; color: #fff; text-shadow: none; font-family: 'Montserrat', sans-serif; }
.hero .brand-name {
    color: transparent; background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text;
    font-weight: 900; letter-spacing: 2px; filter: drop-shadow(0 2px 0 #8b0000);
}

.cta-btn {
    background: var(--button-gradient); color: #fff; font-size: 1.8rem; font-weight: 900;
    padding: 18px 70px; border-radius: 50px; border: 2px solid var(--gold);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4), inset 0 2px 0 rgba(255,255,255,0.3);
    text-decoration: none; text-transform: uppercase; display: inline-block;
    position: relative; overflow: hidden; animation: pulse 2s infinite;
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 0 30px var(--gold); }
.cta-btn::after {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.5s; animation: shine 3s infinite;
}
@keyframes shine { 0% { left: -100%; } 20% { left: 100%; } 100% { left: 100%; } }
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.03); } 100% { transform: scale(1); } }

.countdown-box {
    margin: 20px 0; color: #ccc; font-size: 0.9rem;
    background: rgba(255,0,0,0.2); display: inline-block; padding: 5px 15px; border-radius: 5px;
}
.timer { color: var(--gold); font-weight: bold; font-family: var(--font-numbers); font-size: 1.2rem; }

/* --- GAMES SECTION --- */
.games-section { padding: 80px 5%; background: #151515; text-align: center; z-index: 20; position: relative; }
.section-title { color: var(--gold); font-size: 2.5rem; margin-bottom: 40px; text-transform: uppercase; text-shadow: 0 0 10px rgba(255,204,0,0.3); }

.games-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px; max-width: 1200px; margin: 0 auto;
}

.game-card {
    display: block;
    background: #222; border-radius: 15px; overflow: hidden; border: 1px solid #444;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); cursor: pointer; position: relative;
}
.game-card:hover { transform: translateY(-10px); border-color: var(--gold); box-shadow: 0 10px 25px rgba(255, 204, 0, 0.2); }
.game-card img { width: 100%; height: 160px; object-fit: contain; object-position: center; background: #1a1a1a; transition: transform 0.5s; }
.game-card:hover img { transform: scale(1.05); }
.game-card .game-title { padding: 15px; font-weight: 700; color: #eee; font-size: 0.9rem; position: relative; z-index: 2; background: #222; min-height: 70px; display: flex; flex-direction: column; justify-content: center; align-items: center;}

/* Badges */
.badge-hot {
    position: absolute; top: 10px; right: 10px; background: var(--bright-red); color: white;
    padding: 2px 8px; font-size: 0.7rem; font-weight: bold; border-radius: 4px; z-index: 3;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}
.badge-drops {
    position: absolute; top: 0; left: 0; background: #000; color: #fff;
    padding: 4px 8px; font-size: 0.65rem; font-weight: bold; z-index: 3;
    border-bottom-right-radius: 8px; border-top: 2px solid var(--gold);
    text-transform: uppercase;
}
.game-provider { font-size: 0.7rem; color: #888; text-transform: uppercase; margin-top: 4px; letter-spacing: 1px; }

/* --- CONTENT STYLING (UPDATED FOR NEW CONTENT) --- */
.content-container { max-width: 1000px; margin: 0 auto; padding: 60px 20px; background: #1a1a1a; border-top: 1px solid #333; }

/* Typography for Article */
.seo-article h1 { color: var(--gold); font-size: 2.2rem; margin-bottom: 25px; text-transform: uppercase; border-bottom: 2px solid var(--primary-red); padding-bottom: 10px; display: inline-block; }
.seo-article h2 { color: var(--gold); margin: 35px 0 20px; font-size: 1.8rem; border-left: 5px solid var(--bright-red); padding-left: 15px; }
.seo-article h3 { color: var(--text-light); font-size: 1.3rem; margin: 25px 0 15px; font-weight: 700; }
.seo-article p { margin-bottom: 20px; color: #ccc; text-align: justify; font-size: 1rem; line-height: 1.8; }
.seo-article ul, .seo-article ol { margin-bottom: 25px; padding-left: 25px; color: #ccc; }
.seo-article li { margin-bottom: 10px; }
.seo-article strong { color: #fff; }

/* Tables Styling */
.seo-article table { width: 100%; border-collapse: collapse; margin: 30px 0; background: #222; border: 1px solid #444; }
.seo-article th { background: #330000; color: var(--gold); padding: 15px; border: 1px solid #550000; text-transform: uppercase; font-size: 0.9rem; text-align: left; }
.seo-article td { padding: 15px; border: 1px solid #444; color: #ccc; font-size: 0.95rem; }
.seo-article tr:nth-child(even) { background: #2a2a2a; }
.seo-article tr:hover { background: #333; }

.faq-section { max-width: 800px; margin: 60px auto; padding: 0 20px; }
.faq-section h2 { text-align: center; color: var(--gold); margin-bottom: 30px; font-size: 2rem; }
details {
    background: #222; margin-bottom: 10px; border-radius: 8px; overflow: hidden; border: 1px solid #333;
    transition: all 0.3s;
}
details[open] { border-color: var(--gold); background: #2a2a2a; }
summary {
    padding: 20px; cursor: pointer; font-weight: bold; list-style: none; position: relative;
    display: flex; justify-content: space-between; align-items: center; color: #fff;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 1.5rem; color: var(--gold); font-weight: bold; }
details[open] summary::after { content: '-'; }
.faq-content { padding: 0 20px 20px 20px; color: #ccc; font-size: 0.95rem; line-height: 1.6; border-top: 1px solid #444; margin-top: 10px; }

/* --- STEPS & REVIEWS --- */
.steps-section { padding: 60px 5%; background: linear-gradient(to bottom, #110505, #1a0505); text-align: center; }
.steps-container { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; max-width: 1000px; margin: 0 auto; }
.step-item { flex: 1; min-width: 250px; position: relative; }
.step-number { font-size: 4rem; color: rgba(255, 255, 255, 0.05); font-weight: 900; position: absolute; top: -20px; left: 50%; transform: translateX(-50%); z-index: 0; }
.step-content { position: relative; z-index: 1; }
.step-icon { font-size: 2.5rem; margin-bottom: 15px; display: block; filter: drop-shadow(0 0 10px rgba(255,204,0,0.5)); }
.step-item h3 { color: var(--gold); margin-bottom: 10px; }

.reviews-section { background: #151515; padding: 60px 20px; text-align: center; }
.reviews-grid { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.review-card { background: #222; padding: 25px; border-radius: 10px; width: 300px; text-align: left; box-shadow: 0 4px 10px rgba(0,0,0,0.3); border-top: 3px solid var(--gold); }
.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 10px; display: block; }
.user-name { font-weight: bold; color: #fff; margin-top: 15px; display: block; font-size: 0.9rem; }

/* --- FOOTER --- */
footer { background: #000; padding: 50px 20px; text-align: center; color: #666; font-size: 0.8rem; border-top: 1px solid #333; position: relative; z-index: 10; }
.footer-logos span { border:1px solid #444; padding: 5px 10px; border-radius: 4px; display:inline-block; margin:5px; transition: 0.3s; }
.footer-logos span:hover { border-color: var(--gold); color: var(--gold); }
.footer-links a { color: #888; text-decoration: none; margin: 0 10px; transition: 0.3s; }
.footer-links a:hover { color: var(--gold); }

/* Mobile Sticky Button */
.mobile-sticky-btn {
    display: none; position: fixed; bottom: 0; left: 0; width: 100%;
    background: rgba(17, 5, 5, 0.95); padding: 15px; border-top: 2px solid var(--gold);
    z-index: 2000; text-align: center; box-shadow: 0 -5px 15px rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

/* --- MEDIA QUERIES --- */
@media (max-width: 1024px) {
    .char-left, .char-right { opacity: 0.35; z-index: 1; max-height: 55vh; max-width: 280px; }
    .hero h1 { font-size: 3rem; }
    .menu-btn { display: block; }
    .nav-links { display: none; }
}
@media (max-width: 600px) {
    .btn-header-reg { display: none; }
    .seo-article table, .seo-article thead, .seo-article tbody, .seo-article th, .seo-article td, .seo-article tr {
        display: block;
    }
    .seo-article thead tr { position: absolute; top: -9999px; left: -9999px; }
    .seo-article tr { border: 1px solid #ccc; margin-bottom: 10px; }
    .seo-article td { position: relative; padding-left: 50%; border: none; border-bottom: 1px solid #eee; }
    .seo-article td:before { position: absolute; top: 6px; left: 6px; width: 45%; padding-right: 10px; white-space: nowrap; font-weight: bold; content: attr(data-label); }
}
@media (max-width: 768px) {
    .top-nav { padding: 15px; }
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1rem; }
    .cta-btn { font-size: 1.4rem; padding: 15px 50px; width: 100%; max-width: 300px; }
    .char-right { display: none; }
    .char-left { display: block; max-height: 42vh; max-width: 180px; left: 0; opacity: 0.9; z-index: 5; }
    .mobile-sticky-btn { display: block; }
    footer { padding-bottom: 90px; }
    .jackpot-value { font-size: 2rem; }
    .steps-container { gap: 20px; }
}
