:root {
  --primary: #F28C5E;
  --primary-dark: #C96A3E;
  --bg-light: #FFF6F0;
  --border-light: #FAD8C8;
  --white: #FFFFFF;
  --bg-cream: #FEFCFA;
  --text-dark: #3D3D3D;
  --text-gray: #6B6B6B;
  --shadow-soft: 0 8px 24px rgba(242, 140, 94, 0.15);
  --shadow-hover: 0 12px 32px rgba(242, 140, 94, 0.25);
  --radius-card: 24px;
  --radius-btn: 40px;
  --radius-banner: 32px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* Header */
.header {
  position: sticky;
  top: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  z-index: 100;
  transition: box-shadow 0.3s ease;
}
.header.scrolled {
  box-shadow: 0 4px 20px rgba(242, 140, 94, 0.1);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 800;
  flex-shrink: 0;
}
.nav-logo img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}
.nav-logo .text-dark { color: var(--text-dark); }
.nav-logo .text-orange { color: var(--primary); }
.nav-links {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a {
  color: var(--text-dark);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}
.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}
.nav-right-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border-light);
  object-fit: cover;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.nav-right-img:hover { transform: scale(1.05); }

/* Common Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  padding: 60px 0;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 32px;
  color: var(--text-dark);
}
.section-title::before {
  content: '';
  display: block;
  width: 6px;
  height: 24px;
  background: var(--primary);
  border-radius: 4px;
}

/* Banner */
.banner {
  background: linear-gradient(135deg, var(--white) 0%, var(--bg-light) 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-banner);
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 40px;
  box-shadow: var(--shadow-soft);
  margin-top: 32px;
  position: relative;
  overflow: hidden;
}
.banner-text {
  flex: 1;
}
.banner-tag {
  display: inline-block;
  color: var(--primary);
  background: var(--white);
  border: 1px solid var(--primary);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.banner-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.banner-desc {
  color: var(--text-dark);
  font-size: 1.05rem;
  border-left: 3px solid var(--primary);
  padding-left: 16px;
  margin-bottom: 24px;
  line-height: 1.8;
}
.banner-meta {
  display: flex;
  gap: 20px;
  font-size: 0.9rem;
  color: var(--text-gray);
  margin-bottom: 32px;
}
.banner-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.banner-meta .icon {
  color: var(--primary);
}
.banner-btns {
  display: flex;
  gap: 16px;
}
.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 12px 32px;
  border-radius: var(--radius-btn);
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid var(--primary);
  box-shadow: 0 4px 12px rgba(242, 140, 94, 0.3);
  transition: all 0.3s;
  text-align: center;
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.btn-outline {
  display: inline-block;
  background: var(--white);
  color: var(--primary);
  padding: 12px 32px;
  border-radius: var(--radius-btn);
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid var(--primary);
  transition: all 0.3s;
  text-align: center;
}
.btn-outline:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
}
.banner-visual {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.banner-visual-inner {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--white), var(--bg-light));
  border: 4px solid var(--white);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: breathe 4s ease-in-out infinite;
  overflow: hidden;
}
.banner-visual-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}
.banner-badge {
  position: absolute;
  top: 10px;
  right: 20px;
  background: var(--primary);
  color: var(--white);
  padding: 4px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 10px rgba(242, 140, 94, 0.3);
}
.banner-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 24px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
  transition: all 0.3s;
  cursor: pointer;
}
.dot.active {
  width: 32px;
  border-radius: 4px;
  background: var(--primary);
}

/* Grid Layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Cards */
.card {
  background: var(--white);
  border: 1px solid #F0F0F0;
  border-radius: var(--radius-card);
  padding: 16px;
  transition: all 0.3s ease;
  overflow: hidden;
}
.card:hover {
  border-color: var(--border-light);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.card-img-wrapper {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-light);
  margin-bottom: 16px;
  position: relative;
}
.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.card:hover .card-img-wrapper img {
  transform: scale(1.05);
}
.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}
.card-sub {
  font-size: 0.85rem;
  color: var(--text-gray);
  display: flex;
  justify-content: space-between;
}
.card-sub .rating {
  color: var(--primary);
  font-weight: 700;
}

/* Ranking */
.ranking-list {
  background: var(--white);
  border: 1px solid #F0F0F0;
  border-radius: var(--radius-card);
  padding: 24px;
}
.ranking-item {
  display: flex;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px dashed #EEEEEE;
  transition: background 0.2s;
}
.ranking-item:last-child {
  border-bottom: none;
}
.ranking-item:hover {
  background: var(--bg-light);
  border-radius: 8px;
  padding-left: 8px;
  padding-right: 8px;
}
.rank-num {
  width: 32px;
  font-weight: 800;
  color: var(--primary);
  font-size: 1.2rem;
}
.rank-name {
  flex: 1;
  font-weight: 600;
  color: var(--text-dark);
}
.rank-score {
  background: #F5F5F5;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* Voice Actors */
.voice-actor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.voice-actor-card {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1px solid #F0F0F0;
  border-radius: var(--radius-btn);
  padding: 8px 24px 8px 8px;
  transition: border-color 0.3s;
}
.voice-actor-card:hover {
  border-color: var(--primary);
}
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  margin-right: 12px;
}
.voice-actor-info .name {
  font-weight: 700;
  font-size: 0.95rem;
}
.voice-actor-info .role {
  font-size: 0.8rem;
  color: var(--text-gray);
}

