/* ========================================
   宠光科技官网 - 奶油熊乐园风格
   Design System & Global Styles
   ======================================== */

/* CSS Variables */
:root {
  --color-cream: #FFF8F0;
  --color-cream-light: #FFFDF7;
  --color-warm-orange: #FFB347;
  --color-sakura-pink: #FF8B94;
  --color-sky-blue: #A8D8EA;
  --color-mint-green: #C3E8BD;
  --color-lavender: #D4B8E0;
  --color-text-primary: #5D4E37;
  --color-text-secondary: #8B7355;
  --color-text-light: #A89279;
  --color-card-bg: #FFFFFF;
  --color-footer-bg: #5D4E37;
  --color-border: rgba(93, 78, 55, 0.1);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(93, 78, 55, 0.06);
  --shadow-md: 0 4px 20px rgba(93, 78, 55, 0.1);
  --shadow-lg: 0 8px 40px rgba(93, 78, 55, 0.12);
  --shadow-hover: 0 12px 48px rgba(255, 179, 71, 0.2);

  --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --font-display: 'PingFang SC', 'Microsoft YaHei', sans-serif;

  --container-max: 1200px;
  --nav-height: 72px;
}

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

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

body {
  font-family: var(--font-main);
  color: var(--color-text-primary);
  background-color: var(--color-cream);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--color-sakura-pink);
}

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

/* ========================================
   Navigation
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255, 248, 240, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  display: flex;
  align-items: center;
}

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

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-text-primary);
}

.navbar-brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.navbar-nav a {
  display: block;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.navbar-nav a:hover,
.navbar-nav a.active {
  background: var(--color-warm-orange);
  color: #FFF;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-primary);
  margin: 6px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 80px;
  text-align: center;
  background: linear-gradient(180deg, var(--color-cream) 0%, #FFF5E6 50%, var(--color-cream-light) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 179, 71, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(255, 139, 148, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-mascot {
  width: 160px;
  height: 160px;
  margin: 0 auto 30px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 32px rgba(255, 179, 71, 0.25);
  animation: float 4s ease-in-out infinite;
}

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

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--color-warm-orange), var(--color-sakura-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--color-text-secondary);
  max-width: 500px;
  margin: 0 auto 40px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-warm-orange);
}

.hero-stat-label {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

/* ========================================
   Section Titles
   ======================================== */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-title p {
  color: var(--color-text-secondary);
  font-size: 1.05rem;
}

/* ========================================
   Products Grid
   ======================================== */
.products-section {
  padding: 80px 0;
}

.platform-group {
  margin-bottom: 72px;
}

.platform-group:last-child {
  margin-bottom: 0;
}

.platform-group-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 24px;
  padding-left: 14px;
  border-left: 4px solid var(--color-warm-orange);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  display: block;
  background: var(--color-card-bg);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

.product-card:hover {
  color: inherit;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-warm-orange), var(--color-sakura-pink));
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.product-card:hover::before {
  opacity: 1;
}

.product-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

/* Product logo images on cards */
.product-card-logo {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: var(--radius-md);
  object-fit: cover;
}

/* Product logo on detail page hero */
.product-logo-img {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: var(--radius-md);
  object-fit: cover;
}

