:root {
  --brand: #FFAA31;
  --bg: #FFF7E9;
  --card: #FFFFFF;
  --dark: #57301E;
  --text: #60371F;
  --text-sub: #866448;
  --text-accent: #A64C08;
  --border: #F0D8B5;
  --dark-text: #FFF9FD;
  --dark-sub: #E6DCE8;
  --shadow: 0 8px 22px rgba(133,76,21,.08);
  --radius-card: 22px;
  --radius-btn: 12px;
  --radius-poster: 12px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}
a { color: var(--text-accent); text-decoration: underline; text-underline-offset: 4px; }
a:hover { text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(27px, 7vw, 40px); }
h2 { font-size: clamp(24px, 5vw, 32px); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 768px) { .container { padding: 0 16px; } }

/* Header */
header.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 247, 233, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.brand img { height: 32px; width: auto; }
.brand span { font-size: 1.25rem; font-weight: 700; color: var(--text); }
.nav-links { display: flex; gap: 1.2rem; list-style: none; }
.nav-links a { text-decoration: none; color: var(--text-sub); font-size: 0.95rem; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--brand); font-weight: 600; }
.nav-links a.active { border-bottom: 2px solid var(--brand); }
.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: var(--text); cursor: pointer; }

@media (max-width: 1024px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg); padding: 1rem 24px; border-bottom: 1px solid var(--border); }
  .nav-links.show { display: flex; }
  .menu-toggle { display: block; }
}

/* Hero */
.hero {
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; top: -100px; right: -100px; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,170,49,0.15) 0%, transparent 70%);
  z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 6fr 4fr; gap: 2rem; align-items: center; }
.hero-text h1 { margin-bottom: 1rem; }
.hero-text p { color: var(--text-sub); font-size: 1.1rem; margin-bottom: 2rem; }
.hero-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.8rem 1.5rem; border-radius: var(--radius-btn); font-weight: 600; text-decoration: none; transition: all .2s; cursor: pointer; border: 1px solid transparent; font-size: 1rem; }
.btn-primary { background: var(--text-accent); color: #fff; }
.btn-primary:hover { filter: brightness(0.94); text-decoration: none; }
.btn-outline { background: var(--card); color: var(--text-accent); border-color: var(--text-accent); }
.btn-outline:hover { background: var(--bg); text-decoration: none; }

.hero-visual { position: relative; }
.hero-main-img { border-radius: var(--radius-poster); box-shadow: var(--shadow); width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.hero-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin-top: 0.5rem; }
.hero-thumbs img { border-radius: 8px; width: 100%; aspect-ratio: 3/4; object-fit: cover; }

@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-btns { grid-template-columns: 1fr 1fr; }
}

