/* ============================================
   妞妞学诗 - Design System
   Chinese Ink Painting Inspired Theme
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;600;700;900&family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

/* --- CSS Variables --- */
:root {
  /* Primary palette – ink & silk */
  --ink-black: #1a1a2e;
  --ink-dark: #2d2d44;
  --ink-gray: #4a4a6a;
  --silk-white: #faf8f5;
  --silk-cream: #f5f0e8;
  --rice-paper: #fdf9f0;

  /* Accent – cinnabar & jade */
  --cinnabar: #c23b22;
  --cinnabar-light: #e8573d;
  --jade: #2d8c6f;
  --jade-light: #3ba88a;
  --gold: #c9a649;
  --gold-light: #dfc06a;

  /* Poetic gradients */
  --sunset-gradient: linear-gradient(135deg, #f5c6aa 0%, #e8a0bf 50%, #b8c6db 100%);
  --dawn-gradient: linear-gradient(135deg, #fce4d6 0%, #f7d1d1 30%, #d4c5e2 70%, #b8d4e3 100%);
  --mist-gradient: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(245,240,232,0.8) 100%);
  --ink-gradient: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 50%, #3d3d5c 100%);

  /* Typography */
  --font-serif: 'Noto Serif SC', 'STSong', 'SimSun', serif;
  --font-sans: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1100px;

  /* Shadows */
  --shadow-soft: 0 4px 30px rgba(26, 26, 46, 0.08);
  --shadow-card: 0 8px 40px rgba(26, 26, 46, 0.1);
  --shadow-elevated: 0 16px 60px rgba(26, 26, 46, 0.15);

  /* Borders */
  --border-subtle: 1px solid rgba(26, 26, 46, 0.08);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--rice-paper);
  color: var(--ink-dark);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--cinnabar);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--cinnabar-light);
}

/* --- Utility --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Floating Petals Animation --- */
.petals-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.petal {
  position: absolute;
  width: 12px;
  height: 12px;
  background: radial-gradient(ellipse at center, #f7c5cc 0%, #f2a0aa 60%, transparent 100%);
  border-radius: 50% 0 50% 0;
  opacity: 0;
  animation: petalFall linear infinite;
}

@keyframes petalFall {
  0% {
    opacity: 0;
    transform: translateY(-20px) rotate(0deg) scale(0.8);
  }
  10% {
    opacity: 0.7;
  }
  90% {
    opacity: 0.4;
  }
  100% {
    opacity: 0;
    transform: translateY(100vh) rotate(720deg) scale(0.3);
  }
}

/* --- Navigation Bar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 20px rgba(26, 26, 46, 0.06);
  padding: 10px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--ink-black);
  letter-spacing: 2px;
}

.nav-logo .logo-icon {
  font-size: 1.6rem;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--ink-gray);
  font-size: 0.95rem;
  font-weight: 400;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--cinnabar);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-links a:hover {
  color: var(--cinnabar);
}

.nav-links a:hover::after {
  width: 100%;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--dawn-gradient);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/landscape_banner.png') center/cover no-repeat;
  opacity: 0.15;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 120px 24px 80px;
  max-width: var(--container-width);
  margin: 0 auto;
}

.hero-text {
  flex: 1;
  animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--cinnabar);
  font-weight: 500;
  margin-bottom: 28px;
  border: 1px solid rgba(194, 59, 34, 0.15);
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--cinnabar);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.3;
  color: var(--ink-black);
  margin-bottom: 8px;
  letter-spacing: 4px;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--cinnabar), var(--cinnabar-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--ink-gray);
  margin-bottom: 24px;
  font-weight: 400;
  letter-spacing: 6px;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--ink-gray);
  line-height: 2;
  margin-bottom: 40px;
  max-width: 480px;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--cinnabar), var(--cinnabar-light));
  color: #fff;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(194, 59, 34, 0.3);
  letter-spacing: 2px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(194, 59, 34, 0.4);
  color: #fff;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  color: var(--ink-dark);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  border: var(--border-subtle);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 2px;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  color: var(--ink-dark);
}

.hero-image {
  flex: 0 0 420px;
  animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-wrapper img {
  border-radius: 24px;
  box-shadow: var(--shadow-elevated);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image-wrapper:hover img {
  transform: scale(1.02);
}

.hero-image-wrapper::after {
  content: '';
  position: absolute;
  inset: -8px;
  border: 2px solid rgba(194, 59, 34, 0.1);
  border-radius: 28px;
  pointer-events: none;
}

/* floating poetry card overlay */
.floating-verse {
  position: absolute;
  bottom: -20px;
  left: -30px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  padding: 20px 28px;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  animation: floatY 4s ease-in-out infinite;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.floating-verse .verse-text {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--ink-black);
  letter-spacing: 3px;
  line-height: 1.8;
}

.floating-verse .verse-author {
  font-size: 0.8rem;
  color: var(--ink-gray);
  text-align: right;
  margin-top: 6px;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--ink-gray);
  font-size: 0.8rem;
  letter-spacing: 2px;
  animation: fadeInUp 1s ease 1.2s both;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--ink-gray);
  border-radius: 12px;
  position: relative;
  opacity: 0.6;
}

