/* Resultados Loteria V2 - Tema Púrpura Dorado */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Roboto:wght@400;500&display=swap');

:root {
    --primary: #6b21a8;
    --primary-light: #9333ea;
    --primary-dark: #4c1d95;
    --accent: #f59e0b;
    --accent-light: #fbbf24;
    --bg-dark: #0f0a1a;
    --bg-card: #1a1025;
    --bg-gradient: linear-gradient(135deg, #0f0a1a 0%, #1e1133 50%, #0f0a1a 100%);
    --text-white: #ffffff;
    --text-gray: #b8b8d0;
    --success: #10b981;
    --border-glow: rgba(147, 51, 234, 0.3);
    --shadow-purple: 0 0 40px rgba(147, 51, 234, 0.2);
    --font-main: 'Poppins', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-gradient);
    color: var(--text-white);
    line-height: 1.8;
    min-height: 100vh;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-main);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }

p {
    color: var(--text-gray);
    margin-bottom: 1.2rem;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header - Diseño horizontal centrado */
.site-header {
    padding: 1.5rem 0;
    background: rgba(15, 10, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-glow);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-logo {
    width: 55px;
    height: 55px;
    border-radius: var(--radius-md);
    border: 2px solid var(--primary-light);
    box-shadow: 0 0 20px rgba(147, 51, 234, 0.4);
}

.brand-name {
    font-family: var(--font-main);
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navegación horizontal */
.main-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-item {
    padding: 0.6rem 1.2rem;
    color: var(--text-gray);
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.nav-item:hover {
    color: var(--text-white);
    background: rgba(147, 51, 234, 0.2);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.8rem;
    cursor: pointer;
}

/* Botón CTA - Estilo neón */
.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.2rem;
    background: linear-gradient(135deg, var(--accent) 0%, #d97706 100%);
    color: var(--bg-dark);
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    border-radius: var(--radius-xl);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 25px rgba(245, 158, 11, 0.4);
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 35px rgba(245, 158, 11, 0.6);
    color: var(--bg-dark);
}

.cta-btn-outline {
    background: transparent;
    border: 2px solid var(--primary-light);
    color: var(--text-white);
    box-shadow: none;
}

.cta-btn-outline:hover {
    background: var(--primary-light);
    color: var(--text-white);
    box-shadow: var(--shadow-purple);
}

/* Hero - Diseño asimétrico */
.hero-section {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    z-index: 0;
}

.hero-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mask-image: linear-gradient(to left, rgba(0,0,0,0.6) 0%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,0.6) 0%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 650px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: rgba(147, 51, 234, 0.2);
    border: 1px solid var(--primary-light);
    border-radius: var(--radius-xl);
    color: var(--accent-light);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

/* Secciones */
.content-section {
    padding: 5rem 0;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-intro h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 1.2rem;
}

.section-intro h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-light), var(--accent));
    border-radius: 2px;
}

/* Cards de características - Grid moderno */
.features-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.feature-box {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(147, 51, 234, 0.15);
    text-align: center;
    transition: all 0.4s ease;
}

.feature-box:hover {
    transform: translateY(-8px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-purple);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    padding: 15px;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.2) 0%, rgba(245, 158, 11, 0.1) 100%);
    border-radius: var(--radius-md);
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-box h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.feature-box p {
    font-size: 0.9rem;
}

/* Juegos Grid - Diseño hexagonal inspirado */
.games-showcase {
    background: linear-gradient(180deg, rgba(30, 17, 51, 0.5) 0%, var(--bg-dark) 100%);
    padding: 5rem 0;
}

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

.game-tile {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(147, 51, 234, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-tile:hover {
    transform: scale(1.03);
    border-color: var(--accent);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.game-tile-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.game-tile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.game-tile:hover .game-tile-image img {
    transform: scale(1.1);
}

.game-tile-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(to top, var(--bg-dark) 0%, transparent 100%);
}

.game-tile-body {
    padding: 1.5rem;
}

.game-tile h3 {
    color: var(--accent);
    margin-bottom: 0.6rem;
}

.game-tile p {
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
}

.game-tile .cta-btn {
    width: 100%;
    padding: 0.8rem;
}

/* Promociones - Cards con gradiente */
.promo-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.promo-card {
    background: linear-gradient(145deg, var(--bg-card) 0%, rgba(107, 33, 168, 0.15) 100%);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(147, 51, 234, 0.2);
    position: relative;
    overflow: hidden;
}

.promo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-light), var(--accent));
}

.promo-card h3 {
    color: var(--accent);
    margin-bottom: 1rem;
}

/* Pagos - Iconos en línea */
.payment-section {
    background: var(--bg-card);
    padding: 5rem 0;
}

.payment-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.payment-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 1.5rem 2rem;
    background: rgba(15, 10, 26, 0.6);
    border-radius: var(--radius-md);
    border: 1px solid rgba(147, 51, 234, 0.1);
    min-width: 140px;
    transition: all 0.3s ease;
}

.payment-icon-item:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.payment-icon-item img {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

.payment-icon-item span {
    font-weight: 600;
    color: var(--text-white);
}

.payment-icon-item small {
    font-size: 0.8rem;
    color: var(--text-gray);
}

/* Sobre nosotros - Layout dividido */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    text-align: left;
}

.about-text h2::after {
    left: 0;
    transform: none;
}

.about-text h3 {
    color: var(--accent);
    margin-top: 2rem;
}

.about-text ul {
    list-style: none;
    margin: 1rem 0;
}

.about-text li {
    padding: 0.5rem 0 0.5rem 1.8rem;
    position: relative;
    color: var(--text-gray);
}

.about-text li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--primary-light);
    font-size: 0.7rem;
}