.product-icon.orange { background: linear-gradient(135deg, #FFF3E0, #FFE0B2); }
.product-icon.pink { background: linear-gradient(135deg, #FCE4EC, #F8BBD0); }
.product-icon.blue { background: linear-gradient(135deg, #E3F2FD, #BBDEFB); }
.product-icon.green { background: linear-gradient(135deg, #E8F5E9, #C8E6C9); }
.product-icon.purple { background: linear-gradient(135deg, #F3E5F5, #E1BEE7); }
.product-icon.cyan { background: linear-gradient(135deg, #E0F7FA, #B2EBF2); }

.product-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-text-primary);
}

.product-card p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
}

.product-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.platform-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  background: var(--color-cream);
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
}

/* ========================================
   About Section
   ======================================== */
.about-section {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--color-cream-light) 0%, #FFF5E6 100%);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--color-text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-image {
  display: flex;
  justify-content: center;
}

.about-bear {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--color-footer-bg);
  color: rgba(255, 255, 255, 0.8);
  padding: 48px 0 32px;
  margin-top: auto;
}

.footer-content {
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.footer-logo img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.footer-logo span {
  font-size: 1.1rem;
  font-weight: 600;
  color: #FFF;
}

.footer-info {
  font-size: 0.9rem;
  line-height: 2;
}

.footer-info a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-info a:hover {
  color: var(--color-warm-orange);
}

.footer-divider {
  width: 60px;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  margin: 20px auto;
  border-radius: 1px;
}

.footer-copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   Product Detail Page
   ======================================== */
.product-hero {
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 60px;
  text-align: center;
  background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-cream-light) 100%);
}

.product-hero .back-btn {
  display: inline-flex;
  margin-bottom: 24px;
  font-size: 0.85rem;
}

.product-hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.product-hero .subtitle {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
}

.product-hero .platforms {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.product-hero .store-hint {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-warm-orange), #FF9800);
  color: #FFF;
  box-shadow: 0 4px 15px rgba(255, 179, 71, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 179, 71, 0.4);
  color: #FFF;
}

.btn-outline {
  background: transparent;
  color: var(--color-text-primary);
  border: 2px solid var(--color-border);
}

.btn-outline:hover {
  border-color: var(--color-warm-orange);
  color: var(--color-warm-orange);
}

/* Screenshots Gallery */
.screenshots-section {
  padding: 60px 0;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.screenshot-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

.screenshot-item:hover {
  transform: scale(1.03);
}

.screenshot-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* Features list on product page */
.features-section {
  padding: 60px 0;
  background: var(--color-card-bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.feature-item {
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--color-cream);
  border: 1px solid var(--color-border);
}

.feature-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-item p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ========================================
   Bear decorative elements (CSS only)
   ======================================== */
.bear-paw {
  display: inline-block;
  width: 24px;
  height: 24px;
  background: var(--color-warm-orange);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  position: relative;
  opacity: 0.3;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--color-warm-orange);
  color: #FFF;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-sakura-pink);
  transform: translateY(-3px);
}

/* Cute bear face in back-to-top (CSS art) */
.back-to-top .bear-face {
  width: 28px;
  height: 24px;
  background: #FFF;
  border-radius: 50%;
  position: relative;
}

.back-to-top .bear-face::before,
.back-to-top .bear-face::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background: #FFF;
  border-radius: 50%;
  top: -5px;
}

.back-to-top .bear-face::before { left: 1px; }
.back-to-top .bear-face::after { right: 1px; }

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .menu-toggle {
    display: block;
  }

  .navbar-nav {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(255, 248, 240, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--color-border);
    gap: 4px;
  }

  .navbar-nav.active {
    display: flex;
  }

  .navbar-nav a {
    padding: 12px 20px;
    width: 100%;
    text-align: center;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero {
    padding-top: calc(var(--nav-height) + 40px);
    padding-bottom: 50px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

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

  .hero-mascot {
    width: 120px;
    height: 120px;
  }

  .hero-stats {
    gap: 24px;
  }

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

  .about-bear {
    width: 200px;
    height: 200px;
  }

  .screenshots-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .product-hero h1 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .screenshots-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ========================================
   Animations
   ======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Bear blink animation for decorative use */
@keyframes blink {
  0%, 90%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(0.1); }
}

/* Gentle bounce for icons */
@keyframes gentle-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.product-card:hover .product-icon {
  animation: gentle-bounce 0.6s ease;
}

/* ========================================
   QR Code Modal
   ======================================== */
.qr-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.qr-modal-overlay.active {
  display: flex;
}

.qr-modal {
  background: #FFF;
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  max-width: 380px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  position: relative;
}

.qr-modal .qr-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--color-cream);
  color: var(--color-text-secondary);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.qr-modal .qr-close:hover {
  background: var(--color-sakura-pink);
  color: #FFF;
}

.qr-modal h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text-primary);
}

.qr-modal p {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
}

.qr-modal img {
  width: 220px;
  height: 220px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  object-fit: contain;
}






/* ========================================
   Feedback CTA & Modal
   ======================================== */
.feedback-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  margin-bottom: 40px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #FFF3E0 0%, #FCE4EC 100%);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.feedback-cta-text h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-text-primary);
}

.feedback-cta-text p {
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.feedback-cta .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .feedback-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 20px;
  }
}

.feedback-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* 用 !important 覆盖 HTML 里的内联 display:none 兄弟规则（那个内联样式是防止 CSS 缓存旧版本洩露弹窗的兑底） */
.feedback-modal-overlay.active { display: flex !important; }

.feedback-modal {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: #FFF;
  border-radius: var(--radius-lg);
  padding: 32px 28px 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  max-height: 90vh;
  overflow-y: auto;
}

.feedback-modal h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 6px;
}

.feedback-modal .feedback-tip {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
}

.feedback-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--color-cream);
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.feedback-close:hover {
  background: var(--color-sakura-pink);
  color: #FFF;
}

.feedback-field { display: block; margin-bottom: 16px; }

.feedback-field > span {
  display: block;
  font-size: 0.88rem;
  color: var(--color-text-primary);
  margin-bottom: 6px;
  font-weight: 500;
}

.feedback-field > span em {
  color: var(--color-sakura-pink);
  font-style: normal;
  margin-left: 2px;
}

.feedback-field textarea,
.feedback-field input {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-cream-light);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--color-text-primary);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
}

.feedback-field textarea { min-height: 110px; line-height: 1.6; }

.feedback-field textarea:focus,
.feedback-field input:focus {
  border-color: var(--color-warm-orange);
  box-shadow: 0 0 0 3px rgba(255, 179, 71, 0.15);
}

.feedback-msg {
  min-height: 20px;
  font-size: 0.85rem;
  margin-bottom: 8px;
  color: var(--color-text-secondary);
}
.feedback-msg.error { color: #E53935; }
.feedback-msg.success { color: #2E7D32; }

.feedback-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
}

.feedback-actions .btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* ========================================
   Video Embed Section
   ======================================== */
.video-section {
  padding: 60px 0;
}

.video-section .section-title {
  margin-bottom: 30px;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #000;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}