/* Ticker */
.ticker-wrap { background: var(--dark); color: var(--dark-text); padding: 0.8rem 0; overflow: hidden; white-space: nowrap; margin: 2rem 0; }
.ticker { display: inline-block; animation: scroll-left 20s linear infinite; }
.ticker span { margin: 0 1.5rem; font-size: 0.95rem; opacity: 0.9; }
.ticker i { color: var(--brand); font-style: normal; margin-right: 0.5rem; }
@keyframes scroll-left { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Sections Common */
section { padding: 3rem 0; }
.section-title { text-align: center; margin-bottom: 2.5rem; }
.section-title h2 { display: inline-block; position: relative; }
.section-title h2::after { content: ""; display: block; width: 40px; height: 4px; background: var(--brand); border-radius: 2px; margin: 0.5rem auto 0; }

/* Schedule */
.schedule-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.schedule-card { background: var(--card); border-radius: var(--radius-card); box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--border); display: flex; flex-direction: column; }
.schedule-card.dark { background: var(--dark); color: var(--dark-text); border-color: transparent; }
.schedule-card.dark .desc { color: var(--dark-sub); }
.schedule-card.dark .tags span { background: rgba(255,255,255,0.1); color: var(--dark-text); }
.schedule-poster { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-bottom: 1px solid var(--border); }
.schedule-card.dark .schedule-poster { border-bottom-color: rgba(255,255,255,0.1); }
.schedule-content { padding: 1rem; flex: 1; display: flex; flex-direction: column; }
.schedule-time { font-size: 0.85rem; font-weight: 700; color: var(--text-accent); margin-bottom: 0.5rem; }
.schedule-card.dark .schedule-time { color: var(--brand); }
.schedule-content h3 { font-size: 1.1rem; margin-bottom: 0.5rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.schedule-content .desc { font-size: 0.9rem; color: var(--text-sub); margin-bottom: 1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: auto; }
.tags span { font-size: 0.75rem; background: var(--bg); color: var(--text-accent); padding: 0.2rem 0.5rem; border-radius: 4px; border: 1px solid var(--border); }
@media (max-width: 768px) { .schedule-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .schedule-grid { grid-template-columns: 1fr; } }

/* Moga / Remix */
.remix-section { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.remix-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.remix-compare { position: relative; border-radius: var(--radius-card); overflow: hidden; aspect-ratio: 4/3; }
.remix-compare img { width: 100%; height: 100%; object-fit: cover; }
.compare-slider { width: 100%; accent-color: var(--brand); margin-top: 1rem; }
.remix-tags { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.5rem; }
.remix-tag { padding: 0.5rem 1rem; background: var(--bg); border-radius: 20px; font-size: 0.9rem; cursor: pointer; border: 1px solid var(--border); transition: all .2s; }
.remix-tag.active, .remix-tag:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
@media (max-width: 768px) { .remix-layout { grid-template-columns: 1fr; } }

/* Remix Cards */
.collage-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.collage-card { background: var(--card); border-radius: var(--radius-card); padding: 0.8rem; box-shadow: var(--shadow); border: 1px solid var(--border); transform: rotate(calc(var(--rot, 1) * 1deg)); transition: transform .2s; }
.collage-card:hover { transform: rotate(0) scale(1.02); }
.collage-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; margin-bottom: 0.5rem; }
.collage-card h3 { font-size: 0.95rem; margin-bottom: 0.2rem; }
.collage-card p { font-size: 0.8rem; color: var(--text-sub); }
@media (max-width: 992px) { .collage-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .collage-grid { grid-template-columns: repeat(2, 1fr); } .collage-card { transform: none; } }
@media (max-width: 480px) { .collage-grid { grid-template-columns: 1fr; } }

/* Original Top 10 */
.original-section { background: var(--dark); color: var(--dark-text); }
.original-section .section-title h2 { color: var(--dark-text); }
.original-section .section-title h2::after { background: var(--brand); }
.top-podium { display: flex; justify-content: center; align-items: flex-end; gap: 1rem; margin-bottom: 2rem; }
.podium-item { text-align: center; background: var(--card); color: var(--text); border-radius: var(--radius-card); padding: 1rem; width: 30%; max-width: 200px; position: relative; }
.podium-item img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 8px; margin-bottom: 0.5rem; }
.podium-item .rank { position: absolute; top: -10px; background: var(--brand); color: #fff; font-weight: 700; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; border: 2px solid var(--dark); }
.podium-item:nth-child(1) { height: 260px; order: 2; }
.podium-item:nth-child(2) { height: 220px; order: 1; }
.podium-item:nth-child(3) { height: 200px; order: 3; }
.top-scroll { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: 1rem; scroll-snap-type: x mandatory; }
.top-scroll::-webkit-scrollbar { height: 6px; }
.top-scroll::-webkit-scrollbar-thumb { background: var(--brand); border-radius: 3px; }
.top-card { flex: 0 0 180px; scroll-snap-align: start; background: var(--card); color: var(--text); border-radius: var(--radius-card); padding: 0.8rem; }
.top-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 8px; margin-bottom: 0.5rem; }
.top-card h3 { font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-card p { font-size: 0.8rem; color: var(--text-sub); }
@media (max-width: 768px) {
  .top-podium { flex-direction: column; align-items: center; }
  .podium-item { width: 100%; max-width: 100%; height: auto !important; }
  .podium-item:nth-child(1) { order: 1; }
  .podium-item:nth-child(2) { order: 2; }
  .podium-item:nth-child(3) { order: 3; }
}

/* Comments */
.comments-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.comment-card { background: var(--card); border-radius: var(--radius-card); padding: 1.5rem; box-shadow: var(--shadow); border: 1px solid var(--border); display: flex; gap: 1rem; }
.comment-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--bg); }
.comment-content h4 { font-size: 1rem; margin-bottom: 0.2rem; display: flex; align-items: center; gap: 0.5rem; }
.comment-content h4 span { font-size: 0.75rem; background: var(--bg); color: var(--text-accent); padding: 0.1rem 0.4rem; border-radius: 4px; font-weight: normal; border: 1px solid var(--border); }
.comment-content p { font-size: 0.95rem; color: var(--text-sub); margin-bottom: 0.5rem; }
.comment-reply { font-size: 0.85rem; background: var(--bg); padding: 0.8rem; border-radius: 8px; color: var(--text-accent); }
@media (max-width: 768px) { .comments-grid { grid-template-columns: 1fr; } }

