.volleyball-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: calc(100vh - 140px);
}

.hero-section {
    text-align: center;
    margin-bottom: 4rem;
    background: var(--card-bg, #ffffff);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border-top: 5px solid #4f46e5; /* Indigo color for volleyball */
}

.badge {
    display: inline-block;
    background: #e0e7ff;
    color: #4338ca;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-content h1 {
    color: var(--heading-color, #111);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    color: var(--text-color, #444);
    font-size: 1.15rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.hero-subtitle {
    margin-top: 1rem !important;
    font-size: 1rem !important;
    color: var(--text-muted, #666) !important;
}

.two-column-layout {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.info-column {
    flex: 1 1 50%;
}

.map-column {
    flex: 1 1 40%;
    position: relative;
}

/* Divisions */
.divisions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.division-card {
    background: var(--card-bg, #ffffff);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color, #e5e7eb);
}

.division-card h3 {
    color: #4f46e5;
    margin-bottom: 0.5rem;
}

.division-card p {
    font-size: 0.95rem;
    color: var(--text-color, #333);
    margin-bottom: 1rem;
}

.division-card ul {
    padding-left: 1.2rem;
    font-size: 0.9rem;
    color: var(--text-muted, #555);
}

/* Venues Section */
.venues-section {
    margin-top: 3rem;
}

.venues-section h2 {
    color: var(--heading-color, #111);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.venues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.venue-card {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #6366f1;
}

.venue-card h4 {
    color: #3730a3;
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.venue-card p {
    font-size: 0.85rem;
    color: #475569;
    margin: 0;
}

/* Champions Grid */
.champions-section {
    margin-bottom: 3rem;
}

.champions-section h2, .players-section h2 {
    color: var(--heading-color, #111);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.champions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.champion-card {
    background: var(--card-bg, #ffffff);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color, #e5e7eb);
    text-align: center;
}

.champion-card h4 {
    color: #4338ca;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.champion-card p {
    font-size: 0.85rem;
    color: var(--text-muted, #666);
}

/* Players Tags */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.player-tag {
    background: #f0fdf4;
    color: #166534;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid #bbf7d0;
}

/* Map Section */
.interactive-map-section {
    background: var(--card-bg, #ffffff);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color, #e5e7eb);
    position: sticky;
    top: 90px;
}

.map-hint {
    text-align: center;
    color: var(--text-muted, #666);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.map-legend {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-color, #333);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.color-box {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

.color-box.participant {
    background: #c7d2fe;
}

.color-box.champion {
    background: #4f46e5;
}

.map-container {
    width: 100%;
    aspect-ratio: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.map-container svg {
    width: 100%;
    height: 100%;
    max-height: 500px;
}

.state-path {
    fill: #e5e7eb;
    stroke: #ffffff;
    stroke-width: 1;
    transition: all 0.3s;
}

.state-path.highlighted {
    fill: #c7d2fe; /* Participant color */
    cursor: pointer;
}

.state-path.highlighted:hover {
    fill: #a5b4fc;
}

.state-path.champion {
    fill: #818cf8; /* Champion color */
}

.state-path.champion:hover {
    fill: #6366f1;
}

.state-path.active {
    fill: #4338ca !important;
}

.state-details-panel {
    margin-top: 1.5rem;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    border-radius: 8px;
    padding: 1.5rem;
    transition: opacity 0.3s;
}

.state-details-panel.hidden {
    display: none;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.panel-header h3 {
    color: #312e81;
    margin: 0;
}

.close-btn {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: #312e81;
    cursor: pointer;
    line-height: 1;
}

.status-badge {
    display: inline-block;
    background: #4f46e5;
    color: white;
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    margin-top: 1rem;
    font-weight: 600;
}

.status-badge.champ-badge {
    background: #f59e0b; /* Gold for champions */
}

/* Dark Mode Overrides */
body:not(.light-theme) .hero-section,
body:not(.light-theme) .division-card,
body:not(.light-theme) .champion-card,
body:not(.light-theme) .interactive-map-section {
    background: var(--card-bg, #1f2937);
    border-color: #374151;
}

body:not(.light-theme) .venue-card {
    background: #1e293b;
    border-left-color: #6366f1;
}

body:not(.light-theme) .venue-card h4 {
    color: #a5b4fc;
}

body:not(.light-theme) .venue-card p {
    color: #cbd5e1;
}

body:not(.light-theme) .player-tag {
    background: #064e3b;
    color: #6ee7b7;
    border-color: #047857;
}

body:not(.light-theme) .state-path {
    fill: #374151;
    stroke: #1f2937;
}

body:not(.light-theme) .state-path.highlighted {
    fill: #4f46e5;
}

body:not(.light-theme) .state-path.highlighted:hover {
    fill: #6366f1;
}

body:not(.light-theme) .state-path.champion {
    fill: #4338ca;
}

body:not(.light-theme) .state-path.champion:hover {
    fill: #4f46e5;
}

body:not(.light-theme) .state-path.active {
    fill: #fbbf24 !important;
}

body:not(.light-theme) .state-details-panel {
    background: #1e1b4b;
    border-color: #312e81;
}

body:not(.light-theme) .panel-header h3,
body:not(.light-theme) .close-btn {
    color: #a5b4fc;
}

body:not(.light-theme) .division-card h3 {
    color: #818cf8;
}

@media (max-width: 900px) {
    .divisions-grid {
        grid-template-columns: 1fr;
    }
    .map-column {
        position: static;
    }
    .interactive-map-section {
        position: static;
    }
}
