:root {
  --bg-color: #fcfcfc;
  --brand-pink: #ff8e9e;
  --brand-yellow: #ffda77;
  --brand-mint: #6ee7b7;
  --brand-blue: #93c5fd;
  --text-main: #2d2d2d;
  --text-light: #6b7280;
  --card-bg: #ffffff;
  --shadow-soft: 0 10px 30px rgba(255, 142, 158, 0.15);
  --shadow-hover: 0 20px 40px rgba(255, 142, 158, 0.25);
  --radius-lg: 24px;
  --radius-pill: 30px;
}

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

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

ul {
  list-style: none;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(252, 252, 252, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: 1px solid rgba(255, 142, 158, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

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

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

.quick-links {
  display: none;
  gap: 12px;
  font-size: 14px;
}

.main-nav {
  display: none;
  background: #fff;
  border-radius: var(--radius-pill);
  padding: 6px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.main-nav a {
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  transition: all 0.3s ease;
}

.main-nav a:hover, .main-nav a.active {
  background: linear-gradient(135deg, var(--brand-pink), var(--brand-yellow));
  color: #fff;
  font-weight: bold;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-download {
  background: var(--brand-pink);
  color: #fff;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(255, 142, 158, 0.3);
  transition: all 0.3s ease;
}

.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 142, 158, 0.4);
}

/* Hero Section */
.hero {
  margin-top: 80px;
  padding: 60px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: radial-gradient(circle at 20% 20%, rgba(255, 218, 119, 0.3) 0%, transparent 40%),
              radial-gradient(circle at 80% 30%, rgba(255, 142, 158, 0.2) 0%, transparent 40%),
              radial-gradient(circle at 50% 80%, rgba(147, 197, 253, 0.2) 0%, transparent 40%);
  filter: blur(40px);
}

.hero-tag {
  background: var(--brand-yellow);
  color: #5a4200;
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 36px;
  line-height: 1.3;
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
}

.hero h1::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 12px;
  background: var(--brand-yellow);
  z-index: -1;
  border-radius: 6px;
}

.hero p {
  font-size: 16px;
  color: var(--text-light);
  max-width: 600px;
  margin-bottom: 32px;
}

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

.btn-primary {
  background: var(--brand-pink);
  color: #fff;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-size: 18px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  animation: pulse 2s infinite;
}

.btn-secondary {
  background: #fff;
  color: var(--brand-pink);
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-size: 18px;
  font-weight: bold;
  border: 2px solid var(--brand-pink);
  cursor: pointer;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 142, 158, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(255, 142, 158, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 142, 158, 0); }
}

.btn-secondary:hover {
  transform: translateY(-2px);
}

.hero-img {
  margin-top: 40px;
  width: 100%;
  max-width: 800px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  animation: morph 8s ease-in-out infinite alternate;
}

@keyframes morph {
  0% { border-radius: 24px 60px 24px 60px; }
  100% { border-radius: 60px 24px 60px 24px; }
}

/* Section Common */
.section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 28px;
  margin-bottom: 32px;
  text-align: center;
  position: relative;
}

.section-title span {
  background: linear-gradient(180deg, transparent 60%, rgba(255, 218, 119, 0.6) 60%);
  padding: 0 8px;
}

/* Movie Grid */
.movie-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.movie-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.movie-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.movie-card:hover img {
  transform: scale(1.05);
}

.movie-info {
  padding: 20px;
}

.movie-info h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.movie-info p {
  font-size: 14px;
  color: var(--text-light);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Anime Grid */
.anime-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.anime-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  position: relative;
}

.anime-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.anime-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.anime-card:hover img {
  transform: scale(1.05);
}

.anime-info {
  padding: 12px;
}

.anime-info h3 {
  font-size: 15px;
  margin-bottom: 6px;
}

.anime-info p {
  font-size: 12px;
  color: var(--text-light);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}

.play-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: var(--brand-pink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.review-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  gap: 16px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease;
}

.review-card:hover {
  transform: translateY(-4px);
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand-mint), var(--brand-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  flex-shrink: 0;
}

.review-content h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

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

.review-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
}

.tag {
  padding: 2px 8px;
  border-radius: 8px;
  background: #f3f4f6;
  color: var(--text-light);
}

.tag.pink { background: rgba(255, 142, 158, 0.1); color: var(--brand-pink); }
.tag.mint { background: rgba(110, 231, 183, 0.1); color: #059669; }

/* Q&A */
.qa-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.qa-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 20px;
  border-left: 6px solid var(--brand-blue);
  box-shadow: var(--shadow-soft);
}

.qa-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--brand-pink);
}

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

/* Download Section */
.download-section {
  background: #2d2d2d;
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 60px;
}

.download-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: var(--brand-pink);
  filter: blur(80px);
  border-radius: 50%;
  opacity: 0.4;
}

.download-section h2 {
  font-size: 24px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.download-section p {
  color: #ccc;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.btn-download-dark {
  background: var(--brand-pink);
  color: #fff;
  padding: 12px 32px;
  border-radius: var(--radius-pill);
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-download-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 142, 158, 0.4);
}

/* Floating Widget */
.floating-widget {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.quick-panel {
  background: #fff;
  padding: 12px 16px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quick-panel a {
  font-size: 13px;
  font-weight: bold;
  color: var(--text-main);
  text-align: center;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--bg-color);
  transition: background 0.3s;
}

.quick-panel a:hover {
  background: var(--brand-yellow);
}

.float-btn {
  width: 56px;
  height: 56px;
  background: var(--brand-pink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  box-shadow: 0 4px 12px rgba(255, 142, 158, 0.5);
  animation: bounce 2s infinite;
  cursor: pointer;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* Footer */
.footer {
  background: #f9f9f9;
  padding: 40px 20px;
  text-align: center;
  color: var(--text-light);
  font-size: 12px;
}

.footer p {
  margin-bottom: 8px;
}

.footer a {
  color: var(--text-light);
  text-decoration: underline;
}

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

/* Responsive Breakpoints */
@media (min-width: 768px) {
  .quick-links { display: flex; }
  .hero h1 { font-size: 48px; }
  .movie-grid { grid-template-columns: repeat(2, 1fr); }
  .anime-grid { grid-template-columns: repeat(3, 1fr); }
  .anime-card img { height: 320px; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .main-nav { display: flex; }
  .hero { flex-direction: row; text-align: left; justify-content: space-between; padding: 80px 20px; }
  .hero-content { max-width: 50%; }
  .hero-img { margin-top: 0; max-width: 45%; border-radius: 40px 100px 40px 100px; }
  .movie-grid { grid-template-columns: repeat(3, 1fr); }
  .anime-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
  .qa-list { display: grid; grid-template-columns: repeat(2, 1fr); }
}