/* ==========================================================================
   TAYA365 LUXURY MOBILE-APP SHELL DESIGN SYSTEM
   Brand: Taya365 (taya365365.com)
   Market: Philippines (en-PH, PHP Currency)
   Affiliate Promo Link: https://d6v2h8j.com?ch=72804
   Standards: WCAG 2.2 AA, Mobile-First App Shell (max-width: 430px on desktop)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Dark Luxury Casino Palette */
  --bg-desktop: #1a1a1a;
  --bg-app: #202020;
  --bg-surface: #2b2b2b;
  --bg-surface-elevated: #363636;
  --bg-surface-glass: rgba(43, 43, 43, 0.85);
  --bg-card: #2f2f2f;

  /* Gold High-Conversion Gradients */
  --gold-primary: #FFD700;
  --gold-secondary: #FDB931;
  --gold-gradient: linear-gradient(135deg, #FFE259 0%, #FFA751 100%);
  --gold-gradient-hover: linear-gradient(135deg, #FFF099 0%, #FFB76B 100%);
  --gold-glow: rgba(253, 185, 49, 0.35);
  --gold-glow-intense: 0 0 16px rgba(255, 215, 0, 0.5);

  /* Accents & Signals */
  --accent-red: #EF4444;
  --accent-green: #10B981;
  --accent-blue: #0284C7;
  --accent-purple: #8B5CF6;
  --gcash-blue: #007DFE;
  --maya-green: #22C55E;

  /* Typography Colors */
  --text-main: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --text-inverse: #0F172A;
  --text-gold: #FDB931;

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 215, 0, 0.2);
  --border-card-hover: rgba(255, 215, 0, 0.5);

  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Geometry & Shadows */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-pill: 9999px;
  --shadow-card: 0 8px 24px -4px rgba(0, 0, 0, 0.5);
  --shadow-floating: 0 12px 32px rgba(0, 0, 0, 0.7);
  --app-max-width: 430px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-desktop);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-desktop);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  overflow-x: hidden;
}

/* -------------------------------------------------------------
   Simulated Mobile Device Shell (.app-shell)
   ------------------------------------------------------------- */
.app-shell {
  width: 100%;
  max-width: var(--app-max-width);
  background-color: var(--bg-app);
  min-height: 100vh;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  position: relative;
  padding-bottom: 74px; /* Clearance for fixed bottom nav */
}

@media (max-width: 480px) {
  .app-shell {
    max-width: 100%;
    box-shadow: none;
    border-radius: 0;
  }
}

/* -------------------------------------------------------------
   Strict Heading & Typography Rules
   ------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.25;
  font-weight: 700;
}

h1 {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  color: #FFFFFF;
}

h2 {
  font-size: 1.25rem;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--gold-secondary);
  border-left: 3px solid var(--gold-primary);
  padding-left: 8px;
}

h3 {
  font-size: 1.05rem;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  color: #FFFFFF;
}

p {
  font-size: 0.925rem;
  color: var(--text-secondary);
  margin-bottom: 0.85rem;
  line-height: 1.55;
}

a {
  color: var(--gold-secondary);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: #FFF;
}

/* -------------------------------------------------------------
   Sticky Top Header (.hdr)
   NO HEADING TAGS ALLOWED IN HEADER
   ------------------------------------------------------------- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(32, 32, 32, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  height: 58px;
}

.hdr-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hdr-logo-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.hdr-logo-img {
  height: 34px;
  width: auto;
  object-fit: contain;
}

.hdr-brand-text {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #FFFFFF;
  text-transform: uppercase;
}

.hdr-brand-text span {
  color: var(--gold-primary);
}

.hdr-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Pill Action Buttons */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-pill-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-pill-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  color: var(--gold-primary);
  border-color: var(--gold-primary);
}

.btn-pill-gold {
  background: var(--gold-gradient);
  color: var(--text-inverse);
  box-shadow: 0 2px 10px var(--gold-glow);
}

.btn-pill-gold:hover {
  background: var(--gold-gradient-hover);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.6);
  transform: translateY(-1px);
}

/* -------------------------------------------------------------
   Immersive First Container / Hero Section
   ------------------------------------------------------------- */
.hero-container {
  position: relative;
  width: 100%;
  min-height: 220px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px 14px;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.4) 0%, rgba(32, 32, 32, 0.95) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 215, 0, 0.15);
  border: 1px solid rgba(255, 215, 0, 0.4);
  color: var(--gold-primary);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
}

