:root {
  --pink: #FF69B4;
  --white: #FFFFFF;
  --purple: #4A2C5E;
  --yellow: #FFE600;
  --dark-bg: #2A1338;
  --text-main: #333333;
  --text-light: #F5E6F8;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
.halftone-bg {
  background-image: radial-gradient(var(--pink) 15%, transparent 16%);
  background-size: 16px 16px;
  opacity: 0.15;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  position: relative;
  z-index: 1;
}
h1, h2, h3 {
  font-weight: 900;
  line-height: 1.3;
}
h2 {
  font-size: 2.2rem;
  color: var(--pink);
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  text-shadow: 2px 2px 0 var(--purple);
}
h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--yellow);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: rgba(74, 44, 94, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--pink);
  box-shadow: 0 4px 20px rgba(255, 105, 180, 0.3);
  z-index: 100;
}
.logo-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-group img {
  height: 36px;
  border-radius: 8px;
  animation: breathing-glow 3s infinite ease-in-out;
}
.logo-group span {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 2px;
}
nav {
  display: none;
}
nav a {
  margin: 0 15px;
  font-size: 1rem;
  font-weight: bold;
  color: var(--text-light);
  transition: color 0.3s;
}
nav a:hover {
  color: var(--pink);
  text-shadow: 0 0 10px var(--pink);
}
.header-btn {
  background: var(--white);
  color: var(--pink);
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 900;
  border: 2px solid var(--pink);
  transition: all 0.3s;
  box-shadow: 0 0 10px rgba(255, 105, 180, 0.5);
}
.header-btn:hover {
  box-shadow: 0 0 20px var(--pink);
  transform: scale(1.05);
}

/* Hero */
.hero {
  position: relative;
  padding-top: 120px;
  padding-bottom: 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 200%;
  background: repeating-conic-gradient(from 0deg at 50% 50%, transparent 0deg 10deg, rgba(255,105,180,0.05) 10deg 20deg);
  transform: translate(-50%, -50%);
  z-index: 0;
  animation: rotate 60s linear infinite;
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-title {
  font-size: 3rem;
  color: var(--white);
  text-shadow: 3px 3px 0 var(--pink), -2px -2px 0 var(--pink), 2px -2px 0 var(--pink), -2px 2px 0 var(--pink), 0 0 20px rgba(255,105,180,0.8);
  margin-bottom: 20px;
  animation: glitch 4s infinite;
}
.hero-subtitle {
  font-size: 1.2rem;
  color: var(--yellow);
  max-width: 600px;
  margin-bottom: 40px;
  font-weight: bold;
}
.hero-actions {
  display: flex;
  gap: 20px;
  margin-bottom: 60px;
}
.btn-primary, .btn-secondary {
  padding: 15px 40px;
  font-size: 1.2rem;
  font-weight: 900;
  border-radius: 30px;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  outline: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--pink), #ff4081);
  color: var(--white);
  box-shadow: 0 8px 25px rgba(255, 105, 180, 0.5);
}
.btn-primary:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 35px rgba(255, 105, 180, 0.7);
}
.btn-secondary {
  background: transparent;
  color: var(--pink);
  border: 2px solid var(--pink);
  box-shadow: 0 0 15px rgba(255, 105, 180, 0.3);
}
.btn-secondary:hover {
  background: rgba(255, 105, 180, 0.1);
  box-shadow: 0 0 25px rgba(255, 105, 180, 0.6);
  transform: translateY(-5px);
}
.hero-posters {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  perspective: 1000px;
}
.poster-card {
  width: 160px;
  height: 240px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.7);
  transform: rotateY(-15deg) rotateX(5deg);
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  border: 3px solid var(--white);
}
.poster-card:nth-child(2) {
  transform: translateY(-20px) rotateY(0deg) rotateX(0deg);
  border-color: var(--pink);
}
.poster-card:nth-child(3) {
  transform: rotateY(15deg) rotateX(5deg);
}
.poster-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.poster-card:hover {
  transform: rotateY(0) rotateX(0) scale(1.1);
  z-index: 10;
}

/* Danmaku */
.danmaku-track {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  height: 40px;
  overflow: hidden;
  z-index: 5;
  white-space: nowrap;
}
.danmaku-item {
  display: inline-block;
  padding: 5px 15px;
  background: rgba(0,0,0,0.6);
  border: 2px solid var(--pink);
  border-radius: 20px;
  color: var(--white);
  font-size: 0.9rem;
  margin-right: 20px;
  animation: scroll-left 15s linear infinite;
}
.danmaku-item:nth-child(even) { animation-duration: 20s; }
.danmaku-item:nth-child(3n) { animation-duration: 25s; }