/* VIP */
.vip-section { background: var(--dark); color: var(--dark-text); }
.vip-section .section-title h2 { color: var(--dark-text); }
.vip-section .section-title h2::after { background: var(--brand); }
.vip-bar { display: flex; justify-content: space-between; background: rgba(255,255,255,0.05); border-radius: var(--radius-btn); padding: 0.5rem; margin-bottom: 2rem; }
.vip-node { flex: 1; text-align: center; padding: 0.8rem; border-radius: 8px; font-weight: 600; color: var(--dark-sub); }
.vip-node.active { background: var(--brand); color: var(--dark); }
.vip-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.vip-item { background: rgba(255,255,255,0.05); padding: 1rem; border-radius: var(--radius-btn); border-left: 4px solid var(--brand); }
.vip-item h3 { font-size: 1rem; margin-bottom: 0.2rem; }
.vip-item p { font-size: 0.85rem; color: var(--dark-sub); }
@media (max-width: 768px) { .vip-list { grid-template-columns: 1fr; } }

/* Privacy */
.privacy-layout { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow); }
.privacy-left { background: var(--dark); color: var(--dark-text); padding: 2rem; }
.privacy-right { background: var(--card); padding: 2rem; }
.privacy-layout h3 { margin-bottom: 1.5rem; }
.privacy-layout ul { list-style: none; }
.privacy-layout li { margin-bottom: 1rem; font-size: 0.95rem; display: flex; gap: 0.5rem; }
.privacy-layout li::before { content: "•"; color: var(--brand); font-weight: bold; }
.privacy-right li::before { color: var(--text-accent); }
@media (max-width: 768px) { .privacy-layout { grid-template-columns: 1fr; } }

/* Feedback */
.feedback-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.8rem; }
.feedback-item { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-btn); padding: 0.8rem; text-align: center; font-size: 0.9rem; cursor: pointer; transition: all .2s; }
.feedback-item.active, .feedback-item:hover { border-color: var(--brand); background: var(--bg); color: var(--text-accent); font-weight: 600; }
@media (max-width: 992px) { .feedback-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 768px) { .feedback-grid { grid-template-columns: repeat(2, 1fr); } }

/* FAQ */
.faq-scroll { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: 1rem; scroll-snap-type: x mandatory; }
.faq-card { flex: 0 0 320px; scroll-snap-align: start; background: var(--card); border-radius: var(--radius-card); padding: 1.5rem; box-shadow: var(--shadow); border: 1px solid var(--border); }
.faq-card h3 { font-size: 1.1rem; margin-bottom: 0.8rem; display: flex; justify-content: space-between; align-items: center; }
.faq-card h3 span { color: var(--text-accent); font-weight: bold; }
.faq-card p { font-size: 0.95rem; color: var(--text-sub); }

