:root {
  --bg-white: #f4f4f2;
  --text-black: #111111;
  --text-muted: #555555;
  --warn-yellow: #f6c900;
  --warn-orange: #f05a22;
  --warn-red: #d92b2b;
  --cool-blue: #3a83d4;
  --border-light: #dcdcdc;
  --font-title: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-mono: 'Courier New', Courier, monospace;
}

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

body {
  font-family: var(--font-title);
  background-color: var(--bg-white);
  color: var(--text-black);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 64px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.5px;
}

.logo-area img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }

.nav-links a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: bold;
  white-space: nowrap;
  padding: 8px 0;
  position: relative;
}

.nav-links a .dot { width: 8px; height: 8px; border-radius: 50%; }
.nav-links a.yellow .dot { background: var(--warn-yellow); }
.nav-links a.orange .dot { background: var(--warn-orange); }
.nav-links a.red .dot { background: var(--warn-red); }
.nav-links a.active { text-decoration: underline; text-underline-offset: 6px; }

.header-down-btn {
  background-color: var(--warn-red);
  color: #fff;
  padding: 0 24px;
  height: 44px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
  position: relative;
}
.header-down-btn::after {
  content: '';
  position: absolute;
  top: 4px; right: 4px;
  width: 6px; height: 6px;
  background: #fff;
  border-radius: 50%;
  opacity: 0.8;
}

/* Marquee */
.marquee-wrap {
  background-color: var(--warn-yellow);
  color: var(--text-black);
  padding: 8px 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: bold;
}
.marquee-content {
  display: inline-block;
  animation: marquee 20s linear infinite;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Main Content */
section {
  padding: 60px 24px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.section-level {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-level::before {
  content: '';
  display: inline-block;
  width: 12px; height: 12px;
}
.level-yellow .section-level::before { background: var(--warn-yellow); }
.level-orange .section-level::before { background: var(--warn-orange); }
.level-red .section-level::before { background: var(--warn-red); }

h1, h2, h3 {
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
}
h1 { font-size: 4rem; margin-bottom: 16px; }
h2 { font-size: 3rem; margin-bottom: 24px; }
h3 { font-size: 1.5rem; margin-bottom: 12px; }

/* Buttons */
.btn-download-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--warn-red);
  color: #fff;
  height: 56px;
  padding: 0 40px;
  border-radius: 6px;
  font-size: 18px;
  font-weight: bold;
  position: relative;
}
.btn-download-main::after {
  content: '';
  position: absolute;
  top: 6px; right: 6px;
  width: 8px; height: 8px;
  background: #fff;
  border-radius: 50%;
  animation: blink 2s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--text-black);
  background: transparent;
  height: 56px;
  padding: 0 32px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

/* Hero */
.hero-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
}
.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-sub {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.trust-info {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
}

.hero-content-area {
  position: relative;
  display: flex;
  gap: 24px;
}
.hero-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  flex: 1;
}

/* Cover Cards */
.cover-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-light);
}
.cover-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  background: #e0e0e0;
  overflow: hidden;
}
.cover-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.cover-card:hover .cover-img-wrap img {
  transform: scale(1.05);
}
.temp-badge {
  position: absolute;
  top: 8px; left: 8px;
  background: var(--warn-red);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 2px;
  z-index: 2;
}
.level-band {
  position: absolute;
  bottom: 0; left: 0; width: 100%;
  height: 4px;
}
.level-band.yellow { background: var(--warn-yellow); }
.level-band.orange { background: var(--warn-orange); }
.level-band.red { background: var(--warn-red); }

.card-info {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.card-title {
  font-weight: 900;
  font-size: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-meta {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.trend-up { color: var(--warn-red); }
.trend-down { color: var(--cool-blue); }

/* Heat List (Top Charts) */
.heat-list {
  flex: 1;
  background: #fff;
  border: 1px solid var(--border-light);
  padding: 16px;
  border-radius: 4px;
}
.heat-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
}
.heat-list-item:last-child { margin-bottom: 0; border-bottom: none; padding-bottom: 0; }
.heat-thumb {
  width: 40px; height: 53px;
  border-radius: 2px;
  object-fit: cover;
}
.heat-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.heat-title { font-weight: bold; font-size: 14px; }
.heat-genre { font-size: 12px; color: var(--text-muted); }
.heat-temp { font-family: var(--font-mono); font-weight: bold; color: var(--warn-red); }

/* Section specific */
.level-orange { background-color: #fff3e0; }
.level-red { background-color: #ffebee; }

.footer {
  background-color: #e0e0e0;
  padding: 40px 24px;
  font-size: 12px;
  color: #666;
  border-top: 1px solid #ccc;
}
.footer a { text-decoration: underline; }
.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-details {
  margin-top: 16px;
  font-size: 12px;
  color: #888;
}
.about-details summary {
  cursor: pointer;
  font-weight: bold;
  outline: none;
  list-style: none;
}
.about-details summary::-webkit-details-marker { display: none; }
.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #ccc;
}

/* Responsive */
@media (max-width: 1024px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.5rem; }
  .hero-container { grid-template-columns: 1fr; }
  .hero-content-area { flex-direction: column; }
  .header-down-btn { padding: 0 16px; font-size: 14px; }
}

@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  section { padding: 40px 16px; }
  .hero-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .heat-list-item { gap: 8px; }
}