/**
 * AstroVeda AI - Premium Indian Vedic Astrology Design System
 * Inspired by AstroSage AI dark & gold aesthetic
 * Fully responsive, optimized for cPanel shared hosting
 */

:root {
  --bg-primary: #050505;
  --bg-secondary: #111111;
  --bg-card: #181818;
  --bg-card-hover: #222222;
  --bg-input: #121212;
  --primary-gold: #FFC400;
  --primary-gold-hover: #FFB300;
  --primary-gold-dark: #D4A000;
  --gold-glow: rgba(255, 196, 0, 0.25);
  --text-white: #FFFFFF;
  --text-muted: #BDBDBD;
  --text-dim: #757575;
  --border-color: #2D2D2D;
  --border-gold: rgba(255, 196, 0, 0.4);
  --success: #35A866;
  --error: #E53935;
  --info: #2196F3;
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 4px 18px rgba(255, 196, 0, 0.22);
}

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

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

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

/* Background Subtle Cosmic Particle / Grid */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 15% 15%, rgba(255, 196, 0, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(255, 196, 0, 0.03) 0%, transparent 45%),
    linear-gradient(180deg, rgba(5,5,5,0.92) 0%, rgba(5,5,5,1) 100%);
  pointer-events: none;
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-gold);
}

img, svg {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font-family: inherit;
  color: inherit;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-white);
  font-weight: 700;
  line-height: 1.25;
}

.gold-gradient-text {
  background: linear-gradient(135deg, #FFF099 0%, #FFC400 60%, #E0A000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gold { color: var(--primary-gold) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-white { color: var(--text-white) !important; }
.text-success { color: var(--success) !important; }
.text-danger { color: var(--error) !important; }

/* Layout & Containers */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container-narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.main-content {
  flex: 1 0 auto;
  padding-bottom: 5rem; /* space for bottom nav on mobile */
}

@media (min-width: 992px) {
  .main-content {
    padding-bottom: 2rem;
  }
}

/* Header & Top Bar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #FFC400, #E09000);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #050505;
  box-shadow: 0 2px 10px rgba(255, 196, 0, 0.35);
}

.brand-icon svg {
  width: 22px;
  height: 22px;
}

.nav-links-desktop {
  display: none;
  align-items: center;
  gap: 1.5rem;
  margin-left: 1.5rem;
}

@media (min-width: 992px) {
  .nav-links-desktop {
    display: flex;
  }
}

.nav-item {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.35rem 0;
  position: relative;
}

.nav-item:hover, .nav-item.active {
  color: var(--primary-gold);
}

.nav-item.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-gold);
  border-radius: 2px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Language selector button & dropdown */
.lang-selector {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-white);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn:hover {
  border-color: var(--primary-gold);
}

.lang-dropdown {
  position: absolute;
  top: 110%;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  min-width: 140px;
  display: none;
  flex-direction: column;
  z-index: 1050;
  overflow: hidden;
}

.lang-dropdown.show {
  display: flex;
}

.lang-option {
  padding: 0.5rem 0.85rem;
  font-size: 0.85rem;
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lang-option:hover {
  background: rgba(255, 196, 0, 0.1);
  color: var(--primary-gold);
}

.lang-option.active {
  color: var(--primary-gold);
  font-weight: 600;
}

/* Secondary Sub-nav Bar (Horizontal tabs like AstroSage reference) */
.subnav-tabs-bar {
  background: #0D0D0D;
  border-bottom: 1px solid var(--border-color);
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.subnav-tabs-bar::-webkit-scrollbar {
  display: none;
}

.subnav-tabs {
  display: flex;
  gap: 1.5rem;
  padding: 0.6rem 1.25rem;
  max-width: 1240px;
  margin: 0 auto;
}

.subnav-tab {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding-bottom: 0.25rem;
}

.subnav-tab:hover, .subnav-tab.active {
  color: var(--primary-gold);
}

.subnav-tab.active {
  border-bottom: 2px solid var(--primary-gold);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.35rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-gold);
  color: #050505;
  box-shadow: 0 4px 14px rgba(255, 196, 0, 0.28);
}

.btn-primary:hover {
  background: var(--primary-gold-hover);
  color: #000;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 196, 0, 0.38);
}

.btn-outline {
  background: transparent;
  border-color: var(--border-gold);
  color: var(--primary-gold);
}

.btn-outline:hover {
  background: rgba(255, 196, 0, 0.1);
  border-color: var(--primary-gold);
  color: var(--primary-gold);
}

.btn-secondary {
  background: var(--bg-card);
  border-color: var(--border-color);
  color: var(--text-white);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: #444;
}

.btn-sm {
  padding: 0.35rem 0.85rem;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 0.85rem 1.85rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-block {
  width: 100%;
}

.icon-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-white);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.icon-btn:hover {
  border-color: var(--primary-gold);
  color: var(--primary-gold);
}

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition);
  position: relative;
}

.card:hover {
  border-color: rgba(255, 196, 0, 0.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.card-gold-glow {
  border-color: rgba(255, 196, 0, 0.35);
  box-shadow: var(--shadow-gold);
}

/* Hero Section */
.hero-section {
  padding: 3rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 196, 0, 0.12);
  border: 1px solid rgba(255, 196, 0, 0.35);
  color: var(--primary-gold);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  font-weight: 800;
  letter-spacing: -1px;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.25rem;
  }
}

.hero-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-card-preview {
  background: linear-gradient(145deg, #1C1C1C, #121212);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-gold);
  text-align: center;
}

/* Quick Search / Astro Query Pill (as in screenshot) */
.astro-search-bar {
  background: #111111;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  padding: 0.4rem 0.5rem 0.4rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1.5rem 0 2rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

.astro-search-input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-white);
  font-size: 0.95rem;
  width: 100%;
}

.astro-search-btn {
  background: var(--primary-gold);
  color: #000;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
}

.astro-search-btn:hover {
  transform: scale(1.05);
}

/* Main 4 Action Grid (AstroSage Reference Top 4) */
.top-action-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin: 1.5rem 0 2.5rem;
}

