/* ==========================================================================
   JILIBET (jilibet.art) MOBILE APP-SHELL DESIGN SYSTEM
   Reverse-Engineered from jl-bet.ph with Dark Luxury Palette & Token Architecture
   Governed by /casino-design-system and /ace58-ui-guidance
   ========================================================================== */

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

:root {
  /* Surface & Background Tokens */
  --bg-backdrop: #1a1a1a;
  --bg: #2b2b2b;
  --surface: #383838;
  --surface-card: #303030;
  --surface-elevated: #424242;
  --surface-overlay: rgba(30, 30, 30, 0.88);
  --surface-glass: rgba(56, 56, 56, 0.75);

  /* Brand Luxury Gold Palette */
  --gold-primary: #FFD700;
  --gold-secondary: #FDB931;
  --gold-glow: 0 4px 18px rgba(253, 185, 49, 0.4);
  --gold-gradient: linear-gradient(135deg, #FFD700 0%, #FDB931 100%);
  --gold-gradient-hover: linear-gradient(135deg, #FFE033 0%, #FFA800 100%);

  /* High CTR Accents */
  --accent-green: #00C853;
  --accent-green-glow: 0 4px 14px rgba(0, 200, 83, 0.35);
  --accent-cyan: #00E5FF;
  --accent-red: #FF3D00;
  --accent-purple: #9C27B0;

  /* Typography & Contrast */
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --text-primary: #f0f0f0;
  --text-secondary: #c0c0c0;
  --text-muted: #8e8e8e;
  --text-inverse: #121212;

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.18);
  --border-gold: rgba(255, 215, 0, 0.4);

  /* Spacing Scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;

  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 30px rgba(0, 0, 0, 0.55);
}

/* ==========================================================================
   Base & App Shell Layout
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-backdrop);
  color: var(--text-primary);
  line-height: 1.55;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Centered Mobile App Shell (Simulating Mobile on Desktop) */
.app-shell {
  width: 100%;
  max-width: 430px;
  background-color: var(--bg);
  min-height: 100vh;
  position: relative;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  padding-bottom: 74px; /* Space for fixed bottom navigation */
}

/* ==========================================================================
   Header & Notification Ticker
   ========================================================================== */
.hdr {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(43, 43, 43, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  height: 60px;
}

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

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

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

.btn-header-login {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all 0.2s ease;
  min-height: 36px;
  display: flex;
  align-items: center;
}

.btn-header-login:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold-primary);
}

.btn-header-register {
  background: var(--gold-gradient);
  color: var(--text-inverse);
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow: var(--gold-glow);
  transition: all 0.2s ease;
  min-height: 36px;
  display: flex;
  align-items: center;
}

.btn-header-register:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

/* Notification Ticker (Uses <div> or <p>, NEVER headings) */
.ticker-bar {
  background: #202020;
  border-bottom: 1px solid var(--border-subtle);
  padding: 6px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--gold-secondary);
}

.ticker-icon {
  font-size: 14px;
  animation: pulse 2s infinite;
}

.ticker-marquee {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-secondary);
}

/* ==========================================================================
   Hero Container with Immersive Casino Background & Dark Overlay
   ========================================================================== */
.hero-container {
  position: relative;
  background-image: linear-gradient(180deg, rgba(43, 43, 43, 0.75) 0%, rgba(43, 43, 43, 0.98) 100%), url('/images/hero-casino-bg.webp');
  background-size: cover;
  background-position: center;
  padding: 24px 16px 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
}

/* The <h1> MUST BE the first heading tag in the document */
h1.hero-h1 {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 8px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

h1.hero-h1 span.gold {
  color: var(--gold-primary);
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  max-width: 380px;
}

.hero-badges-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 16px;
}

.hero-pill-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-strong);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  color: var(--gold-secondary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.hero-featured-visual {
  width: 100%;
  max-width: 390px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-gold);
  margin-bottom: 16px;
  position: relative;
}

