/* ==========================================
   WAHE.WORLD LANDING PAGE — Main Styling
   Design tokens live in shared/css/tokens.css
   (loaded before this file in index.html).
   ========================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
}

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  background-image: 
    radial-gradient(circle at 50% 0%, hsla(38, 100%, 53%, 0.07) 0%, transparent 60%),
    radial-gradient(circle at 0% 100%, hsla(262, 60%, 7%, 0.45) 0%, transparent 50%),
    radial-gradient(circle at 100% 100%, hsla(340, 50%, 5%, 0.3) 0%, var(--bg-deep) 100%),
    /* Subtle sacred geometry lattice overlay */
    radial-gradient(circle, hsla(38, 100%, 53%, 0.015) 1px, transparent 1px),
    radial-gradient(circle, hsla(262, 100%, 65%, 0.01) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 48px 48px, 96px 96px;
  background-position: 0 0, 0 0, 0 0, 0 0, 24px 24px;
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Canvas Particles Background */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
}

/* App Container */
.app-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* === Header === */
.main-header {
  position: relative;
  display: flex;
  align-items: center;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: var(--space-lg);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100% - 140px); /* leave room so brand never overlaps pill */
}

.brand-logo {
  font-family: var(--font-logo);
  font-size: 2.5rem;
  color: var(--gold-primary);
  text-shadow: 0 0 20px var(--gold-glow);
  font-weight: 800;
  user-select: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 4px;
  color: var(--text-primary);
}

.brand-tag {
  font-size: 0.6rem;
  letter-spacing: 5px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Compact header pill — absolutely positioned so brand width never pushes it off */
.header-stat-btn {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  background: hsla(245, 24%, 8%, 0.8);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  color: var(--text-gold);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition);
}
.header-stat-btn:hover {
  border-color: var(--gold);
  background: var(--gold-glow);
  color: var(--gold);
}

.hstat-vals {
  align-items: center;
  gap: 5px;
  color: var(--text-secondary);
}

.hstat-sep {
  color: var(--text-muted);
  opacity: 0.45;
  font-size: 0.7rem;
}

/* === Hero Section === */
.hero {
  text-align: center;
  padding: var(--space-lg) 0;
  max-width: 800px;
  margin: 0 auto var(--space-lg);
}


.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: var(--space-sm);
  letter-spacing: 2px;
}

.hero-title .highlight {
  color: var(--gold-primary);
  text-shadow: 0 0 40px var(--gold-glow);
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 300;
}

/* === Games Grid Section === */
.games-section {
  flex-grow: 1;
  margin-bottom: var(--space-xl);
}

.section-heading {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: var(--space-md);
  border-left: 3px solid var(--gold-primary);
  padding-left: 14px;
}

.games-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

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

/* === Game Cards === */
.game-card {
  background: var(--bg-glass);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
  position: relative;
  text-decoration: none;
  color: inherit;
}

/* Fallback image styling - dark stars theme */
.card-image-wrapper {
  height: 180px;
  position: relative;
  overflow: hidden;
}

.card-image-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, hsl(260, 40%, 8%) 0%, hsl(248, 30%, 5%) 100%);
  background-image: 
    radial-gradient(circle at 30% 20%, hsla(260, 85%, 62%, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 80% 80%, hsla(42, 100%, 53%, 0.1) 0%, transparent 60%);
  transition: var(--transition-smooth);
}

.card-image-fallback::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, transparent 30%, rgba(5, 3, 15, 0.8) 100%);
}

.card-pauri-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-logo);
  font-size: 4.5rem;
  color: hsla(42, 100%, 53%, 0.15);
  text-shadow: 0 0 20px rgba(218, 165, 32, 0.05);
  transition: var(--transition-smooth);
  user-select: none;
}

.locked-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.2rem;
  color: rgba(255, 255, 255, 0.2);
  transition: var(--transition-smooth);
}

.card-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.game-status {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--indigo-primary);
  margin-bottom: 10px;
}

.status-locked {
  color: var(--text-muted);
}

.game-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--gold-bright);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.game-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
  font-weight: 300;
}

.card-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* === Card CTA buttons — token-driven, one base + one variant block each ===
   Each variant sets seven hooks (rest bg/border/text + hover bg/border/text/
   glow); the base consumes the rest hooks and the shared :hover rule consumes
   the hover hooks. No per-section hover duplication, no specificity war —
   adding a section's button = one variant block. Read is the primary action
   (brand gold, every section); the secondary "Immerse" action takes the
   section accent (indigo for Gurbani, teal for Learn). */
