* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, rgb(77, 62, 62) 0%, rgb(218, 119, 7) 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 100%;
    margin: 0 auto;
}

.header {
    text-align: center;
    color: black;
    margin-bottom: 40px;
}

.header-logo {
    height: 300px;
    width: 300px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.header p {
    font-size: 1.1em;
    opacity: 0.9;
}

.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.tab-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.tab-btn.active {
    background-color: white;
    color: orange;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

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

.section-title {
    color: white;
    font-size: 1.8em;
    margin-bottom: 20px;
    text-align: center;
}

.fixtures-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.venue-section {
    grid-column: 1 / -1;
    margin-top: 40px;
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.venue-section h3 {
    color: #333;
    font-size: 1.3em;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 3px solid #da7707;
    grid-column: 1 / -1;
}

.venue-section > .fixture-card {
    display: block;
}

@media (max-width: 1024px) {
    .venue-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .venue-section {
        grid-template-columns: 1fr;
    }
}

.fixture-card {
    background: linear-gradient(135deg, rgb(77, 62, 62) 0%, rgb(218, 119, 7) 100%);
    border: 3px solid #da7707;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 380px;
    min-height: 380px;
}

.fixture-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.fixture-date {
    background: linear-gradient(135deg, #000000 0%, #3b3b3b 100%);
    color: white;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 0.9em;
}

.fixture-category {
    background-color: #ffc107;
    color: #333;
    padding: 8px;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 0.85em;
}

.fixture-time {
    text-align: center;
    color: white;
    font-size: 2em;
    margin-bottom: 15px;
}

.teams {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: auto;
    flex: 1;
}

.team {
    flex: 1;
    text-align: center;
}

.team-name {
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.team-logo {
    width: 60px;
    height: 60px;
    margin: 0 auto 10px;
    background: linear-gradient(135deg, #000000 0%, #000000 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2em;
    overflow: hidden;
}

.team-logo img,
.logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.vs {
    color: #999;
    font-size: 0.9em;
}

.venue {
    text-align: center;
    color: #666;
    font-size: 0.9em;
    padding-top: 15px;
    border-top: 1px solid #eee;
    margin-top: auto;
}

.teams-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.team-card {
    background: linear-gradient(135deg, rgba(219, 202, 202, 0.8) 0%, rgba(218, 119, 7, 0.8) 100%);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 350px;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.team-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #da7707;
}

.team-card-logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #da7707 0%, #c2630e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.1em;
    flex-shrink: 0;
    overflow: hidden;
}

.team-card-logo img,
.team-card-logo .logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card-info {
    flex: 1;
}

.team-card-name {
    font-size: 1.3em;
    font-weight: bold;
    color: #333;
    margin: 0 0 5px 0;
}

.team-card-city {
    color: #666;
    font-size: 0.9em;
    margin: 0;
}

.team-card-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.detail-label {
    font-weight: 600;
    color: #555;
    font-size: 0.9em;
}

.detail-value {
    color: #333;
    font-size: 0.9em;
    text-align: right;
}

.team-card-description {
    padding-top: 15px;
    border-top: 1px solid #eee;
    color: #666;
    font-size: 0.85em;
    line-height: 1.5;
}

.standings-table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    color: #333;
}

tr:last-child td {
    border-bottom: none;
}

tbody tr:hover {
    background-color: #f5f5f5;
}

.team-name-cell {
    font-weight: 600;
    color: #667eea;
}

.stat-number {
    text-align: center;
    font-weight: 600;
}

.news-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.news-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 450px;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.news-date {
    background: linear-gradient(135deg, #da7707 0%, #c2630e 100%);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 12px;
    font-size: 0.85em;
    display: inline-block;
}

.news-title {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
    margin: 12px 0;
    line-height: 1.4;
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin: 12px 0;
}

.news-content {
    color: #666;
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 12px;
    flex: 1;
}

.news-author {
    font-size: 0.85em;
    color: #999;
    border-top: 1px solid #eee;
    padding-top: 10px;
    margin-top: auto;
    font-style: italic;
}

.no-data {
    text-align: center;
    color: white;
    padding: 40px;
    font-size: 1.1em;
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 1.8em;
    }

    .fixtures-container {
        grid-template-columns: 1fr;
    }

    .results-container {
        grid-template-columns: 1fr;
    }

    table {
        font-size: 0.9em;
    }

    th, td {
        padding: 10px;
    }

    .tabs {
        gap: 5px;
    }

    .tab-btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}
