@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Space+Grotesk:wght@400;600;700&display=swap');

:root {
  --primary-blue: #0070f3;
  --primary-pink: #f81ce5;
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(255, 255, 255, 0.4);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Outfit', sans-serif;
  
  --gradient-accent: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-pink) 100%);
  --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  /* Lớp phủ sáng lên trên background để chữ dễ đọc */
  background-color: rgba(255, 255, 255, 0.5);
}

/* Background Animated GIF */
.bg-gif {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -2;
}

/* Lớp phủ tráng gương cho toàn bộ body */
.bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background: rgba(255, 255, 255, 0.7); /* Tăng độ mờ trắng để làm nổi bật chữ */
  backdrop-filter: blur(8px); /* Làm mờ nhẹ gif đằng sau */
}

/* Corner Duck Mascot */
#corner-duck {
  position: fixed;
  top: -80px;
  left: -80px;
  width: 500px;
  height: 500px;
  z-index: -1;
  transition: all 0.85s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
  transform: rotate(135deg);
  filter: drop-shadow(0 8px 15px rgba(0,0,0,0.15));
}

#corner-duck.hiding {
  transform: translate(-150px, -150px) scale(0.25) rotate(135deg);
  opacity: 0.6;
}

/* Typography Utilities */
h1, h2, h3, h4, .logo {
  font-family: var(--font-display);
}

.gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* Navbar - Dynamic Island Style */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1.5rem;
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  gap: 3rem;
  border-radius: 99px;
  z-index: 100;
  /* Slightly more transparent & softer glass effect for header */
  background: rgba(255,255,255,0.42);
  backdrop-filter: blur(12px) saturate(1.05);
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

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

.nav-btn {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 99px;
  text-decoration: none;
  font-weight: 600;
  font-family: var(--font-display);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: none;
}

.btn-primary {
  background: #ffe4e6;
  color: #f43f5e;
  position: relative;
  z-index: 1;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(244, 63, 94, 0.15);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  background: #fb7185;
  /* Updated SVG path for a perfect upright heart */
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  transform: translate(-50%, -50%) scale(0);
  /* Slower transition (1s) for a magical feeling */
  transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.btn-primary:hover {
  color: white;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(251, 113, 133, 0.5);
}

.btn-primary:hover::before {
  transform: translate(-50%, -50%) scale(30);
}

.btn-outline {
  background: var(--glass-bg);
  color: var(--primary-blue);
  border: 1px solid var(--primary-blue);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: var(--primary-blue);
  color: white;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Thuy Tinh - Glassmorphism Light */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 8rem 5% 4rem;
  gap: 4rem;
  max-width: 100vw;
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.badge {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--primary-pink);
  padding: 0.6rem 1.2rem;
  border-radius: 99px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08), 0 0 20px rgba(248, 28, 229, 0.15);
  backdrop-filter: blur(8px);
}

.title {
  font-size: 4.5rem;
  line-height: 1.1;
  letter-spacing: -2px;
}

.subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 90%;
  font-weight: 500;
}

