/* ==========================================================================
   Brewnara Master Product Stylesheet
   Theme: Obsidian Warm Roast & Amber Gold Glow
   Inspirations: High-End Artisanal Coffee Roasters & Modern Glassmorphism UI
   ========================================================================== */

:root {
  --brewnara-gold: #c8962a;
  --brewnara-gold-light: #e8c46a;
  --brewnara-gold-bright: #f5d77f;
  --brewnara-gold-dark: #a97020;
  --brewnara-amber-glow: rgba(200, 150, 42, 0.4);
  --brewnara-bg-dark: #0a0806;
  --brewnara-surface-roast: #14100b;
  --brewnara-card-bg: rgba(24, 19, 14, 0.65);
  --brewnara-card-hover: rgba(35, 27, 19, 0.85);
  --brewnara-border-gold: rgba(200, 150, 42, 0.25);
  --brewnara-border-gold-bright: rgba(232, 196, 106, 0.5);
  --brewnara-glow-shadow: 0 0 35px rgba(200, 150, 42, 0.25);
}

/* Page Glow Orbs */
.brewnara-aurora-1 {
  background: radial-gradient(circle, rgba(200, 150, 42, 0.22) 0%, transparent 70%) !important;
}
.brewnara-aurora-2 {
  background: radial-gradient(circle, rgba(169, 112, 32, 0.18) 0%, transparent 70%) !important;
}
.brewnara-aurora-3 {
  background: radial-gradient(circle, rgba(232, 196, 106, 0.15) 0%, transparent 70%) !important;
}

/* Typography Gradient */
.gold-gradient-text {
  background: linear-gradient(135deg, #f5d77f 0%, #e8c46a 40%, #c8962a 75%, #a97020 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 16px rgba(200, 150, 42, 0.4));
}

/* Hero Badge */
.brand-pill-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: rgba(200, 150, 42, 0.12);
  border: 1px solid var(--brewnara-border-gold-bright);
  color: var(--brewnara-gold-light);
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(200, 150, 42, 0.15);
}

.pulse-dot-gold {
  width: 9px;
  height: 9px;
  background-color: var(--brewnara-gold-light);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--brewnara-gold-light);
  animation: pulseGlowGold 1.8s infinite ease-in-out;
}

@keyframes pulseGlowGold {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: 0.4; }
}

/* Buttons */
.btn-gold {
  background: linear-gradient(135deg, #c8962a 0%, #e8c46a 50%, #a97020 100%);
  color: #0c0906 !important;
  font-weight: 700;
  border: none;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: var(--transition-bounce);
  box-shadow: 0 10px 30px rgba(200, 150, 42, 0.35);
  cursor: pointer;
}

.btn-gold:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 15px 40px rgba(200, 150, 42, 0.55);
  background: linear-gradient(135deg, #e8c46a 0%, #f5d77f 50%, #c8962a 100%);
}

.btn-outline-gold {
  background: rgba(200, 150, 42, 0.08);
  border: 1px solid var(--brewnara-border-gold-bright);
  color: var(--brewnara-gold-light) !important;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: var(--transition-fast);
  cursor: pointer;
}

.btn-outline-gold:hover {
  background: rgba(200, 150, 42, 0.2);
  border-color: var(--brewnara-gold-bright);
  transform: translateY(-2px);
  color: #fff !important;
  box-shadow: 0 0 25px rgba(200, 150, 42, 0.3);
}

/* Floating Card Preview */
.coffee-hero-card {
  background: var(--brewnara-card-bg);
  border: 1px solid var(--brewnara-border-gold-bright);
  border-radius: var(--radius-xl);
  padding: 40px;
  backdrop-filter: blur(20px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(200, 150, 42, 0.15);
  position: relative;
  overflow: hidden;
}

.coffee-hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--brewnara-gold-light), transparent);
}

/* Steam Animation */
.steam-container {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}

.steam-wave {
  width: 6px;
  height: 25px;
  margin: 0 4px;
  background: rgba(232, 196, 106, 0.5);
  border-radius: 50%;
  filter: blur(4px);
  animation: steamRise 3s infinite ease-in-out;
}

.steam-wave:nth-child(2) { animation-delay: 0.6s; height: 35px; }
.steam-wave:nth-child(3) { animation-delay: 1.2s; height: 28px; }

