: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);
}

* {
    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;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow-x: hidden;
    padding: 20px 0;
}

/* Efecto de partículas de fondo */
body::before {
    content: '';
    position: absolute;
    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;
}

/* Partículas flotantes adicionales */
.particles {
    position: absolute;
    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 8s infinite linear;
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    left: 20%;
    animation-delay: 1s;
}

.particle:nth-child(3) {
    left: 30%;
    animation-delay: 2s;
}

.particle:nth-child(4) {
    left: 40%;
    animation-delay: 3s;
}

.particle:nth-child(5) {
    left: 50%;
    animation-delay: 4s;
}

.particle:nth-child(6) {
    left: 60%;
    animation-delay: 5s;
}

.particle:nth-child(7) {
    left: 70%;
    animation-delay: 6s;
}

.particle:nth-child(8) {
    left: 80%;
    animation-delay: 7s;
}

.particle:nth-child(9) {
    left: 90%;
    animation-delay: 8s;
}

.particle:nth-child(10) {
    left: 15%;
    animation-delay: 2.5s;
}

main.container {
    background: var(--section-background);
    text-align: center;
    animation: fadeIn 1.5s ease-in-out;
    border-radius: 20px;
    padding: 30px 35px;
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(108, 92, 231, 0.1),
        0 0 30px rgba(108, 92, 231, 0.2);
    border: 1px solid rgba(108, 92, 231, 0.3);
    position: relative;
    z-index: 10;
    backdrop-filter: blur(10px);
    max-width: 1050px;
    width: 90%;
}

/* Línea decorativa superior */
main.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-purple), transparent);
    z-index: 10;
}

/* Anuncio del 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-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.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;
}

.logo {
    max-width: 250px;
    width: 70%;
    height: auto;
    margin-bottom: 35px;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 5px 15px rgba(108, 92, 231, 0.3));
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 8px 25px rgba(108, 92, 231, 0.5));
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.social-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.social-icon:hover::before {
    transform: translateX(100%);
}

.social-icon:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 20px var(--accent-glow);
    border-color: rgba(255, 255, 255, 0.3);
}

.instagram {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D, #F56040, #F77737, #FCAF45, #FFDC80);
    box-shadow: 0 8px 20px rgba(225, 48, 108, 0.4);
}

.instagram:hover {
    box-shadow: 0 15px 30px rgba(225, 48, 108, 0.6), 0 0 25px rgba(225, 48, 108, 0.5);
}

.facebook {
    background: linear-gradient(135deg, #1877F2, #0d5dbf);
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.4);
}

.facebook:hover {
    box-shadow: 0 15px 30px rgba(24, 119, 242, 0.6), 0 0 25px rgba(24, 119, 242, 0.5);
}

.twitch {
    background: linear-gradient(135deg, #9146FF, #6f2bd6);
    box-shadow: 0 8px 20px rgba(145, 70, 255, 0.4);
}

.twitch:hover {
    box-shadow: 0 15px 30px rgba(145, 70, 255, 0.6), 0 0 25px rgba(145, 70, 255, 0.5);
}

.discord {
    background: linear-gradient(135deg, #5865F2, #3f4ab8);
    box-shadow: 0 8px 20px rgba(88, 101, 242, 0.4);
}

.discord:hover {
    box-shadow: 0 15px 30px rgba(88, 101, 242, 0.6), 0 0 25px rgba(88, 101, 242, 0.5);
}

.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp:hover {
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6), 0 0 25px rgba(37, 211, 102, 0.5);
}

.tiktok {
    background: linear-gradient(135deg, #010101, #25F4EE, #FE2C55);
    box-shadow: 0 8px 20px rgba(254, 44, 85, 0.3);
}

.tiktok:hover {
    box-shadow: 0 15px 30px rgba(254, 44, 85, 0.5), 0 0 25px rgba(37, 244, 238, 0.3);
}

.social-icon svg {
    width: 35px;
    height: 35px;
    fill: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.social-icon:hover svg {
    transform: scale(1.2);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 28px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    background: linear-gradient(135deg, #6c5ce7, #5142c9); /* Color por defecto */
    border: none;
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 20px rgba(108, 92, 231, 0.5);
    width: 100%;
    max-width: 450px;
    margin-top: 15px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 30px rgba(108, 92, 231, 0.4);
}

.btn:hover::before {
    left: 100%;
}

.btn:active {
    transform: translateY(0);
}

