:root {
    --primary-purple: #6c5ce7;
    --primary-red: #ff3860;
    --dark-background: #0b1120;
    --card-background: #1a1f2e;
    --section-background: #141830;
    --accent-glow: rgba(108, 92, 231, 0.5);
    --gradient-purple: linear-gradient(135deg, #6c5ce7, #5142c9);
    --gradient-red: linear-gradient(135deg, #ff3860, #e5254d);
    --text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    --border-glow: rgba(108, 92, 231, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(145deg, var(--dark-background), #0d1529);
    font-family: 'Segoe UI', 'Arial', 'Helvetica Neue', Helvetica, Verdana, sans-serif;
    color: white;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Efecto de partículas de fondo */
body::before {
    content: '';
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: 
        radial-gradient(circle, rgba(108, 92, 231, 0.05) 2px, transparent 2px),
        radial-gradient(circle, rgba(255, 56, 96, 0.05) 1px, transparent 1px);
    background-size: 50px 50px, 30px 30px;
    background-position: 0 0, 25px 25px;
    animation: floatingParticles 120s linear infinite;
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
}

/* Partículas flotantes adicionales */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(108, 92, 231, 0.6);
    border-radius: 50%;
    animation: float-up 12s infinite linear;
}

.particle:nth-child(1) { left: 5%; animation-delay: 0s; transform: scale(0.8); }
.particle:nth-child(2) { left: 15%; animation-delay: 1s; transform: scale(1.2); }
.particle:nth-child(3) { left: 25%; animation-delay: 2s; transform: scale(0.6); }
.particle:nth-child(4) { left: 35%; animation-delay: 3s; transform: scale(1.4); }
.particle:nth-child(5) { left: 45%; animation-delay: 4s; transform: scale(0.9); }
.particle:nth-child(6) { left: 55%; animation-delay: 5s; transform: scale(1.1); }
.particle:nth-child(7) { left: 65%; animation-delay: 6s; transform: scale(0.7); }
.particle:nth-child(8) { left: 75%; animation-delay: 7s; transform: scale(1.3); }
.particle:nth-child(9) { left: 85%; animation-delay: 8s; transform: scale(0.8); }
.particle:nth-child(10) { left: 95%; animation-delay: 9s; transform: scale(1.0); }
.particle:nth-child(11) { left: 10%; animation-delay: 5.5s; background: rgba(255, 56, 96, 0.6); }
.particle:nth-child(12) { left: 30%; animation-delay: 7.5s; background: rgba(255, 56, 96, 0.6); }
.particle:nth-child(13) { left: 50%; animation-delay: 3.5s; background: rgba(255, 56, 96, 0.6); }
.particle:nth-child(14) { left: 70%; animation-delay: 9.5s; background: rgba(255, 56, 96, 0.6); }
.particle:nth-child(15) { left: 90%; animation-delay: 1.5s; background: rgba(255, 56, 96, 0.6); }

/* Navegación de regreso */
.back-navigation {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(20, 24, 42, 0.9);
    border: 2px solid var(--border-glow);
    border-radius: 12px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.back-btn:hover {
    background: rgba(108, 92, 231, 0.2);
    border-color: var(--primary-purple);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.4);
}

.back-btn svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
}

/* Container principal */
.torneo-container {
    max-width: 1580px;
    margin: 0 auto;
    padding: 80px 20px 40px;
    position: relative;
    z-index: 10;
}

.torneo-content {
    background: var(--section-background);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.5), 
        0 0 0 1px var(--border-glow), 
        0 0 40px rgba(108, 92, 231, 0.2);
    border: 1px solid var(--border-glow);
    position: relative;
    backdrop-filter: blur(15px);
    animation: fadeInUp 0.8s ease-out;
}

/* Línea decorativa superior */
.torneo-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-purple), var(--primary-red), transparent);
    border-radius: 0 0 4px 4px;
}

/* Banner del torneo */
.banner-container {
    width: 100%;
    margin: 20px 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.torneo-banner {
    width: 100%;
    display: block;
    border-radius: 16px;
    transition: transform 0.5s ease;
    object-fit: cover; /* Mantener proporciones y recortar si es necesario */
    object-position: center; /* Centrar la imagen */
}

.banner-container:hover .torneo-banner {
    transform: scale(1.02);
}

.banner-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
}

