.cup-fixtures-container {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    animation: fadeIn 0.5s ease-out;
}

.cups-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 2rem 0;
    border-bottom: 2px solid var(--accent-color);
    position: relative;
}

.cups-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 100px;
    height: 4px;
    background: var(--accent-color);
    transform: translateX(-50%);
    border-radius: 2px;
}

.cups-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: slideDown 0.5s ease-out;
}

.cups-header p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    animation: fadeIn 0.5s ease-out 0.2s forwards;
    opacity: 0;
}

.cup-round {
    margin-bottom: 4rem;
    animation: slideUp 0.5s ease-out;
}

.cup-round h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.round-matches {
    display: flex;
    flex-direction: column;
    max-width: 800px;
    margin: 0 auto;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.cup-match {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

/* Consolidate all match-teams styles into one definition */
.match-teams {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 10px;
    gap: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Consolidate all team styles */
.team {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

.team:first-child {
    flex-direction: row;
    text-align: right;
}

.team:last-child {
    flex-direction: row-reverse;
    text-align: left;
}

/* Consolidated team-logo styles */
.team-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Consolidated team-name styles */
.team-name {
    font-weight: bold;
    color: var(--text-primary);
    font-size: 1.1rem;
}

/* Consolidated vs styles */
.vs {
    display: flex;
    align-items: center;
    flex-direction: column;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--accent-color);
    padding: 0 1.5rem;
    position: relative;
    gap: 0.3rem;
}

/* Remove the decorative lines completely */
.vs::before,
.vs::after {
    display: none;
}

/* Score alignment styles */
.team:first-child .score {
    order: 2;
    margin-left: 1rem;
}

.team:last-child .score {
    order: -1;
    margin-right: 1rem;
}

/* Consolidated score styles */
.score, .match-teams .score {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--accent-color);
    margin: 0 0.5rem;
}

/* Update media queries for better mobile display */
@media screen and (max-width: 768px) {
    .cup-match {
        padding: 1.5rem;
    }

    .match-teams {
        padding: 1rem;
        gap: 1rem;
    }

    .team-logo {
        width: 35px;
        height: 35px;
    }
}

.cup-match:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.match-date {
    color: var(--accent-color);
    font-weight: bold;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.match-date::before {
    content: '\f073';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

/* Single definition for team hover */
.team:hover {
    transform: scale(1.02);
}

.match-details {
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
    margin-top: 1.5rem;
    font-size: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.match-details span {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.match-details i {
    color: var(--accent-color);
}

.super-cup-details {
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: 15px;
    margin-top: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease-out;
}

.super-cup-details p {
    margin: 1.2rem 0;
    color: var(--text-primary);
    font-size: 1.2rem;
    line-height: 1.6;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media screen and (max-width: 768px) {
    .cup-fixtures-container {
        padding: 2rem 1rem;
    }

    .cups-header h2 {
        font-size: 2.5rem;
    }

    .round-matches {
        grid-template-columns: 1fr;
    }

    .match-teams {
        flex-direction: column;
        gap: 1rem;
    }

    .vs {
        margin: 1rem 0;
    }

    .match-details {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

@media screen and (max-width: 480px) {
    .cups-header h2 {
        font-size: 2rem;
    }

    .cup-round h3 {
        font-size: 1.5rem;
    }

    .team-logo {
        width: 40px;
        height: 40px;
    }

    .team-name {
        font-size: 1rem;
    }
}
a.view-fixtures-btn {
    text-decoration: none;
}

.team-name.tbd {
    color: var(--accent-color);
    font-style: italic;
}

.cup-match.future-match {
    opacity: 0.9;
    background: linear-gradient(to right, var(--bg-secondary), var(--bg-primary));
    border: 1px dashed var(--accent-color);
}

.cup-match.future-match:hover {
    opacity: 1;
    border-style: solid;
}

.team-select {
    padding: 8px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-primary);
    margin: 5px 0;
    width: 200px;
}

.score-input {
    padding: 8px;
    width: 60px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-primary);
    margin: 5px 0;
}

.save-btn {
    margin-top: 20px;
    padding: 10px 20px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.save-btn:hover {
    opacity: 0.9;
}

.penalty-inputs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.penalty-input {
    width: 50px;
    padding: 4px;
    text-align: center;
    font-size: 0.9rem;
}

.penalty-score {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 0.2rem;
}