.scroll-mouse::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--ink-gray);
  border-radius: 2px;
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { transform: translateX(-50%) translateY(0); opacity: 1; }
  100% { transform: translateX(-50%) translateY(12px); opacity: 0; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Featured Poem Section --- */
.featured-poem {
  padding: var(--section-padding);
  background: var(--silk-white);
  position: relative;
  overflow: hidden;
}

.featured-poem::before {
  content: '詩';
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-serif);
  font-size: 300px;
  color: rgba(26, 26, 46, 0.02);
  font-weight: 900;
  pointer-events: none;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: var(--cinnabar);
  letter-spacing: 4px;
  margin-bottom: 16px;
  position: relative;
}

.section-tag::before,
.section-tag::after {
  content: '—';
  margin: 0 12px;
  color: rgba(194, 59, 34, 0.3);
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--ink-black);
  letter-spacing: 4px;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1rem;
  color: var(--ink-gray);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.poem-showcase {
  display: flex;
  align-items: stretch;
  gap: 48px;
  max-width: 960px;
  margin: 0 auto;
}

.poem-card {
  flex: 1;
  background: var(--rice-paper);
  border-radius: 20px;
  padding: 48px 40px;
  position: relative;
  box-shadow: var(--shadow-soft);
  border: var(--border-subtle);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.poem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--cinnabar), var(--gold), var(--jade));
  border-radius: 20px 20px 0 0;
}

.poem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
}

.poem-dynasty {
  font-size: 0.8rem;
  color: var(--jade);
  letter-spacing: 3px;
  margin-bottom: 8px;
  font-weight: 500;
}

.poem-title-text {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink-black);
  margin-bottom: 4px;
  letter-spacing: 3px;
}

.poem-author {
  font-size: 0.9rem;
  color: var(--ink-gray);
  margin-bottom: 24px;
  letter-spacing: 2px;
}

.poem-lines {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--ink-dark);
  line-height: 2.4;
  letter-spacing: 2px;
}

.poem-lines p {
  margin-bottom: 4px;
}

.poem-meaning {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed rgba(26, 26, 46, 0.1);
}

.poem-meaning-label {
  font-size: 0.75rem;
  color: var(--cinnabar);
  letter-spacing: 3px;
  margin-bottom: 8px;
  font-weight: 500;
}

.poem-meaning-text {
  font-size: 0.92rem;
  color: var(--ink-gray);
  line-height: 1.9;
}

.poem-visual {
  flex: 0 0 360px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.4s ease;
}

.poem-visual:hover {
  transform: scale(1.02);
}

.poem-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Features Section --- */
.features {
  padding: var(--section-padding);
  background: var(--silk-cream);
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  border: var(--border-subtle);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(194, 59, 34, 0.03), rgba(45, 140, 111, 0.03));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-elevated);
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  border-radius: 20px;
  position: relative;
  z-index: 1;
}

.feature-icon.icon-listen {
  background: linear-gradient(135deg, #fce4d6, #f7d1d1);
}

.feature-icon.icon-interact {
  background: linear-gradient(135deg, #d4e8d0, #c5e8d6);
}

.feature-icon.icon-beauty {
  background: linear-gradient(135deg, #d4c5e2, #c5d0e8);
}

.feature-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink-black);
  margin-bottom: 12px;
  letter-spacing: 2px;
  position: relative;
  z-index: 1;
}

.feature-desc {
  font-size: 0.92rem;
  color: var(--ink-gray);
  line-height: 1.9;
  position: relative;
  z-index: 1;
}

/* --- Interactive Demo Section --- */
.demo-section {
  padding: var(--section-padding);
  background: var(--ink-gradient);
  position: relative;
  overflow: hidden;
}

.demo-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/landscape_banner.png') center/cover no-repeat;
  opacity: 0.06;
}

.demo-section .section-tag {
  color: var(--gold-light);
}

.demo-section .section-tag::before,
.demo-section .section-tag::after {
  color: rgba(201, 166, 73, 0.3);
}

.demo-section .section-title {
  color: var(--silk-white);
}

.demo-section .section-desc {
  color: rgba(250, 248, 245, 0.7);
}

