/* ============================================
   MysticVibe — Modern Western Mystical Style
   ============================================ */

:root {
  --bg-dark: #0a0118;
  --bg-card: rgba(20, 10, 50, 0.6);
  --bg-glass: rgba(15, 8, 40, 0.5);
  --purple-deep: #2d1b69;
  --purple-mid: #6b3fa0;
  --purple-light: #a855f7;
  --pink-accent: #ec4899;
  --cyan-accent: #06b6d4;
  --gold: #f59e0b;
  --text-primary: #f1f0f5;
  --text-secondary: #a8a3b8;
  --text-muted: #6b6580;
  --border-subtle: rgba(168, 85, 247, 0.15);
  --glow-purple: rgba(168, 85, 247, 0.4);
  --glow-pink: rgba(236, 72, 153, 0.4);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection {
  background: var(--purple-mid);
  color: white;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.gradient-text {
  background: linear-gradient(135deg, var(--purple-light), var(--pink-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Canvas Background ===== */
canvas#cosmos {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(10, 1, 24, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 10px 0;
  background: rgba(10, 1, 24, 0.95);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
}

.brand-icon {
  font-size: 1.6rem;
  color: var(--purple-light);
  animation: pulse 2s ease-in-out infinite;
}

.brand-accent {
  color: var(--pink-accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: rgba(168, 85, 247, 0.1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-family: var(--font-body);
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple-light), var(--pink-accent));
  color: white;
  box-shadow: 0 4px 20px var(--glow-purple);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--glow-pink);
}

.btn-glow {
  animation: glowPulse 2s ease-in-out infinite;
}

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

.btn-secondary:hover {
  border-color: var(--purple-light);
  background: rgba(168, 85, 247, 0.1);
}

/* ===== Hero Section ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(circle, var(--purple-deep) 0%, transparent 70%);
  opacity: 0.4;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 60%;
  height: 120%;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.15) 0%, transparent 70%);
  opacity: 0.3;
  pointer-events: none;
}

.hero-content {
  max-width: 640px;
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--purple-light);
  animation: pulse 1.5s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}

.title-gradient {
  background: linear-gradient(135deg, var(--purple-light), var(--pink-accent), var(--cyan-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

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

.stat-item {
  text-align: left;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--purple-light);
}

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

.hero-visual {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.crystal-ball {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(168, 85, 247, 0.3), rgba(45, 27, 105, 0.6), rgba(10, 1, 24, 0.9));
  border: 2px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  animation: float 6s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.ball-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, var(--glow-purple) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

.ball-inner {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 30px var(--glow-purple));
}

/* ===== Section Headers ===== */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* ===== Services Section ===== */
.services {
  padding: 100px 0;
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple-light), var(--pink-accent));
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--purple-light);
  box-shadow: 0 12px 40px rgba(168, 85, 247, 0.15);
}

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

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.card-link {
  color: var(--purple-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.card-link:hover {
  color: var(--pink-accent);
}

/* ===== Tarot Section ===== */
.tarot-section {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent, rgba(45, 27, 105, 0.2), transparent);
}

.tarot-game {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: center;
  margin-top: 48px;
}

.card-deck {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.deck-card {
  width: 140px;
  height: 220px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  perspective: 1000px;
}

.deck-card:hover {
  transform: translateY(-8px);
}

.card-back {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--purple-deep), #1a0a3e);
  border: 2px solid var(--purple-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--purple-light);
  box-shadow: 0 8px 32px rgba(168, 85, 247, 0.3);
}

.tarot-display {
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-icon {
  font-size: 4rem;
  margin-bottom: 16px;
  opacity: 0.6;
}

.tarot-placeholder {
  text-align: center;
  color: var(--text-muted);
}

.result-card {
  background: var(--bg-card);
  border: 1px solid var(--purple-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  max-width: 400px;
  box-shadow: 0 0 60px rgba(168, 85, 247, 0.2);
}

#cardName {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

#cardSymbol {
  font-size: 4rem;
  margin-bottom: 16px;
}

#cardMeaning {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* ===== Horoscope Section ===== */
.horoscope-section {
  padding: 100px 0;
}

.zodiac-wheel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 600px;
  margin: 0 auto 48px;
}

.zodiac-sign {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.zodiac-sign:hover {
  border-color: var(--purple-light);
  background: rgba(168, 85, 247, 0.1);
  transform: scale(1.05);
}

.zodiac-sign.active {
  border-color: var(--pink-accent);
  background: rgba(236, 72, 153, 0.15);
}

.sign-symbol {
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.sign-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.sign-dates {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.horoscope-result {
  max-width: 700px;
  margin: 0 auto;
}

.result-placeholder {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* ===== Reviews Section ===== */
.reviews {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent, rgba(45, 27, 105, 0.15), transparent);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: var(--purple-light);
}

.review-stars {
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.review-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-light), var(--pink-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: white;
}

.author-name {
  font-weight: 600;
  color: var(--text-primary);
}

.author-location {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== Newsletter ===== */
.newsletter {
  padding: 100px 0;
}

.newsletter-box {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 64px 40px;
}

.newsletter-box h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.newsletter-box > p {
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: var(--font-body);
  transition: var(--transition);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--purple-light);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.2);
}

.newsletter-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== Footer ===== */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border-subtle);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-links h4 {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 6px 0;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--purple-light);
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.85rem;
}

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

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

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 4px 20px var(--glow-purple);
  }
  50% {
    box-shadow: 0 4px 40px var(--glow-pink);
  }
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-visual {
    display: none;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 1, 24, 0.98);
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--border-subtle);
  }
  
  .nav-links.open {
    display: flex;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .hero-stats {
    gap: 24px;
  }
  
  .tarot-game {
    grid-template-columns: 1fr;
  }
  
  .zodiac-wheel {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Tip / Support Section ===== */
.tip-section {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent, rgba(45, 27, 105, 0.2), transparent);
}

.tip-container {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
}

.tip-amounts {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.tip-btn {
  padding: 14px 24px;
  border-radius: var(--radius);
  background: rgba(168, 85, 247, 0.08);
  border: 2px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}

.tip-btn:hover {
  border-color: var(--purple-light);
  background: rgba(168, 85, 247, 0.15);
}

.tip-btn.active {
  border-color: var(--pink-accent);
  background: rgba(236, 72, 153, 0.2);
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.3);
}

.custom-amount {
  background: rgba(245, 158, 11, 0.1);
}

.custom-amount:hover {
  background: rgba(245, 158, 11, 0.2);
  border-color: var(--gold);
}

.custom-amount-input {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}

.currency-symbol {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--purple-light);
}