.event-status {
    background: linear-gradient(135deg, #28a745, #1e7e34);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
    animation: pulseGlow 2s infinite;
    letter-spacing: 0.5px;
}

/* Header del torneo */
.torneo-header {
    text-align: center;
    margin-bottom: 50px;
}

.torneo-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.1;
}

.highlight-purple {
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 4px 15px rgba(108, 92, 231, 0.5);
    display: block;
}

.highlight-red {
    background: var(--gradient-red);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 4px 15px rgba(255, 56, 96, 0.5);
    display: block;
}

.subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
}

.subtitle::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-purple), var(--primary-red));
    border-radius: 3px;
}

/* Información del torneo */
.torneo-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Secciones individuales */
.intro-section,
.participation-section,
.event-details,
.prizes-section,
.closing-message {
    background: var(--card-background);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(108, 92, 231, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    position: relative;
    transition: all 0.3s ease;
}

.intro-section:hover,
.participation-section:hover,
.event-details:hover,
.prizes-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4), 0 0 20px var(--accent-glow);
    border-color: rgba(108, 92, 231, 0.4);
}

/* Títulos de sección */
.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-purple);
    position: relative;
    padding-left: 20px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 4px;
    background: var(--gradient-purple);
    border-radius: 4px;
}

.section-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--primary-red);
    position: relative;
    padding-left: 20px;
}

.section-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 4px;
    background: var(--gradient-red);
    border-radius: 4px;
}

/* Texto introductorio */
.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.intro-text strong {
    color: var(--primary-red);
    font-weight: 700;
}

/* Pasos de participación */
.participation-steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.participation-steps li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: rgba(108, 92, 231, 0.1);
    border-radius: 12px;
    border-left: 4px solid var(--primary-purple);
    transition: all 0.3s ease;
}

.participation-steps li:hover {
    background: rgba(108, 92, 231, 0.15);
    transform: translateX(5px);
}

.step-number {
    background: var(--gradient-purple);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.4);
}

.step-content {
    flex: 1;
    line-height: 1.6;
}

.step-content strong {
    color: white;
    display: block;
    margin-bottom: 5px;
}

.highlight {
    color: var(--primary-purple);
    font-weight: 600;
}

.register-link {
    color: #6cf;
    text-decoration: none;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(102, 204, 255, 0.1);
    transition: all 0.3s ease;
    word-break: break-all;
    display: inline-block;
    margin-top: 5px;
}

.register-link:hover {
    background: rgba(102, 204, 255, 0.2);
    transform: translateY(-2px);
}

/* Detalles del evento */
.details-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 56, 96, 0.1);
    border-radius: 12px;
    border-left: 4px solid var(--primary-red);
    transition: all 0.3s ease;
}

.detail-item:hover {
    background: rgba(255, 56, 96, 0.15);
    transform: translateY(-2px);
}

.detail-icon {
    font-size: 1.8rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-red);
    border-radius: 12px;
    flex-shrink: 0;
}

.detail-content strong {
    color: white;
    display: block;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.detail-content span {
    color: rgba(255, 255, 255, 0.8);
}

/* Premios */
.prizes-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.prize-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(255, 56, 96, 0.1));
    border-radius: 12px;
    border: 1px solid rgba(108, 92, 231, 0.3);
    transition: all 0.3s ease;
}

.prize-item:hover {
    transform: translateX(10px);
    border-color: rgba(108, 92, 231, 0.5);
    box-shadow: 0 5px 20px rgba(108, 92, 231, 0.3);
}

.prize-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-purple);
    border-radius: 15px;
    flex-shrink: 0;
}

/* Mensaje de cierre */
.closing-message {
    text-align: center;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(255, 56, 96, 0.1));
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.closing-message::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-red));
    border-radius: inherit;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    -webkit-mask-composite: xor;
}

.closing-message p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    line-height: 1.7;
}

/* Hashtags */
.hashtags {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.hashtag {
    background: rgba(108, 92, 231, 0.2);
    color: var(--primary-purple);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(108, 92, 231, 0.3);
    transition: all 0.3s ease;
}

.hashtag:hover {
    background: rgba(108, 92, 231, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(108, 92, 231, 0.3);
}

/* Sección de registro */
.register-section {
    margin-top: 50px;
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(255, 56, 96, 0.1));
    border-radius: 20px;
    border: 2px solid rgba(108, 92, 231, 0.3);
}

.torneo-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 40px;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-red));
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.torneo-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(rgba(255, 255, 255, 0.3), transparent 70%);
    opacity: 0;
    transform: rotate(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.torneo-btn:hover {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-purple));
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 40px rgba(108, 92, 231, 0.6), 0 0 40px rgba(255, 56, 96, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.torneo-btn:hover::before {
    opacity: 1;
    transform: rotate(45deg);
}

.torneo-btn svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.5;
}

