:root {
  --brand: #E94E72;
  --brand-deep: #AD2447;
  --bg-main: #FFF5F6;
  --card-bg: #FFFFFF;
  --text-main: #3D202B;
  --text-sub: #76545F;
  --text-accent: #AD2447;
  --border-color: #F0CCD5;
  --dark-bg: #3D202B;
  --dark-text: #FFF9FD;
  --dark-sub: #E6DCE8;
  --leaf: #7A9C6B;
  --radius-card: 20px;
  --radius-btn: 12px;
  --radius-poster: 12px;
  --shadow: 0 8px 24px rgba(130, 43, 71, 0.08);
}

* {
  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-main);
  color: var(--text-main);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

a {
  color: var(--text-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

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

/* Header */
header {
  background-color: var(--card-bg);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-wrap::-webkit-scrollbar {
  display: none;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  font-size: 20px;
  color: var(--text-main);
  white-space: nowrap;
}

.brand-logo img {
  height: 32px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
  white-space: nowrap;
}

.nav-links a {
  color: var(--text-main);
  font-size: 15px;
  padding: 6px 12px;
  border-radius: var(--radius-btn);
  transition: all 0.2s;
}

.nav-links a.active,
.nav-links a:hover {
  background-color: var(--brand);
  color: #FFFFFF;
  text-decoration: none;
}

/* Hero Section */
.hero {
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(233, 78, 114, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
}

.hero-layout {
  display: grid;
  grid-template-columns: 6fr 4fr;
  gap: 40px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(27px, 7vw, 40px);
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-main);
}

.hero-text p {
  font-size: 18px;
  color: var(--text-sub);
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background-color: var(--brand-deep);
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: var(--radius-btn);
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: filter 0.2s;
  text-align: center;
}

.btn-primary:hover {
  filter: brightness(0.94);
  text-decoration: none;
}

.btn-secondary {
  background-color: var(--card-bg);
  color: var(--text-accent);
  border: 1px solid var(--text-accent);
  padding: 12px 24px;
  border-radius: var(--radius-btn);
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.btn-secondary:hover {
  background-color: var(--bg-main);
  text-decoration: none;
}

.hero-gallery {
  position: relative;
  height: 400px;
}

.hero-gallery img {
  position: absolute;
  border-radius: var(--radius-poster);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.hero-gallery .main-img {
  width: 65%;
  height: 100%;
  top: 0;
  right: 0;
  z-index: 2;
}

.hero-gallery .thumb-img {
  width: 45%;
  height: 60%;
  left: 0;
  z-index: 1;
}

.hero-gallery .thumb-img:nth-child(2) {
  top: 10%;
}

.hero-gallery .thumb-img:nth-child(3) {
  bottom: 10%;
}

/* Marquee */
.marquee {
  background-color: var(--dark-bg);
  color: var(--dark-text);
  padding: 12px 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 14px;
}

.marquee span {
  display: inline-block;
  padding-left: 100%;
  animation: scroll 20s linear infinite;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* Section Common */
section {
  padding: 80px 0;
}

.section-title {
  font-size: 32px;
  margin-bottom: 40px;
  color: var(--text-main);
}

.section-title h2 {
  font-size: 32px;
  line-height: 1.2;
}

.section-title h3 {
  font-size: 22px;
  margin-top: 8px;
  color: var(--text-sub);
  font-weight: normal;
}

/* Schedule */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.schedule-card {
  background-color: var(--card-bg);
  border-radius: var(--radius-card);
  padding: 16px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 16px;
}

.schedule-card.dark {
  background-color: var(--dark-bg);
  color: var(--dark-text);
}

.schedule-card.dark p,
.schedule-card.dark h3 {
  color: var(--dark-sub);
}

.schedule-poster {
  width: 100px;
  height: 133px;
  border-radius: var(--radius-poster);
  object-fit: cover;
  flex-shrink: 0;
}

.schedule-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.schedule-time {
  font-weight: bold;
  color: var(--brand);
  margin-bottom: 4px;
  font-size: 14px;
}

.schedule-card.dark .schedule-time {
  color: var(--brand);
}

.schedule-info h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.schedule-info p {
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 8px;
  flex: 1;
}

.tag {
  display: inline-block;
  background-color: var(--bg-main);
  color: var(--text-accent);
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
}

.schedule-card.dark .tag {
  background-color: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: var(--dark-text);
}

/* Magical Section */
.magic-section {
  background-color: var(--card-bg);
}

.slider-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto 40px;
  aspect-ratio: 4/3;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.slider-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-labels {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
}

.slider-labels span {
  background: rgba(61, 32, 43, 0.8);
  color: #FFF;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 14px;
}

.magic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.magic-tags span {
  padding: 8px 16px;
  background-color: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.magic-tags span.active {
  background-color: var(--brand);
  color: #FFF;
  border-color: var(--brand);
}

/* Community Section */
.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.community-card {
  background-color: var(--card-bg);
  border-radius: var(--radius-card);
  padding: 16px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 12px;
  transform: rotate(-1deg);
}

.community-card:nth-child(even) {
  transform: rotate(1.5deg);
}

.community-card img {
  width: 80px;
  height: 100px;
  border-radius: var(--radius-poster);
  object-fit: cover;
}

.community-info h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.community-info p {
  font-size: 13px;
  color: var(--text-sub);
}

/* Original Section */
.original-section {
  background-color: var(--dark-bg);
  color: var(--dark-text);
}

.original-section .section-title h2 {
  color: var(--dark-text);
}

.podium {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 40px;
}

.podium-item {
  background-color: rgba(255,255,255,0.05);
  border-radius: var(--radius-card);
  padding: 16px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.1);
}

.podium-item.top1 {
  padding: 24px 16px;
  background-color: rgba(233, 78, 114, 0.2);
  border-color: var(--brand);
}

.podium-item img {
  width: 80px;
  height: 106px;
  border-radius: var(--radius-poster);
  object-fit: cover;
  margin: 0 auto 12px;
}

.podium-item h3 {
  font-size: 16px;
  color: var(--dark-text);
  margin-bottom: 4px;
}

.podium-item p {
  font-size: 12px;
  color: var(--dark-sub);
}

.podium-badge {
  display: inline-block;
  background-color: var(--brand);
  color: #FFF;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  line-height: 24px;
  font-size: 12px;
  margin-bottom: 8px;
}

.scroll-cards {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 16px;
  scrollbar-width: thin;
}

.scroll-cards .podium-item {
  flex: 0 0 120px;
}

/* Reviews */
.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.review-card {
  background-color: var(--card-bg);
  padding: 16px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  display: flex;
  gap: 12px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.review-content h4 {
  font-size: 14px;
  color: var(--text-main);
  margin-bottom: 4px;
}

.review-content p {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 8px;
}

.review-reply {
  font-size: 12px;
  color: var(--text-sub);
  background-color: var(--bg-main);
  padding: 8px;
  border-radius: 8px;
}

/* Membership */
.member-section {
  background-color: var(--dark-bg);
  color: var(--dark-text);
}

.member-section .section-title h2 {
  color: var(--dark-text);
}

.tier-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
}

.tier-bar::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: rgba(255,255,255,0.1);
  z-index: 1;
}

.tier-node {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.tier-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--brand);
}

.tier-node span {
  font-size: 14px;
  color: var(--dark-sub);
}

.tier-node.active span {
  color: var(--dark-text);
  font-weight: bold;
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.benefit-item {
  background-color: rgba(255,255,255,0.05);
  padding: 16px;
  border-radius: var(--radius-card);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.benefit-item span:first-child {
  font-size: 15px;
  color: var(--dark-text);
}

.benefit-item span:last-child {
  font-size: 13px;
  color: var(--brand);
}

/* Security */
.security-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.security-left {
  background-color: var(--dark-bg);
  color: var(--dark-text);
  padding: 40px;
}

.security-right {
  background-color: var(--card-bg);
  padding: 40px;
  color: var(--text-main);
}

.security-layout h3 {
  margin-bottom: 24px;
  font-size: 22px;
}

.security-list {
  list-style: none;
}

.security-list li {
  margin-bottom: 16px;
  display: flex;
  gap: 8px;
  font-size: 15px;
}

.security-list li::before {
  content: '•';
  color: var(--brand);
  font-weight: bold;
}

/* Feedback */
.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feedback-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
}

.feedback-option {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 12px;
  border-radius: var(--radius-btn);
  text-align: center;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}

.feedback-option.selected {
  border-color: var(--brand);
  background-color: #FFF0F3;
}

.feedback-submit {
  align-self: flex-start;
}

/* FAQ */
.faq-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px;
}

.faq-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
  background-color: var(--card-bg);
  padding: 24px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}

.faq-card h3 {
  font-size: 16px;
  margin-bottom: 12px;
  color: var(--text-main);
}

.faq-card p {
  font-size: 14px;
  color: var(--text-sub);
}

/* Minor Protection */
.protection-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 600px;
  margin: 0 auto 32px;
}

.protection-key {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-btn);
  padding: 16px 8px;
  text-align: center;
  font-size: 14px;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s;
}

.protection-key:focus {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.protection-desc {
  max-width: 800px;
  margin: 0 auto;
  font-size: 14px;
  color: var(--text-sub);
  text-align: center;
}

/* Download */
.download-section {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 40px;
  display: flex;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow);
}

.download-info {
  flex: 1;
}

.download-info h2 {
  margin-bottom: 16px;
}

.download-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.download-buttons .btn-primary,
.download-buttons .btn-secondary {
  width: 100%;
}

.download-steps {
  font-size: 14px;
  color: var(--text-sub);
}

.download-img {
  flex: 0 0 200px;
}

.download-img img {
  width: 100%;
  border-radius: var(--radius-poster);
}

/* Floating Download Bar */
.floating-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 520px;
  max-width: calc(100% - 32px);
  height: 72px;
  background-color: var(--dark-bg);
  color: var(--dark-text);
  border-radius: var(--radius-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  z-index: 1000;
}

.floating-bar span {
  font-size: 16px;
  font-weight: bold;
}

.floating-bar .btn-primary {
  padding: 8px 16px;
  font-size: 14px;
}

.close-btn {
  background: none;
  border: none;
  color: var(--dark-sub);
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
}

/* Footer */
footer {
  background-color: var(--dark-bg);
  color: var(--dark-text);
  padding: 60px 0 30px;
}

.footer-layout {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand img {
  height: 32px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--dark-sub);
  line-height: 1.8;
}

.footer-links h4 {
  font-size: 16px;
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--dark-sub);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--brand);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--dark-sub);
}

/* Media Queries */
@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }
  .hero-gallery {
    height: 300px;
  }
  .schedule-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .security-layout {
    grid-template-columns: 1fr;
  }
  .footer-layout {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  .nav-links {
    display: none;
  }
  .schedule-grid {
    grid-template-columns: 1fr;
  }
  .review-grid {
    grid-template-columns: 1fr;
  }
  .download-section {
    flex-direction: column;
    padding: 24px;
  }
  .download-img {
    width: 100%;
    max-width: 200px;
  }
  .download-buttons {
    grid-template-columns: 1fr 1fr;
  }
  .floating-bar {
    width: calc(100% - 32px);
  }
  .protection-panel {
    grid-template-columns: repeat(2, 1fr);
  }
  .podium {
    flex-direction: column;
    align-items: center;
  }
  .podium-item {
    width: 100%;
    max-width: 200px;
  }
  .footer-layout {
    grid-template-columns: 1fr;
  }
}