.action-card {
  background: #181818;
  border: 1px solid #282828;
  border-radius: var(--radius-md);
  padding: 1rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
  transition: var(--transition);
  cursor: pointer;
}

.action-card:hover {
  border-color: var(--primary-gold);
  background: #202020;
  transform: translateY(-3px);
}

.action-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 196, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-gold);
  transition: var(--transition);
}

.action-card:hover .action-icon-box {
  background: var(--primary-gold);
  color: #000;
}

.action-card-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-white);
}

/* Circular Category Icons Row (Education, Career, Today, Counsellor, etc.) */
.category-round-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

@media (min-width: 640px) {
  .category-round-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (min-width: 992px) {
  .category-round-grid {
    grid-template-columns: repeat(8, 1fr);
  }
}

.cat-round-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.cat-round-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1C1C1C;
  border: 1px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-gold);
  transition: var(--transition);
}

.cat-round-item:hover .cat-round-icon {
  background: var(--primary-gold);
  color: #000;
  transform: scale(1.08);
  border-color: var(--primary-gold);
}

.cat-round-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
}

.cat-round-item:hover .cat-round-label {
  color: var(--primary-gold);
}

/* Banner Announcement Card (like "First Chat Free" / "Innovative Indian") */
.promo-banner {
  background: linear-gradient(90deg, #991B1B 0%, #DC2626 50%, #B91C1C 100%);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1.5rem 0 2.5rem;
  color: #FFF;
}

.promo-banner-gold {
  background: linear-gradient(90deg, #78350F 0%, #D97706 50%, #B45309 100%);
}

.promo-banner-text {
  font-size: 0.95rem;
  font-weight: 600;
}

.promo-banner-btn {
  background: var(--primary-gold);
  color: #000;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
}

/* AI Astrologers Avatar Row */
.ai-astrologers-scroll {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  scrollbar-width: thin;
}

.ai-astrologer-card {
  min-width: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
  flex-shrink: 0;
  cursor: pointer;
  transition: var(--transition);
}

.ai-astrologer-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid var(--primary-gold);
  background: #252525;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-gold);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(255, 196, 0, 0.2);
  transition: var(--transition);
}

.ai-astrologer-card:hover .ai-astrologer-avatar {
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(255, 196, 0, 0.4);
}

.ai-astrologer-name {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-white);
  white-space: nowrap;
}

.ai-astrologer-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary-gold);
  background: rgba(255, 196, 0, 0.12);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

/* Section Header */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 1.45rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.section-link {
  font-size: 0.85rem;
  color: var(--primary-gold);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 600;
}

/* Zodiac Sign Grid */
.zodiac-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

@media (min-width: 576px) {
  .zodiac-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .zodiac-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 992px) {
  .zodiac-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.zodiac-card {
  background: #181818;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.zodiac-card:hover {
  border-color: var(--primary-gold);
  background: #222222;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
}

.zodiac-glyph {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 196, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-gold);
  font-size: 1.6rem;
}

.zodiac-card:hover .zodiac-glyph {
  background: var(--primary-gold);
  color: #000;
}

.zodiac-name {
  font-size: 0.95rem;
  font-weight: 700;
}

.zodiac-date {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.zodiac-element-tag {
  font-size: 0.68rem;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  background: #262626;
  color: var(--text-muted);
}

/* Forms */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 3px rgba(255, 196, 0, 0.15);
}

select.form-control {
  cursor: pointer;
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

/* Tabs */
.tabs-nav {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
  overflow-x: auto;
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
}

.tab-btn.active, .tab-btn:hover {
  color: var(--primary-gold);
}

.tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary-gold);
  border-radius: 3px 3px 0 0;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

/* Kundli Chart SVG Container */
.kundli-chart-box {
  background: #111111;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.kundli-chart-svg {
  max-width: 480px;
  width: 100%;
  height: auto;
}

/* Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.custom-table th, .custom-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-color);
  text-align: left;
}

.custom-table th {
  color: var(--primary-gold);
  font-weight: 600;
  background: rgba(255, 196, 0, 0.05);
}

.custom-table tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* Alert Boxes */
.alert {
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.alert-success {
  background: rgba(53, 168, 102, 0.15);
  border: 1px solid var(--success);
  color: #A3E9C1;
}

.alert-danger {
  background: rgba(229, 57, 53, 0.15);
  border: 1px solid var(--error);
  color: #FFA4A2;
}

.alert-warning {
  background: rgba(255, 196, 0, 0.15);
  border: 1px solid var(--primary-gold);
  color: #FFE082;
}

.alert-info {
  background: rgba(33, 150, 243, 0.15);
  border: 1px solid var(--info);
  color: #90CAF9;
}

/* AI Chat Window */
.chat-container {
  display: flex;
  flex-direction: column;
  height: 620px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.chat-header {
  padding: 1rem 1.25rem;
  background: #111;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-messages {
  flex: 1;
  padding: 1.25rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chat-bubble {
  max-width: 80%;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  line-height: 1.55;
}

.chat-bubble-user {
  align-self: flex-end;
  background: var(--primary-gold);
  color: #050505;
  border-bottom-right-radius: 4px;
  font-weight: 500;
}

.chat-bubble-ai {
  align-self: flex-start;
  background: #252525;
  color: var(--text-white);
  border-bottom-left-radius: 4px;
  border: 1px solid #333;
}

.chat-input-bar {
  padding: 0.85rem 1rem;
  background: #111;
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 0.5rem;
}

.chat-quick-prompts {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #0E0E0E;
  overflow-x: auto;
  scrollbar-width: none;
}

.prompt-chip {
  background: #222;
  border: 1px solid #333;
  color: var(--text-muted);
  font-size: 0.78rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition);
}

.prompt-chip:hover {
  background: rgba(255, 196, 0, 0.15);
  border-color: var(--primary-gold);
  color: var(--primary-gold);
}

/* Mobile Sidebar Drawer (matching screenshot 1) */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: -320px;
  width: 300px;
  height: 100%;
  background: #0A0A0A;
  border-right: 1px solid var(--border-color);
  z-index: 2001;
  transition: transform 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-drawer-overlay.active .mobile-drawer {
  transform: translateX(320px);
}

.drawer-header {
  padding: 1.5rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.drawer-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #3B4252;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
}

.drawer-nav {
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
}

.drawer-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.5rem;
  color: var(--text-white);
  font-size: 0.95rem;
  transition: var(--transition);
}

.drawer-item:hover {
  background: rgba(255, 196, 0, 0.08);
  color: var(--primary-gold);
}

.drawer-item svg {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
}

.drawer-item:hover svg {
  color: var(--primary-gold);
}

/* Mobile Bottom Navigation Bar (matching screenshots 2-5) */
.mobile-bottom-bar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: #080808;
  border-top: 1px solid #222;
  z-index: 999;
  justify-content: space-around;
  align-items: center;
  padding: 0 0.5rem;
}

@media (min-width: 992px) {
  .mobile-bottom-bar {
    display: none;
  }
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  color: #888;
  font-size: 0.72rem;
  padding: 0.35rem 0.6rem;
  transition: var(--transition);
}

.bottom-nav-item svg {
  width: 22px;
  height: 22px;
}

.bottom-nav-item.active, .bottom-nav-item:hover {
  color: var(--primary-gold);
}

/* Footer */
.site-footer {
  background: #080808;
  border-top: 1px solid var(--border-color);
  padding: 3.5rem 0 2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 576px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-col-title {
  color: var(--primary-gold);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--primary-gold);
  transform: translateX(3px);
  display: inline-block;
}

.footer-bottom {
  border-top: 1px solid #1F1F1F;
  padding-top: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  font-size: 0.82rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 70px;
  left: 20px;
  right: 20px;
  max-width: 500px;
  background: #181818;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.8);
  z-index: 1500;
  display: none;
}

@media (min-width: 992px) {
  .cookie-banner {
    bottom: 20px;
  }
}

.cookie-banner.show {
  display: block;
}

/* Utilities */
.badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-gold {
  background: rgba(255, 196, 0, 0.15);
  color: var(--primary-gold);
  border: 1px solid var(--border-gold);
}

.badge-success {
  background: rgba(53, 168, 102, 0.15);
  color: var(--success);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 576px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Article Card */
.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  border-color: var(--primary-gold);
  transform: translateY(-3px);
}

.article-card-thumb {
  height: 180px;
  background: #252525;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-gold);
  position: relative;
  overflow: hidden;
}

.article-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-card-meta {
  font-size: 0.75rem;
  color: var(--primary-gold);
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: flex;
  gap: 0.75rem;
}

.article-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.article-card-snippet {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  flex: 1;
}

.article-card-footer {
  font-size: 0.78rem;
  color: var(--text-dim);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #222;
  padding-top: 0.75rem;
}