.cta-group {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

/* Mockup Glass */
.hero-image-wrapper {
  perspective: 1000px;
  max-width: 500px;
  margin: 0 auto;
}

.glass-mockup {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  backdrop-filter: blur(25px);
  box-shadow: var(--shadow-soft);
  transform: rotateY(-15deg) rotateX(5deg) scale(1.3);
  transition: transform 0.5s ease;
  transform-origin: center center;
}

.glass-mockup:hover {
  transform: rotateY(0deg) rotateX(0deg) scale(1.3);
}

.mockup-header {
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.mockup-body {
  padding: 2rem;
}

.chat-message {
  display: flex;
  gap: 1rem;
}

.avatar {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.message-content .username {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.message-content p {
  font-size: 1.05rem;
}

.bot-tag {
  background: var(--primary-pink);
  color: white;
  font-size: 0.6rem;
  padding: 0.1rem 0.3rem;
  border-radius: 3px;
}

.embed {
  margin-top: 1.2rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  padding: 1.2rem 1.4rem;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.02);
}

.embed-border {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-accent);
}

.embed h4 { margin-bottom: 0.5rem; color: var(--primary-pink); }
.embed code { 
  background: rgba(0,0,0,0.05);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-family: monospace;
  color: var(--primary-blue);
  font-weight: 600;
}

/* Sections */
section {
  padding: 6rem 5%;
}

.section-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 4rem;
  letter-spacing: -1px;
}

/* About Section - Stats */
.about-section {
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* 2 con vịt trang trí 2 bên */
.about-duck {
  position: absolute;
  width: 330px;
  height: 350px;
  top: 70%;
  transform: translateY(-50%);
  z-index: 2;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.1));
  /* Transition bay ra: chậm, mượt */
  transition: all 0.8s cubic-bezier(0.4, 0, 1, 1);
  opacity: 0;
  pointer-events: none;
}

.about-duck-left {
  width: 370px;
  height: 360px;
  left: -380px;
  transform: translateY(-50%) rotate(-15deg);
}

.about-duck-right {
  top: 69%;
  right: -340px;
  transform: translateY(-50%) rotate(15deg);
}

/* Khi scroll tới -> vịt bay vào */
.about-section.ducks-visible .about-duck {
  opacity: 1;
  /* Transition bay vào: bounce nhẹ */
  transition: all 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-section.ducks-visible .about-duck-left {
  left: 2%;
  transform: translateY(-50%) rotate(0deg);
  transition-delay: 0.1s;
}

.about-section.ducks-visible .about-duck-right {
  right: 2%;
  transform: translateY(-50%) rotate(0deg);
  transition-delay: 0.3s;
}

.about-desc {
  max-width: 600px;
  margin: -2rem auto 3.5rem;
  color: var(--text-secondary);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.7;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.stat-card {
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.stat-card:hover::before {
  transform: scaleX(1);
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.stat-icon {
  margin-bottom: 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* Guide Timeline */
.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(0,0,0,0.1);
}

.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 3rem;
}

.timeline-dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 42px;
  height: 42px;
  background: var(--gradient-accent);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: white;
  z-index: 1;
  box-shadow: 0 4px 10px rgba(248, 28, 229, 0.2);
}

.timeline-content {
  padding: 2rem;
}

.timeline-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-blue);
}

.timeline-content p {
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.code-block {
  background: white;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.code-block code {
  color: var(--primary-blue);
  font-family: monospace;
  font-weight: 600;
}

.command-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.command-list li {
  color: var(--text-secondary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.command-list span {
  background: rgba(0, 112, 243, 0.1);
  color: var(--primary-blue);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-family: monospace;
  font-weight: 700;
}

.mt-2 { margin-top: 1rem; }
.btn-small { padding: 0.5rem 1rem; font-size: 0.9rem; }

/* Sticker Note - Pinned Cute Style */
.sticker-note {
  max-width: 900px;
  margin: 0 auto 2rem;
  position: relative;
  background: linear-gradient(180deg, #fff8d6 0%, #fff0a8 100%);
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.12);
  transform: rotate(-3deg);
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sticker-note:hover {
  transform: rotate(0deg) translateY(-8px);
  box-shadow: 0 22px 60px rgba(0,0,0,0.16);
}

.sticker-note img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255,255,255,0.85);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  margin-bottom: 6px;
}

.sticker-note h3 {
  margin: 0 0 8px 0;
  font-size: 1.2rem;
  color: #1f2937;
}

.sticker-note p {
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.sticker-note ul { margin: 0 0 8px 18px; color: var(--text-secondary); text-align: left; }

.sticker-note .sticker-note-content { width: 100%; max-width: 720px; }

.sticker-pin {
  position: absolute;
  top: -18px;
  left: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, #fff3bf 40%, #ffdede 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #ef4444;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  transform: rotate(-20deg);
  z-index: 5;
}

/* Folded paper corner (top-left) */
.sticker-note::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,240,160,1) 100%);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  box-shadow: inset -8px 8px 14px rgba(0,0,0,0.06);
  border-top-left-radius: 12px;
  z-index: 2;
}

/* small inner fold highlight */
.sticker-note::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.6));
  clip-path: polygon(0 0, 100% 0, 0 100%);
  transform: rotate(0deg);
  z-index: 3;
}

