/* 午夜免费视频 - 夜色风格 */
:root {
    --night-indigo: #1a1a3e;
    --night-purple: #2d1b69;
    --night-deep: #0f0f23;
    --night-accent: #8b5cf6;
    --night-accent-light: #a78bfa;
    --night-gold: #fbbf24;
    --night-blue: #3b82f6;
    --night-cyan: #06b6d4;
    --night-text: #e2e8f0;
    --night-text-dim: #94a3b8;
    --night-card: #1e1e3a;
    --night-border: #334155;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Segoe UI', sans-serif;
    background: var(--night-deep);
    color: var(--night-text);
    line-height: 1.7;
}

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

/* 星空背景效果 */
.night-header {
    background: linear-gradient(135deg, var(--night-indigo) 0%, var(--night-purple) 100%);
    padding: 18px 0;
    position: relative;
    overflow: hidden;
}

.night-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,0.8), transparent),
                      radial-gradient(2px 2px at 60% 70%, rgba(255,255,255,0.6), transparent),
                      radial-gradient(1px 1px at 50% 50%, rgba(255,255,255,0.7), transparent),
                      radial-gradient(1px 1px at 80% 10%, rgba(255,255,255,0.5), transparent),
                      radial-gradient(2px 2px at 90% 60%, rgba(251, 191, 36, 0.8), transparent);
    background-size: 200px 200px;
    opacity: 0.6;
    animation: twinkle 4s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.3; }
}

.night-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.night-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.night-logo-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 10px var(--night-accent));
}

.night-logo-text .brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    letter-spacing: 2px;
}

.night-logo-text .tagline {
    font-size: 0.75rem;
    color: var(--night-accent-light);
    letter-spacing: 3px;
}

/* 导航 */
.night-nav {
    background: var(--night-deep);
    border-bottom: 1px solid var(--night-border);
}

.night-nav ul {
    display: flex;
    list-style: none;
    justify-content: center;
}

.night-nav a {
    display: block;
    padding: 14px 28px;
    color: var(--night-text-dim);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.night-nav a:hover,
.night-nav a.active {
    color: var(--night-accent);
    background: rgba(139, 92, 246, 0.1);
}

/* Hero */
.night-hero {
    background: radial-gradient(ellipse at top, var(--night-purple) 0%, var(--night-deep) 70%);
    padding: 70px 0 90px;
    position: relative;
    overflow: hidden;
}

.night-hero::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.night-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.night-hero-badge {
    display: inline-block;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid var(--night-accent);
    padding: 8px 22px;
    border-radius: 20px;
    color: var(--night-accent-light);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.night-hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #fff 0%, var(--night-accent-light) 50%, var(--night-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    line-height: 1.2;
}

.night-hero-sub {
    color: var(--night-text-dim);
    font-size: 1.2rem;
    margin-bottom: 35px;
}

.night-hero-btns {
    display: flex;
    gap: 18px;
    justify-content: center;
}

.night-btn {
    display: inline-block;
    padding: 13px 36px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border-radius: 30px;
}

.night-btn-primary {
    background: linear-gradient(135deg, var(--night-accent), var(--night-blue));
    color: white;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

.night-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
}

.night-btn-ghost {
    border: 2px solid var(--night-border);
    color: var(--night-text);
}

.night-btn-ghost:hover {
    border-color: var(--night-accent);
    color: var(--night-accent-light);
}

/* 统计 */
.night-stats {
    background: var(--night-card);
    padding: 35px 0;
    border-top: 1px solid var(--night-border);
    border-bottom: 1px solid var(--night-border);
}

.night-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 25px;
}

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

.night-stat-num {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--night-accent);
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.night-stat-label {
    color: var(--night-text-dim);
    font-size: 0.95rem;
    margin-top: 5px;
}

/* 区块 */
.night-section { padding: 65px 0; }

.night-section-alt { background: rgba(30, 30, 58, 0.5); }

.night-section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 10px;
}