#customAmount {
  width: 120px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 1.2rem;
  font-weight: 600;
  font-family: var(--font-body);
  transition: var(--transition);
}

#customAmount:focus {
  outline: none;
  border-color: var(--purple-light);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.2);
}

.payment-heading {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.crypto-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.crypto-card {
  background: rgba(168, 85, 247, 0.05);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.crypto-card:hover {
  border-color: var(--purple-light);
  background: rgba(168, 85, 247, 0.1);
  transform: translateY(-4px);
}

.crypto-card.selected {
  border-color: var(--pink-accent);
  background: rgba(236, 72, 153, 0.15);
  box-shadow: 0 0 30px rgba(236, 72, 153, 0.2);
}

.crypto-icon {
  font-size: 2.5rem;
  margin-bottom: 8px;
  color: var(--gold);
}

.crypto-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.crypto-address {
  font-size: 0.7rem;
  color: var(--text-muted);
  word-break: break-all;
  margin-top: 8px;
  padding: 8px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  font-family: monospace;
}

.tip-qr-area {
  text-align: center;
  padding: 32px;
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius);
  border: 1px dashed var(--border-subtle);
}

.qr-placeholder {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.btn-tip-confirm {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 1.1rem;
}

.tip-icon-confirm {
  animation: pulse 1.5s ease-in-out infinite;
}

.tip-total {
  text-align: center;
  margin-top: 32px;
  padding: 20px;
  background: rgba(168, 85, 247, 0.05);
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
}

.tip-total p {
  color: var(--text-secondary);
  font-size: 1rem;
}

#tipTotalAmount {
  color: var(--gold);
  font-weight: 700;
  font-size: 1.3rem;
}

@media (max-width: 768px) {
  .tip-container {
    padding: 32px 20px;
  }
  
  .crypto-options {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .tip-amounts {
    gap: 8px;
  }
  
  .tip-btn {
    padding: 12px 16px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .crypto-options {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===== Destiny Blueprint (BaZi) Section ===== */
.bazi-section {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent, rgba(45, 27, 105, 0.25), transparent);
}

.bazi-form-container {
  max-width: 800px;
  margin: 0 auto;
}

.bazi-form {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group select {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: var(--font-body);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--purple-light);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.2);
}

.form-group select option {
  background: var(--bg-dark);
  color: var(--text-primary);
}

.featured {
  border-color: var(--gold);
  background: rgba(245, 158, 11, 0.05);
  position: relative;
  overflow: visible;
}

.new-badge {
  position: absolute;
  top: -8px;
  right: 16px;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: pulse 2s ease-in-out infinite;
}

.bazi-result {
  background: var(--bg-card);
  border: 1px solid var(--purple-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 0 60px rgba(168, 85, 247, 0.2);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.pillar-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 20px 12px;
  text-align: center;
}

.pillar-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.pillar-chinese {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 4px;
  font-family: var(--font-display);
}

.pillar-name {
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 4px;
}

.pillar-animal {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.elements-chart {
  margin-bottom: 32px;
}

.elements-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  text-align: center;
}

.elements-bars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.element-bar {
  text-align: center;
}

.element-name {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.element-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 4px;
}

.element-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.8s ease;
}

.element-fill.wood { background: #6b9e6b; }
.element-fill.fire { background: #c45e3a; }
.element-fill.earth { background: #b8943e; }
.element-fill.metal { background: #c0c0c8; }
.element-fill.water { background: #4a7ea8; }

.element-count {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.bazi-reading {
  background: rgba(168, 85, 247, 0.08);
  border-left: 3px solid var(--purple-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px;
  margin-bottom: 24px;
}

.bazi-reading h3 {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.bazi-reading p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.bazi-reading .highlight {
  color: var(--purple-light);
  font-weight: 600;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .elements-bars {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .bazi-form,
  .bazi-result {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  
  .elements-bars {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== 64 Hexagrams (I Ching) Section ===== */
.gradient-text-hex {
  background: linear-gradient(135deg, #f59e0b, #ef4444, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: hexGradient 3s ease-in-out infinite;
  background-size: 200% 200%;
}

@keyframes hexGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hex-draw-area {
  max-width: 800px;
  margin: 0 auto;
}

.hex-intro {
  text-align: center;
  padding: 60px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.hex-intro::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.08), transparent 70%);
  pointer-events: none;
}

.hex-coin-display {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 30px 0;
}

.hex-coin {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  font-weight: bold;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
  transition: transform 0.3s ease;
}

.hex-coin.spinning {
  animation: coinSpin 0.3s ease-in-out infinite;
}

@keyframes coinSpin {
  0% { transform: rotateY(0deg) scale(1); }
  50% { transform: rotateY(180deg) scale(1.1); }
  100% { transform: rotateY(360deg) scale(1); }
}

.hex-instruction {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 30px;
  font-style: italic;
}

.btn-hex-draw {
  padding: 18px 48px;
  font-size: 1.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  border: none;
  border-radius: var(--radius);
  color: white;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
  font-family: var(--font-display);
  letter-spacing: 0.05em;
}

.btn-hex-draw:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(245, 158, 11, 0.6);
}

.btn-hex-draw:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.hex-result {
  padding-top: 20px;
}

.hex-main-card {
  background: var(--bg-card);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.hex-main-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 50% 30%, rgba(245, 158, 11, 0.1), transparent 60%);
  pointer-events: none;
}

.hex-number {
  font-size: 0.85rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 8px;
  font-weight: 700;
}

.hex-chinese {
  font-size: 3.5rem;
  color: var(--gold);
  margin-bottom: 4px;
  font-family: var(--font-display);
  text-shadow: 0 0 30px rgba(245, 158, 11, 0.5);
}

.hex-name {
  font-size: 1.3rem;
  color: var(--text-primary);
  font-family: var(--font-display);
  margin-bottom: 24px;
  font-weight: 600;
}

.hex-symbol {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 30px auto;
  max-width: 200px;
}

.yang-line {
  width: 160px;
  height: 12px;
  background: linear-gradient(90deg, var(--gold), #fbbf24);
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}

.yin-line {
  width: 160px;
  height: 12px;
  display: flex;
  justify-content: space-between;
}

.yin-line::before,
.yin-line::after {
  content: '';
  width: 68px;
  height: 12px;
  background: linear-gradient(90deg, var(--gold), #fbbf24);
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}

.hex-trigrams {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}

.trigram {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.tri-label {
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 4px;
}

.hex-meaning {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
}

.hex-meaning h3 {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 16px;
  text-align: center;
}

.hex-meaning p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.hex-luck-bars {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.luck-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.luck-category span:first-child {
  width: 70px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  font-weight: 600;
}

.luck-track {
  flex: 1;
  height: 8px;
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
  overflow: hidden;
}

.luck-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), #fbbf24);
  border-radius: 4px;
  transition: width 1s ease;
}

.luck-category span:last-child {
  width: 45px;
  text-align: right;
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 700;
}

.hex-amulet-section {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(239, 68, 68, 0.05));
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
}

.hex-amulet-section h3 {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 8px;
  text-align: center;
}


.amulet-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.amulet-card {
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: var(--transition);
}

.amulet-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.2);
}

.amulet-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.amulet-name {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.amulet-desc {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 8px;
}

.amulet-price {
  color: var(--gold);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.btn-amulet {
  display: inline-block;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--gold), #d97706);
  color: white;
  text-decoration: none;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

.btn-amulet:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.hex-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.btn-hex-reset,
.btn-hex-share {
  padding: 14px 32px;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .hex-coin {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }
  
  .hex-chinese {
    font-size: 2.5rem;
  }
  
  .amulet-grid {
    grid-template-columns: 1fr;
  }
  
  .hex-main-card {
    padding: 24px;
  }
  
  .hex-meaning,
  .hex-amulet-section {
    padding: 20px;
  }
  
  .hex-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hex-coin-display {
    gap: 12px;
  }
  
  .hex-coin {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  
  .yang-line,
  .yin-line::before,
  .yin-line::after {
    width: 120px;
    height: 10px;
  }
  
  .yin-line::before,
  .yin-line::after {
    width: 50px;
  }
}

/* ===== Modal Overlays ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 1, 24, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  max-width: 720px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  animation: modalSlideUp 0.3s ease;
}

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

.modal-content::-webkit-scrollbar {
  width: 6px;
}

.modal-content::-webkit-scrollbar-track {
  background: transparent;
}

.modal-content::-webkit-scrollbar-thumb {
  background: var(--purple-mid);
  border-radius: 3px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.8rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--text-primary);
  background: rgba(168, 85, 247, 0.15);
}

.modal-content h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.modal-last-updated {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.modal-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--purple-light);
  margin-top: 24px;
  margin-bottom: 8px;
}

.modal-body p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.modal-body a {
  color: var(--purple-light);
  text-decoration: underline;
}

.modal-body a:hover {
  color: var(--pink-accent);
}

/* Shop Modal */
.modal-shop {
  max-width: 800px;
}

.amulet-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.amulet-disclaimer {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 20px;
  font-style: italic;
}

/* ===== Toast Notifications ===== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 14px 20px;
  color: var(--text-primary);
  font-size: 0.9rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  animation: toastIn 0.3s ease, toastOut 0.3s ease 2.7s forwards;
  max-width: 360px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast.success {
  border-color: rgba(16, 185, 129, 0.4);
}

.toast.info {
  border-color: rgba(168, 85, 247, 0.4);
}

@keyframes toastIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes toastOut {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}

/* ===== Newsletter Legal ===== */
.newsletter-legal {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.newsletter-legal a {
  color: var(--purple-light);
  text-decoration: underline;
}

.newsletter-legal a:hover {
  color: var(--pink-accent);
}

/* ===== Footer Bottom Links ===== */
.footer-bottom a {
  color: var(--purple-light);
  text-decoration: underline;
}

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

/* ===== Elements Chart Initial State ===== */
.elements-chart {
  animation: fadeInUp 0.6s ease;
}

/* ===== Element Bar Animation ===== */
.element-fill {
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Hexagram Meaning Fade ===== */
.hex-meaning {
  animation: fadeInUp 0.5s ease;
}

/* ===== Responsive Modal ===== */
@media (max-width: 768px) {
  .modal-content {
    padding: 32px 24px;
    margin: 16px;
  }

  .modal-content h2 {
    font-size: 1.5rem;
  }

  .amulet-modal-grid {
    grid-template-columns: 1fr;
  }

  .toast-container {
    bottom: 16px;
    right: 16px;
    left: 16px;
  }

  .toast {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .modal-content {
    padding: 24px 16px;
    max-height: 90vh;
  }

  .modal-content h2 {
    font-size: 1.3rem;
  }
}

/* ===== Modal Overlay ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(10, 1, 24, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background: linear-gradient(180deg, rgba(20, 10, 50, 0.98), rgba(10, 1, 24, 0.98));
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 20px;
  padding: 48px 40px;
  max-width: 720px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  color: var(--text-primary);
  font-family: var(--font-body);
  box-shadow: 0 20px 80px rgba(168, 85, 247, 0.2);
}

.modal-content::-webkit-scrollbar {
  width: 6px;
}

.modal-content::-webkit-scrollbar-track {
  background: transparent;
}

.modal-content::-webkit-scrollbar-thumb {
  background: rgba(168, 85, 247, 0.3);
  border-radius: 3px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.8rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
  line-height: 1;
}

.modal-close:hover {
  color: var(--text-primary);
  background: rgba(168, 85, 247, 0.15);
}

.modal-last-updated {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 24px;
  font-style: italic;
}

.modal-body h3 {
  font-family: var(--font-display);
  color: var(--purple-light);
  font-size: 1.1rem;
  margin: 24px 0 8px;
}

.modal-body h3:first-of-type {
  margin-top: 0;
}

.modal-body p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.modal-body a {
  color: var(--purple-light);
  text-decoration: underline;
}

.modal-body a:hover {
  color: var(--pink-accent);
}

/* Shop modal */
.modal-shop {
  max-width: 800px;
}

.amulet-modal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.amulet-disclaimer {
  color: var(--text-muted) !important;
  font-size: 0.75rem !important;
  text-align: center !important;
  margin-top: 16px !important;
  font-style: italic;
}

/* ===== Toast Notifications ===== */
.toast-container {
  position: fixed;
  top: 80px;
  right: 24px;
  z-index: 11000;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  background: linear-gradient(135deg, rgba(20, 10, 50, 0.95), rgba(15, 8, 40, 0.95));
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 12px;
  padding: 16px 24px;
  color: var(--text-primary);
  font-size: 0.9rem;
  min-width: 280px;
  max-width: 400px;
  box-shadow: 0 8px 32px rgba(168, 85, 247, 0.2);
  animation: toastSlideIn 0.4s ease, toastFadeOut 0.4s ease 3.6s forwards;
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  gap: 12px;
}

.toast.success {
  border-color: rgba(16, 185, 129, 0.4);
}

.toast.error {
  border-color: rgba(239, 68, 68, 0.4);
}

.toast-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

@keyframes toastSlideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes toastFadeOut {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(100%); }
}

/* ===== Accessibility Focus ===== */
.deck-card:focus-visible,
.crypto-card:focus-visible,
.zodiac-sign:focus-visible,
.btn:focus-visible,
.tip-btn:focus-visible {
  outline: 2px solid var(--purple-light);
  outline-offset: 2px;
}

/* ===== SEO Schema visual hints ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 768px) {
  .modal-content {
    padding: 32px 24px;
    border-radius: 16px;
    max-height: 85vh;
  }

  .toast-container {
    right: 12px;
    left: 12px;
  }

  .toast {
    min-width: auto;
    max-width: none;
  }

  .amulet-modal-grid {
    grid-template-columns: 1fr;
  }
}