@media (max-width: 900px) {
  .sticker-note { transform: rotate(0); padding:16px; }
  .sticker-pin { left: 12px; top: -14px; width:36px; height:36px; font-size:18px; }
  .sticker-note img { width:72px; height:72px; }
  .sticker-note ul { text-align: left; }
}

/* SVG sticker art sizing */
.sticker-art {
  width: 420px;
  max-width: 92vw;
  margin: 0 auto;
  display: block;
}

.sticker-art svg { display: block; width: 100%; height: auto; }

/* ensure caption does not overlap folded corner */
.sticker-note .sticker-note-content { padding-top: 8px; }

/* Duck Links Của Guide */
.ig-links-title {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--primary-blue);
  margin: 5rem auto -2rem;
}

.duck-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 4rem auto 0;
}

/* Instagram Post Styling */
.ig-top-banner {
  padding: 8px;
  text-align: center;
  font-weight: 800;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 1px;
}

.banner-docs { background: linear-gradient(135deg, #dbeafe, #bae6fd); color: #0369a1; }
.banner-support { background: linear-gradient(135deg, #d1fae5, #a7f3d0); color: #047857; }
.banner-donate { background: linear-gradient(135deg, #fbcfe8, #f9a8d4); color: #be185d; }

/* Instagram Post Styling */
.ig-card {
  background: white;
  border: 1px solid #dbdbdb;
  border-radius: 8px;
  text-decoration: none;
  color: #262626;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  text-align: left;
}

.ig-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.ig-header {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid #efefef;
}

.ig-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #dbdbdb;
  padding: 2px;
}

.ig-user {
  display: flex;
  flex-direction: column;
  margin-left: 10px;
  flex: 1;
  text-align: left;
}

.ig-username {
  font-weight: 600;
  font-size: 14px;
  color: #262626;
}

.ig-location {
  font-size: 12px;
  color: #8e8e8e;
  margin-top: 2px;
}

.ig-more {
  color: #262626;
  font-size: 14px;
}

.ig-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid #efefef;
  position: relative;
}

.ig-image img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  filter: drop-shadow(0 8px 15px rgba(0,0,0,0.1));
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ig-card:hover .ig-image img {
  transform: scale(1.1) translateY(-5px);
}

.ig-actions {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  font-size: 22px;
  color: #262626;
}

.ig-action-left {
  display: flex;
  gap: 16px;
}

.ig-action-left i:hover, .ig-actions > i:hover {
  color: #8e8e8e;
  transition: color 0.2s;
}

.ig-likes {
  font-weight: 600;
  font-size: 14px;
  padding: 0 14px;
  margin-bottom: 6px;
  text-align: left;
}

.ig-caption {
  font-size: 14px;
  padding: 0 14px 14px;
  line-height: 1.4;
  text-align: left;
}

/* IG Comments Modal */
.ig-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.ig-modal-overlay.show {
  opacity: 1;
  pointer-events: all;
  backdrop-filter: blur(2px);
}

.ig-modal-content {
  background: white;
  width: 110%;
  max-width: 1000px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.ig-modal-overlay.show .ig-modal-content {
  transform: translateY(0) scale(1);
}

.ig-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #dbdbdb;
  font-weight: 600;
  color: #262626;
}

.ig-modal-header h3 {
  font-size: 16px;
  margin: 0;
  text-align: center;
  flex: 1;
}

.close-modal {
  font-size: 20px;
  cursor: pointer;
  color: #262626;
}

.ig-modal-body {
  padding: 16px;
  max-height: 60vh;
  overflow-y: auto;
}

.ig-comment {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
}

.ig-comment-content {
  flex: 1;
  margin: 0 12px;
  font-size: 14px;
  color: #262626;
  line-height: 1.4;
}

.ig-comment-text {
  word-wrap: break-word;
}

.ig-link {
  color: #0070f3;
  background: rgba(0, 112, 243, 0.1);
  padding: 0px 6px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  margin: 0 2px;
  transition: background 0.2s ease;
}

.ig-link:hover {
  background: rgba(0, 112, 243, 0.2);
}

.ig-comment-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: #8e8e8e;
  margin-top: 6px;
  font-weight: 500;
}

.ig-comment-like {
  font-size: 12px;
  color: #8e8e8e;
  margin-top: 6px;
  cursor: pointer;
}

.ig-modal-footer {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-top: 1px solid #dbdbdb;
  gap: 12px;
}

.ig-avatar-small {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.ig-modal-footer input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  color: #262626;
}

.ig-post-btn {
  color: #0095f6;
  font-weight: 600;
  font-size: 14px;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.5;
}

/* Arrow Hint */
.bounce-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #ff85a2;
  font-weight: 700;
  font-size: 14px;
  margin-top: 15px;
  margin-bottom: 5px;
}

.arrow-bounce {
  font-size: 22px;
  animation: bounceDown 1.5s infinite;
}

@keyframes bounceDown {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(-4px);
  }
}

/* Footer */
.footer {
  text-align: center;
  padding: 1.5rem 5%;
  border-top: 1px solid var(--glass-border);
  margin-top: 4rem;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
}

.footer p { color: var(--text-secondary); font-size: 0.95rem; font-weight: 600; margin: 0; }

/* Animations & Utilities */
.hidden-init {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s forwards ease-out;
}

.navbar.hidden-init { animation-delay: 0.2s; }
.hero.hidden-init { animation-delay: 0.4s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.reveal-active {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
}

/* Responsive - Tablet */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 10rem;
  }
  .hero-content { align-items: center; }
  .title { font-size: 2.5rem; letter-spacing: -1px; }
  .subtitle { font-size: 1.1rem; max-width: 100%; }
  .hero-image-wrapper { perspective: none; }
  .glass-mockup { transform: none; margin-top: 2rem; text-align: left; }
  .glass-mockup:hover { transform: none; }
  .nav-links { display: none; }
  
  /* Thu nhỏ navbar cho mobile */
  .navbar {
    gap: 1rem;
    padding: 0.6rem 1rem !important;
    max-width: 90vw;
  }
  .logo { font-size: 1.2rem; }
  .nav-btn { padding: 0.4rem 0.8rem; font-size: 0.85rem; }

  /* Thu nhỏ vịt trên tablet */
  #corner-duck {
    width: 140px;
    height: 140px;
    top: -25px;
    left: -25px;
  }
  #corner-duck.hiding {
    transform: translate(-50px, -50px) scale(0.3) rotate(135deg);
  }

  .section-title { font-size: 2.2rem; margin-bottom: 2.5rem; }
  .stat-grid { grid-template-columns: 1fr; max-width: 400px; }
  .stat-card { padding: 2rem; }
  .stat-number { font-size: 2.5rem; }
  .about-desc { font-size: 1rem; margin-bottom: 2.5rem; }
  .about-duck { display: none; }
  .cta-group { flex-direction: column; width: 100%; }
  .cta-group .btn { width: 100%; justify-content: center; }

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

