:root {
    --brand-red: #e63946;
    --brand-dark: #1d1d1f;
    --bg-light: #fcfcfc;
    --bg-stripe: repeating-linear-gradient(45deg, #f8f9fa, #f8f9fa 10px, #e9ecef 10px, #e9ecef 20px);
    --board-wood: #d4a373;
    --text-main: #333;
    --text-muted: #666;
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; background-color: var(--bg-light); color: var(--text-main); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; object-fit: cover; }

/* Header */
header { position: sticky; top: 0; background: #fff; z-index: 100; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; }
.logo-box { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: bold; color: var(--brand-dark); }
.logo-box img { height: 32px; }
.nav-links { display: flex; gap: 20px; font-size: 15px; }
.nav-links a:hover { color: var(--brand-red); }
.nav-right { display: flex; align-items: center; gap: 15px; }
.search-box { padding: 8px 12px; border: 1px solid #ddd; border-radius: 20px; font-size: 14px; outline: none; }
.btn-download { background: var(--brand-red); color: #fff; padding: 8px 16px; border-radius: 4px; font-weight: bold; transition: 0.3s; }
.btn-download:hover { background: #c1121f; }

/* Hero - Clapperboard */
.hero { background: var(--bg-stripe); padding: 60px 20px; display: flex; justify-content: center; align-items: center; min-height: 80vh; }
.clapper-container { display: flex; gap: 40px; align-items: center; max-width: 1200px; width: 100%; }
.clapper-board { background: var(--brand-dark); border-radius: 8px; overflow: hidden; color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.2); flex: 1; max-width: 600px; }
.clapper-top { height: 50px; background: repeating-linear-gradient(-45deg, #fff, #fff 20px, #000 20px, #000 40px); transform-origin: bottom left; animation: clap 0.6s ease-out 1s both; }
@keyframes clap { 0% { transform: rotateX(-30deg); } 100% { transform: rotateX(0); } }
.clapper-body { padding: 40px; position: relative; }
.clapper-body h1 { font-size: 32px; margin-bottom: 15px; font-family: "Kaiti", "STKaiti", serif; letter-spacing: 2px; }
.clapper-body p { font-size: 16px; color: #ccc; margin-bottom: 30px; }
.btn-start { display: inline-block; background: var(--brand-red); color: #fff; padding: 12px 30px; font-size: 18px; font-weight: bold; border-radius: 4px; text-align: center; transition: 0.3s; }
.btn-start:hover { transform: scale(1.05); }
.monitor-wall { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.monitor { background: #222; padding: 8px; border-radius: 8px; border: 2px solid #444; position: relative; overflow: hidden; aspect-ratio: 9/16; }
.monitor img { width: 100%; height: 100%; border-radius: 4px; animation: flicker 3s infinite alternate; }
.monitor:nth-child(2n) img { animation-delay: 1s; }
.monitor:nth-child(3n) img { animation-delay: 2s; }
@keyframes flicker { 0% { opacity: 0.86; } 100% { opacity: 1; } }

/* Sections Common */
section { padding: 60px 20px; }
.section-title { text-align: center; font-size: 28px; margin-bottom: 40px; color: var(--brand-dark); position: relative; }
.section-title::after { content: ''; display: block; width: 40px; height: 4px; background: var(--brand-red); margin: 15px auto 0; border-radius: 2px; }
.container { max-width: 1200px; margin: 0 auto; }

/* Notice Board */
.notice-board { background: #fff; border: 2px solid #ddd; border-radius: 8px; padding: 30px; box-shadow: var(--shadow); position: relative; }
.tape { position: absolute; top: -15px; left: 50%; transform: translateX(-50%) rotate(-2deg); width: 100px; height: 30px; background: rgba(255, 255, 255, 0.7); border: 1px solid #ddd; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.notice-row { display: flex; align-items: center; border-bottom: 1px dashed #eee; padding: 20px 0; gap: 20px; }
.notice-row:last-child { border-bottom: none; }
.notice-time { width: 100px; font-weight: bold; color: var(--brand-red); text-align: right; }
.notice-covers { display: flex; gap: 15px; overflow-x: auto; padding-bottom: 10px; }
.notice-covers::-webkit-scrollbar { height: 4px; }
.notice-covers::-webkit-scrollbar-thumb { background: #ddd; border-radius: 2px; }
.cover-card { flex: 0 0 80px; position: relative; }
.cover-card img { width: 100%; border-radius: 4px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); aspect-ratio: 9/16; }
.cover-tag { position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); background: var(--brand-red); color: #fff; font-size: 10px; padding: 2px 6px; border-radius: 10px; white-space: nowrap; }
.stamp-today { position: absolute; right: 20px; bottom: 20px; border: 3px solid var(--brand-red); color: var(--brand-red); padding: 5px 15px; font-weight: bold; border-radius: 4px; transform: rotate(-15deg); opacity: 0.8; font-size: 20px; }

/* Casting Wall */
.casting-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; background: #e9dac1; padding: 40px; border-radius: 12px; box-shadow: inset 0 0 20px rgba(0,0,0,0.1); }
.casting-card { background: #fff; padding: 15px; border-radius: 4px; box-shadow: 2px 5px 15px rgba(0,0,0,0.15); transform: rotate(var(--rot)); transition: 0.3s; position: relative; }
.casting-card:hover { transform: rotate(0) scale(1.05); z-index: 10; box-shadow: 4px 10px 25px rgba(0,0,0,0.2); }
.pin { position: absolute; top: -10px; left: 50%; width: 16px; height: 16px; background: #d11124; border-radius: 50%; transform: translateX(-50%); box-shadow: 1px 2px 3px rgba(0,0,0,0.3); }
.casting-card h3 { font-size: 16px; margin-bottom: 10px; text-align: center; color: var(--brand-dark); }
.casting-covers { display: flex; gap: 5px; justify-content: center; }
.casting-covers img { width: 45%; border-radius: 2px; aspect-ratio: 9/16; }

/* Wrap Banner */
.wrap-banner { background: var(--brand-red); color: #fff; text-align: center; padding: 20px; border-radius: 8px; margin-bottom: 40px; font-size: 24px; font-weight: bold; letter-spacing: 4px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.wrap-banner::before, .wrap-banner::after { content: '★'; margin: 0 10px; color: #ffdf00; }
.wrap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.wrap-item { position: relative; background: #fff; padding: 10px; border-radius: 6px; box-shadow: var(--shadow); }
.wrap-item img { width: 100%; aspect-ratio: 9/16; border-radius: 4px; margin-bottom: 10px; }
.wrap-item h3 { font-size: 15px; text-align: center; }
.ribbon { position: absolute; top: 10px; right: 10px; background: var(--brand-red); color: #fff; font-size: 12px; padding: 4px 8px; border-radius: 2px; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%); }
.wrap-text { font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 5px; }

/* Hot Search */
.hot-list { background: #fff; border-radius: 8px; box-shadow: var(--shadow); overflow: hidden; }
.hot-item { display: flex; align-items: center; padding: 15px 20px; border-bottom: 1px solid #f0f0f0; transition: background 0.2s; }
.hot-item:hover { background: #f9f9f9; }
.hot-rank { width: 30px; font-weight: bold; font-size: 18px; color: #999; }
.hot-rank.top { color: var(--brand-red); }
.hot-title { flex: 1; font-size: 16px; margin: 0 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hot-title .badge { background: var(--brand-red); color: #fff; font-size: 10px; padding: 2px 4px; border-radius: 2px; margin-right: 5px; vertical-align: middle; }
.hot-heat { font-size: 13px; color: #999; display: flex; align-items: center; gap: 5px; }
.hot-heat .up { color: var(--brand-red); font-size: 12px; }
.hot-cover { width: 40px; height: 56px; border-radius: 4px; margin-left: 15px; }

/* Fan Support */
.stats-row { display: flex; justify-content: center; gap: 50px; margin-bottom: 40px; text-align: center; }
.stat-item h3 { font-size: 36px; color: var(--brand-red); margin-bottom: 5px; }
.stat-item p { color: var(--text-muted); font-size: 14px; }
.light-board-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.light-board { background: #1a1a1a; border-radius: 8px; padding: 20px; border: 2px solid #333; position: relative; box-shadow: 0 0 15px rgba(230, 57, 70, 0.2); animation: glow 4s infinite alternate; }
.light-board:nth-child(2n) { animation-delay: 2s; }
@keyframes glow { 0% { box-shadow: 0 0 10px rgba(230, 57, 70, 0.1); border-color: #333; } 100% { box-shadow: 0 0 25px rgba(230, 57, 70, 0.4); border-color: var(--brand-red); } }
.user-info { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.user-info img { width: 30px; height: 30px; border-radius: 50%; background: #fff; padding: 2px; }
.user-name { color: #fff; font-size: 14px; }
.stars { color: #ffd700; font-size: 12px; margin-bottom: 10px; }
.comment { color: #ccc; font-size: 13px; line-height: 1.5; }

/* Download Section */
.faq-section { max-width: 800px; margin: 0 auto 40px; }
.faq-item { background: #fff; margin-bottom: 15px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); padding: 20px; }
.faq-item h3 { font-size: 16px; color: var(--brand-dark); margin-bottom: 10px; }
.faq-item p { font-size: 14px; color: var(--text-muted); }
.pass-card { display: flex; background: #fff; border-radius: 12px; box-shadow: var(--shadow); max-width: 800px; margin: 0 auto; overflow: hidden; border: 4px solid var(--brand-dark); }
.pass-lanyard { width: 30px; background: repeating-linear-gradient(0deg, var(--brand-red), var(--brand-red) 10px, var(--brand-dark) 10px, var(--brand-dark) 20px); }
.pass-content { flex: 1; padding: 30px; display: flex; align-items: center; gap: 30px; }
.pass-left { display: flex; flex-direction: column; align-items: center; gap: 15px; border-right: 2px dashed #eee; padding-right: 30px; }
.pass-left img { height: 50px; }
.pass-id { font-size: 12px; color: #999; }
.pass-right { flex: 1; }
.pass-right h3 { font-size: 20px; margin-bottom: 15px; color: var(--brand-dark); }
.btn-group { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-device { background: var(--brand-dark); color: #fff; padding: 10px 20px; border-radius: 4px; font-size: 14px; transition: 0.2s; text-align: center; }
.btn-device:hover { background: var(--brand-red); }

/* Footer */
footer { background: #f1f1f1; padding: 40px 20px 20px; font-size: 13px; color: #888; }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; max-width: 1200px; margin: 0 auto; border-bottom: 1px solid #ddd; padding-bottom: 30px; margin-bottom: 20px; }
.footer-brand p { margin-top: 10px; max-width: 300px; }
.footer-links { display: flex; gap: 50px; }
.link-col h4 { color: #333; margin-bottom: 15px; font-size: 14px; }
.link-col a { display: block; margin-bottom: 8px; transition: color 0.2s; }
.link-col a:hover { color: var(--brand-red); }
.footer-bottom { text-align: center; max-width: 1200px; margin: 0 auto; line-height: 2; }
.footer-bottom a { color: #888; margin: 0 5px; }
.footer-bottom a:hover { color: var(--brand-red); }

/* Responsive */
@media (max-width: 1200px) {
    .casting-wall { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 992px) {
    .clapper-container { flex-direction: column; }
    .clapper-board { max-width: 100%; }
    .monitor-wall { grid-template-columns: repeat(4, 1fr); width: 100%; }
    .wrap-grid { grid-template-columns: repeat(3, 1fr); }
    .light-board-grid { grid-template-columns: repeat(2, 1fr); }
    .pass-content { flex-direction: column; text-align: center; }
    .pass-left { border-right: none; border-bottom: 2px dashed #eee; padding-right: 0; padding-bottom: 20px; }
    .btn-group { justify-content: center; }
}
@media (max-width: 768px) {
    .nav-links, .search-box { display: none; }
    .clapper-body h1 { font-size: 24px; }
    .monitor-wall { grid-template-columns: repeat(2, 1fr); }
    .casting-wall { grid-template-columns: repeat(2, 1fr); padding: 20px; }
    .wrap-grid { grid-template-columns: repeat(2, 1fr); }
    .hot-item { flex-wrap: wrap; }
    .hot-title { width: calc(100% - 80px); margin: 5px 0 0 30px; white-space: normal; }
    .hot-cover { display: none; }
    .light-board-grid { grid-template-columns: 1fr; }
    .stats-row { flex-direction: column; gap: 20px; }
    .footer-links { flex-wrap: wrap; gap: 20px; }
}
@media (max-width: 480px) {
    .notice-row { flex-direction: column; align-items: flex-start; gap: 10px; }
    .notice-time { text-align: left; width: 100%; }
    .notice-covers { width: 100%; }
    .casting-wall { grid-template-columns: 1fr; }
    .wrap-grid { grid-template-columns: 1fr; }
    .btn-group { flex-direction: column; width: 100%; }
    .btn-device { width: 100%; }
}