:root {
    --bg-dark: #07090e;
    --bg-card: rgba(20, 25, 33, 0.6);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    --accent-green: #10b981;
    --accent-gold: #fbbf24;
    --accent-purple: #8b5cf6;
    
    --glass-border: rgba(255, 255, 255, 0.08);
    --glow-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(16, 185, 129, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(251, 191, 36, 0.04) 0%, transparent 50%);
}

h1, h2, h3, .logo {
    font-family: 'Outfit', sans-serif;
}

/* Utilities */
.green-text { color: var(--accent-green); }
.gold-text { color: var(--accent-gold); }
.text-center { text-align: center; }
.hidden { display: none !important; }

/* Botones */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
}

.btn-secondary:hover {
    background: rgba(251, 191, 36, 0.1);
    transform: translateY(-2px);
}

.full-width {
    width: 100%;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(7, 9, 14, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

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

/* Modal Login Glassmorfismo */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.glass-modal {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    padding: 40px;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    max-height: 95vh;
    overflow-y: auto;
}

.glass-modal::-webkit-scrollbar {
    width: 6px;
}
.glass-modal::-webkit-scrollbar-track {
    background: transparent;
}
.glass-modal::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}
.glass-modal::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.close-btn {
    position: absolute;
    top: 15px; right: 20px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover { color: white; }

.modal-title {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: var(--text-main);
}

.modal-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--glass-border);
    color: white;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.3s;
}

.input-group input:focus {
    border-color: var(--accent-green);
}

.error-msg {
    color: #ef4444;
    font-size: 0.85rem;
    margin-bottom: 15px;
    background: rgba(239, 68, 68, 0.1);
    padding: 10px;
    border-radius: 6px;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.success-msg {
    text-align: center;
    padding: 20px 0;
}
.success-msg h3 { color: var(--accent-green); margin-bottom: 10px; }

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 10%;
    min-height: 80vh;
}

.hero-content {
    max-width: 50%;
}

.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(251, 191, 36, 0.1);
    color: var(--accent-gold);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 90%;
}

.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 30px;
}

.floating-ticket {
    text-align: center;
    box-shadow: var(--glow-shadow);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.countdown {
    font-size: 2.5rem;
    font-weight: 900;
    font-family: 'Outfit';
    letter-spacing: 2px;
    color: var(--accent-green);
    margin: 15px 0;
}

.bolsa-bolas {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.bola {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 2px solid var(--glass-border);
    font-family: 'Outfit';
    font-size: 1.1rem;
}

.gold-bola {
    background: var(--accent-gold);
    color: #000;
    border-color: #f59e0b;
}

/* Sections compartidas */
.seccion-base {
    padding: 100px 10%;
}

.dark-bg {
    background: #040609;
}

.section-badge {
    color: var(--accent-purple);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.icon-circle {
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center; justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: white;
}

.green-glow { background: rgba(16, 185, 129, 0.2); border: 1px solid var(--accent-green); }
.gold-glow { background: rgba(251, 191, 36, 0.2); border: 1px solid var(--accent-gold); }
.purple-glow { background: rgba(139, 92, 246, 0.2); border: 1px solid var(--accent-purple); }

/* Tablas */
.table-container {
    margin-top: 40px;
    overflow-x: auto;
}

.premium-table {
    width: 100%;
    border-collapse: collapse;
}

.premium-table th, .premium-table td {
    padding: 18px 20px;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}

.premium-table th {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.premium-table tr:last-child td {
    border-bottom: none;
}

.premium-table td {
    font-family: 'Outfit';
    font-size: 1.2rem;
    font-weight: 500;
}

/* Footer */
.footer {
    padding: 60px 10%;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 10px;
    max-width: 300px;
}

.footer-links h4 {
    margin-bottom: 15px;
}