.hero-featured-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-cta-banner {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ==========================================================================
   Primary Action Buttons (Thumb-Friendly, min-height: 48px)
   ========================================================================== */
.btn-primary-play {
  background: var(--gold-gradient);
  color: var(--text-inverse);
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow: var(--gold-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
}

.btn-primary-play:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 6px 22px rgba(253, 185, 49, 0.55);
}

.btn-ghost-info {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  transition: all 0.2s ease;
}

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

/* ==========================================================================
   Category Selector Tabs
   ========================================================================== */
.cat-scroll-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 14px;
  background: #242424;
  scrollbar-width: none;
  border-bottom: 1px solid var(--border-subtle);
}

.cat-scroll-tabs::-webkit-scrollbar {
  display: none;
}

.cat-tab-item {
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--surface);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.cat-tab-item.active,
.cat-tab-item:hover {
  background: var(--gold-gradient);
  color: var(--text-inverse);
  box-shadow: var(--gold-glow);
  font-weight: 700;
}

/* ==========================================================================
   3x2 Interactive Grid Boxes (3 Rows x 2 Columns)
   ========================================================================== */
.grid-section {
  padding: 18px 14px;
}

.section-hdr {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

h2.section-title {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.section-link {
  font-size: 12px;
  color: var(--gold-secondary);
  text-decoration: none;
  font-weight: 600;
}

.grid-3x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

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

.game-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-md);
}

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

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

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

.card-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(0, 0, 0, 0.75);
  color: var(--gold-primary);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-gold);
  backdrop-filter: blur(4px);
}

.card-rtp-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(0, 200, 83, 0.85);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-pill);
}

.card-content {
  padding: 10px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

h3.card-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-meta {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
}

/* Dual Buttons on Every Card */
.card-dual-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
}

.btn-card-play {
  background: var(--gold-gradient);
  color: var(--text-inverse);
  font-size: 12px;
  font-weight: 700;
  padding: 7px 10px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  text-align: center;
  box-shadow: 0 2px 8px rgba(253, 185, 49, 0.35);
  transition: all 0.2s ease;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-card-play:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn-card-info {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 8px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  text-align: center;
  transition: all 0.2s ease;
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-card-info:hover {
  border-color: var(--gold-secondary);
  color: var(--gold-primary);
  background: rgba(255, 255, 255, 0.04);
}

/* 3x2 Grid Pagination */
.grid-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.page-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

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

/* ==========================================================================
   Payment Quick Cashier Showcase
   ========================================================================== */
.cashier-quick-box {
  background: #242424;
  border-radius: var(--radius-md);
  padding: 14px;
  border: 1px solid var(--border-subtle);
  margin-bottom: 16px;
}

.cashier-methods-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
}

.payment-method-card {
  flex: 1;
  background: var(--surface-card);
  border-radius: var(--radius-sm);
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid var(--border-subtle);
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.payment-method-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

.payment-method-card img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  margin-bottom: 4px;
}

.payment-method-name {
  font-size: 11px;
  font-weight: 700;
}

.payment-method-time {
  font-size: 10px;
  color: var(--accent-green);
}

/* ==========================================================================
   Content Sections, Dual-Action Box & Article Typography
   ========================================================================== */
.content-wrapper {
  padding: 16px 14px;
}

.article-body {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.article-body p {
  margin-bottom: 14px;
}

.article-body h2 {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 20px;
  margin-bottom: 10px;
  border-left: 3px solid var(--gold-primary);
  padding-left: 8px;
}

.article-body h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--gold-secondary);
  margin-top: 14px;
  margin-bottom: 8px;
}

.article-body ul,
.article-body ol {
  margin-left: 20px;
  margin-bottom: 14px;
}

.article-body li {
  margin-bottom: 6px;
}

.article-body a {
  color: var(--gold-primary);
  text-decoration: underline;
}

.inline-context-image {
  width: 100%;
  border-radius: var(--radius-md);
  margin: 14px 0;
  border: 1px solid var(--border-subtle);
  display: block;
}

/* Dual-Action Card Component (::: dual-action-card) */
.dual-action-card {
  background: linear-gradient(180deg, #363636 0%, #292929 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 16px;
  margin: 18px 0;
  box-shadow: var(--shadow-sm);
}

.dual-action-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--gold-primary);
  margin-bottom: 6px;
}

.dual-action-subtext {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.dual-action-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dual-action-links li {
  margin-bottom: 6px;
  font-size: 12px;
}

/* Tables in Article */
.custom-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 14px 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: left;
}