/* Responsive - Phone nhỏ */
@media (max-width: 480px) {
  .hero {
    padding: 8rem 4% 3rem;
    min-height: auto;
  }
  .title { font-size: 2rem; letter-spacing: -0.5px; }
  .subtitle { font-size: 1rem; }
  .badge { font-size: 0.75rem; padding: 0.4rem 0.8rem; }

  /* Navbar siêu gọn */
  .navbar {
    gap: 0.6rem;
    padding: 0.5rem 0.8rem !important;
    max-width: 92vw;
    top: 10px;
  }
  .logo { font-size: 1.1rem; }
  .nav-btn { padding: 0.35rem 0.7rem; font-size: 0.8rem; }

  /* Vịt rất nhỏ trên phone */
  #corner-duck {
    width: 100px;
    height: 100px;
    top: -18px;
    left: -18px;
  }
  #corner-duck.hiding {
    transform: translate(-40px, -40px) scale(0.25) rotate(135deg);
  }

  section { padding: 4rem 4%; }
  .section-title { font-size: 1.8rem; margin-bottom: 2rem; }
  .btn-large { padding: 0.85rem 1.5rem; font-size: 1rem; }
  .timeline-content { padding: 1.5rem; }
  .timeline-content h3 { font-size: 1.25rem; }
}


