/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem 0;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    color: #00d4ff;
}

/* Main Content */
main {
    padding: 2rem 0;
}

section {
    margin-bottom: 3rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #00d4ff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Current Map Display */
.current-map {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.map-display {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.map-display.active {
    border-color: #00d4ff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.map-image {
    width: 360px;
    height: 202px; /* 16:9 aspect ratio for 1920x1080 images - 3x larger */
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    flex-shrink: 0;
    overflow: hidden;
}

.map-info {
    flex: 1;
}

.map-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.timer {
    font-size: 3rem;
    font-weight: bold;
    color: #00ff88;
    font-family: 'Courier New', monospace;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 0.5rem;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    margin: 0.5rem 0;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ff88, #00d4ff);
    border-radius: 3px;
    transition: width 0.3s ease;
    width: 0%;
}

.time-remaining {
    color: #cccccc;
    font-size: 1rem;
}


/* Maps Grid */
.maps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.map-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.map-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.map-card.upcoming {
    opacity: 0.7;
}

.map-card.active {
    border-color: #00d4ff;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.map-card .map-image {
    width: 240px;
    height: 135px; /* 16:9 aspect ratio for 1920x1080 images - 3x larger */
    font-size: 2rem;
    margin: 0 auto 1rem;
    overflow: hidden;
}

.map-card h4 {
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.map-card .timer {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.map-card .status {
    text-align: center;
    font-size: 0.9rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    display: inline-block;
}

.status.active {
    background: #00ff88;
    color: #000;
}

.status.upcoming {
    background: #ffa500;
    color: #000;
}

.status.waiting {
    background: #666;
    color: #fff;
}

.download-btn {
    display: block;
    width: 70%;
    margin: 0.5rem auto;
    padding: 0.4rem 0.8rem;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: #000;
    border: none;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.3);
}

.download-btn:hover {
    background: linear-gradient(135deg, #33e0ff, #00b3e6);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.4);
}

/* Info Section */
.info-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.info-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.info-card h3 {
    color: #00d4ff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.info-card p {
    color: #cccccc;
    line-height: 1.6;
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer p {
    margin-bottom: 0.5rem;
    color: #cccccc;
    font-size: 0.9rem;
}

/* Mobile Responsiveness */
/* Tablet Responsiveness */
@media (max-width: 1024px) {
    .maps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .map-card .map-image {
        width: 200px;
        height: 112px; /* 16:9 aspect ratio */
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .map-display {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .map-image {
        width: 300px;
        height: 168px; /* 16:9 aspect ratio for mobile - 3x larger */
        font-size: 2.5rem;
    }

    .timer {
        font-size: 2.5rem;
    }

    .maps-grid {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    h2 {
        font-size: 1.5rem;
    }

    .current-map {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    header {
        padding: 1rem 0;
    }

    header h1 {
        font-size: 1.8rem;
    }

    .map-display {
        padding: 1rem;
    }

    .timer {
        font-size: 2rem;
    }

    .map-info h3 {
        font-size: 1.5rem;
    }
}

/* Loading Animation */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 212, 255, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 212, 255, 0.7);
}