.night-section-title span {
    background: linear-gradient(135deg, var(--night-accent-light), var(--night-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.night-section-sub {
    text-align: center;
    color: var(--night-text-dim);
    letter-spacing: 3px;
    margin-bottom: 45px;
}

/* 分类标签 */
.night-cats {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.night-cat {
    background: var(--night-card);
    border: 1px solid var(--night-border);
    padding: 10px 22px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--night-text-dim);
}

.night-cat:hover,
.night-cat.active {
    background: linear-gradient(135deg, var(--night-accent), var(--night-blue));
    color: white;
    border-color: transparent;
    transform: scale(1.05);
}

/* 卡片 */
.night-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 25px;
}

.night-card {
    background: var(--night-card);
    border: 1px solid var(--night-border);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s;
}

.night-card:hover {
    border-color: var(--night-accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

.night-card-thumb {
    height: 170px;
    background: linear-gradient(135deg, var(--night-indigo), var(--night-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    position: relative;
}

.night-card-thumb::after {
    content: '';
    position: absolute;
    bottom: 12px; right: 12px;
    background: rgba(0,0,0,0.7);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--night-gold);
}

.night-card-body { padding: 22px; }

.night-card-tag {
    display: inline-block;
    background: rgba(139, 92, 246, 0.2);
    color: var(--night-accent-light);
    padding: 4px 12px;
    border-radius: 10px;
    font-size: 0.8rem;
    margin-bottom: 12px;
}

.night-card-body h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: white;
}

.night-card-body p {
    color: var(--night-text-dim);
    font-size: 0.95rem;
}

.night-card-meta {
    display: flex;
    gap: 18px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--night-border);
    font-size: 0.85rem;
    color: var(--night-text-dim);
}

/* 榜单 */
.night-rank {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}

.night-rank-item {
    background: var(--night-card);
    border: 1px solid var(--night-border);
    border-radius: 14px;
    overflow: hidden;
}

.night-rank-head {
    background: linear-gradient(135deg, var(--night-indigo), var(--night-purple));
    padding: 16px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.night-rank-title {
    font-weight: 600;
    color: white;
}

.night-rank-tag {
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 12px;
    color: white;
    font-size: 0.8rem;
}

.night-rank-body { padding: 22px; }

.night-rank-content {
    display: flex;
    gap: 18px;
}

.night-rank-thumb {
    width: 80px; height: 110px;
    background: linear-gradient(135deg, var(--night-purple), var(--night-accent));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.night-rank-info h4 { color: white; margin-bottom: 6px; }
.night-rank-info p { color: var(--night-text-dim); font-size: 0.88rem; }
.night-rank-meta { margin-top: 8px; color: var(--night-accent-light); font-size: 0.88rem; font-weight: 600; }

/* 联系 */
.night-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
}

.night-contact-panel {
    background: var(--night-card);
    border: 1px solid var(--night-border);
    border-radius: 16px;
    padding: 40px;
}

.night-contact-panel h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.night-contact-list { list-style: none; }

.night-contact-list li {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--night-border);
    align-items: center;
}

.night-contact-list li:last-child { border-bottom: none; }

.night-contact-icon { font-size: 1.5rem; width: 40px; text-align: center; }

.night-contact-label { color: var(--night-text-dim); font-size: 0.88rem; }
.night-contact-value { color: white; font-weight: 600; }

.night-form { margin-top: 15px; }

.night-form-group { margin-bottom: 20px; }

.night-form-group label {
    display: block;
    margin-bottom: 7px;
    color: var(--night-text);
    font-weight: 500;
}

.night-form-group input,
.night-form-group textarea,
.night-form-group select {
    width: 100%;
    padding: 13px 16px;
    background: var(--night-deep);
    border: 1px solid var(--night-border);
    border-radius: 8px;
    color: var(--night-text);
    font-size: 1rem;
    transition: all 0.3s;
}

.night-form-group input:focus,
.night-form-group textarea:focus {
    outline: none;
    border-color: var(--night-accent);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.night-form-group textarea { resize: vertical; min-height: 120px; }

.night-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--night-accent), var(--night-blue));
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.night-submit:hover { box-shadow: 0 0 25px rgba(139, 92, 246, 0.4); }

/* Footer */
.night-footer {
    background: var(--night-deep);
    padding: 55px 0 25px;
    border-top: 1px solid var(--night-border);
    margin-top: 50px;
}

.night-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 35px;
    margin-bottom: 35px;
}

.night-footer-col h4 {
    color: var(--night-accent-light);
    margin-bottom: 18px;
    font-size: 1.05rem;
}

.night-footer-col ul { list-style: none; }
.night-footer-col li { margin-bottom: 10px; }

.night-footer-col a {
    color: var(--night-text-dim);
    text-decoration: none;
    transition: color 0.3s;
}

.night-footer-col a:hover { color: var(--night-accent); }

.night-footer-about p { color: var(--night-text-dim); line-height: 1.8; }

.night-footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid var(--night-border);
    color: var(--night-text-dim);
}

/* 响应式 */
@media (max-width: 768px) {
    .night-nav ul { flex-direction: column; }
    .night-nav a { text-align: center; border-bottom: 1px solid var(--night-border); }
    .night-hero-title { font-size: 2.4rem; }
    .night-contact { grid-template-columns: 1fr; }
}