/* Music Toggle Button */
.music-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  color: #ff85a2;
  font-size: 20px;
  cursor: pointer;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.music-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 133, 162, 0.3);
}

.music-btn.playing {
  animation: pulseMusic 2s infinite;
  border-color: #ff85a2;
}

@keyframes pulseMusic {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 133, 162, 0.4); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(255, 133, 162, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 133, 162, 0); }
}
/* Scroll down indicator */
.scroll-down-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--primary-pink);
  font-size: 1.8rem;
  animation: bounce 2s infinite;
  z-index: 10;
  cursor: pointer;
  transition: opacity 0.3s ease;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.1));
}

.scroll-down-indicator:hover {
  color: var(--primary-blue);
}

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

/* Special Thanks - Cartoon Sticker Style */
.cartoon-sticker-group {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.sticker-note-wrapper .sticker-note {
  max-width: 100%;
  transform: rotate(-1deg);
  background: #fff;
  border: 3px solid #0f172a;
  box-shadow: 12px 12px 0 #0f172a;
  border-radius: 4px;
  padding: 4rem 3rem 3rem;
  position: relative;
}

/* Washi Tape Art */
.washi-tape {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%) rotate(2deg);
  width: 200px;
  height: 50px;
  background: rgba(251, 113, 133, 0.6);
  backdrop-filter: blur(2px);
  z-index: 10;
  border: 1px solid rgba(251, 113, 133, 0.3);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.washi-tape::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle, rgba(255,255,255,0.4) 1px, transparent 1px);
  background-size: 15px 15px;
}

.special-thanks-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  text-align: left;
}

@media (max-width: 768px) {
  .special-thanks-list {
    grid-template-columns: 1fr;
  }
}

.thank-item {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.thank-item p {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.6;
  font-weight: 500;
}

.badge-link {
  display: inline-block;
  width: fit-content;
  padding: 6px 16px;
  border-radius: 99px;
  text-decoration: none;
  font-family: 'Mali', cursive;
  font-weight: 700;
  font-size: 1.25rem;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 2px solid #0f172a;
}

.badge-link:hover {
  transform: translateY(-4px) rotate(2deg);
  box-shadow: 4px 4px 0 #0f172a;
}

.badge-blue { background: #bae6fd; color: #0369a1; }
.badge-green { background: #dcfce7; color: #15803d; }
.badge-pink { background: #fce7f3; color: #be185d; }
.badge-yellow { background: #fef9c3; color: #a16207; }

/* Thêm font sticker vào tiêu đề thanks */
.sticker-note-wrapper h3 {
  font-family: 'Mali', cursive;
  font-weight: 800;
  letter-spacing: -1px;
}

/* Animations for scroll reveal */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.reveal-active {
  opacity: 1;
  transform: translateY(0);
}