.hero-title {
  /* This is the page H1 */
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 6px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.hero-cta-group {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.hero-cta-group .btn-pill {
  flex: 1;
  padding: 9px 12px;
  font-size: 0.82rem;
}

/* -------------------------------------------------------------
   Notice Banner (21+ Notice / Announcement Ticker)
   NO HEADING TAGS ALLOWED
   ------------------------------------------------------------- */
.notice-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #252525;
  border-bottom: 1px solid var(--border-subtle);
  padding: 7px 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.notice-pill {
  background: rgba(239, 68, 68, 0.2);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
  font-weight: 800;
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  flex-shrink: 0;
}

.notice-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* -------------------------------------------------------------
   Interactive 3x2 Game Grid (.game-grid-3x2)
   ------------------------------------------------------------- */
.section-wrapper {
  padding: 16px 14px;
}

.section-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.section-header-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 6px;
}

.section-header-link {
  font-size: 0.8rem;
  color: var(--gold-secondary);
  font-weight: 600;
}

.game-grid-3x2, .game-grid-page {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-bottom: 12px;
}

.game-grid-page[data-page="2"] {
  display: none;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.game-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-card-hover);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.game-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.15;
  background: #1e1e1e;
  overflow: hidden;
}

.game-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.game-card:hover .game-card-img {
  transform: scale(1.05);
}

.game-card-tag {
  position: absolute;
  top: 5px;
  left: 5px;
  background: rgba(0, 0, 0, 0.75);
  color: var(--gold-primary);
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: var(--radius-xs);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.game-card-info {
  padding: 6px 7px 8px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.game-card-name {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.game-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.game-card-rtp {
  color: #10B981;
  font-weight: 700;
}

/* Dual Button Group on Placecards */
.game-card-actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: auto;
}

.btn-game-play {
  display: block;
  text-align: center;
  background: var(--gold-gradient);
  color: var(--text-inverse);
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 5px 2px;
  border-radius: var(--radius-xs);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn-game-play:hover {
  background: var(--gold-gradient-hover);
  color: #000000;
}

.btn-game-info {
  display: block;
  text-align: center;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 0.64rem;
  font-weight: 600;
  padding: 4px 2px;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn-game-info:hover {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
}

/* Pagination Row for 3x2 Grid */
.grid-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 0;
}

.page-btn {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-xs);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.page-btn.active, .page-btn:hover {
  background: var(--gold-gradient);
  color: var(--text-inverse);
  border-color: var(--gold-primary);
}

/* -------------------------------------------------------------
   Category Pills Scrollable Row
   ------------------------------------------------------------- */
.category-scroll-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 14px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.category-scroll-nav::-webkit-scrollbar {
  display: none;
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.cat-pill.active, .cat-pill:hover {
  background: rgba(255, 215, 0, 0.15);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

/* -------------------------------------------------------------
   Content Blocks, Tables & Accordions
   ------------------------------------------------------------- */
.content-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 14px;
}

.content-featured-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  display: block;
  border: 1px solid var(--border-subtle);
}

.content-inline-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  margin: 14px 0;
  display: block;
  border: 1px solid var(--border-subtle);
}

/* Comparison Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 12px 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
  text-align: left;
}

th {
  background: #222222;
  color: var(--gold-secondary);
  padding: 9px 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
}

td {
  padding: 9px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
}

tr:last-child td {
  border-bottom: none;
}

tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

/* Dual Intent CTA Box */
.dual-intent-box {
  background: linear-gradient(135deg, rgba(43, 43, 43, 0.9) 0%, rgba(26, 26, 26, 0.95) 100%);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 14px;
  margin: 14px 0;
  text-align: center;
}

.dual-intent-box p {
  font-size: 0.84rem;
  margin-bottom: 10px;
}

.dual-intent-actions {
  display: flex;
  gap: 8px;
}

.dual-intent-actions .btn-pill {
  flex: 1;
}

/* FAQ Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 14px 0;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 11px 13px;
  text-align: left;
  background: none;
  border: none;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question:hover {
  color: var(--gold-primary);
}

.faq-icon {
  font-size: 1rem;
  color: var(--gold-secondary);
  font-weight: 700;
  transition: transform 0.2s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  color: var(--gold-primary);
}

.faq-answer {
  display: none;
  padding: 0 13px 12px;
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.faq-item.is-open .faq-answer {
  display: block;
}

/* -------------------------------------------------------------
   Fixed Bottom Navigation (.bottom-nav)
   5 Thumb-Friendly Tabs
   ------------------------------------------------------------- */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--app-max-width);
  height: 64px;
  background: rgba(28, 28, 28, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border-subtle);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  z-index: 100;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6);
}

@media (max-width: 480px) {
  .bottom-nav {
    max-width: 100%;
  }
}

