/* ============================================
   CASINO PLATFORM - PUBLIC SITE STYLES
   ============================================ */

:root {
    --primary: #FFD700;
    --primary-dark: #e6c200;
    --secondary: #1a1a2e;
    --accent: #ff6b35;
    --success: #27ae60;
    --danger: #e74c3c;
    --dark: #0f0f1a;
    --light: #f8f9fa;
    --gray: #6c757d;
    --gradient-1: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --gradient-2: linear-gradient(135deg, #FFD700 0%, #ff6b35 100%);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 30px rgba(255, 215, 0, 0.3);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark);
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
}

.nav-brand .logo {
    font-size: 2rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-2);
    color: var(--secondary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--secondary);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-1);
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.hero-bonus {
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid var(--primary);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
}

.bonus-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--secondary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-bonus h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 800;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.trust-badges {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    padding: 80px 0;
    background: var(--secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   WHEEL SECTION
   ============================================ */
.wheel-section {
    padding: 100px 0;
    background: var(--gradient-1);
}

.wheel-header {
    text-align: center;
    margin-bottom: 50px;
}

.wheel-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.wheel-header p {
    color: rgba(255, 255, 255, 0.7);
}

.wheel-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.wheel-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#wheelCanvas {
    max-width: 100%;
    height: auto;
}

.wheel-pointer {
    position: absolute;
    top: -20px;
    font-size: 2rem;
    color: var(--primary);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    z-index: 10;
}

.spin-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--gradient-2);
    border: 4px solid var(--secondary);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.spin-button:hover:not(:disabled) {
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: var(--shadow-glow);
}

.spin-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.spin-text {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--secondary);
}

.spin-price {
    font-size: 0.75rem;
    color: var(--secondary);
}

.wheel-result {
    min-height: 60px;
    text-align: center;
    padding: 20px;
}

.wheel-result.show {
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid var(--primary);
    border-radius: 12px;
}

.wheel-result h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.wheel-result p {
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   BONUSES SECTION
   ============================================ */
.bonuses {
    padding: 100px 0;
    background: var(--secondary);
}

.bonuses h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

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

.bonus-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: all 0.3s;
}

.bonus-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.bonus-card.featured {
    border-color: var(--primary);
    background: rgba(255, 215, 0, 0.05);
    transform: scale(1.02);
}

.bonus-header {
    margin-bottom: 20px;
}

.bonus-tag {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.bonus-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.bonus-detail {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.bonus-features {
    list-style: none;
    margin-bottom: 25px;
}

.bonus-features li {
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   GAMES SECTION
   ============================================ */
.games {
    padding: 100px 0;
    background: var(--gradient-1);
}

.games h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

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

.game-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: all 0.3s;
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.game-image {
    font-size: 4rem;
    margin-bottom: 15px;
}

.game-card h4 {
    margin-bottom: 5px;
}

.game-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 60px 0 30px;
    background: var(--dark);
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

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

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.3s;
    z-index: 999;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .bonuses-grid {
        grid-template-columns: 1fr;
    }

    .bonus-card.featured {
        transform: none;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .whatsapp-float {
        bottom: 80px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}