/* Theater */
.theater-section {
  background: var(--white);
  color: var(--text-main);
  border-radius: 40px 40px 0 0;
  position: relative;
  z-index: 2;
}
.theater-section h2 {
  color: var(--purple);
  text-shadow: none;
}
.grid-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}
.drama-card {
  background: #f8f8f8;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: all 0.4s ease;
  cursor: pointer;
}
.drama-card:hover {
  transform: translateY(-8px) rotate(-1deg);
  box-shadow: 0 15px 30px rgba(255, 105, 180, 0.3);
}
.drama-card img {
  width: 100%;
  height: auto;
  display: block;
}
.drama-info {
  padding: 12px;
}
.drama-title {
  font-size: 1rem;
  font-weight: 900;
  color: var(--purple);
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: bold;
  color: var(--white);
  background: var(--pink);
  margin-right: 5px;
}
.tag.yellow { background: var(--yellow); color: var(--text-main); }
.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 50px;
  height: 50px;
  background: rgba(255, 105, 180, 0.8);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 20px;
  opacity: 0;
  transition: all 0.3s;
  pointer-events: none;
}
.drama-card:hover .play-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Doujin */
.doujin-section {
  background: var(--purple);
  position: relative;
}
.doujin-layout {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.doujin-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.doujin-gallery img {
  width: 100%;
  border-radius: 12px;
  border: 3px solid var(--white);
  box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}
.doujin-gallery img:nth-child(2) {
  margin-top: 30px;
}
.doujin-text {
  background: var(--white);
  color: var(--text-main);
  padding: 30px;
  border-radius: 20px;
  border: 4px solid var(--pink);
  position: relative;
}
.doujin-text::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 30px;
  border-width: 0 15px 15px 15px;
  border-style: solid;
  border-color: transparent transparent var(--pink) transparent;
}
.doujin-text h3 {
  font-size: 1.6rem;
  color: var(--purple);
  margin-bottom: 15px;
}
.doujin-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.d-tag {
  padding: 6px 15px;
  background: rgba(255,105,180,0.1);
  border: 2px solid var(--pink);
  color: var(--pink);
  border-radius: 20px;
  font-weight: bold;
  transition: all 0.3s;
  animation: float 3s ease-in-out infinite alternate;
}
.d-tag:nth-child(even) { animation-delay: 1s; }
.d-tag:nth-child(3n) { animation-delay: 2s; }
.d-tag:hover {
  background: var(--pink);
  color: var(--white);
  transform: scale(1.1);
}

/* Ranking */
.ranking-section {
  background: var(--dark-bg);
}
.podium {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}
.rank-card {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 15px;
  width: 100%;
  max-width: 600px;
  border: 1px solid rgba(255,105,180,0.3);
  transition: all 0.3s;
}
.rank-card:hover {
  background: rgba(255,105,180,0.1);
  transform: scale(1.02);
}
.rank-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--pink);
  width: 60px;
  text-align: center;
  font-style: italic;
}
.rank-card:nth-child(1) { order: 2; border-color: var(--yellow); box-shadow: 0 0 20px rgba(255,230,0,0.3); }
.rank-card:nth-child(2) { order: 1; }
.rank-card:nth-child(3) { order: 3; }
.rank-thumb {
  width: 60px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
  margin-right: 15px;
}
.rank-info h4 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 5px;
}
.rank-info p {
  font-size: 0.85rem;
  color: #aaa;
}

/* App Download */
.app-section {
  background: linear-gradient(180deg, var(--purple) 0%, #1a0b24 100%);
  text-align: center;
  border-radius: 40px;
  margin: 40px 20px;
  padding: 60px 20px;
  border: 4px solid var(--pink);
  box-shadow: 0 0 50px rgba(255,105,180,0.3);
  position: relative;
  overflow: hidden;
}
.app-section h2 {
  color: var(--white);
  text-shadow: none;
}
.app-benefits {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.benefit-item {
  background: rgba(255,255,255,0.1);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--yellow);
}
.store-btns {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 300px;
  margin: 0 auto;
}
.btn-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--pink);
  color: var(--white);
  padding: 16px;
  border-radius: 30px;
  font-weight: 900;
  font-size: 1.1rem;
  transition: all 0.3s;
  box-shadow: 0 5px 15px rgba(255,105,180,0.5);
}
.btn-download:hover {
  background: #ff4081;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255,105,180,0.8);
}
.btn-download.android {
  background: var(--yellow);
  color: var(--purple);
  box-shadow: 0 5px 15px rgba(255,230,0,0.4);
}
.btn-download.android:hover {
  background: #ffd700;
  box-shadow: 0 8px 25px rgba(255,230,0,0.7);
}

