/* ===========================
   1XBET - ESTILOS PRINCIPALES
   Esquema de colores: Azul oscuro #0D2B45, Verde #00FF00, Azul brillante #1E90FF
   =========================== */

:root {
    /* Paleta de colores 1xBet */
    --primary-dark: #0D2B45;
    --secondary-dark: #1A3A5C;
    --accent-green: #00FF00;
    --accent-blue: #1E90FF;
    --accent-orange: #FF9500;
    --text-white: #FFFFFF;
    --text-gray: #B0B0B0;
    --text-light-gray: #E0E0E0;
    
    /* Gradientes */
    --gradient-blue: linear-gradient(135deg, #0D2B45 0%, #1E90FF 100%);
    --gradient-dark: linear-gradient(180deg, #0D2B45 0%, #1A3A5C 100%);
    --gradient-green: linear-gradient(90deg, #00C853 0%, #00FF00 100%);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--primary-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ===========================
   HEADER (CABECERA)
   =========================== */
header {
    background: rgba(13, 43, 69, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 255, 0, 0.2);
    border-bottom: 2px solid var(--accent-green);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.logo-text {
    display: none;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    flex-wrap: wrap;
}

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

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

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

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

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

.btn {
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

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

.btn-login:hover {
    background: var(--accent-blue);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 144, 255, 0.4);
}

.btn-register {
    background: var(--gradient-green);
    color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(0, 255, 0, 0.3);
    font-weight: 700;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 0, 0.5);
}

/* ===========================
   HERO SECTION (SECCIÓN PRINCIPAL)
   =========================== */
.hero {
    background: var(--gradient-dark);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 255, 0, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-white);
    position: relative;
    z-index: 1;
}

.hero h1 span {
    color: var(--accent-green);
}

.hero-description {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 35px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.btn-large {
    padding: 18px 45px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 10px;
}

.btn-primary {
    background: var(--gradient-green);
    color: var(--primary-dark);
    box-shadow: 0 6px 25px rgba(0, 255, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 255, 0, 0.6);
}

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

.btn-secondary:hover {
    background: var(--accent-blue);
    color: var(--text-white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(30, 144, 255, 0.5);
}

/* ===========================
   SECCIONES PRINCIPALES
   =========================== */
section {
    padding: 70px 0;
}

section:nth-child(even) {
    background: var(--secondary-dark);
}

h2 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
    color: var(--text-white);
}

h2 span {
    color: var(--accent-green);
}

h3 {
    font-size: 26px;
    font-weight: 600;
    margin: 30px 0 15px;
    color: var(--accent-blue);
}

p {
    font-size: 17px;
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

/* ===========================
   TABLAS
   =========================== */
.info-table {
    width: 100%;
    margin: 30px 0;
    border-collapse: collapse;
    background: rgba(0, 255, 0, 0.05);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.info-table th {
    background: var(--gradient-green);
    color: var(--primary-dark);
    padding: 15px;
    text-align: left;
    font-weight: 700;
    font-size: 16px;
}

.info-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(0, 255, 0, 0.2);
    color: var(--text-light-gray);
    font-size: 15px;
}

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

.info-table tr:hover {
    background: rgba(0, 255, 0, 0.1);
}

/* ===========================
   LISTAS DE CARACTERÍSTICAS
   =========================== */
.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.feature-item {
    background: rgba(0, 255, 0, 0.08);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--accent-green);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(0, 255, 0, 0.15);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 255, 0, 0.3);
}

.feature-item strong {
    color: var(--accent-green);
    font-size: 18px;
    display: block;
    margin-bottom: 8px;
}

/* ===========================
   BANNERS PROMOCIONALES
   =========================== */
.promo-banner {
    background: var(--gradient-blue);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    margin: 40px 0;
    box-shadow: 0 8px 30px rgba(30, 144, 255, 0.4);
    position: relative;
    overflow: hidden;
    border: 2px solid var(--accent-green);
}

.promo-banner::before {
    content: '🎁';
    position: absolute;
    font-size: 120px;
    top: -20px;
    right: -20px;
    opacity: 0.1;
}

.promo-banner h3 {
    color: var(--text-white);
    font-size: 32px;
    margin-bottom: 15px;
}

.promo-banner p {
    color: var(--text-white);
    font-size: 18px;
    margin-bottom: 25px;
}

/* ===========================
   RESEÑAS
   =========================== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.review-card {
    background: rgba(0, 255, 0, 0.08);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid rgba(0, 255, 0, 0.2);
    transition: all 0.3s ease;
}

.review-card:hover {
    border-color: var(--accent-green);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.3);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.review-author {
    font-weight: 600;
    color: var(--accent-blue);
    font-size: 18px;
}

.review-rating {
    color: var(--accent-green);
    font-weight: 700;
    font-size: 20px;
}

.review-text {
    color: var(--text-gray);
    font-style: italic;
    line-height: 1.7;
}

/* ===========================
   FAQ
   =========================== */
.faq-item {
    background: rgba(0, 255, 0, 0.05);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid var(--accent-green);
}

.faq-question {
    font-weight: 600;
    color: var(--accent-blue);
    font-size: 18px;
    margin-bottom: 10px;
}

.faq-answer {
    color: var(--text-gray);
    line-height: 1.7;
}

/* ===========================
   FOOTER
   =========================== */
footer {
    background: var(--primary-dark);
    padding: 40px 0;
    text-align: center;
    border-top: 2px solid var(--accent-green);
}

footer p {
    color: var(--text-gray);
    font-size: 14px;
}

/* ===========================
   MENÚ HAMBURGUESA (MÓVIL)
   =========================== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    background: transparent;
    border: none;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--accent-green);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===========================
   RESPONSIVE (DISPOSITIVOS MÓVILES)
   =========================== */

/* Tablets (≤ 992px) */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 40px;
    }
    
    h2 {
        font-size: 32px;
    }
    
    nav ul {
        gap: 15px;
        font-size: 14px;
    }
    
    nav a {
        font-size: 14px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .info-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* Móviles (≤ 768px) */
@media (max-width: 768px) {
    /* Mostrar menú hamburguesa */
    .hamburger {
        display: flex;
    }
    
    .header-content {
        position: relative;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(13, 43, 69, 0.98);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    }
    
    nav.active {
        max-height: 600px;
        padding: 20px 0;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0;
        text-align: center;
        width: 100%;
    }
    
    nav ul li {
        width: 100%;
        border-bottom: 1px solid rgba(0, 255, 0, 0.1);
    }
    
    nav ul li:last-child {
        border-bottom: none;
    }
    
    nav a {
        display: block;
        padding: 15px 20px;
        font-size: 16px;
    }
    
    nav a::after {
        display: none;
    }
    
    .header-buttons {
        gap: 10px;
    }
    
    .btn-login,
    .btn-register {
        padding: 10px 18px;
        font-size: 14px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 28px;
        line-height: 1.3;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-large {
        width: 100%;
        padding: 16px 30px;
        font-size: 16px;
    }
    
    h2 {
        font-size: 26px;
    }
    
    h3 {
        font-size: 20px;
    }
    
    p {
        font-size: 16px;
    }
    
    .info-table {
        font-size: 13px;
        display: block;
        overflow-x: auto;
    }
    
    .info-table th,
    .info-table td {
        padding: 12px 8px;
        white-space: nowrap;
    }
    
    .features-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .feature-item {
        padding: 20px;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .review-card {
        padding: 20px;
    }
    
    .promo-banner {
        padding: 30px 20px;
    }
    
    .promo-banner h3 {
        font-size: 26px;
    }
}

/* Móviles pequeños (≤ 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo img {
        height: 35px;
    }
    
    header {
        padding: 12px 0;
    }
    
    .header-buttons {
        gap: 8px;
    }
    
    .btn-login,
    .btn-register {
        padding: 8px 14px;
        font-size: 13px;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero h1 {
        font-size: 24px;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .hero-buttons {
        gap: 12px;
    }
    
    .btn {
        width: 100%;
        padding: 12px 20px;
    }
    
    .btn-large {
        width: 100%;
        padding: 14px 25px;
        font-size: 15px;
    }
    
    section {
        padding: 35px 0;
    }
    
    h2 {
        font-size: 22px;
        line-height: 1.3;
    }
    
    h3 {
        font-size: 18px;
    }
    
    p {
        font-size: 15px;
        line-height: 1.7;
    }
    
    .info-table {
        font-size: 12px;
    }
    
    .info-table th,
    .info-table td {
        padding: 10px 6px;
        font-size: 12px;
    }
    
    .feature-item {
        padding: 18px;
    }
    
    .feature-item strong {
        font-size: 16px;
    }
    
    .promo-banner {
        padding: 25px 15px;
    }
    
    .promo-banner h3 {
        font-size: 22px;
        line-height: 1.3;
    }
    
    .promo-banner p {
        font-size: 15px;
    }
    
    .review-card {
        padding: 18px;
    }
    
    .review-author {
        font-size: 15px;
    }
    
    .review-rating {
        font-size: 16px;
    }
    
    .review-text {
        font-size: 14px;
    }
    
    .faq-item {
        padding: 18px;
    }
    
    .faq-question {
        font-size: 16px;
    }
    
    .faq-answer {
        font-size: 14px;
    }
}