.about-visual img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-purple);
}

/* Licencia */
.license-banner {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    background: linear-gradient(135deg, rgba(107, 33, 168, 0.2) 0%, rgba(245, 158, 11, 0.1) 100%);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--primary-light);
}

.license-banner img {
    width: 90px;
    height: 90px;
    object-fit: contain;
}

.license-text h3 {
    color: var(--accent);
    margin-bottom: 0.8rem;
}

/* FAQ - Acordeón moderno */
.faq-container {
    max-width: 850px;
    margin: 0 auto;
}

.faq-entry {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    border: 1px solid rgba(147, 51, 234, 0.1);
    overflow: hidden;
}

.faq-trigger {
    width: 100%;
    padding: 1.3rem 1.8rem;
    background: none;
    border: none;
    color: var(--text-white);
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-trigger:hover {
    color: var(--accent);
}

.faq-trigger::after {
    content: '▼';
    font-size: 0.8rem;
    color: var(--primary-light);
    transition: transform 0.3s ease;
}

.faq-entry.open .faq-trigger::after {
    transform: rotate(180deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-entry.open .faq-content {
    max-height: 400px;
}

.faq-inner {
    padding: 0 1.8rem 1.5rem;
}

/* Reseñas - Slider style */
.reviews-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.review-item {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-light);
}

.review-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.review-author {
    font-weight: 700;
    color: var(--text-white);
}

.review-city {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.review-stars {
    color: var(--accent);
    font-size: 1.1rem;
}

.review-body {
    font-style: italic;
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.review-date {
    font-size: 0.8rem;
    color: var(--text-gray);
    opacity: 0.7;
}

/* Juego responsable */
.responsible-box {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(107, 33, 168, 0.1) 100%);
    border: 1px solid var(--success);
    border-radius: var(--radius-lg);
    padding: 3rem;
}

.responsible-inner {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
}

.responsible-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
}

.responsible-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.responsible-content h3 {
    color: var(--success);
    margin-bottom: 1rem;
}

.responsible-content ul {
    list-style: none;
    margin: 1.2rem 0;
}

.responsible-content li {
    padding: 0.4rem 0 0.4rem 1.5rem;
    position: relative;
    color: var(--text-gray);
}

.responsible-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
}

/* Soporte */
.support-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.support-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid rgba(147, 51, 234, 0.1);
}

.support-box img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.support-info h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.support-info p {
    font-size: 0.85rem;
    margin: 0;
}

/* Footer - Diseño en columnas */
.site-footer {
    background: var(--bg-card);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(147, 51, 234, 0.2);
}

.footer-columns {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand-col p {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.2rem;
}

.footer-social a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(147, 51, 234, 0.2);
    border-radius: 50%;
    color: var(--accent);
    font-weight: 700;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-light);
    color: var(--text-white);
}

.footer-col-title {
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1.2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: var(--text-gray);
    font-size: 0.9rem;
}

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

.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-payment-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-payment-icons img {
    height: 28px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-payment-icons img:hover {
    opacity: 1;
}

.footer-badges {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-badges img {
    height: 38px;
    width: auto;
}

.copyright-text {
    width: 100%;
    text-align: center;
    margin-top: 2rem;
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* Páginas internas */
.page-hero {
    padding: 5rem 0 4rem;
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--bg-dark) 100%);
}

.page-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.page-info h1 {
    margin-bottom: 1.2rem;
}

.page-stats {
    display: flex;
    gap: 2.5rem;
    margin: 2rem 0;
}

.stat-block {
    text-align: center;
}

.stat-num {
    display: block;
    font-family: var(--font-main);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.page-visual img {
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.page-body {
    padding: 4rem 0;
}

.article-content {
    max-width: 850px;
    margin: 0 auto;
}

.article-content h2 {
    margin-top: 2.5rem;
    color: var(--accent);
}

.article-content ul, .article-content ol {
    margin: 1rem 0 1rem 1.5rem;
    color: var(--text-gray);
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.article-content th, .article-content td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(147, 51, 234, 0.2);
}

.article-content th {
    background: var(--bg-card);
    color: var(--accent);
    font-weight: 600;
}

/* Breadcrumbs */
.breadcrumb-nav {
    padding: 1rem 0;
    font-size: 0.9rem;
}

.breadcrumb-nav a {
    color: var(--text-gray);
}

.breadcrumb-nav span {
    color: var(--accent);
}

/* Responsive */
@media (max-width: 1200px) {
    .features-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-columns {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .header-content {
        flex-wrap: wrap;
    }
    
    .main-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        padding: 1rem 0;
        order: 3;
    }
    
    .main-nav.active {
        display: flex;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero-bg-image {
        width: 100%;
        opacity: 0.3;
    }
    
    .about-layout, .page-hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .promo-cards {
        grid-template-columns: 1fr;
    }
    
    .support-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .wrapper {
        padding: 0 1.2rem;
    }
    
    .hero-section {
        min-height: auto;
        padding: 4rem 0;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .content-section {
        padding: 3rem 0;
    }
    
    .features-row {
        grid-template-columns: 1fr;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom-bar {
        flex-direction: column;
        text-align: center;
    }
    
    .responsible-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .responsible-icon {
        margin: 0 auto;
    }
    
    .license-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .page-stats {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .payment-icons {
        gap: 1rem;
    }
    
    .payment-icon-item {
        min-width: 110px;
        padding: 1rem;
    }
    
    .reviews-slider {
        grid-template-columns: 1fr;
    }
}

/* Animaciones */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeUp 0.6s ease forwards;
}

/* Utilidades */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-success { color: var(--success); }
.mt-3 { margin-top: 3rem; }
.mb-3 { margin-bottom: 3rem; }
