/* ============================================
   茶源记 — Brand Redesign
   Premium Chinese Tea, Philippines
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

:root {
  --green-deep: #1a4a2a;
  --green-mid: #2d6b3d;
  --green-light: #4a8c5c;
  --gold: #c9a84c;
  --gold-light: #e8d48b;
  --cream: #faf6f0;
  --cream-dark: #f0e8dc;
  --charcoal: #1a1a1a;
  --text-body: #3a3a3a;
  --text-muted: #7a7a7a;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.1);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  color: var(--text-body);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--charcoal);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201, 168, 76, 0.1);
  padding: 8px 20px;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--gold);
  color: var(--charcoal);
}

.btn-primary:hover {
  background: #b89430;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

.btn-green {
  background: var(--green-deep);
  color: var(--white);
}

.btn-green:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 74, 42, 0.3);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: all 0.4s ease;
}

.nav.scrolled {
  background: rgba(250, 246, 240, 0.95);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', 'Ma Shan Zheng', 'Noto Serif SC', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--green-deep);
  letter-spacing: -0.5px;
}

.nav__logo-img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.nav__logo span { color: var(--gold); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__link {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: color 0.3s;
  position: relative;
}

.nav.scrolled .nav__link {
  color: var(--text-muted);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s;
}

.nav__link:hover { color: var(--white); }
.nav__link:hover::after { width: 100%; }

.nav.scrolled .nav__link:hover { color: var(--green-deep); }

.nav__cta {
  background: var(--gold);
  color: var(--charcoal);
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.3s;
}

.nav__cta.nav__link:hover { color: var(--charcoal); }

.nav__cta:hover {
  background: #b89430;
  transform: translateY(-1px);
}

.nav__cta::after { display: none; }

/* Language Toggle */
.lang-toggle {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.25);
  padding: 4px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
  line-height: 1.4;
}

.lang-toggle:hover {
  background: rgba(255,255,255,0.2);
  border-color: var(--gold);
  color: var(--white);
}

.nav.scrolled .lang-toggle {
  background: rgba(26, 74, 42, 0.08);
  color: var(--text-muted);
  border-color: rgba(26, 74, 42, 0.15);
}

.nav.scrolled .lang-toggle:hover {
  background: var(--green-deep);
  border-color: var(--green-deep);
  color: var(--white);
}

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav.scrolled .nav__toggle span {
  background: var(--charcoal);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.hero__slide.active {
  opacity: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 10, 0.75) 0%,
    rgba(10, 10, 10, 0.4) 50%,
    rgba(10, 10, 10, 0.6) 100%
  );
  z-index: 1;
}

.hero__pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 1;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 24px;
  margin: 0 auto;
  text-align: center;
  animation: heroFadeIn 1.2s ease forwards;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201, 168, 76, 0.15);
  padding: 8px 20px;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(201, 168, 76, 0.2);
  opacity: 0;
  animation: heroFadeIn 0.8s 0.3s ease forwards;
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.1;
  letter-spacing: -0.5px;
  opacity: 0;
  animation: heroFadeIn 0.8s 0.5s ease forwards;
}

.hero__title span {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255,255,255,0.7);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
  opacity: 0;
  animation: heroFadeIn 0.8s 0.7s ease forwards;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroFadeIn 0.8s 0.9s ease forwards;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0;
  animation: heroFadeIn 0.8s 1.2s ease forwards;
}

.hero__scroll-indicator {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: border-color 0.3s;
}

.hero__scroll-indicator:hover { border-color: var(--gold); }

.hero__scroll-indicator::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollBounce 2s ease infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(10px); opacity: 0.3; }
}

/* --- Features Strip --- */
.features {
  padding: 80px 0;
  background: var(--white);
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.2), transparent);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  max-width: 960px;
  margin: 0 auto;
}

.feature {
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.feature:hover {
  background: var(--cream);
  transform: translateY(-4px);
}

.feature__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.feature__icon-img {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  object-fit: contain;
}

.feature h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.feature p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Products Section --- */
.products {
  padding: 100px 0;
  background: var(--cream);
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-card.featured {
  grid-column: span 2;
  grid-row: span 2;
}

.product-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--cream-dark);
}

.product-card.featured .product-card__image {
  aspect-ratio: 3/2;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-card__image img {
  transform: scale(1.08);
}

.product-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 60%, rgba(0,0,0,0.4));
  opacity: 0;
  transition: opacity 0.4s;
}

.product-card:hover .product-card__image::after {
  opacity: 1;
}

.product-card__origin {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  z-index: 2;
}

.product-card__body {
  padding: 20px 24px 24px;
}

.product-card__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
  gap: 12px;
}

.product-card__name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--charcoal);
}

.product-card.featured .product-card__name {
  font-size: 1.5rem;
}

.product-card__name-en {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}

