/* Maps Page Styles */
.maps-page {
    padding: 40px 0;
}

.maps-header {
    text-align: center;
    margin-bottom: 40px;
    animation: slideIn 0.6s ease-out;
}

.maps-header h1 {
    font-family: 'Lilita One', cursive;
    font-size: 3rem;
    color: var(--brawl-yellow);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
    margin-bottom: 15px;
}

.maps-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* Mode Filters */
.mode-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    animation: slideIn 0.5s ease-out;
}

.mode-filter {
    background: var(--bg-card);
    padding: 12px 25px;
    border-radius: var(--radius-xl);
    border: 2px solid rgba(255, 193, 7, 0.3);
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Nunito', sans-serif;
}

.mode-filter:hover,
.mode-filter.active {
    border-color: var(--brawl-yellow);
    background: rgba(255, 193, 7, 0.2);
    box-shadow: var(--shadow-glow);
    transform: scale(1.05);
}

/* Maps Grid */
.maps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.map-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    animation: slideIn 0.5s ease-out;
    animation-fill-mode: both;
}

.map-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--brawl-yellow);
    box-shadow: var(--shadow-glow);
}

.map-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.8) 0%, rgba(15, 52, 96, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.map-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-mode-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--brawl-orange);
    color: white;
    padding: 8px 15px;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: var(--shadow-sm);
}

.map-info {
    padding: 20px;
}

.map-name {
    font-family: 'Lilita One', cursive;
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.map-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.map-stats {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.map-stat {
    background: rgba(255, 193, 7, 0.1);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brawl-yellow);
    border: 1px solid var(--brawl-yellow);
}

/* Map Modal */
.map-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
    animation: fadeIn 0.3s ease-out;
}

.map-modal-content {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--brawl-yellow);
    animation: slideIn 0.4s ease-out;
}

.map-modal-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.8) 0%, rgba(15, 52, 96, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.map-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-modal-body {
    padding: 30px;
}

.map-modal-body h2 {
    font-family: 'Lilita One', cursive;
    font-size: 2.5rem;
    color: var(--brawl-yellow);
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.map-modal-body p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.recommended-brawlers {
    margin-top: 20px;
}

.recommended-brawlers h3 {
    font-family: 'Lilita One', cursive;
    font-size: 1.5rem;
    color: var(--brawl-yellow);
    margin-bottom: 15px;
}

.recommended-list {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.recommended-brawler {
    background: rgba(255, 193, 7, 0.1);
    padding: 10px 15px;
    border-radius: var(--radius-md);
    border: 2px solid var(--brawl-yellow);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.recommended-brawler:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

.recommended-brawler img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
}

.recommended-brawler span {
    font-weight: 600;
    color: var(--text-primary);
}

/* Responsive */
@media (max-width: 768px) {
    .maps-header h1 {
        font-size: 2rem;
    }
    
    .maps-grid {
        grid-template-columns: 1fr;
    }
    
    .map-modal-image {
        height: 200px;
    }
    
    .map-modal-body h2 {
        font-size: 1.8rem;
    }
}