.card-btn {
  /* variant hooks — defaults give the neutral resting button */
  --btn-bg:       hsla(0, 0%, 100%, 0.03);
  --btn-border:   var(--border-light);
  --btn-text:     var(--text-primary);
  --btn-bg-h:     var(--btn-bg);
  --btn-border-h: var(--btn-border);
  --btn-text-h:   var(--btn-text);
  --btn-glow-h:   transparent;

  display: block;
  width: 100%;
  background: var(--btn-bg);
  border: 1px solid var(--btn-border);
  color: var(--btn-text);
  padding: 13px 18px;
  border-radius: 12px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  font-family: inherit;
  outline: none;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s;
  text-decoration: none;
}

/* Shared hover/active lift — every active-card button brightens the same
   way, pulling its own colors from the variant hooks above. */
.card-btn-read:hover,
.card-btn-practice:hover,
.card-btn-practice.modal-active,
.card-btn-learn:hover {
  background: var(--btn-bg-h);
  border-color: var(--btn-border-h);
  color: var(--btn-text-h);
  box-shadow: 0 8px 25px var(--btn-glow-h);
  transform: translateY(-3px) scale(1.03);
}

/* Read — primary action, brand saffron/gold (all sections) */
.card-btn-read {
  --btn-bg:       hsla(38, 55%, 10%, 0.9);
  --btn-border:   hsla(38, 90%, 55%, 0.3);
  --btn-text:     hsl(38, 85%, 74%);
  --btn-bg-h:     linear-gradient(135deg, var(--gold-primary), var(--gold-bright));
  --btn-border-h: var(--gold-bright);
  --btn-text-h:   var(--bg-deep);
  --btn-glow-h:   rgba(255, 160, 0, 0.35);
}

/* Immerse (Gurbani) — indigo/violet secondary action */
.card-btn-practice {
  --btn-bg:       hsla(262, 60%, 9%, 0.9);
  --btn-border:   hsla(262, 70%, 55%, 0.25);
  --btn-text:     hsl(262, 70%, 78%);
  --btn-bg-h:     hsla(262, 60%, 15%, 0.95);
  --btn-border-h: hsla(262, 70%, 65%, 0.55);
  --btn-text-h:   hsl(262, 80%, 88%);
  --btn-glow-h:   hsla(262, 70%, 55%, 0.3);
}

/* Immerse (Learn) — teal secondary action */
.card-btn-learn {
  --btn-bg:       hsla(186, 50%, 9%, 0.9);
  --btn-border:   hsla(176, 60%, 52%, 0.25);
  --btn-text:     hsl(176, 65%, 72%);
  --btn-bg-h:     hsla(186, 55%, 14%, 0.95);
  --btn-border-h: hsla(176, 65%, 58%, 0.55);
  --btn-text-h:   hsl(176, 75%, 82%);
  --btn-glow-h:   hsla(176, 60%, 50%, 0.3);
}

/* === Active Card Hover — image area only, no button effects === */
.active-card:hover {
  border-color: hsla(42, 80%, 53%, 0.22);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.8),
    0 0 35px var(--purple-glow);
}

.active-card:hover .card-image-fallback {
  transform: scale(1.05);
  background-image:
    radial-gradient(circle at 30% 20%, hsla(260, 85%, 62%, 0.22) 0%, transparent 60%),
    radial-gradient(circle at 80% 80%, hsla(42, 100%, 53%, 0.18) 0%, transparent 60%);
}

.active-card:hover .card-pauri-indicator {
  transform: translate(-50%, -50%) scale(1.1);
  color: hsla(42, 100%, 53%, 0.28);
  text-shadow: 0 0 35px var(--gold-glow);
}

/* === Game Selection Modal === */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 3, 15, 0.75);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.3s;
}

.modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: rgba(12, 10, 24, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.8), 
    0 0 40px rgba(138, 43, 226, 0.2);
  border-radius: 24px;
  max-width: 680px;
  width: 90%;
  padding: 36px;
  position: relative;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow-y: auto;
  max-height: 90vh;
}

.modal-overlay.show .modal-content {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 1.2rem;
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
  transform: rotate(90deg);
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 20px;
  margin-bottom: 24px;
  text-align: left;
}

