body {
    font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #1a1a1a; /* Lighter black background */
    color: #e0e0e0; /* Softer white text */
}

/* Navigation Tabs - Matching HTML structure */
.nav-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.tab-link {
    padding: 12px 24px;
    background: #27272a;
    border: none; /* Remove default button border */
    border-radius: 8px;
    color: #a1a1aa;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    font-family: inherit;
    font-size: 1rem;
}

.tab-link:hover {
    background: #3f3f46;
    color: #fff;
}

.tab-link.active {
    background: #6200ea; /* Vibrant Purple */
    color: white;
    box-shadow: 0 4px 12px rgba(98, 0, 234, 0.4);
}

/* Content Areas */
.tab-content {
    background: #242424; /* Slightly lighter card background */
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    display: none;
    color: #e0e0e0;
    border: 1px solid #333333;
    animation: fadeIn 0.3s ease-in-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
}

/* Alert Banner */
.alert-banner {
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: 600;
    margin-bottom: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
    border: 1px solid #ef5350;
}

/* Radar Container */
.radar-container {
    position: relative;
    height: 800px;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    background: #121212; /* Keep radar background dark for contrast */
}

/* Counties Section */
.counties-section {
    margin-top: 30px;
    text-align: left;
    width: 100%;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.05); /* Slightly more visible on lighter bg */
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #333333;
}

.counties-section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #7c4dff;
}

.counties-section > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.counties-section ul {
    list-style-type: none;
    padding: 0;
}

.counties-section li {
    padding: 8px 0;
    border-bottom: 1px solid #333;
    color: #d4d4d8;
}

/* Social Media Footer */
.social-media-footer {
    margin: 40px auto;
    padding: 30px;
    background: #242424; /* Match tab content background */
    border-radius: 16px;
    width: 100%;
    max-width: 800px;
    text-align: center;
    border: 1px solid #333333;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.social-media-footer h3 {
    color: #e0e0e0;
    margin-bottom: 25px;
}

.social-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.social-link {
    color: #e0e0e0;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
    justify-content: center;
    padding: 10px;
    border-radius: 8px;
    transition: background 0.2s;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #7c4dff;
}

.social-link img {
    width: 30px;
    height: 30px;
    border-radius: 6px;
}

/* Team & Sponsors Grids */
.team-grid, .sponsor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.team-member, .sponsor-card {
    background: #2d2d2d; /* Lighter card background */
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    color: #e0e0e0;
    border: 1px solid #404040;
    transition: transform 0.2s, box-shadow 0.2s;
}

.team-member:hover, .sponsor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    border-color: #7c4dff;
}

.team-member img {
    border-radius: 50%;
    border: 3px solid #7c4dff;
    padding: 3px;
}

.sponsor-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 8px;
}

/* Ambassador Section */
.ambassador-section {
    margin-top: 3rem;
    padding: 2rem 0;
    border-top: 1px solid #333;
    text-align: center;
    color: #71717a;
}

.ambassador-section img {
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .counties-section > div {
        grid-template-columns: 1fr;
    }
    
    .nav-tabs {
        flex-direction: column;
    }
    
    .tab-link {
        width: 100%;
    }
}