.product-card__price {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--green-deep);
  white-space: nowrap;
}

.product-card__emoji {
  font-size: 1.2rem;
  line-height: 1;
}

.product-card__desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: all 0.4s ease;
  padding: 20px 16px;
  text-align: center;
  color: var(--white);
  z-index: 3;
  overflow-y: auto;
}

.product-card:hover .product-card__overlay {
  opacity: 1;
}

.product-card__overlay h3 {
  flex-shrink: 0;
}

.product-card__overlay p {
  font-size: 0.82rem;
  opacity: 0.85;
  max-width: 280px;
  line-height: 1.6;
}

.product-card__overlay > span {
  flex-shrink: 0;
}

.product-card__overlay .btn {
  margin-top: 8px;
}

/* --- About / Origin Story --- */
.about {
  padding: 120px 0;
  background: var(--white);
  position: relative;
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about__image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.about__image-deco {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border: 2px solid var(--gold);
  border-radius: var(--radius-md);
  z-index: -1;
  opacity: 0.4;
}

.about__image-deco--2 {
  bottom: -20px;
  left: -20px;
  top: auto;
  right: auto;
  width: 80px;
  height: 80px;
  border-color: var(--green-light);
}

.about__content h2 {
  margin-bottom: 1.5rem;
}

.about__content p {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  font-size: 1rem;
  line-height: 1.8;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.about__stat {
  text-align: center;
}

.about__stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--green-deep);
}

.about__stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* --- Contact Section --- */
.contact {
  padding: 100px 0;
  background: var(--cream);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact__info h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.contact__info p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__detail {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-body);
}

.contact__detail-icon {
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
}

.contact__shopee {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.contact__shopee-icon {
  font-size: 2rem;
}

.contact__shopee-text {
  flex: 1;
}

.contact__shopee-text strong {
  display: block;
  font-size: 1rem;
  color: var(--charcoal);
}

.contact__shopee-text span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Form */
.contact__form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--text-body);
  background: var(--cream);
  transition: all 0.3s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
  background: var(--white);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-submit {
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  padding: 16px;
}

/* --- Footer --- */
.footer {
  padding: 60px 0 40px;
  background: var(--charcoal);
  color: rgba(255,255,255,0.6);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer__brand h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', 'Ma Shan Zheng', 'Noto Serif SC', serif;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer__brand h3 span { color: var(--gold); }

.footer__logo-img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.footer__brand p {
  font-size: 0.9rem;
  max-width: 320px;
  line-height: 1.7;
}

.footer__heading {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__link {
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer__link:hover { color: var(--gold); }

.footer__bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .products__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-card.featured {
    grid-column: span 2;
    grid-row: span 1;
  }
  .about__inner {
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .nav__links {
    position: fixed;
    top: 0; right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 40px 40px;
    gap: 24px;
    transition: right 0.4s ease;
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
  }

  .nav__links.active {
    right: 0;
  }

  .lang-toggle {
    background: rgba(26, 74, 42, 0.08);
    color: var(--text-muted);
    border-color: rgba(26, 74, 42, 0.2);
  }
  .lang-toggle:hover {
    background: var(--green-deep);
    border-color: var(--green-deep);
    color: var(--white);
  }

  .nav__link, .nav.scrolled .nav__link {
    color: var(--charcoal);
    font-size: 1.1rem;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav__toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .features__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .products__grid {
    grid-template-columns: 1fr;
  }

  .product-card.featured {
    grid-column: span 1;
  }

  .about__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__image img {
    height: 300px;
  }

  .about__stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .contact__inner {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* --- Mobile Nav Overlay --- */
.nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.nav__overlay.active {
  opacity: 1;
}

/* --- Music Toggle --- */
.music-toggle {
  position: fixed;
  top: 88px;
  right: 20px;
  z-index: 1002;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gold);
  padding: 4px;
  transition: all 0.3s ease;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.music-toggle:hover {
  color: var(--gold-light);
  transform: scale(1.2);
}

.music-toggle__icon {
  font-size: 20px;
  line-height: 1;
  display: block;
  position: relative;
}

/* Playing: gentle bounce */
.music-toggle.playing .music-toggle__icon {
  animation: musicBounce 1s ease-in-out infinite;
}

/* Muted: diagonal slash */
.music-toggle.muted {
  color: rgba(255, 255, 255, 0.4);
}

.music-toggle.muted .music-toggle__icon {
  opacity: 0.5;
  animation: none;
}

.music-toggle.muted .music-toggle__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 160%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transform: translate(-50%, -50%) rotate(40deg);
  opacity: 0.8;
}

@keyframes musicBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@media (max-width: 768px) {
  .music-toggle {
    top: 80px;
    right: 14px;
  }
  .music-toggle__icon {
    font-size: 18px;
  }
}