/* Schedule */
.schedule-list {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  color: var(--text-main);
}
.schedule-row {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid #eee;
  transition: all 0.3s;
  font-weight: bold;
}
.schedule-row:hover {
  background: rgba(255,105,180,0.1);
  padding-left: 30px;
}
.schedule-row:last-child {
  border-bottom: none;
}
.day {
  color: var(--purple);
  width: 60px;
}

/* Reviews */
.reviews-section {
  overflow: hidden;
  padding: 60px 0;
  background: var(--pink);
  color: var(--white);
}
.reviews-section h2 {
  color: var(--white);
  text-shadow: 2px 2px 0 var(--purple);
}
.reviews-section h2::after {
  background: var(--white);
}
.marquee {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee 20s linear infinite;
}
.marquee:hover {
  animation-play-state: paused;
}
.review-card {
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(5px);
  padding: 15px 25px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.5);
  white-space: nowrap;
  font-weight: bold;
}

/* FAQ */
.faq-item {
  background: var(--white);
  color: var(--text-main);
  border-radius: 20px 20px 20px 0;
  margin-bottom: 15px;
  padding: 20px;
  position: relative;
  border-left: 6px solid var(--pink);
}
.faq-q {
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--purple);
  margin-bottom: 10px;
}
.faq-a {
  font-size: 0.95rem;
  color: #666;
}

/* Footer */
footer {
  background: var(--white);
  color: var(--text-main);
  padding: 40px 20px;
  text-align: center;
  border-top: 4px solid var(--pink);
  font-size: 0.85rem;
  color: #888;
}
.footer-logo {
  height: 30px;
  margin-bottom: 15px;
  filter: grayscale(1);
  opacity: 0.6;
}

/* Animations */
@keyframes breathing-glow {
  0%, 100% { box-shadow: 0 0 5px rgba(255,105,180,0.5); }
  50% { box-shadow: 0 0 20px rgba(255,105,180,1); }
}
@keyframes rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes glitch {
  0%, 100% { transform: translate(0); }
  2% { transform: translate(-2px, 2px); }
  4% { transform: translate(2px, -2px); }
  6% { transform: translate(0); }
}
@keyframes scroll-left {
  from { transform: translateX(100vw); }
  to { transform: translateX(-100%); }
}
@keyframes float {
  0% { transform: translateY(0); }
  100% { transform: translateY(-5px); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Responsive */
@media (min-width: 768px) {
  nav { display: flex; align-items: center; }
  .hero-title { font-size: 4rem; }
  .grid-gallery { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .doujin-layout { flex-direction: row; align-items: center; }
  .doujin-gallery { flex: 1; }
  .doujin-text { flex: 1; }
  .store-btns { flex-direction: row; justify-content: center; max-width: none; }
  .btn-download { padding: 16px 30px; }
  .podium { flex-direction: row; align-items: flex-end; justify-content: center; height: 350px; }
  .rank-card { flex-direction: column; width: 200px; height: 100%; justify-content: flex-end; padding: 20px; text-align: center; }
  .rank-card:nth-child(1) { order: 2; height: 120%; }
  .rank-card:nth-child(2) { order: 1; height: 90%; }
  .rank-card:nth-child(3) { order: 3; height: 80%; }
  .rank-thumb { width: 100%; height: 150px; margin-right: 0; margin-bottom: 15px; }
  .rank-num { position: absolute; top: -40px; left: 50%; transform: translateX(-50%); font-size: 3.5rem; -webkit-text-stroke: 2px var(--white); }
}
@media (min-width: 1024px) {
  .hero-title { font-size: 5rem; }
  .grid-gallery { grid-template-columns: repeat(3, 1fr); gap: 30px; }
  .hero-posters { gap: 40px; }
  .poster-card { width: 220px; height: 330px; }
}