/* Minor Protection */
.minor-section { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.minor-layout { display: flex; gap: 2rem; align-items: center; }
.remote-panel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; background: var(--bg); padding: 1.5rem; border-radius: var(--radius-card); border: 1px solid var(--border); flex: 1; }
.remote-btn { aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--card); border: 1px solid var(--border); border-radius: 12px; font-size: 0.85rem; text-align: center; padding: 0.5rem; cursor: pointer; transition: all .2s; }
.remote-btn:hover, .remote-btn:focus { outline: 2px solid var(--brand); outline-offset: 2px; }
.minor-text { flex: 1; }
.minor-text ul { list-style: none; margin-top: 1rem; }
.minor-text li { margin-bottom: 0.8rem; font-size: 0.95rem; color: var(--text-sub); }
@media (max-width: 768px) { .minor-layout { flex-direction: column; } .remote-panel { width: 100%; grid-template-columns: repeat(4, 1fr); } }

/* Download */
.download-section { background: var(--bg); position: relative; }
.download-card { background: var(--card); border: 1px solid var(--brand); border-radius: var(--radius-card); padding: 2.5rem; display: flex; gap: 2rem; align-items: center; box-shadow: var(--shadow); }
.download-info { flex: 1; }
.download-info h2 { margin-bottom: 1rem; }
.download-info p { color: var(--text-sub); margin-bottom: 1.5rem; }
.download-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.download-steps { list-style: none; margin-top: 1.5rem; }
.download-steps li { margin-bottom: 0.5rem; font-size: 0.95rem; color: var(--text-sub); display: flex; gap: 0.5rem; }
.download-steps li::before { content: "•"; color: var(--brand); font-weight: bold; }
.download-poster { flex: 0 0 200px; }
.download-poster img { border-radius: var(--radius-poster); box-shadow: var(--shadow); width: 100%; aspect-ratio: 3/4; object-fit: cover; }
@media (max-width: 768px) { .download-card { flex-direction: column; padding: 1.5rem; } .download-poster { flex: none; width: 100%; max-width: 250px; margin: 0 auto; } }

/* Floating Download Bar */
.floating-bar { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); width: 520px; max-width: calc(100% - 32px); height: 72px; background: var(--dark); color: var(--dark-text); border-radius: var(--radius-btn); display: flex; align-items: center; justify-content: space-between; padding: 0 1.5rem; box-shadow: 0 10px 30px rgba(0,0,0,0.2); z-index: 99; }
.floating-bar span { font-size: 0.95rem; font-weight: 600; }
.floating-bar .close-btn { background: none; border: none; color: var(--dark-sub); font-size: 1.2rem; cursor: pointer; }
.floating-bar .btn-primary { padding: 0.5rem 1rem; font-size: 0.9rem; }

/* Footer */
footer { background: var(--dark); color: var(--dark-text); padding: 3rem 0 1.5rem; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-brand img { height: 32px; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; color: var(--dark-sub); line-height: 1.6; }
.footer-links h4 { font-size: 1rem; margin-bottom: 1rem; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: var(--dark-sub); text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { color: var(--brand); }
.footer-bottom { text-align: center; font-size: 0.85rem; color: var(--dark-sub); border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* Modal */
.modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.6); display: none; align-items: center; justify-content: center; z-index: 1000; padding: 1rem; }
.modal-overlay.show { display: flex; }
.modal-content { background: var(--card); color: var(--text); border-radius: var(--radius-card); padding: 2rem; max-width: 400px; width: 100%; text-align: center; }
.modal-content h3 { margin-bottom: 1rem; }
.modal-content p { font-size: 0.9rem; color: var(--text-sub); margin-bottom: 1rem; }
.modal-link { background: var(--bg); padding: 0.8rem; border-radius: 8px; font-family: monospace; font-size: 0.9rem; word-break: break-all; margin-bottom: 1.5rem; border: 1px solid var(--border); }
.modal-actions { display: flex; gap: 1rem; justify-content: center; }