/* style.css - 修复 Banner 裁剪 + 添加社交图标 */
:root {
    --primary-color: #00E676;
    --bg-color: #121212;
    --text-color: #ffffff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0; padding: 0; min-height: 100vh;
    display: flex; flex-direction: column;
    padding-top: 60px;
    background-color: #121212;
    background-image: radial-gradient(circle, #222 2px, transparent 2.5px);
    background-size: 24px 24px;
}

/* 顶部黑条 */
.top-bar {
    position: fixed; top: 0; left: 0; width: 100%; height: 60px;
    background: #080808; z-index: 1000;
    display: flex; align-items: center; justify-content: flex-end;
    padding-right: 15px; border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 4px 20px rgba(0,0,0,0.8);
    box-sizing: border-box;
}

.timer-badge {
    background: rgba(255, 255, 255, 0.08);
    padding: 6px 14px; border-radius: 20px;
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 600; color: #ccc;
    border: 1px solid rgba(255,255,255,0.1);
}
.timer-badge.paused { background: #d32f2f; color: white; border-color: #d32f2f; }
#countdown-display { color: var(--primary-color); font-weight: bold; font-size: 15px; min-width: 18px; text-align: center; }
.timer-badge.paused #countdown-display { color: white; }
.icon-btn {
    background: none; border: none; color: white; cursor: pointer;
    font-size: 14px; padding: 0 0 0 10px; margin-left: 5px;
    border-left: 1px solid rgba(255,255,255,0.2);
}

/* 主容器 */
.main-container {
    width: 100%; max-width: 500px; margin: 0 auto;
    background: transparent;
    display: flex; flex-direction: column; justify-content: flex-start;
}

/* --- 核心修改：Banner 自适应 --- */
.slider {
    width: 100%;
    position: relative;
    /* 删掉了固定高度，改用 auto，让图片自己撑开 */
    height: auto; 
    line-height: 0; /* 消除图片底部的微小缝隙 */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    background: #000;
}
.slider img {
    width: 100%;
    height: auto; /* 高度自动 */
    display: none;
    /* 删掉了 object-fit: cover，现在是原图比例 */
}
.slider img.active { display: block; }

/* 内容区域 */
.content-section {
    padding: 30px 20px; text-align: center; flex-grow: 0;
}

h2 {
    font-size: 22px; margin: 0 0 25px 0; line-height: 1.4;
    font-weight: 800; color: #fff; text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* 按钮 */
.btn-go {
    display: block; width: 100%;
    background: linear-gradient(180deg, #00E676 0%, #00C853 100%);
    color: #003300; padding: 18px; border-radius: 12px;
    font-size: 18px; font-weight: 900; text-decoration: none;
    text-transform: uppercase; letter-spacing: 1px;
    box-shadow: 0 6px 0 #009624, 0 15px 20px rgba(0,0,0,0.4);
    transition: transform 0.1s, box-shadow 0.1s;
    box-sizing: border-box; position: relative; top: 0;
}
.btn-go:active { top: 6px; box-shadow: 0 0 0 #009624, 0 0 10px rgba(0,0,0,0.4); }

#connection-status { font-size: 12px; color: #666; margin-top: 25px; font-family: monospace; }

/* --- 社交媒体按钮区域 --- */
.social-icons {
    display: flex; justify-content: center; gap: 15px;
    margin-top: 30px; padding-top: 20px;
    border-top: 1px dashed rgba(255,255,255,0.1); /* 加条虚线分隔 */
}
.social-btn {
    width: 45px; height: 45px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    text-decoration: none; color: white;
    font-size: 20px;
    transition: transform 0.2s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.social-btn:hover { transform: scale(1.1); }

/* 品牌颜色 */
.bg-wa { background: #25D366; }
.bg-fb { background: #1877F2; }
.bg-tg { background: #0088cc; }

/* SVG 图标样式 */
.social-btn svg { width: 24px; height: 24px; fill: white; }

@media (min-width: 768px) {
    .main-container {
        margin-top: 40px; background: #1e1e1e;
        border-radius: 16px; overflow: hidden;
        box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    }
}