.register-note {
    margin-top: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    font-size: 1rem;
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatingParticles {
    0% {
        background-position: 0 0, 25px 25px;
    }
    100% {
        background-position: 1000px 1000px, 1025px 1025px;
    }
}

@keyframes float-up {
    0% {
        transform: translateY(100vh) rotate(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(720deg);
        opacity: 0;
    }
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(40, 167, 69, 0.6), 0 0 15px rgba(40, 167, 69, 0.3);
    }
    100% {
        box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .back-navigation {
        top: 15px;
        left: 15px;
    }

    .back-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .torneo-container {
        padding: 60px 15px 30px;
    }

    .torneo-content {
        padding: 25px 20px;
    }

    /* Banner más pequeño en móvil */
    .banner-container {
        max-height: 500px;
    }

    .torneo-banner {
        height: 200px;
    }

    .torneo-title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }

    .participation-steps li {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .step-number {
        align-self: center;
    }

    .torneo-btn {
        padding: 16px 32px;
        font-size: 1.1rem;
    }

    .hashtags {
        gap: 8px;
    }

    .hashtag {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
}

@media (max-width: 480px) {
    .torneo-container {
        padding: 50px 10px 20px;
    }

    .torneo-content {
        padding: 20px 15px;
        border-radius: 16px;
    }

    /* Banner aún más pequeño en móviles pequeños */
    .banner-container {
        max-height: 650px;
        margin-bottom: 30px;
    }

    .torneo-banner {
        height: 150px;
    }

    .torneo-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 1.3rem;
    }

    .detail-item,
    .prize-item,
    .participation-steps li {
        padding: 15px;
    }

    .register-section {
        padding: 25px 15px;
    }

    .torneo-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 1rem;
    }
}

/* Estilos específicos para el torneo */
.tournament-announcement {
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.15), rgba(255, 56, 96, 0.15));
    border: 2px solid rgba(108, 92, 231, 0.3);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    animation: pulseGlow 3s infinite;
}

.tournament-announcement::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-purple), var(--primary-red), var(--primary-purple));
    animation: shimmer 2s infinite;
}

.announcement-badge {
    background: linear-gradient(135deg, #ff4757, #ff3838);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
    animation: bounce 2s infinite;
}

.announcement-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.announcement-title .highlight-purple {
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.announcement-title .highlight-red {
    background: var(--gradient-red);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.announcement-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

/* Contador regresivo */
.countdown-container {
    margin-top: 15px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.countdown-item {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 10px 15px;
    min-width: 60px;
    border: 1px solid rgba(108, 92, 231, 0.3);
}

.countdown-number {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-purple);
    text-shadow: 0 0 10px rgba(108, 92, 231, 0.5);
}

.countdown-text {
    display: block;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Twitch Embed */
#twitch-embed {
    width: 100%;
    max-width: 100%;
    margin-top: 20px;
}

#twitch-embed iframe {
    width: 100%;
    height: 500px;
    display: block;
}

/* Botón de registro */
.torneo-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
    margin-bottom: 25px;
    padding: 20px 45px;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-red));
    color: #fff;
    font-weight: 700;
    border-radius: 15px;
    text-decoration: none;
    font-size: 1.4em;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: inherit;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    border: 2px solid rgba(255, 255, 255, 0.1);
    animation: pulseButton 2s infinite;
}

.torneo-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(108, 92, 231, 0.6);
}

.register-note {
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    margin-top: 10px;
}

/* Animaciones */
@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 5px rgba(108, 92, 231, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(108, 92, 231, 0.5), 0 0 30px rgba(255, 56, 96, 0.3);
    }
    100% {
        box-shadow: 0 0 5px rgba(108, 92, 231, 0.3);
    }
}