@keyframes steamRise {
  0% { transform: translateY(0) scaleX(1); opacity: 0; }
  50% { opacity: 0.8; }
  100% { transform: translateY(-35px) scaleX(2); opacity: 0; }
}

/* Filter Navigation Pills */
.menu-filter-container {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover {
  background: rgba(200, 150, 42, 0.15);
  color: var(--brewnara-gold-light);
  border-color: var(--brewnara-border-gold);
}

.filter-btn.active {
  background: linear-gradient(135deg, rgba(200, 150, 42, 0.25) 0%, rgba(169, 112, 32, 0.35) 100%);
  color: var(--brewnara-gold-bright);
  border-color: var(--brewnara-gold-light);
  box-shadow: 0 0 20px rgba(200, 150, 42, 0.3);
}

/* Product Cards */
.coffee-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.coffee-item-card {
  background: var(--brewnara-card-bg);
  border: 1px solid var(--brewnara-border-gold);
  border-radius: var(--radius-lg);
  padding: 30px;
  backdrop-filter: blur(15px);
  transition: var(--transition-bounce);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.coffee-item-card:hover {
  transform: translateY(-8px);
  border-color: var(--brewnara-border-gold-bright);
  background: var(--brewnara-card-hover);
  box-shadow: var(--shadow-card), var(--brewnara-glow-shadow);
}

.roast-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 10px;
  margin-bottom: 16px;
}

.roast-dots {
  display: flex;
  gap: 4px;
}

.roast-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.roast-dot.filled {
  background: var(--brewnara-gold);
  box-shadow: 0 0 6px var(--brewnara-gold-light);
}

.note-tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(200, 150, 42, 0.12);
  border: 1px solid rgba(200, 150, 42, 0.25);
  border-radius: var(--radius-sm);
  color: var(--brewnara-gold-light);
  font-size: 0.78rem;
  font-weight: 500;
  margin-right: 6px;
  margin-bottom: 6px;
}

/* Interactive Quiz Styling */
.quiz-box {
  background: rgba(18, 14, 10, 0.75);
  border: 1px solid var(--brewnara-border-gold-bright);
  border-radius: var(--radius-xl);
  padding: 45px 35px;
  max-width: 720px;
  margin: 0 auto;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 35px rgba(200, 150, 42, 0.2);
}

.quiz-option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 25px 0;
}

.quiz-opt-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 18px 14px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--text-main);
  font-weight: 600;
}

.quiz-opt-btn:hover, .quiz-opt-btn.selected {
  background: rgba(200, 150, 42, 0.18);
  border-color: var(--brewnara-gold-light);
  color: var(--brewnara-gold-bright);
  box-shadow: 0 0 18px rgba(200, 150, 42, 0.25);
}

.quiz-opt-btn i {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 10px;
  color: var(--brewnara-gold-light);
}

/* Subscription Cards */
.sub-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.sub-card {
  background: var(--brewnara-card-bg);
  border: 1px solid var(--brewnara-border-gold);
  border-radius: var(--radius-xl);
  padding: 40px 30px;
  backdrop-filter: blur(15px);
  position: relative;
  transition: var(--transition-bounce);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sub-card.popular {
  border: 2px solid var(--brewnara-gold-light);
  box-shadow: var(--shadow-card), 0 0 45px rgba(200, 150, 42, 0.35);
  transform: scale(1.04);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #c8962a, #f5d77f);
  color: #0c0906;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Modal Popup */
.brewnara-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.brewnara-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.brewnara-modal-card {
  background: #14100b;
  border: 1px solid var(--brewnara-border-gold-bright);
  border-radius: var(--radius-xl);
  max-width: 600px;
  width: 100%;
  padding: 40px;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 50px rgba(200, 150, 42, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.brewnara-modal-overlay.active .brewnara-modal-card {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(200, 150, 42, 0.4);
  color: var(--brewnara-gold-bright);
}

/* Responsiveness */
@media (max-width: 768px) {
  .coffee-hero-card { padding: 24px; }
  .quiz-box { padding: 25px 20px; }
  .sub-card.popular { transform: scale(1); }
  .brewnara-modal-card { padding: 25px; }
}