.article-table th {
  background: #222222;
  color: var(--gold-secondary);
  padding: 10px 8px;
  border-bottom: 1px solid var(--border-strong);
}

.article-table td {
  padding: 8px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--surface-card);
}

/* ==========================================================================
   Collapsible FAQ Accordion Component
   ========================================================================== */
.faq-section {
  padding: 16px 14px;
  border-top: 1px solid var(--border-subtle);
}

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

.faq-question {
  width: 100%;
  padding: 12px 14px;
  text-align: left;
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 48px;
}

.faq-chevron {
  transition: transform 0.25s ease;
  color: var(--gold-secondary);
  font-size: 12px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 14px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
  background: #262626;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 10px 14px 14px 14px;
  border-top: 1px solid var(--border-subtle);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

/* ==========================================================================
   E-E-A-T Author & Tested Badges Block
   ========================================================================== */
.eeat-trust-block {
  background: #222222;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  margin: 16px 14px;
}

.author-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: #121212;
}

.author-info h4 {
  font-size: 13px;
  color: #ffffff;
}

.author-title {
  font-size: 11px;
  color: var(--gold-secondary);
}

.author-bio {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 10px;
}

.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  padding-top: 8px;
  border-top: 1px solid var(--border-subtle);
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-secondary);
}

.trust-badge-icon {
  color: var(--accent-green);
  font-size: 13px;
}

/* ==========================================================================
   Mandatory Responsible Gaming Footer Block (NON-NEGOTIABLE)
   ========================================================================== */
.responsible-gaming-footer {
  background: #1e1e1e;
  border-top: 1px solid var(--border-subtle);
  padding: 20px 14px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

.rg-age-badge {
  display: inline-block;
  background: #d32f2f;
  color: #ffffff;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  margin-bottom: 10px;
}

.rg-statement {
  font-size: 12px;
  color: #e0e0e0;
  margin-bottom: 8px;
  font-weight: 600;
}

.rg-hotline {
  font-size: 11px;
  margin-bottom: 12px;
  color: var(--text-secondary);
}

.rg-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
}

.rg-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 11px;
}

.rg-links a:hover {
  color: var(--gold-secondary);
}

.rg-copyright {
  margin-top: 12px;
  font-size: 10px;
  color: #666666;
}

/* ==========================================================================
   Fixed Bottom Navigation (.bottom-nav)
   ========================================================================== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 64px;
  background: rgba(36, 36, 36, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 900;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.5);
}

.nav-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  gap: 3px;
  min-height: 48px;
  transition: all 0.2s ease;
}

.nav-tab-icon {
  font-size: 18px;
  line-height: 1;
}

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

.nav-tab.active .nav-tab-icon {
  transform: translateY(-2px);
  filter: drop-shadow(0 2px 6px rgba(255, 215, 0, 0.4));
}

/* ==========================================================================
   21+ Age Gate Modal Component
   (Uses <div class="modal-title">, NEVER <h1>-<h6> tags)
   ========================================================================== */
.age-gate-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.age-gate-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.age-gate-modal {
  width: 100%;
  max-width: 360px;
  background: #2b2b2b;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.85);
  animation: modalScaleUp 0.25s ease-out;
}

@keyframes modalScaleUp {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-badge-21 {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-pill);
  background: #d32f2f;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  margin: 0 auto 12px auto;
  box-shadow: 0 4px 14px rgba(211, 47, 47, 0.4);
}

/* Strictly styled as a div/p, NOT a heading tag */
.modal-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

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

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-modal-confirm {
  background: var(--gold-gradient);
  color: var(--text-inverse);
  font-size: 15px;
  font-weight: 700;
  padding: 12px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  box-shadow: var(--gold-glow);
  min-height: 48px;
  transition: all 0.2s ease;
}

.btn-modal-confirm:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn-modal-exit {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  font-size: 13px;
  font-weight: 600;
  padding: 10px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  display: block;
  min-height: 44px;
  line-height: 24px;
}

.btn-modal-exit:hover {
  color: #ffffff;
  border-color: var(--border-strong);
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 0.9; }
}
