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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #6BB6D6 0%, #4A9FBF 100%);
    padding: 2rem 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1 {
    font-size: 2.5rem;
    color: #1a3a52;
    text-align: center;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

/* Navigation Styles */
nav {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 1rem 0;
    margin-top: 1rem;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

nav li {
    margin: 0;
}

nav a {
    color: #1a3a52;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    display: block;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 5px;
    font-size: 1.1rem;
}

nav a:hover,
nav a.active {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Main Content Styles */
main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-radius: 8px;
}

.content-section {
    padding: 2.5rem;
}

h2 {
    color: #2B8AB8;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #6BB6D6;
}

h3 {
    color: #1a3a52;
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.2rem;
    text-align: justify;
    font-size: 1.05rem;
}

/* Table Styles */
.table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.95rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

thead {
    background-color: #6BB6D6;
    color: #1a3a52;
}

th {
    padding: 1rem 0.75rem;
    text-align: left;
    font-weight: 700;
    border: 1px solid #ddd;
    font-size: 0.9rem;
}

td {
    padding: 0.75rem;
    border: 1px solid #ddd;
}

tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

tbody tr:hover {
    background-color: #e8f4f8;
    transition: background-color 0.2s ease;
}

tbody tr:last-child {
    background-color: #d4ebf5;
    font-weight: 700;
}

/* Glossary Styles */
.glossary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.glossary-item {
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #6BB6D6;
}

.glossary-term {
    font-weight: 700;
    color: #1a3a52;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.glossary-definition {
    color: #555;
    line-height: 1.6;
}

/* Image Styles */
.player-images {
    display: flex;
    gap: 1.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
    justify-content: center;
}

.player-images img {
    max-width: 350px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Analysis Section */
.analysis-box {
    background-color: #f0f8ff;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 8px;
    border-left: 4px solid #2B8AB8;
}

/* Resources/Bibliography */
.resource-link {
    display: inline-block;
    margin: 0.5rem 1rem 0.5rem 0;
    padding: 0.75rem 1.5rem;
    background-color: #6BB6D6;
    color: #1a3a52;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.resource-link:hover {
    background-color: #2B8AB8;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background-color: #6BB6D6;
    color: #1a3a52;
    margin-top: 3rem;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav a {
        width: 100%;
        text-align: center;
    }
    
    .content-section {
        padding: 1.5rem;
    }
    
    table {
        font-size: 0.85rem;
    }
    
    th, td {
        padding: 0.5rem 0.4rem;
    }
    
    .glossary-grid {
        grid-template-columns: 1fr;
    }
}

/* Highlight important stats */
.stat-highlight {
    background-color: #fffacd;
    font-weight: 600;
}

/* Header subtitle */
.header-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #1a3a52;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

/* Team cards on homepage */
.team-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.team-card {
    padding: 1.5rem;
    border-radius: 8px;
    border-top: 6px solid;
}

.team-card h3 {
    margin-top: 0;
    font-size: 1.4rem;
}

.team-card ul {
    margin-left: 1.5rem;
    margin-top: 1rem;
    line-height: 2;
}

.rm-card {
    background-color: #f0f8ff;
    border-color: #6BB6D6;
}

.rm-card h3 {
    color: #1a3a52;
}

.psg-card {
    background-color: #fff5f5;
    border-color: #c0392b;
}

.psg-card h3 {
    color: #8B0000;
}

/* Team section headers */
.team-header-rm {
    background: linear-gradient(135deg, #6BB6D6, #4A9FBF);
    color: #1a3a52;
    padding: 1rem 1.5rem;
    border-radius: 6px;
    margin: 2.5rem 0 1rem 0;
    font-size: 1.4rem;
    font-weight: 700;
}

.team-header-psg {
    background: linear-gradient(135deg, #c0392b, #8B0000);
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 6px;
    margin: 2.5rem 0 1rem 0;
    font-size: 1.4rem;
    font-weight: 700;
}

/* Tab buttons for toggling teams */
.tab-buttons {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn-rm {
    background-color: #6BB6D6;
    color: #1a3a52;
}

.tab-btn-rm:hover,
.tab-btn-rm.active {
    background-color: #1a3a52;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.tab-btn-psg {
    background-color: #e0b0b0;
    color: #8B0000;
}

.tab-btn-psg:hover,
.tab-btn-psg.active {
    background-color: #8B0000;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.tab-content {
    display: none;
}

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

/* PSG analysis box */
.analysis-box-psg {
    background-color: #fff5f5;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 8px;
    border-left: 4px solid #c0392b;
}

/* Quote block */
.quote-block {
    background-color: #1a3a52;
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
}

.quote-block cite {
    display: block;
    margin-top: 0.75rem;
    font-style: normal;
    font-weight: 600;
    color: #6BB6D6;
}

/* Divider between sections */
.section-divider {
    border: none;
    border-top: 3px solid #e0e0e0;
    margin: 3rem 0;
}

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