.nav-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.65rem;
  font-family: var(--font-heading);
  font-weight: 600;
  gap: 3px;
  transition: color 0.15s ease;
}

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

.nav-tab-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.nav-tab-cta {
  color: var(--gold-primary);
}

.nav-tab-cta .nav-tab-icon {
  background: var(--gold-gradient);
  color: #000000;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  margin-top: -8px;
  box-shadow: 0 2px 10px var(--gold-glow);
}

/* -------------------------------------------------------------
   Age Verification Modal (21+)
   STRICT COMPLIANCE: NO H1-H6 TAGS
   ------------------------------------------------------------- */
.age-gate-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.age-gate-modal.is-active {
  display: flex;
}

.age-gate-card {
  width: 100%;
  max-width: 360px;
  background: #282828;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-floating);
}

.age-gate-badge {
  display: inline-block;
  background: rgba(239, 68, 68, 0.2);
  color: #F87171;
  border: 2px solid #EF4444;
  font-size: 1.5rem;
  font-weight: 900;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
  font-family: var(--font-heading);
}

/* Using styled DIVs instead of H1-H6 */
.modal-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.modal-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 18px;
}

.age-gate-actions {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.age-gate-actions .btn-pill {
  width: 100%;
  padding: 11px;
}

/* -------------------------------------------------------------
   Footer & Responsible Gaming
   ------------------------------------------------------------- */
.app-footer {
  background: #191919;
  border-top: 1px solid var(--border-subtle);
  padding: 20px 14px 24px;
  text-align: center;
}

.footer-trust-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.footer-trust-badge {
  height: 24px;
  opacity: 0.7;
  filter: grayscale(20%);
  transition: opacity 0.2s ease;
}

.footer-trust-badge:hover {
  opacity: 1;
}

.footer-disclaimer {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 10px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-copyright {
  font-size: 0.7rem;
  color: #64748B;
}

/* -------------------------------------------------------------
   Silo Guide Postcard Component (.silo-postcard-grid / .guide-postcard)
   ------------------------------------------------------------- */
.silo-postcard-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.guide-postcard {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, rgba(42, 42, 42, 0.9) 0%, rgba(26, 26, 26, 0.95) 100%);
  border: 1px solid rgba(255, 215, 0, 0.18);
  border-radius: var(--radius-md, 12px);
  padding: 10px 12px;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.guide-postcard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold-primary, #FFD700) 0%, var(--gold-secondary, #FDB931) 100%);
  opacity: 0.7;
  transition: opacity 0.2s ease, width 0.2s ease;
}

.guide-postcard:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 215, 0, 0.45);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.55), 0 0 12px rgba(255, 215, 0, 0.18);
  background: linear-gradient(135deg, rgba(50, 50, 50, 0.95) 0%, rgba(32, 32, 32, 0.98) 100%);
}

.guide-postcard:hover::before {
  opacity: 1;
  width: 4px;
}

.postcard-thumb {
  position: relative;
  width: 76px;
  height: 76px;
  flex-shrink: 0;
  border-radius: var(--radius-sm, 8px);
  overflow: hidden;
  background: #181818;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
}

.postcard-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.guide-postcard:hover .postcard-img {
  transform: scale(1.08);
}

.postcard-badge {
  position: absolute;
  top: 3px;
  right: 3px;
  background: rgba(0, 0, 0, 0.8);
  color: var(--gold-primary, #FFD700);
  font-size: 0.58rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
  border: 1px solid rgba(255, 215, 0, 0.3);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.postcard-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.postcard-title {
  font-family: var(--font-heading, sans-serif);
  font-size: 0.92rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 4px 0;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

.guide-postcard:hover .postcard-title {
  color: var(--gold-primary, #FFD700);
}

.postcard-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: #94A3B8;
  margin-bottom: 7px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.postcard-tag {
  background: rgba(255, 255, 255, 0.06);
  padding: 1px 6px;
  border-radius: 4px;
  color: #CBD5E1;
  font-size: 0.68rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.postcard-intent {
  color: #4ade80;
  font-size: 0.68rem;
  font-weight: 600;
}

.postcard-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.postcard-rating {
  font-size: 0.68rem;
  color: #FBBF24;
  font-weight: 600;
}

.btn-postcard {
  font-family: var(--font-heading, sans-serif);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #000000;
  background: linear-gradient(135deg, #FFD700 0%, #FDB931 100%);
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 6px rgba(255, 215, 0, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.guide-postcard:hover .btn-postcard {
  transform: translateX(2px);
  box-shadow: 0 3px 10px rgba(255, 215, 0, 0.45);
}