.btn svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.btn-primary {
    background: linear-gradient(135deg, #28a745, #218838); /* Verde */
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.2), 0 0 20px rgba(40, 167, 69, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3), 0 0 30px rgba(40, 167, 69, 0.5);
}

.btn-secondary {
    background: linear-gradient(135deg, #007bff, #0069d9); /* Azul */
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2), 0 0 20px rgba(0, 123, 255, 0.4);
}

.btn-secondary:hover {
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3), 0 0 30px rgba(0, 123, 255, 0.5);
}

.quick-info {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(108, 92, 231, 0.1);
    padding: 10px 15px;
    border-radius: 20px;
    border: 1px solid rgba(108, 92, 231, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.info-item:hover {
    background: rgba(108, 92, 231, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
}

.info-icon {
    font-size: 1.2rem;
}

.info-text {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    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 shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-5px);
    }

    60% {
        transform: translateY(-3px);
    }
}

@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);
    }
}

/* Efectos adicionales de resplandor */
main.container {
    animation: fadeIn 1.5s ease-in-out, subtle-glow 5s infinite;
}

@keyframes subtle-glow {
    0% {
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(108, 92, 231, 0.1), 0 0 30px rgba(108, 92, 231, 0.2);
    }

    50% {
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(108, 92, 231, 0.1), 0 0 40px rgba(108, 92, 231, 0.3);
    }

    100% {
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(108, 92, 231, 0.1), 0 0 30px rgba(108, 92, 231, 0.2);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    main.container {
        padding: 30px 25px;
        width: 95%;
    }

    .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;
    }

    .logo {
        max-width: 200px;
        margin-bottom: 30px;
    }

    .social-icons {
        gap: 20px;
        margin-bottom: 25px;
    }

    .social-icon {
        width: 60px;
        height: 60px;
    }

    .social-icon svg {
        width: 24px;
        height: 24px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .quick-info {
        flex-direction: column;
        gap: 15px;
    }

    .info-item {
        padding: 8px 12px;
    }

    .info-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    main.container {
        padding: 25px 20px;
        width: 98%;
    }

    .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;
    }

    .logo {
        max-width: 180px;
        margin-bottom: 25px;
    }

    .social-icons {
        gap: 15px;
        margin-bottom: 20px;
    }

    .social-icon {
        width: 55px;
        height: 55px;
    }

    .social-icon svg {
        width: 22px;
        height: 22px;
    }

    .btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .quick-info {
        gap: 10px;
        align-items: center;
    }

    .info-item {
        padding: 8px 15px;
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
}

/* Estilos para el contenido de torneo (manteniendo compatibilidad) */
.torneo-content {
    max-width: 700px;
    margin: 40px auto;
    background: #111;
    padding: 32px 24px;
    border-radius: 16px;
    color: #fff;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.torneo-banner {
    width: 100%;
    max-width: 600px;
    margin-bottom: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.torneo-bases {
    margin: 32px 0;
    min-height: 120px;
    background: #181818;
    border-radius: 8px;
    padding: 28px 28px 20px 28px;
    color: #ccc;
    font-size: 1.08em;
    text-align: left;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
    border-left: 5px solid #9146FF;
    position: relative;
}

.torneo-bases strong {
    color: #fff;
    font-size: 1.18em;
    letter-spacing: 0.5px;
}

.torneo-bases a {
    color: #6cf;
    text-decoration: underline;
    word-break: break-all;
}

.torneo-bases ul,
.torneo-bases ol {
    margin: 0 0 0 1.2em;
    padding: 0;
}

.torneo-bases li {
    margin-bottom: 0.5em;
}

.torneo-bases .hashtags {
    font-size: 0.95em;
    color: #888;
    margin-top: 16px;
    display: block;
}

@media (max-width: 600px) {
    .torneo-content {
        padding: 12px 2vw;
    }

    .torneo-bases {
        padding: 16px 8px 12px 12px;
    }
}

#twitch-embed {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

#twitch-embed iframe {
    width: 100%;
    height: 500px;
    display: block;
}

.iframe-scroll-container iframe {
    height: 1200px !important;
    min-width: 800px;
    /* ...otros estilos... */
}

@media (max-width: 768px) {
    .iframe-scroll-container iframe {
        height: 900px !important;
        min-width: 480px;
    }
}

@media (max-width: 480px) {
    .iframe-scroll-container iframe {
        height: 700px !important;
        min-width: 350px;
    }
}

.stream-banner {
    background: linear-gradient(135deg, #ff9800, #ff5722);
    color: #fff;
    padding: 16px 24px;
    text-align: center;
    font-weight: 700;
    font-size: 1.1em;
    border-radius: 12px;
    margin: 20px auto 0 auto;
    max-width: 600px;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.25);
    z-index: 100;
    position: relative;
    animation: fadeInOut 7s forwards;
}

@media (max-width: 768px) {
    .stream-banner {
        font-size: 1em;
        padding: 12px 10px;
        max-width: 98vw;
    }
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { opacity: 0; }
}

/* --- INICIO: estilos fusionados de buttons.css --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 28px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    background: linear-gradient(135deg, #6c5ce7, #5142c9); /* Color por defecto */
    border: none;
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 20px rgba(108, 92, 231, 0.5);
    width: 100%;
    max-width: 450px;
    margin-top: 15px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 30px rgba(108, 92, 231, 0.4);
}