.modal-khanda {
  font-family: var(--font-logo);
  font-size: 2.8rem;
  color: var(--gold-primary);
  text-shadow: 0 0 15px var(--gold-glow);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: rgba(255, 160, 0, 0.05);
  border: 1px solid rgba(255, 160, 0, 0.15);
}

.modal-title {
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.modal-subtitle {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.modal-body-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.modal-game-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s, border-color 0.25s, background 0.25s, box-shadow 0.25s;
  text-align: left;
}

.modal-game-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

.modal-game-card .game-icon {
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.modal-game-card:hover .game-icon {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.modal-game-card .game-details {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.modal-game-card .game-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.modal-game-card .game-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 4px;
  line-height: 1.35;
  flex-grow: 1;
}

/* Future Status Provision Area */
.game-status-provision {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 500;
}

.status-badge {
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-progress {
  color: var(--text-muted);
}

/* Beautiful color-coded theme hints for individual options on hover */
.game-card-scramble:hover {
  background: rgba(138, 43, 226, 0.08);
  border-color: rgba(138, 43, 226, 0.3);
  box-shadow: 0 8px 20px rgba(138, 43, 226, 0.08);
}
.game-card-scramble:hover .game-icon {
  background: rgba(138, 43, 226, 0.15);
  border-color: rgba(138, 43, 226, 0.35);
  color: #d1b3ff;
}
.game-card-scramble:hover .status-badge {
  color: #d1b3ff;
  border-color: rgba(138, 43, 226, 0.2);
}

.game-card-fillblank:hover {
  background: rgba(0, 191, 255, 0.08);
  border-color: rgba(0, 191, 255, 0.3);
  box-shadow: 0 8px 20px rgba(0, 191, 255, 0.08);
}
.game-card-fillblank:hover .game-icon {
  background: rgba(0, 191, 255, 0.15);
  border-color: rgba(0, 191, 255, 0.35);
  color: #b3ecff;
}
.game-card-fillblank:hover .status-badge {
  color: #b3ecff;
  border-color: rgba(0, 191, 255, 0.2);
}

.game-card-firstletter:hover {
  background: rgba(255, 127, 80, 0.08);
  border-color: rgba(255, 127, 80, 0.3);
  box-shadow: 0 8px 20px rgba(255, 127, 80, 0.08);
}
.game-card-firstletter:hover .game-icon {
  background: rgba(255, 127, 80, 0.15);
  border-color: rgba(255, 127, 80, 0.35);
  color: #ffccb3;
}
.game-card-firstletter:hover .status-badge {
  color: #ffccb3;
  border-color: rgba(255, 127, 80, 0.2);
}

.game-card-recall:hover {
  background: rgba(255, 90, 95, 0.08);
  border-color: rgba(255, 90, 95, 0.3);
  box-shadow: 0 8px 20px rgba(255, 90, 95, 0.08);
}
.game-card-recall:hover .game-icon {
  background: rgba(255, 90, 95, 0.15);
  border-color: rgba(255, 90, 95, 0.35);
  color: #ffb3b5;
}
.game-card-recall:hover .status-badge {
  color: #ffb3b5;
  border-color: rgba(255, 90, 95, 0.2);
}

.game-card-listen:hover {
  background: rgba(46, 204, 113, 0.08);
  border-color: rgba(46, 204, 113, 0.3);
  box-shadow: 0 8px 20px rgba(46, 204, 113, 0.08);
}
.game-card-listen:hover .game-icon {
  background: rgba(46, 204, 113, 0.15);
  border-color: rgba(46, 204, 113, 0.35);
  color: #9af0c0;
}
.game-card-listen:hover .status-badge {
  color: #9af0c0;
  border-color: rgba(46, 204, 113, 0.2);
}

.game-card-shuffle:hover {
  background: rgba(218, 165, 32, 0.08);
  border-color: rgba(218, 165, 32, 0.3);
  box-shadow: 0 8px 20px rgba(218, 165, 32, 0.08);
}
.game-card-shuffle:hover .game-icon {
  background: rgba(218, 165, 32, 0.15);
  border-color: rgba(218, 165, 32, 0.35);
  color: var(--gold-bright);
}
.game-card-shuffle:hover .status-badge {
  color: var(--gold-bright);
  border-color: rgba(218, 165, 32, 0.2);
  background: rgba(218, 165, 32, 0.08);
}

/* === Locked Card Styles === */
.locked-card {
  opacity: 0.7;
  cursor: not-allowed;
}

.locked-bg {
  background: linear-gradient(135deg, hsl(248, 15%, 4%) 0%, hsl(248, 12%, 3%) 100%) !important;
}

.btn-locked {
  color: var(--text-muted);
  cursor: not-allowed;
}

/* === Live Stats Preview === */
.game-stats-preview {
  display: flex;
  justify-content: space-between;
  background: hsla(248, 20%, 3%, 0.4);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 24px;
}

.mini-stat {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mini-icon {
  font-size: 1.15rem;
}

.mini-val {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
}

.mini-lbl {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* === Footer === */
.main-footer {
  text-align: center;
  padding: var(--space-lg) 0 var(--space-md);
  border-top: 1px solid var(--border-light);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-mission {
  margin-top: 6px;
  font-style: italic;
  font-weight: 300;
  color: var(--text-muted);
}

/* === Responsive Tweaks === */
@media (max-width: 576px) {
  .main-header {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  
  .user-badge {
    width: 100%;
    justify-content: center;
  }

  .game-stats-preview {
    flex-direction: column;
    gap: 10px;
  }

  .modal-body-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .modal-content {
    padding: 24px;
    width: 95%;
  }

  .modal-header {
    gap: 12px;
    padding-bottom: 16px;
    margin-bottom: 20px;
  }

  .modal-khanda {
    width: 50px;
    height: 50px;
    font-size: 2.2rem;
  }

  .modal-title {
    font-size: 1.3rem;
  }

  .modal-subtitle {
    font-size: 0.8rem;
  }
}

/* === Journal Section === */
.journal-section {
  margin-bottom: var(--space-xl);
}

.section-subtitle-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: -8px;
  margin-bottom: 30px;
  font-weight: 300;
  max-width: 800px;
}

.journal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

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

.journal-card {
  background: var(--bg-glass);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
  position: relative;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.journal-tag {
  align-self: flex-start;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold-primary);
  background: hsla(42, 100%, 53%, 0.08);
  border: 1px solid hsla(42, 100%, 53%, 0.15);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.journal-card-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 12px;
  transition: var(--transition-smooth);
}

.journal-card-excerpt {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
  font-weight: 300;
}

.journal-card-meta {
  display: flex;
  gap: 16px;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
}

.journal-btn {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--indigo-primary);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Hover effects for Journal Cards */
.journal-card:hover {
  transform: translateY(-6px);
  border-color: hsla(260, 85%, 62%, 0.25);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.8),
    0 0 35px var(--purple-glow);
}

.journal-card:hover .journal-card-title {
  color: var(--gold-bright);
}

.journal-card:hover .journal-btn {
  color: var(--gold-bright);
  transform: translateX(4px);
}

/* Responsive adjustment for small mobiles */
@media (max-width: 480px) {
  .card-cta-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* === Learn Gurmukhi Section (teal accent) === */
.learn-heading {
  color: var(--teal);
  border-left-color: var(--teal);
}

.learn-bg {
  background: linear-gradient(135deg, hsl(186, 45%, 8%) 0%, hsl(210, 35%, 5%) 100%) !important;
  background-image:
    radial-gradient(circle at 30% 20%, hsla(176, 70%, 50%, 0.18) 0%, transparent 60%),
    radial-gradient(circle at 80% 80%, hsla(42, 100%, 53%, 0.1) 0%, transparent 60%) !important;
}

.learn-indicator {
  font-family: var(--font-gurmukhi);
  font-size: 3rem;
  letter-spacing: 4px;
  color: hsla(176, 70%, 55%, 0.22);
}

.learn-card.active-card:hover {
  border-color: hsla(176, 60%, 52%, 0.28);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.8),
    0 0 35px var(--teal-glow);
}

.learn-card.active-card:hover .card-image-fallback {
  transform: scale(1.05);
  background-image:
    radial-gradient(circle at 30% 20%, hsla(176, 70%, 50%, 0.28) 0%, transparent 60%),
    radial-gradient(circle at 80% 80%, hsla(42, 100%, 53%, 0.16) 0%, transparent 60%) !important;
}

.learn-card.active-card:hover .card-pauri-indicator {
  transform: translate(-50%, -50%) scale(1.08);
  color: hsla(176, 75%, 60%, 0.38);
  text-shadow: 0 0 35px var(--teal-glow);
}

/* Card CTA button colors (Read / Immerse, both sections) are defined once,
   token-driven, in the "Card CTA buttons" block near the top of this file. */
