/* ================================
   HEADER TOURNAMENT
   ================================ */

.header-tournament {
    background: #131313;
    padding: 4rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.header-tournament__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ================================
   HERO SECTION
   ================================ */

.header-tournament__hero {
    text-align: center;
    margin-bottom: 1.5rem;
}

.header-tournament__hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.625rem;
}

.header-tournament__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 0 var(--radius);
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.header-tournament__badge i {
    font-size: 0.5rem;
    color: var(--accent);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.header-tournament__title {
    font-size: clamp(1.375rem, 3vw, 1.875rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    line-height: 1.2;
}

.header-tournament__icon {
    color: var(--accent);
    font-size: 0.9em;
}

.header-tournament__divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    border-radius: 2px;
    margin-top: 0.375rem;
}

/* ================================
   STATS SECTION
   ================================ */

.header-tournament__stats {
    margin-bottom: 1.25rem;
}

.header-tournament__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
}

.header-tournament__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    padding: 0.75rem 0.5rem;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 0 var(--radius);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.header-tournament__card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.header-tournament__card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--accent);
    color: white;
    border-radius: calc(var(--radius) - 2px);
    font-size: 0.875rem;
    flex-shrink: 0;
}

.header-tournament__card-content {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

.header-tournament__label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header-tournament__value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.header-tournament__value--muted {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

/* ================================
   ACTIONS / NAVIGATION
   ================================ */

.header-tournament__actions {
    padding-top: 1rem;
}

.header-tournament__actions-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    justify-content: center;
}

/* ================================
   RESPONSIVE
   ================================ */

@media (max-width: 768px) {
    .header-tournament {
        padding: 1rem 0;
    }

    .header-tournament__container {
        padding: 0 0.75rem;
    }

    .header-tournament__hero {
        margin-bottom: 1.25rem;
    }

    .header-tournament__title {
        font-size: 1.375rem;
        flex-direction: column;
        gap: 0.375rem;
    }

    .header-tournament__grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 0.375rem;
    }

    .header-tournament__card {
        padding: 0.5rem 0.25rem;
    }

    .header-tournament__card-icon {
        width: 28px;
        height: 28px;
        font-size: 0.688rem;
    }

    .header-tournament__label {
        font-size: 0.463rem;
        letter-spacing: 0.25px;
    }

    .header-tournament__value {
        font-size: 0.775rem;
    }

    .header-tournament__actions {
        display: none;
    }
}

@media (max-width: 480px) {
    .header-tournament__badge {
        font-size: 0.588rem;
        padding: 0.3rem 0.875rem;
    }

    .header-tournament__title {
        font-size: 1.25rem;
    }

    .header-tournament__grid {
        gap: 0.25rem;
    }

    .header-tournament__card {
        padding: 0.375rem 0.125rem;
    }

    .header-tournament__card-icon {
        width: 24px;
        height: 24px;
        font-size: 0.625rem;
    }

    .header-tournament__card-content {
        gap: 0.125rem;
    }

    .header-tournament__label {
        font-size: 0.4rem;
        letter-spacing: 0.2px;
    }

    .header-tournament__value {
        font-size: 0.65rem;
    }
}