/* -----------------------------------
   HEADLINE
----------------------------------- */
.overview-box {
    background: rgba(30, 30, 30, 0.7);
    padding: 18px 25px;
    margin-bottom: 10px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.overview-headline {
    font-size: 1.9rem;
    font-weight: 700;
    color: #eee;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}


/* -----------------------------------
   GENDER SWITCH
----------------------------------- */
.gender-header {
    background: rgba(30, 30, 30, 0.7);
    border-radius: 12px;
    padding: 8px 20px;
    text-align: center;
    margin-bottom: 10px;
}

.gender-switch {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.gender-btn {
    flex: 1;
    max-width: 120px;
    padding: 8px 10px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    background: rgba(50,50,50,0.7);
    color: #eee;
    transition: 0.2s;
}

.gender-btn:hover {
    background: #444;
}

.gender-btn.active {
    background: #980000;
    color: #fff;
    cursor: default;
}


/* -----------------------------------
   WEIGHT CLASSES
----------------------------------- */
.weightclass {
    background: linear-gradient(90deg, rgba(40,40,40,0.85), rgba(30,30,30,0.85));
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;

    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='noise'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4'/></filter><rect width='100%' height='100%' filter='url(%23noise)' opacity='0.15'/></svg>");
}

.weightclass-toggle {
    width: 100%;
    padding: 12px 16px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    color: #eee;
    transition: 0.2s;
}

.weightclass-toggle:hover {
    background: #444;
}

.weightclass-list {
    display: none;
    flex-direction: column;
    gap: 10px;
    padding: 10px 16px;
}


/* -----------------------------------
   BOXERS
----------------------------------- */
.boxer-entry {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(40, 40, 40, 0.7);
    padding: 8px 12px;
    border-radius: 10px;
}

.boxer-entry:hover {
    background: #444;
}

.boxer-entry .position {
    width: 60px;
    font-weight: 700;
    text-align: center;
}

.boxer-entry .flag-icon {
    width: 22px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
}

.boxer-entry .boxer-name {
    display: block;
    flex: 1;
    font-weight: 500;
    font-size: 1.1rem;
    text-align: left;
    padding-left: 10px;
}

.boxer-name a {
    text-decoration: none;
}

.boxer-name a:hover {
    color: #969696;
}


/* -----------------------------------
   EVENTS
----------------------------------- */
.event-entry {
    display: grid;
    grid-template-columns:
        70px    /* Date     */
        1fr;    /* Fight    */
    background: rgba(40, 40, 40, 0.7);
    align-items: center;
    border-radius: 12px;
    padding: 8px 10px;
    transition: background 0.2s;
    gap: 10px;
}

.event-entry:hover {
    background: rgba(255,255,255,0.05);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 500;
}

.event-name {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    justify-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    color: #eee;
    text-align: center;
}

.fighter.left {
    justify-self: end;
}

.fighter.right {
    justify-self: start;
}

.vs-event {
    justify-self: center;
    padding: 4px 6px;
    background: #eee;
    color: rgba(30,30,30,1);
    font-weight: 700;
    border-radius: 9999px;
    font-size: 1rem;
}

.event-name a {
    text-decoration: none;
}

.event a:hover {
    color: #969696;
    text-decoration: underline;
}


/* -----------------------------------
   RESPONSIVE
----------------------------------- */
@media (max-width: 600px) {
    .boxer-entry {
        gap: 6px;
    }

    .weightclass-toggle {
        font-size: 1rem;
    }

    .gender-switch {
        gap: 6px;
    }

    .gender-btn {
        max-width: 100px;
        font-size: 0.85rem;
    }

    .event-name {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .fighter.left,
    .fighter.right,
    .vs-event {
        justify-self: unset;
    }
}