.poetry-game {
  max-width: 680px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 48px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.game-prompt {
  text-align: center;
  margin-bottom: 32px;
}

.game-prompt-label {
  font-size: 0.85rem;
  color: var(--gold-light);
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.game-verse {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--silk-white);
  letter-spacing: 6px;
  line-height: 1.6;
}

.game-verse .blank {
  display: inline-block;
  min-width: 60px;
  border-bottom: 2px dashed var(--gold);
  margin: 0 4px;
  position: relative;
  transition: all 0.3s ease;
}

.game-verse .blank.filled {
  border-bottom-color: var(--jade-light);
  color: var(--jade-light);
}

.game-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 36px;
}

.game-option {
  padding: 12px 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: var(--silk-white);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  letter-spacing: 3px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.game-option:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.game-option.correct {
  background: rgba(45, 140, 111, 0.3);
  border-color: var(--jade-light);
  color: var(--jade-light);
}

.game-option.wrong {
  background: rgba(194, 59, 34, 0.3);
  border-color: var(--cinnabar-light);
  color: var(--cinnabar-light);
  animation: shake 0.5s ease;
}

.game-option.disabled {
  pointer-events: none;
  opacity: 0.4;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-8px); }
  75% { transform: translateX(8px); }
}

.game-feedback {
  text-align: center;
  margin-top: 28px;
  min-height: 40px;
}

.game-feedback p {
  font-size: 1rem;
  color: var(--gold-light);
  letter-spacing: 2px;
  animation: fadeInUp 0.5s ease;
}

.game-next-btn {
  display: none;
  margin: 20px auto 0;
  padding: 12px 32px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--ink-black);
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  letter-spacing: 2px;
  transition: all 0.3s ease;
}

.game-next-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(201, 166, 73, 0.4);
}

.game-score {
  text-align: center;
  margin-top: 20px;
  font-size: 0.85rem;
  color: rgba(250, 248, 245, 0.5);
  letter-spacing: 2px;
}

/* --- Poetry Collection Section --- */
.collection {
  padding: var(--section-padding);
  background: var(--silk-white);
}

.poems-carousel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.poem-mini-card {
  background: var(--rice-paper);
  border-radius: 16px;
  padding: 28px 24px;
  border: var(--border-subtle);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.poem-mini-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--cinnabar), var(--gold));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.poem-mini-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.poem-mini-card:hover::before {
  opacity: 1;
}

.poem-mini-dynasty {
  font-size: 0.7rem;
  color: var(--jade);
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.poem-mini-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink-black);
  margin-bottom: 4px;
  letter-spacing: 2px;
}

.poem-mini-author {
  font-size: 0.8rem;
  color: var(--ink-gray);
  margin-bottom: 12px;
}

.poem-mini-excerpt {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: var(--ink-gray);
  line-height: 1.9;
  letter-spacing: 1px;
}

/* --- CTA Section --- */
.cta-section {
  padding: 80px 0;
  background: var(--sunset-gradient);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '學';
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-serif);
  font-size: 250px;
  color: rgba(255, 255, 255, 0.1);
  font-weight: 900;
  pointer-events: none;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--ink-black);
  letter-spacing: 4px;
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 1rem;
  color: var(--ink-gray);
  margin-bottom: 36px;
  letter-spacing: 1px;
}

/* --- Footer --- */
.site-footer {
  background: var(--ink-gradient);
  padding: 48px 0 24px;
  text-align: center;
}

.footer-poem {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: rgba(250, 248, 245, 0.4);
  letter-spacing: 6px;
  margin-bottom: 32px;
  line-height: 2;
}

.copyright {
  font-size: 0.85rem;
  color: rgba(250, 248, 245, 0.5);
  line-height: 1.8;
}

.copyright a {
  color: rgba(250, 248, 245, 0.5);
  transition: color 0.3s ease;
}

.copyright a:hover {
  color: rgba(250, 248, 245, 0.8);
}

.copyright p {
  color: rgba(250, 248, 245, 0.5);
}

.copyright img {
  display: inline;
}

/* --- Scroll Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    padding-top: 100px;
  }

  .hero-image {
    flex: none;
    width: 320px;
  }

  .hero-desc {
    margin: 0 auto 40px;
  }

  .hero-actions {
    justify-content: center;
  }

  .floating-verse {
    left: 10px;
    bottom: -10px;
  }

  .poem-showcase {
    flex-direction: column;
  }

  .poem-visual {
    flex: none;
    max-height: 300px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .poems-carousel {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    letter-spacing: 4px;
  }
}

@media (max-width: 600px) {
  .nav-links {
    display: none;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-image {
    width: 260px;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .poetry-game {
    padding: 32px 20px;
  }

  .game-verse {
    font-size: 1.3rem;
  }

  .poems-carousel {
    grid-template-columns: 1fr;
    max-width: 320px;
  }

  .btn-primary,
  .btn-secondary {
    padding: 14px 28px;
    font-size: 0.9rem;
  }
}