@keyframes pulseButton {
    0% {
        box-shadow: 0 10px 30px rgba(108, 92, 231, 0.5);
    }
    50% {
        box-shadow: 0 10px 30px rgba(108, 92, 231, 0.7), 0 0 20px rgba(255, 56, 96, 0.4);
    }
    100% {
        box-shadow: 0 10px 30px rgba(108, 92, 231, 0.5);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .tournament-announcement {
        padding: 20px;
        margin-bottom: 25px;
    }

    .announcement-title {
        font-size: 1.6rem;
    }

    .announcement-text {
        font-size: 1rem;
    }

    .countdown-timer {
        gap: 10px;
    }

    .countdown-item {
        padding: 8px 12px;
        min-width: 50px;
    }

    .countdown-number {
        font-size: 1.2rem;
    }

    .torneo-btn {
        padding: 16px 32px;
        font-size: 1.2em;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .tournament-announcement {
        padding: 15px;
        margin-bottom: 20px;
    }

    .announcement-title {
        font-size: 1.4rem;
    }

    .announcement-text {
        font-size: 0.9rem;
    }

    .countdown-timer {
        gap: 8px;
    }

    .countdown-item {
        padding: 6px 10px;
        min-width: 45px;
    }

    .countdown-number {
        font-size: 1rem;
    }

    .countdown-text {
        font-size: 0.6rem;
    }

    .torneo-btn {
        padding: 14px 28px;
        font-size: 1.1em;
    }

    #twitch-embed iframe {
        height: 300px;
    }
}

/* Botones de acción */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.torneo-btn.stats-btn {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    box-shadow: 0 10px 30px rgba(46, 204, 113, 0.4);
    transition: all 0.3s ease, opacity 0.3s ease, pointer-events 0.3s ease;
}

.torneo-btn.stats-btn:hover {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    box-shadow: 0 20px 40px rgba(46, 204, 113, 0.6), 0 0 40px rgba(46, 204, 113, 0.4);
}

.torneo-btn.stats-btn[style*="opacity: 0.5"] {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
    box-shadow: 0 10px 30px rgba(127, 140, 141, 0.4);
    transform: none !important;
}

.torneo-btn.stats-btn[style*="opacity: 0.5"]:hover {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
    box-shadow: 0 10px 30px rgba(127, 140, 141, 0.4);
    transform: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .action-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .torneo-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .action-buttons {
        gap: 10px;
    }

    .torneo-btn {
        padding: 14px 28px;
        font-size: 1.1em;
    }
}

/* Mensaje de recarga automática */
.recarga-mensaje {
    background: linear-gradient(135deg, #ff9800, #ff5722);
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    margin-top: 15px;
    font-weight: 600;
    text-align: center;
    animation: pulseWarning 2s infinite;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes pulseWarning {
    0% {
        box-shadow: 0 4px 15px rgba(255, 152, 0, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(255, 152, 0, 0.6), 0 0 20px rgba(255, 87, 34, 0.4);
    }
    100% {
        box-shadow: 0 4px 15px rgba(255, 152, 0, 0.4);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .recarga-mensaje {
        font-size: 0.9rem;
        padding: 10px 15px;
        margin-top: 12px;
    }
}

@media (max-width: 480px) {
    .recarga-mensaje {
        font-size: 0.8rem;
        padding: 8px 12px;
        margin-top: 10px;
    }
}

.stats-disclaimer {
    background: linear-gradient(135deg, #ff9800, #ff5722);
    color: white;
    padding: 15px 20px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    animation: pulseWarning 2s infinite;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.4);
}

.stats-disclaimer::before {
    content: '⚠️';
    margin-right: 8px;
}

@media (max-width: 768px) {
    .stats-disclaimer {
        font-size: 0.9em;
        padding: 12px 15px;
    }
}

@media (max-width: 480px) {
    .stats-disclaimer {
        font-size: 0.8em;
        padding: 10px 12px;
    }
}

.iframe-scroll-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    background: #181828;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.iframe-scroll-container iframe {
    min-width: 900px;
    width: 100%;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    background: #fff;
    height: 1400px !important;
}
.stats-scroll-hint {
    display: none;
    text-align: center;
    color: #ff9800;
    font-size: 1em;
    font-weight: 600;
    margin-bottom: 8px;
}
@media (max-width: 1024px) {
    .iframe-scroll-container iframe {
        min-width: 700px;
        height: 1200px !important;
    }
}
@media (max-width: 768px) {
    .iframe-scroll-container iframe {
        min-width: 480px;
        height: 1000px !important;
    }
    .stats-scroll-hint {
        display: block;
    }
}
@media (max-width: 480px) {
    .iframe-scroll-container iframe {
        min-width: 350px;
        height: 800px !important;
    }
    .stats-scroll-hint {
        font-size: 0.95em;
    }
}