/* 艳女直播 - 火爆活动页面专用样式 */

/* 基础设置和变量 */
:root {
    --primary-color: #ff4757;
    --secondary-color: #ff6348;
    --accent-color: #ffa502;
    --text-primary: #2f1b14;
    --text-secondary: #8b5a3c;
    --bg-primary: #ffffff;
    --bg-secondary: #fff5f0;
    --bg-gradient: linear-gradient(135deg, #ff4757 0%, #ff6348 50%, #ffa502 100%);
    --shadow-intense: 0 15px 40px rgba(255, 71, 87, 0.25);
    --shadow-hover: 0 25px 50px rgba(255, 71, 87, 0.35);
    --border-radius: 20px;
    --transition: all 0.3s ease;
}

/* 基础容器居中系统 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    width: 100%;
}

/* CSS重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-secondary);
    overflow-x: hidden;
}

.site-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 头部样式 */
.main-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-intense);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-link {
    font-size: 28px;
    font-weight: 700;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: var(--transition);
}

.logo-link:hover {
    transform: scale(1.05);
}

.slogan {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    flex-wrap: nowrap;
    align-items: center;
}

.nav-item {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 12px;
    transition: var(--transition);
    white-space: nowrap;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

.nav-item:hover,
.nav-item.active {
    background: var(--bg-gradient);
    color: white;
    transform: translateY(-2px);
}

.nav-item.cta-btn {
    background: var(--bg-gradient);
    color: white;
    font-weight: 600;
}

/* 主内容区域 */
.main-content {
    flex: 1;
    padding-top: 80px;
}

/* 页面头部 */
.page-hero {
    background: var(--bg-gradient);
    color: white;
    padding: 60px 0 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,255,255,0.1)"><path d="M200,50 Q250,20 300,50 Q350,80 400,50"/><path d="M500,30 Q550,10 600,30 Q650,50 700,30"/></svg>');
    opacity: 0.3;
    animation: celebrationFloat 18s ease-in-out infinite;
}

.page-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-subtitle {
    font-size: 18px;
    opacity: 0.9;
}

/* 活动主要区域 */
.activities-main {
    padding: 80px 0;
    background: var(--bg-primary);
}

.activities-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 30px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--bg-gradient);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-intense);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.activity-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-intense);
    transition: var(--transition);
    position: relative;
}

.activity-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.activity-card.featured {
    border: 3px solid var(--primary-color);
    transform: scale(1.02);
}

.activity-card.featured:hover {
    transform: scale(1.02) translateY(-8px);
}

.activity-status {
    position: absolute;
    top: 15px;
    left: 15px;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.activity-status.hot {
    background: #e74c3c;
    animation: pulse 2s ease-in-out infinite;
}

.activity-status.active {
    background: #27ae60;
}

.activity-status.upcoming {
    background: #f39c12;
}

.activity-status.ended {
    background: #7f8c8d;
}

.activity-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    z-index: 2;
}

.activity-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.activity-content {
    padding: 25px;
}

.activity-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.activity-time {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 14px;
}

.activity-desc {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.activity-rewards h4 {
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 16px;
}

.activity-rewards ul {
    list-style: none;
    margin-bottom: 20px;
}

.activity-rewards li {
    padding: 4px 0;
    color: var(--text-secondary);
    font-size: 14px;
}

.activity-progress {
    margin-bottom: 20px;
}

.progress-text {
    display: block;
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 8px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #ecf0f1;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--bg-gradient);
    border-radius: 4px;
    transition: width 1s ease;
}

.countdown {
    text-align: center;
    margin-bottom: 20px;
}

.countdown-text {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.time-unit {
    background: var(--bg-gradient);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 18px;
}

.time-unit small {
    display: block;
    font-size: 10px;
    font-weight: normal;
    margin-top: 2px;
}

.activity-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--bg-secondary);
    border-radius: 10px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
}

.activity-btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 15px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}

.activity-btn:not(.upcoming-btn):not(.ended-btn) {
    background: var(--bg-gradient);
    color: white;
}

.upcoming-btn {
    background: #f39c12;
    color: white;
}

.ended-btn {
    background: #7f8c8d;
    color: white;
    cursor: not-allowed;
}

.activity-btn:hover:not([disabled]) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-intense);
}

/* 底部样式 */
.main-footer {
    background: var(--text-primary);
    color: white;
    padding: 60px 0 30px;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-desc {
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
}

.footer-copyright {
    font-size: 14px;
    opacity: 0.7;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.contact-info p {
    margin-bottom: 10px;
    opacity: 0.9;
}

/* 动画效果 */
@keyframes celebrationFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .page-title {
        font-size: 32px;
    }
    
    .activities-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
    }
    
    .activity-card.featured {
        transform: none;
    }
    
    .activity-card.featured:hover {
        transform: translateY(-8px);
    }
    
    .countdown-timer {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .activity-stats {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
}