/* ============================================
   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);
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark);
    color: #fff;
    line-height: 1.6;
}

img,
canvas,
video,
svg {
    max-width: 100%;
    height: auto;
    display: block;
}

button,
input,
textarea,
select {
    font: inherit;
}

a {
    color: inherit;
}

.container {
    width: 100%;
    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;
    min-height: 70px;
    gap: 16px;
    position: relative;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    min-width: 0;
}

.nav-brand .logo {
    font-size: 2rem;
    flex-shrink: 0;
}

.brand-name {
    word-break: break-word;
}

.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;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 12px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.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: 110px 0 80px;
    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;
    width: min(500px, 100%);
}

#wheelCanvas {
    width: 100%;
    max-width: 500px;
    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;
    width: 100%;
}

.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;
    min-width: 0;
}

.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;
    word-break: break-word;
}

.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(220px, 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;
    min-width: 0;
}

.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;
    flex-wrap: wrap;
}

.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);
}

/* ============================================
   TABLET
   ============================================ */
@media (max-width: 991px) {
    .container {
        padding: 0 16px;
    }

    .navbar .container {
        min-height: 70px;
        flex-wrap: wrap;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-top: 8px;
        padding-top: 12px;
        border-top: 1px solid rgba(255,255,255,0.08);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a,
    .nav-links .btn {
        width: 100%;
        justify-content: center;
    }

    .mobile-menu-btn {
        display: inline-flex;
    }

    .hero {
        padding: 110px 0 70px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .wheel-section,
    .bonuses,
    .games {
        padding: 80px 0;
    }

    .bonuses h2,
    .games h2,
    .wheel-header h2 {
        font-size: 2.1rem;
    }
}

/* ============================================
   MOBILE
   ============================================ */
@media (max-width: 768px) {
    .container {
        padding: 0 14px;
    }

    .btn,
    .btn-large {
        width: 100%;
        padding: 14px 20px;
    }

    .hero {
        min-height: auto;
        padding: 100px 0 50px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero h1 {
        font-size: clamp(2rem, 8vw, 2.6rem);
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 22px;
    }

    .hero-bonus {
        padding: 20px 16px;
        border-radius: 14px;
        margin-bottom: 22px;
    }

    .hero-bonus h2 {
        font-size: clamp(1.3rem, 6vw, 1.9rem);
        line-height: 1.3;
    }

    .bonus-badge {
        font-size: 0.78rem;
        padding: 6px 12px;
        text-align: center;
        line-height: 1.4;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 24px;
    }

    .trust-badges {
        gap: 12px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .wheel-section,
    .bonuses,
    .games {
        padding: 60px 0;
    }

    .wheel-header {
        margin-bottom: 28px;
    }

    .wheel-header h2,
    .bonuses h2,
    .games h2 {
        font-size: 1.9rem;
        margin-bottom: 10px;
    }

    .wheel-wrapper {
        width: min(340px, 100%);
    }

    #wheelCanvas {
        width: 100% !important;
        max-width: 340px;
        margin: 0 auto;
    }

    .wheel-pointer {
        top: -14px;
        font-size: 1.5rem;
    }

    .spin-button {
        width: 82px;
        height: 82px;
        border-width: 3px;
    }

    .spin-text {
        font-size: 0.95rem;
    }

    .spin-price {
        font-size: 0.65rem;
    }

    .bonuses-grid,
    .games-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .bonus-card,
    .game-card,
    .feature-card {
        padding: 22px 18px;
    }

    .bonus-card.featured {
        transform: none;
    }

    .bonus-amount {
        font-size: 2.4rem;
    }

    .footer {
        padding: 45px 0 24px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 18px;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-links {
        justify-content: center;
        gap: 16px;
    }

    .whatsapp-btn {
        width: 100%;
        justify-content: center;
    }

    .whatsapp-float {
        bottom: 80px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* ============================================
   SMALL MOBILE
   ============================================ */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .nav-brand {
        font-size: 1.2rem;
        gap: 8px;
    }

    .nav-brand .logo {
        font-size: 1.6rem;
    }

    .hero {
        padding: 92px 0 42px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-bonus {
        padding: 16px 14px;
    }

    .hero-bonus h2 {
        font-size: 1.2rem;
    }

    .bonus-badge {
        width: 100%;
        border-radius: 14px;
    }

    .wheel-wrapper {
        width: min(300px, 100%);
    }

    #wheelCanvas {
        max-width: 300px;
    }

    .spin-button {
        width: 74px;
        height: 74px;
    }

    .spin-text {
        font-size: 0.85rem;
    }

    .spin-price {
        font-size: 0.58rem;
    }

    .wheel-header h2,
    .bonuses h2,
    .games h2 {
        font-size: 1.65rem;
    }

    .bonus-card,
    .game-card,
    .feature-card {
        padding: 18px 14px;
    }

    .bonus-amount {
        font-size: 2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .footer-bottom {
        font-size: 0.8rem;
    }
}