.btn:hover::before {
    left: 100%;
}

.btn:active {
    transform: translateY(0);
}

.btn svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.btn-primary {
    background: linear-gradient(135deg, #28a745, #218838); /* Verde */
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.2), 0 0 20px rgba(40, 167, 69, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3), 0 0 30px rgba(40, 167, 69, 0.5);
}

.btn-secondary {
    background: linear-gradient(135deg, #007bff, #0069d9); /* Azul */
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2), 0 0 20px rgba(0, 123, 255, 0.4);
}

.btn-secondary:hover {
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3), 0 0 30px rgba(0, 123, 255, 0.5);
}

/* Estilos para la sección de torneos pasados */
.past-tournament {
    background: rgba(11, 17, 32, 0.5);
    border: 1px solid rgba(108, 92, 231, 0.2);
    border-radius: 16px;
    padding: 25px;
    margin-top: 30px;
    width: 100%;
    max-width: 900px; /* Ajustar según sea necesario */
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* Proporción 16:9 */
    height: 0;
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: 12px;
    background: #000;
}

.video-container iframe,
.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: #111;
    color: #fff;
    font-size: 1.2rem;
    text-align: center;
    border: 2px dashed rgba(108, 92, 231, 0.3);
}

.past-tournament .tournament-actions {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

/* Media Queries para Responsive */
@media (max-width: 768px) {
    .btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

.active-tournament {
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.15), rgba(40, 167, 69, 0.10));
    border: 2px solid #28a745;
    border-radius: 18px;
    padding: 32px 25px 28px 25px;
    margin-top: 30px;
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 8px 32px rgba(40, 167, 69, 0.10), 0 0 0 1px rgba(108, 92, 231, 0.08);
    position: relative;
    z-index: 2;
}

.active-tournament .announcement-badge {
    background: linear-gradient(135deg, #28a745, #218838);
    color: #fff;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.2);
    animation: bounce 2s infinite;
}

.active-tournament .announcement-title {
    color: #28a745;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
}

.active-tournament .announcement-text {
    color: #fff;
    font-weight: 600;
}

.active-tournament .tournament-actions {
    display: flex;
    justify-content: center;
    margin-top: 18px;
}

.info-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(108, 92, 231, 0.15);
    color: #fff;
    border: 1px solid rgba(108, 92, 231, 0.3);
    border-radius: 16px;
    padding: 6px 16px;
    margin: 6px 8px 6px 0;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(108, 92, 231, 0.08);
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.info-tag:hover {
    background: linear-gradient(135deg, #6c5ce7, #5142c9);
    color: #fff;
    border-color: #6c5ce7;
}

.quick-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 30px 0 10px 0;
    gap: 0;
}
/* --- FIN: estilos fusionados de buttons.css --- */

/* Footer principal */
.main-footer {
    text-align: center;
    margin-top: 30px;
    font-size: 0.98em;
    color: #ccc;
    font-family: Arial, sans-serif;
    padding: 18px 10px 18px 10px;
    border-top: 1px solid #333;
    background: rgba(20,24,48,0.85);
    border-radius: 0 0 16px 16px;
    width: 100%;
    box-sizing: border-box;
}
.footer-content {
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
    word-break: break-word;
}
@media (max-width: 768px) {
    .main-footer {
        font-size: 0.95em;
        padding: 16px 5px;
    }
    .footer-content {
        max-width: 98vw;
        font-size: 0.97em;
    }
}
@media (max-width: 480px) {
    .main-footer {
        font-size: 0.92em;
        padding: 14px 2px;
    }
    .footer-content {
        max-width: 100vw;
        font-size: 0.95em;
    }
}