/* Schedule */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
}
.schedule-col {
  background: var(--white);
  border: 1px solid #F0F0F0;
  border-radius: 16px;
  padding: 12px;
}
.schedule-day {
  text-align: center;
  font-weight: 700;
  color: var(--primary);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 12px;
}
.schedule-item {
  font-size: 0.8rem;
  padding: 8px 0;
  border-bottom: 1px dashed #EEEEEE;
  color: var(--text-dark);
  text-align: center;
}
.schedule-item:last-child {
  border-bottom: none;
}

/* Topic Cards */
.topic-card {
  background: var(--white);
  border: 1px solid #F0F0F0;
  border-radius: var(--radius-card);
  padding: 24px;
  transition: all 0.3s;
}
.topic-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: var(--border-light);
}
.topic-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}
.topic-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.topic-desc {
  font-size: 0.9rem;
  color: var(--text-gray);
}

/* Tips / Reviews */
.review-card {
  background: var(--white);
  border: 1px solid #F0F0F0;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
  transition: border-color 0.3s;
}
.review-card:hover {
  border-color: var(--primary);
}
.review-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.9rem;
}
.review-user {
  font-weight: 700;
  color: var(--primary);
}
.review-date {
  color: #A0A0A0;
  font-size: 0.8rem;
}
.review-text {
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.5;
}

/* Download & FAQ */
.download-section {
  background: linear-gradient(180deg, var(--white), #FFFAF7);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-banner);
  padding: 40px;
  display: flex;
  gap: 40px;
  box-shadow: var(--shadow-soft);
}
.download-info {
  flex: 1;
}
.download-info h3 {
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 16px;
}
.download-info p {
  color: var(--text-dark);
  margin-bottom: 32px;
  line-height: 1.8;
}
.faq-area {
  flex: 1;
}
.faq-area h3 {
  font-size: 1.2rem;
  color: var(--primary-dark);
  margin-bottom: 20px;
}
.faq-item {
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 12px;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: var(--primary);
  padding: 12px 0;
  cursor: pointer;
  user-select: none;
}
.faq-question .arrow {
  transition: transform 0.3s;
  font-size: 0.8rem;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  color: var(--text-gray);
  font-size: 0.9rem;
}
.faq-item.open .faq-answer {
  max-height: 150px;
  padding-bottom: 12px;
}
.faq-item.open .faq-question .arrow {
  transform: rotate(180deg);
}

/* Stats */
.stat-card {
  background: var(--white);
  border: 1px solid #F0F0F0;
  border-radius: var(--radius-card);
  padding: 24px;
  text-align: center;
}
.stat-num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--text-gray);
}

/* Footer */
.footer {
  background: #FAFAFA;
  border-top: 1px solid #EEEEEE;
  padding: 32px 20px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-gray);
  margin-top: 60px;
}
.footer p { margin-bottom: 8px; }
.footer a {
  color: var(--text-gray);
  transition: color 0.3s;
}
.footer a:hover { color: var(--primary); }
.footer .time-update {
  font-size: 0.8rem;
  color: #A0A0A0;
}

/* Floating Button */
.float-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 8px 24px rgba(242, 140, 94, 0.4);
  z-index: 1000;
  transition: all 0.3s;
}
.float-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.08);
}

/* Gallery */
.gallery-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
}
.gallery-wall img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 16px;
  border: 2px solid #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}
.gallery-wall img:hover {
  transform: scale(1.03);
}

/* Responsive */
@media (max-width: 1024px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .schedule-grid { grid-template-columns: repeat(4, 1fr); }
  .banner { flex-direction: column; text-align: center; }
  .banner-desc { border-left: none; padding-left: 0; }
  .banner-btns { justify-content: center; }
  .banner-meta { justify-content: center; }
  .download-section { flex-direction: column; padding: 30px; }
  .banner-title { font-size: 2rem; }
}
@media (max-width: 768px) {
  .nav-container { flex-wrap: wrap; }
  .nav-links { order: 3; width: 100%; gap: 16px; padding-bottom: 8px; }
  .nav-right-img { display: none; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .schedule-grid { grid-template-columns: repeat(2, 1fr); }
  .banner-title { font-size: 1.6rem; }
  .section { padding: 40px 0; }
  .section-title { font-size: 1.4rem; }
  .gallery-wall { grid-template-columns: repeat(2, 1fr); }
  .float-btn { bottom: 20px; right: 20px; width: 50px; height: 50px; font-size: 1.2rem; }
}