/* map.css - 地图页面专属样式 */

.map-iframe-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 比例，可根据需要调整 */
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    border: var(--border-glass);
    background: rgba(0,0,0,0.2);
}

    .map-iframe-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
    }

.activity-section {
    margin-top: 60px;
    text-align: center;
}

.activity-placeholder {
    background: var(--card-bg);
    backdrop-filter: var(--backdrop-blur);
    border: var(--border-glass);
    border-radius: var(--border-radius);
    padding: 40px 20px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--box-shadow);
}

    .activity-placeholder h3 {
        font-size: 1.8rem;
        margin: 15px 0 10px;
        color: var(--primary-color);
    }

    .activity-placeholder p {
        color: var(--text-muted);
        margin-bottom: 20px;
    }

.countdown {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-shadow: 0 0 10px var(--primary-color);
}

    .countdown span {
        display: inline-block;
        min-width: 40px;
    }

/* 活动网格（预留） */
.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .map-iframe-wrapper {
        padding-bottom: 75%; /* 移动端更方正一些 */
    }
}



/* 地图页面：白昼版 */
body.light-mode .map-iframe-wrapper {
    border: 1px solid rgba(0, 96, 128, 0.15);
    box-shadow: 0 15px 40px rgba(0, 96, 128, 0.1);
}

body.light-mode .activity-placeholder {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 96, 128, 0.1);
}

    body.light-mode .activity-placeholder h3 {
        color: var(--primary-color);
    }

body.light-mode .countdown {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 96, 128, 0.2);
}

