/* ==========================================================================
   Gita Myanmar UI/UX Upgrade Stylesheet
   --------------------------------------------------------------------------
   Loaded after main.css on redesigned pages (home, events, event-detail,
   checkout). Adds a refined design system, new components, and responsive
   improvements inspired by DICE, RA, SeatGeek, Ticketmaster, Eventbrite,
   Songkick, Bandsintown, AXS, StubHub, and Fever.
   ========================================================================== */

/* ── Extra font: Space Grotesk for display type ── */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ── Extended tokens ── */
:root {
  --rdm-font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --rdm-font-body: 'Inter', system-ui, sans-serif;

  --rdm-rose: #DC2626;
  --rdm-rose-light: #F87171;
  --rdm-rose-soft: rgba(220, 38, 38, 0.12);
  --rdm-gold: #F59E0B;
  --rdm-cyan: #22D3EE;
  --rdm-green: #10B981;

  --rdm-bg: #070202;
  --rdm-surface: #0F0505;
  --rdm-card: #150707;
  --rdm-elev: #1C0909;
  --rdm-border: rgba(255, 255, 255, 0.08);
  --rdm-border-strong: rgba(255, 255, 255, 0.14);
  --rdm-text: #F8FAFC;
  --rdm-text-muted: #94A3B8;
  --rdm-text-faint: #64748B;

  --rdm-radius-sm: 0.625rem;
  --rdm-radius-md: 1rem;
  --rdm-radius-lg: 1.25rem;
  --rdm-radius-xl: 1.75rem;
  --rdm-radius-full: 9999px;

  --rdm-shadow-sm: 0 1px 2px rgba(0,0,0,0.5);
  --rdm-shadow-md: 0 4px 24px rgba(0,0,0,0.55);
  --rdm-shadow-lg: 0 12px 48px rgba(0,0,0,0.65);
  --rdm-shadow-glow: 0 0 40px rgba(220,38,38,0.22);
  --rdm-shadow-glow-sm: 0 0 20px rgba(220,38,38,0.18);

  --rdm-transition: 220ms cubic-bezier(0.4,0,0.2,1);
  --rdm-spring: 420ms cubic-bezier(0.34,1.56,0.64,1);
}

/* ── Base refinements ── */
html { scroll-behavior: smooth; }
body {
  font-family: var(--rdm-font-body);
  background: var(--rdm-bg);
  color: var(--rdm-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Remove the global locked overflow from main.css for redesigned pages */
body.rdm-upgrade { overflow: auto !important; height: auto !important; }

/* ── Utilities ── */
.rdm-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.rdm-text-balance { text-wrap: balance; }
.rdm-gradient-text {
  background: linear-gradient(135deg, var(--rdm-rose) 0%, var(--rdm-rose-light) 55%, #FCA5A5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.rdm-glass {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--rdm-border);
}
.rdm-container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
@media (max-width: 640px) { .rdm-container { padding: 0 1.25rem; } }

/* ── Animations ── */
@keyframes rdmFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes rdmFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes rdmScaleIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes rdmPulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.65; transform: scale(1.25); }
}
@keyframes rdmShimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes rdmSpin { to { transform: rotate(360deg); } }
@keyframes rdmFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.rdm-animate { animation: rdmFadeUp 0.55s cubic-bezier(0.16,1,0.3,1) both; }
.rdm-animate-1 { animation-delay: 0ms; }
.rdm-animate-2 { animation-delay: 80ms; }
.rdm-animate-3 { animation-delay: 160ms; }
.rdm-animate-4 { animation-delay: 240ms; }
.rdm-animate-5 { animation-delay: 320ms; }

/* ── Buttons ── */
.rdm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--rdm-font-body);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1;
  border: none;
  border-radius: var(--rdm-radius-md);
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--rdm-transition), box-shadow var(--rdm-transition), opacity var(--rdm-transition);
  white-space: nowrap;
}
.rdm-btn:active { transform: scale(0.97); }
.rdm-btn-primary {
  background: linear-gradient(135deg, #991B1B 0%, #DC2626 40%, #EF4444 70%, #DC2626 100%);
  background-size: 220% 220%;
  color: #fff;
  box-shadow: 0 4px 20px rgba(220,38,38,0.35), inset 0 1px 0 rgba(255,255,255,0.12);
  animation: rdmShimmer 5s ease infinite;
}
.rdm-btn-primary:hover { box-shadow: 0 6px 28px rgba(220,38,38,0.5); }
.rdm-btn-secondary {
  background: var(--rdm-elev);
  color: var(--rdm-text);
  border: 1px solid var(--rdm-border-strong);
}
.rdm-btn-secondary:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.22); }
.rdm-btn-ghost {
  background: transparent;
  color: var(--rdm-text);
  border: 1px solid var(--rdm-border);
}
.rdm-btn-ghost:hover { background: rgba(255,255,255,0.05); border-color: var(--rdm-border-strong); }
.rdm-btn-lg { padding: 0.95rem 1.6rem; font-size: 1rem; border-radius: var(--rdm-radius-lg); }
.rdm-btn-sm { padding: 0.55rem 0.9rem; font-size: 0.8rem; border-radius: var(--rdm-radius-sm); }
.rdm-btn-pill { border-radius: var(--rdm-radius-full); }
.rdm-btn-block { width: 100%; }
.rdm-btn:disabled { opacity: 0.55; cursor: not-allowed; }

/* ── Cards v2 ── */
.rdm-card {
  background: var(--rdm-card);
  border: 1px solid var(--rdm-border);
  border-radius: var(--rdm-radius-lg);
  overflow: hidden;
  transition: transform var(--rdm-transition), box-shadow var(--rdm-transition), border-color var(--rdm-transition);
}
.rdm-card:hover { border-color: var(--rdm-border-strong); box-shadow: var(--rdm-shadow-md); }
.rdm-card-elev { background: var(--rdm-elev); }

/* ── Event Card v2 (DICE-style full-bleed) ── */
.rdm-event-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--rdm-radius-lg);
  overflow: hidden;
  background: var(--rdm-card);
  border: 1px solid var(--rdm-border);
  transition: transform var(--rdm-transition), box-shadow var(--rdm-transition);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.rdm-event-card:hover { box-shadow: var(--rdm-shadow-lg); border-color: rgba(220,38,38,0.25); }
.rdm-event-card:active { transform: scale(0.99); }
.rdm-event-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.rdm-event-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.rdm-event-card:hover .rdm-event-card__media img { transform: scale(1.06); }
.rdm-event-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,2,2,0.92) 0%, rgba(7,2,2,0.35) 45%, transparent 70%);
  pointer-events: none;
}
.rdm-event-card__badge-row {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.4rem;
  pointer-events: none;
}
.rdm-event-card__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  padding: 0.35rem 0.5rem;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--rdm-radius-sm);
  text-align: center;
}
.rdm-event-card__date .month { font-size: 0.6rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--rdm-rose-light); }
.rdm-event-card__date .day { font-size: 1.1rem; font-weight: 900; color: #fff; line-height: 1; }
.rdm-event-card__heart {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.2s cubic-bezier(0.34,1.56,0.64,1);
}
.rdm-event-card__heart:hover { transform: scale(1.12); color: var(--rdm-rose); border-color: rgba(220,38,38,0.35); }
.rdm-event-card__heart.on { color: var(--rdm-rose); background: rgba(220,38,38,0.18); border-color: rgba(220,38,38,0.35); }

.rdm-event-card__artist {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.15);
  box-shadow: 0 4px 12px rgba(0,0,0,0.45);
  background: var(--rdm-surface);
  z-index: 3;
  pointer-events: none;
}
.rdm-event-card__artist img { width: 100%; height: 100%; object-fit: cover; }

.rdm-event-card__content { padding: 1rem; flex: 1; display: flex; flex-direction: column; gap: 0.35rem; }
.rdm-event-card__title { font-size: 1.05rem; font-weight: 800; line-height: 1.2; color: var(--rdm-text); }
.rdm-event-card__meta { font-size: 0.8rem; color: var(--rdm-text-muted); display: flex; align-items: center; gap: 0.4rem; }
.rdm-event-card__meta i { color: var(--rdm-rose-light); font-size: 0.75rem; }
.rdm-event-card__footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 0.7rem; }
.rdm-event-card__price { font-size: 0.95rem; font-weight: 800; color: #fff; }
.rdm-event-card__price small { font-size: 0.7rem; color: var(--rdm-text-muted); font-weight: 500; margin-left: 0.15rem; }
.rdm-event-card__btn {
  padding: 0.45rem 0.9rem;
  border-radius: var(--rdm-radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--rdm-rose-soft);
  color: var(--rdm-rose-light);
  border: 1px solid rgba(220,38,38,0.25);
  cursor: pointer;
  transition: background var(--rdm-transition), color var(--rdm-transition);
}
.rdm-event-card:hover .rdm-event-card__btn { background: var(--rdm-rose); color: #fff; border-color: var(--rdm-rose); }

/* Music-themed genre accent + hover lift */
.rdm-event-card { --genre-color: rgba(220,38,38,0.55); }
.rdm-event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 46px rgba(0,0,0,0.35), 0 0 0 1px color-mix(in srgb, var(--genre-color) 28%, transparent);
}
.rdm-event-card__genre-tag {
  position: absolute;
  left: 3.5rem;
  bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--rdm-radius-full);
  font-size: 0.64rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #fff;
  pointer-events: none;
  z-index: 2;
}
.rdm-event-card__genre-tag i { color: var(--genre-color); }
.rdm-event-card__eq {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 20px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  z-index: 2;
}
.rdm-event-card:hover .rdm-event-card__eq { opacity: 1; transform: translateY(0); }
.rdm-event-card__eq span {
  width: 4px;
  border-radius: 2px;
  background: var(--genre-color);
  transform-origin: bottom;
  animation: rdmEqBar 0.9s ease-in-out infinite;
}
.rdm-event-card__eq span:nth-child(1) { height: 30%; animation-delay: 0s; }
.rdm-event-card__eq span:nth-child(2) { height: 70%; animation-delay: 0.12s; }
.rdm-event-card__eq span:nth-child(3) { height: 50%; animation-delay: 0.24s; }
.rdm-event-card__eq span:nth-child(4) { height: 85%; animation-delay: 0.36s; }
.rdm-event-card__eq span:nth-child(5) { height: 45%; animation-delay: 0.48s; }
@keyframes rdmEqBar {
  0%, 100% { transform: scaleY(0.35); }
  50% { transform: scaleY(1); }
}
@media (max-width: 640px) {
  .rdm-event-card__content { padding: 0.75rem; gap: 0.25rem; }
  .rdm-event-card__title { font-size: 0.95rem; }
  .rdm-event-card__meta { font-size: 0.75rem; }
  .rdm-event-card__artist { width: 36px; height: 36px; left: 0.5rem; bottom: 0.5rem; }
  .rdm-event-card__genre-tag { display: none; left: 2.75rem; right: auto; }
  .rdm-rail .rdm-event-card__genre-tag { display: inline-flex; }
  .rdm-event-card__date { min-width: 40px; padding: 0.25rem 0.4rem; }
  .rdm-event-card__date .day { font-size: 0.95rem; }
}

.rdm-mobile-search { display: none; }
@media (max-width: 768px) {
  .rdm-mobile-search { display: block; margin-bottom: 0.75rem; }
  .rdm-mobile-search .form-input { width: 100%; }
}

/* Grid */
.rdm-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
@media (max-width: 640px) { .rdm-grid { grid-template-columns: 1fr; gap: 0.75rem; } }

/* ── Horizontal rails ── */
.rdm-rail { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: 0.75rem; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.rdm-rail::-webkit-scrollbar { display: none; }
.rdm-rail .rdm-event-card { min-width: 280px; flex: 0 0 280px; scroll-snap-align: start; }
@media (max-width: 640px) { .rdm-rail .rdm-event-card { min-width: 240px; flex: 0 0 240px; } }

/* ── Badges / Pills ── */
.rdm-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.28rem 0.65rem;
  border-radius: var(--rdm-radius-full);
  border: 1px solid transparent;
}
.rdm-badge--hot { background: rgba(239,68,68,0.14); color: #F87171; border-color: rgba(239,68,68,0.22); }
.rdm-badge--sale { background: rgba(16,185,129,0.14); color: #34D399; border-color: rgba(16,185,129,0.22); }
.rdm-badge--limited { background: rgba(245,158,11,0.14); color: #FBBF24; border-color: rgba(245,158,11,0.22); }
.rdm-badge--live { background: rgba(220,38,38,0.18); color: #FCA5A5; border-color: rgba(220,38,38,0.28); }
.rdm-badge--verified { background: rgba(34,211,238,0.1); color: #22D3EE; border-color: rgba(34,211,238,0.18); }
.rdm-badge-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; animation: rdmPulse 1.6s ease-in-out infinite; }

/* ── Filter chips ── */
.rdm-chips { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.rdm-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--rdm-radius-full);
  background: var(--rdm-card);
  border: 1px solid var(--rdm-border);
  color: var(--rdm-text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--rdm-transition);
  user-select: none;
}
.rdm-chip:hover { border-color: var(--rdm-border-strong); color: var(--rdm-text); }
.rdm-chip.active { background: var(--rdm-rose-soft); color: var(--rdm-rose-light); border-color: rgba(220,38,38,0.35); }
.rdm-chip i { font-size: 0.75rem; }

/* ── Hero v2 ── */
.rdm-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--rdm-bg);
  padding-bottom: 4rem;
}
.rdm-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.rdm-hero__bg img,
.rdm-hero__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45) saturate(1.2);
}
.rdm-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 70%, rgba(220,38,38,0.25), transparent 55%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(220,38,38,0.12), transparent 50%),
    linear-gradient(to top, rgba(7,2,2,0.98) 0%, rgba(7,2,2,0.6) 45%, rgba(7,2,2,0.15) 100%);
}
.rdm-hero__body {
  position: relative;
  z-index: 10;
  width: 100%;
}
.rdm-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--rdm-rose-light);
  margin-bottom: 1rem;
}
.rdm-hero__title {
  font-family: var(--rdm-font-display);
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 760px;
  margin: 0 0 1.25rem;
}
.rdm-hero__subtitle {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--rdm-text-muted);
  max-width: 560px;
  margin-bottom: 1.75rem;
  line-height: 1.6;
}
.rdm-hero__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 2rem; }
.rdm-hero__meta { display: flex; gap: 1.5rem; flex-wrap: wrap; font-size: 0.88rem; color: var(--rdm-text-muted); }
.rdm-hero__meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.rdm-hero__meta i { color: var(--rdm-rose-light); }

/* ── Search bar v2 ── */
.rdm-searchbar {
  display: flex;
  align-items: stretch;
  background: var(--rdm-card);
  border: 1px solid var(--rdm-border);
  border-radius: var(--rdm-radius-xl);
  box-shadow: var(--rdm-shadow-md);
  overflow: hidden;
  max-width: 760px;
  transition: border-color var(--rdm-transition), box-shadow var(--rdm-transition);
}
.rdm-searchbar:focus-within { border-color: rgba(220,38,38,0.4); box-shadow: var(--rdm-shadow-glow-sm); }
.rdm-searchbar__field {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.85rem 1.1rem;
  border-right: 1px solid var(--rdm-border);
  min-width: 0;
  transition: background var(--rdm-transition);
}
.rdm-searchbar__field:hover { background: rgba(255,255,255,0.02); }
.rdm-searchbar__field:last-of-type { border-right: none; }
.rdm-searchbar__label {
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--rdm-text-faint);
  margin-bottom: 0.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.rdm-searchbar__label i { font-size: 0.65rem; color: var(--rdm-rose-light); opacity: 0.85; }
.rdm-searchbar__input {
  background: none;
  border: none;
  outline: none;
  color: var(--rdm-text);
  font-family: inherit;
  font-size: 0.95rem;
  width: 100%;
  min-height: 1.4rem;
}
.rdm-searchbar__input::placeholder { color: var(--rdm-text-faint); }
.rdm-searchbar__input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.7);
  cursor: pointer;
}
.rdm-searchbar__btn {
  align-self: center;
  margin: 0.45rem 0.55rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--rdm-radius-lg);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
@media (max-width: 640px) {
  .rdm-searchbar {
    flex-direction: column;
    border-radius: var(--rdm-radius-lg);
    padding: 0.5rem;
    gap: 0.25rem;
    background: linear-gradient(180deg, var(--rdm-card), rgba(255,255,255,0.02));
  }
  .rdm-searchbar__field {
    border-right: none;
    border-bottom: 1px solid var(--rdm-border);
    padding: 0.75rem 0.85rem;
    border-radius: var(--rdm-radius-md);
  }
  .rdm-searchbar__field:last-of-type { border-bottom: none; }
  .rdm-searchbar__input { font-size: 1rem; }
  .rdm-searchbar__btn {
    width: 100%;
    margin: 0.35rem 0 0;
    padding: 0.85rem 1rem;
    border-radius: var(--rdm-radius-md);
    order: 99;
  }
}

/* ── Section header ── */
.rdm-section { padding: 4rem 0; }
.rdm-section__header { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
@media (max-width: 640px) {
  .rdm-section { padding: 2.5rem 0; }
  .rdm-section__header { margin-bottom: 1.25rem; }
}
.rdm-section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--rdm-rose-light);
  margin-bottom: 0.45rem;
}
.rdm-section__eyebrow::before { content: ''; width: 18px; height: 2px; border-radius: 1px; background: var(--rdm-rose-light); opacity: 0.65; }
.rdm-section__title { font-family: var(--rdm-font-display); font-size: clamp(1.6rem, 3.2vw, 2.2rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; margin: 0; }
.rdm-section__link { font-size: 0.85rem; font-weight: 700; color: var(--rdm-rose-light); text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem; transition: gap var(--rdm-transition); }
.rdm-section__link:hover { gap: 0.65rem; }

/* ── Trust / value props ── */
.rdm-trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.rdm-trust-item {
  padding: 1.25rem;
  border-radius: var(--rdm-radius-lg);
  background: var(--rdm-card);
  border: 1px solid var(--rdm-border);
  transition: transform var(--rdm-transition), border-color var(--rdm-transition);
}
.rdm-trust-item:hover { border-color: var(--rdm-border-strong); }
.rdm-trust-item__icon {
  width: 42px; height: 42px; border-radius: var(--rdm-radius-md);
  display: flex; align-items: center; justify-content: center;
  background: var(--rdm-rose-soft); color: var(--rdm-rose-light); font-size: 1rem;
  margin-bottom: 0.85rem;
}
.rdm-trust-item__title { font-size: 1rem; font-weight: 800; margin-bottom: 0.25rem; }
.rdm-trust-item__text { font-size: 0.82rem; color: var(--rdm-text-muted); line-height: 1.5; }
@media (max-width: 768px) { .rdm-trust-grid { grid-template-columns: 1fr; } }

/* ── Marquee ── */
.rdm-marquee { overflow: hidden; background: var(--rdm-surface); border-top: 1px solid var(--rdm-border); border-bottom: 1px solid var(--rdm-border); padding: 0.9rem 0; }
.rdm-marquee__track { display: flex; white-space: nowrap; animation: rdmMarquee 38s linear infinite; }
.rdm-marquee:hover .rdm-marquee__track { animation-play-state: paused; }
@keyframes rdmMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.rdm-marquee__item { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0 1.4rem; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--rdm-text-faint); }
.rdm-marquee__item i { color: var(--rdm-rose-light); font-size: 0.65rem; }

/* ── Tier cards ── */
.rdm-tier-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: var(--rdm-radius-lg);
  background: linear-gradient(145deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1.5px solid var(--rdm-border);
  cursor: pointer;
  transition: all var(--rdm-transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.rdm-tier-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--rdm-border-strong);
  transition: background var(--rdm-transition);
}
.rdm-tier-card:hover { border-color: var(--rdm-border-strong); background: linear-gradient(145deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%); box-shadow: 0 10px 28px rgba(0,0,0,0.25); }
.rdm-tier-card.selected { border-color: var(--rdm-rose); background: linear-gradient(145deg, rgba(220,38,38,0.12) 0%, rgba(220,38,38,0.04) 100%); box-shadow: 0 0 24px rgba(220,38,38,0.18), 0 10px 28px rgba(0,0,0,0.25); }
.rdm-tier-card.selected::before { background: var(--rdm-rose); }
.rdm-tier-card__header { display: flex; align-items: center; justify-content: space-between; }
.rdm-tier-card__radio {
  width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--rdm-border-strong);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  background: rgba(0,0,0,0.2);
}
.rdm-tier-card.selected .rdm-tier-card__radio { border-color: var(--rdm-rose); background: var(--rdm-rose); }
.rdm-tier-card__radio::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #fff; opacity: 0; }
.rdm-tier-card.selected .rdm-tier-card__radio::after { opacity: 1; }
.rdm-tier-card__info { flex: 1; min-width: 0; }
.rdm-tier-card__name { font-weight: 800; font-size: 0.9rem; margin-bottom: 0.2rem; display: flex; align-items: center; gap: 0.4rem; line-height: 1.25; }
.rdm-tier-card__desc { font-size: 0.75rem; color: var(--rdm-text-muted); }
.rdm-tier-card__price { font-weight: 900; font-size: 1.05rem; color: #fff; text-align: right; }
.rdm-tier-card__price small { display: block; font-size: 0.65rem; color: var(--rdm-text-faint); font-weight: 500; }
.rdm-tier-card__bar { height: 4px; background: rgba(255,255,255,0.08); border-radius: 2px; margin-top: 0.5rem; overflow: hidden; }
.rdm-tier-card__bar > span { display: block; height: 100%; background: linear-gradient(90deg, var(--rdm-rose) 0%, var(--rdm-rose-light) 100%); border-radius: 2px; }
@media (max-width: 400px) {
  .rdm-tier-card__name { font-size: 0.85rem; }
  .rdm-tier-card__price { font-size: 0.95rem; }
}

/* ── Stepper ── */
.rdm-stepper { display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 1rem 0; }
.rdm-step { display: flex; align-items: center; gap: 0.45rem; font-size: 0.78rem; font-weight: 700; color: var(--rdm-text-faint); }
.rdm-step__num {
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--rdm-card); border: 1.5px solid var(--rdm-border);
  font-size: 0.75rem; font-weight: 800;
}
.rdm-step.active { color: var(--rdm-text); }
.rdm-step.active .rdm-step__num { background: var(--rdm-rose); border-color: var(--rdm-rose); color: #fff; }
.rdm-step.done { color: var(--rdm-green); }
.rdm-step.done .rdm-step__num { background: rgba(16,185,129,0.15); border-color: rgba(16,185,129,0.35); color: var(--rdm-green); }
.rdm-stepper__line { width: 24px; height: 1px; background: var(--rdm-border); }
@media (max-width: 640px) {
  .rdm-stepper { gap: 0.25rem; }
  .rdm-step__label { display: none; }
  .rdm-stepper__line { width: 12px; }
}

/* ── Order summary / sticky panel ── */
.rdm-summary {
  position: sticky;
  top: calc(var(--navbar-h) + 1rem);
  background: var(--rdm-card);
  border: 1px solid var(--rdm-border);
  border-radius: var(--rdm-radius-lg);
  padding: 1.25rem;
}
.rdm-summary__title { font-size: 1.05rem; font-weight: 800; margin-bottom: 1rem; }
.rdm-summary__row { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--rdm-text-muted); margin-bottom: 0.5rem; }
.rdm-summary__row.total { font-size: 1.1rem; font-weight: 900; color: #fff; border-top: 1px solid var(--rdm-border); padding-top: 0.75rem; margin-top: 0.75rem; }
.rdm-summary__warn {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.75rem; color: var(--rdm-gold);
  background: rgba(245,158,11,0.08); border: 1px solid rgba(245,158,11,0.15);
  border-radius: var(--rdm-radius-sm); padding: 0.55rem 0.7rem; margin: 0.75rem 0;
}

/* ── Payment status ── */
.rdm-pay-status {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 1rem; border-radius: var(--rdm-radius-md);
  background: var(--rdm-card); border: 1px solid var(--rdm-border);
}
.rdm-pay-status__icon { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--rdm-rose-soft); color: var(--rdm-rose-light); font-size: 1rem; }
.rdm-pay-status__icon.rdm-spin::before { content: ''; width: 20px; height: 20px; border: 2px solid rgba(255,255,255,0.12); border-top-color: var(--rdm-rose-light); border-radius: 50%; animation: rdmSpin 0.8s linear infinite; }
.rdm-pay-status__title { font-weight: 800; font-size: 0.95rem; margin-bottom: 0.15rem; }
.rdm-pay-status__text { font-size: 0.8rem; color: var(--rdm-text-muted); }

/* ── Empty state ── */
.rdm-empty { text-align: center; padding: 3rem 1rem; }
.rdm-empty__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--rdm-card); border: 1px solid var(--rdm-border); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; color: var(--rdm-text-faint); font-size: 1.4rem; }
.rdm-empty__title { font-size: 1.1rem; font-weight: 800; margin-bottom: 0.35rem; }
.rdm-empty__text { font-size: 0.85rem; color: var(--rdm-text-muted); margin-bottom: 1rem; }

/* ── User menu modal ── */
.rdm-user-menu-overlay {
  position: fixed; inset: 0; z-index: 10001;
  background: rgba(7,2,2,0.65);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.rdm-user-menu-overlay.open { opacity: 1; pointer-events: auto; }
.rdm-user-menu-overlay.closing { opacity: 0; pointer-events: none; }

.rdm-user-menu {
  width: min(360px, 100%);
  background: linear-gradient(180deg, #1a0808 0%, #110404 100%);
  border: 1px solid rgba(220,38,38,0.18);
  border-radius: var(--rdm-radius-xl);
  box-shadow: 0 24px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.03);
  overflow: hidden;
  transform: scale(0.92) translateY(16px);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
}
.rdm-user-menu-overlay.open .rdm-user-menu {
  transform: scale(1) translateY(0);
  opacity: 1;
}
.rdm-user-menu-overlay.closing .rdm-user-menu {
  transform: scale(0.96) translateY(8px);
  opacity: 0;
}

.rdm-user-menu__header {
  position: relative;
  padding: 1.75rem 1.5rem 1.25rem;
  text-align: center;
  background: radial-gradient(ellipse 120% 100% at 50% 0%, rgba(220,38,38,0.14) 0%, transparent 65%);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.rdm-user-menu__close {
  position: absolute; top: 0.75rem; right: 0.75rem;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  color: var(--rdm-text-muted); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  transition: all var(--rdm-transition);
}
.rdm-user-menu__close:hover { background: rgba(220,38,38,0.18); border-color: rgba(220,38,38,0.35); color: #fff; transform: rotate(90deg); }
.rdm-user-menu__avatar {
  width: 76px; height: 76px; border-radius: 50%;
  background: var(--rdm-surface); border: 2px solid rgba(220,38,38,0.25);
  margin: 0 auto 0.85rem;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0,0,0,0.4), 0 0 0 4px rgba(220,38,38,0.08);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.4rem; color: #fff;
}
.rdm-user-menu__avatar img { width: 100%; height: 100%; object-fit: cover; }
.rdm-user-menu__name { font-weight: 800; font-size: 1.15rem; color: #fff; letter-spacing: -0.01em; }
.rdm-user-menu__email { font-size: 0.8rem; color: var(--rdm-text-muted); margin-top: 0.25rem; }

.rdm-user-menu__body { padding: 0.5rem 0; }
.rdm-user-menu__item {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 0.9rem 1.25rem;
  color: var(--rdm-text); text-decoration: none;
  font-size: 0.92rem; font-weight: 500;
  transition: all 0.15s ease;
  cursor: pointer;
}
.rdm-user-menu__item:hover { background: rgba(255,255,255,0.04); color: #fff; }
.rdm-user-menu__item i { width: 20px; text-align: center; color: var(--rdm-rose-light); font-size: 0.95rem; }
.rdm-user-menu__item.danger { color: var(--rdm-rose-light); }
.rdm-user-menu__item.danger:hover { background: rgba(220,38,38,0.08); }
.rdm-user-menu__divider { height: 1px; background: rgba(255,255,255,0.06); margin: 0.35rem 0.75rem; }

@media (max-width: 480px) {
  .rdm-user-menu-overlay { padding: 1rem; align-items: flex-end; }
  .rdm-user-menu {
    width: 100%;
    border-radius: var(--rdm-radius-xl) var(--rdm-radius-xl) 0 0;
    transform: translateY(100%);
  }
  .rdm-user-menu-overlay.open .rdm-user-menu { transform: translateY(0); opacity: 1; }
  .rdm-user-menu-overlay.closing .rdm-user-menu { transform: translateY(20%); opacity: 0; }
}

/* ── Nav v2 (consistent marketing + app) ── */
.rdm-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--navbar-h);
  transition: background var(--rdm-transition), backdrop-filter var(--rdm-transition), box-shadow var(--rdm-transition);
}
.rdm-nav.solid {
  background: rgba(7,2,2,0.92);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow: 0 1px 0 var(--rdm-border), 0 4px 24px rgba(0,0,0,0.45);
}
.rdm-nav__inner { height: 100%; display: flex; align-items: center; gap: 0.75rem; padding: 0 1.5rem; }
.rdm-nav__logo { display: flex; align-items: center; gap: 0.55rem; text-decoration: none; flex-shrink: 0; }
.rdm-nav__mark { font-size: 1.45rem; line-height: 1; filter: drop-shadow(0 0 8px rgba(220,38,38,0.5)); }
.rdm-nav__word { display: flex; flex-direction: column; line-height: 1; }
.rdm-nav__word strong { font-size: 1.15rem; font-weight: 900; letter-spacing: 0.04em; color: #fff; }
.rdm-nav__word span { font-size: 0.52rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rdm-text-faint); }
.rdm-nav__links { display: flex; align-items: center; gap: 0.2rem; margin-left: 1.5rem; }
.rdm-nav__links a { color: var(--rdm-text-muted); font-size: 0.85rem; font-weight: 600; padding: 0.4rem 0.75rem; border-radius: var(--rdm-radius-sm); text-decoration: none; transition: all var(--rdm-transition); }
.rdm-nav__links a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.rdm-nav__spacer { flex: 1; }
.rdm-nav__actions { display: flex; align-items: center; gap: 0.5rem; }
@media (max-width: 640px) {
  .rdm-nav__actions a:nth-child(2) { display: none; }
}
.rdm-nav__icon-btn {
  width: 36px; height: 36px; border-radius: var(--rdm-radius-sm);
  background: rgba(255,255,255,0.05); border: 1px solid var(--rdm-border);
  color: var(--rdm-text-muted); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--rdm-transition); font-size: 0.85rem; text-decoration: none;
}
.rdm-nav__icon-btn:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: var(--rdm-border-strong); }
.rdm-nav__hamburger { display: none; }
@media (max-width: 900px) {
  .rdm-nav__links { display: none; }
  .rdm-nav__hamburger { display: flex; }
}

/* Fullscreen menu */
.rdm-fmenu {
  position: fixed; inset: 0; z-index: 899;
  background: rgba(7,2,2,0.98);
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
}
.rdm-fmenu.open { opacity: 1; pointer-events: auto; }
.rdm-fmenu a { font-family: var(--rdm-font-display); font-size: 1.8rem; font-weight: 700; color: #fff; text-decoration: none; padding: 0.6rem 0; transition: color var(--rdm-transition); }
.rdm-fmenu a:hover { color: var(--rdm-rose-light); }

/* ── Footer v2 ── */
.rdm-footer { background: var(--rdm-surface); border-top: 1px solid var(--rdm-border); padding: 3rem 0 1.5rem; }
.rdm-footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 2rem; }
.rdm-footer__brand { font-size: 0.85rem; color: var(--rdm-text-muted); line-height: 1.7; }
.rdm-footer__brand strong { color: #fff; font-size: 1.1rem; }
.rdm-footer__col h4 { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: #fff; margin-bottom: 0.9rem; }
.rdm-footer__col a { display: block; font-size: 0.84rem; color: var(--rdm-text-muted); text-decoration: none; margin-bottom: 0.5rem; transition: color var(--rdm-transition); }
.rdm-footer__col a:hover { color: var(--rdm-rose-light); }
.rdm-footer__bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--rdm-border); font-size: 0.78rem; color: var(--rdm-text-faint); }
@media (max-width: 768px) {
  .rdm-footer__grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .rdm-footer__brand { grid-column: 1 / -1; }
  .rdm-footer__bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
@media (max-width: 480px) { .rdm-footer__grid { grid-template-columns: 1fr; } }

/* ── App shell overrides for redesigned pages ── */
body.rdm-upgrade .app-sidebar {
  background:
    radial-gradient(circle at 0% 0%, rgba(220,38,38,0.06) 0%, transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(124,58,237,0.04) 0%, transparent 35%),
    linear-gradient(180deg, #120404 0%, #0a0202 50%, #070101 100%);
  border-right: 1px solid rgba(255,255,255,0.05);
}
body.rdm-upgrade .app-sidebar::before {
  background: radial-gradient(circle, rgba(220,38,38,0.08) 0%, transparent 60%);
  opacity: 0.7;
}
body.rdm-upgrade .app-sidebar::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 48px;
  background: linear-gradient(to top, rgba(7,2,2,0.85) 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}
body.rdm-upgrade .sidebar-logo {
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 0.875rem 1rem;
}
body.rdm-upgrade .sidebar-logo-link.rdm-sidebar-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}
body.rdm-upgrade .rdm-sidebar-mark {
  font-size: 1.55rem;
  line-height: 1;
  filter: drop-shadow(0 0 8px rgba(220,38,38,0.35));
  flex-shrink: 0;
}
body.rdm-upgrade .rdm-sidebar-word {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 2px;
}
body.rdm-upgrade .rdm-sidebar-word strong {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #fff;
}
body.rdm-upgrade .rdm-sidebar-word span {
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rdm-text-faint);
}
body.rdm-upgrade .sidebar-nav { padding: 0.625rem 0.75rem; gap: 0.25rem; }
body.rdm-upgrade .sidebar-nav-label {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.28);
  padding: 0.5rem 0.625rem 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
body.rdm-upgrade .sidebar-nav-label::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--rdm-rose);
  box-shadow: 0 0 8px var(--rdm-rose);
}
body.rdm-upgrade .sidebar-nav-divider {
  background: rgba(255,255,255,0.05);
  margin: 0.35rem 0;
}
body.rdm-upgrade .sidebar-nav-item {
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  gap: 0.75rem;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
body.rdm-upgrade .sidebar-nav-item::before { display: none; }
body.rdm-upgrade .sidebar-nav-item i {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.25s ease;
}
body.rdm-upgrade .sidebar-nav-item:hover {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.9);
  transform: translateX(3px);
}
body.rdm-upgrade .sidebar-nav-item:hover i {
  background: rgba(255,255,255,0.1);
  color: #fff;
  transform: scale(1.1) rotate(-4deg);
}
body.rdm-upgrade .sidebar-nav-item.active {
  background: linear-gradient(135deg, rgba(220,38,38,0.22) 0%, rgba(124,58,237,0.18) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(220,38,38,0.15), inset 0 1px 0 rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
}
body.rdm-upgrade .sidebar-nav-item.active i {
  background: linear-gradient(135deg, #DC2626 0%, #F87171 100%);
  color: #fff;
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 0 16px rgba(220,38,38,0.45);
  transform: scale(1.08);
}
body.rdm-upgrade .sidebar-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 0.75rem;
}
body.rdm-upgrade .sidebar-user-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
body.rdm-upgrade .sidebar-user-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.14);
  transform: translateY(-1px);
}
body.rdm-upgrade .sidebar-user-avatar {
  box-shadow: 0 0 0 2px rgba(220,38,38,0.35), 0 0 12px rgba(220,38,38,0.25);
}
body.rdm-upgrade .app-topbar { background: rgba(7,2,2,0.95); border-bottom-color: var(--rdm-border); }
body.rdm-upgrade .app-topbar.is-scrolled { background: rgba(7,2,2,0.98); border-bottom-color: rgba(255,255,255,0.12); }
body.rdm-upgrade .app-content { background: var(--rdm-bg); }
body.rdm-upgrade .app-bottom-nav { background: rgba(7,2,2,0.97); border-top-color: var(--rdm-border); }
body.rdm-upgrade .concert-card { border-radius: var(--rdm-radius-lg); border-color: var(--rdm-border); background: var(--rdm-card); }
body.rdm-upgrade .btn-primary { border-radius: var(--rdm-radius-md); }

/* ── Mobile bottom sheet for event detail ── */
.rdm-sticky-sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 850;
  background: rgba(7,2,2,0.98);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--rdm-border);
  box-shadow: 0 -8px 40px rgba(0,0,0,0.6);
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  display: none;
}
@media (max-width: 640px) {
  .rdm-sticky-sheet { display: block; }
  body.has-rdm-sheet #app-bottom-nav { display: none !important; }
}
.rdm-sticky-sheet__inner { display: flex; align-items: center; gap: 0.75rem; }
.rdm-sticky-sheet__info { flex: 1; min-width: 0; }
.rdm-sticky-sheet__title { font-size: 0.85rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rdm-sticky-sheet__price { font-size: 0.75rem; color: var(--rdm-text-muted); }
.rdm-sticky-sheet__btn { padding: 0.7rem 1.25rem; font-size: 0.85rem; }

/* ── Skeleton loading ── */
.rdm-skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.09) 50%, rgba(255,255,255,0.04) 75%);
  background-size: 200% 100%;
  border-radius: var(--rdm-radius-md);
  animation: rdmSkeleton 1.4s ease-in-out infinite;
}
@keyframes rdmSkeleton { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ── Accessibility ── */
.rdm-focus:focus-visible { outline: 2px solid var(--rdm-rose-light); outline-offset: 2px; }

/* ── Hide main app navbar on redesigned marketing pages ── */
body.rdm-upgrade .app-navbar { display: none !important; }

/* Centered music icon for gallery card fallbacks */
.rdm-card-fallback {
  position: relative;
}
.rdm-event-card__media.rdm-card-fallback::after {
  content: '\f001';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.14);
  font-size: 2.25rem;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
}
.rdm-gallery-item.rdm-card-fallback::after {
  content: '\f001';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.18);
  font-size: 2rem;
  pointer-events: none;
}

/* ── Responsive sidebar drawer (mobile / iPad) ── */
@media (max-width: 900px) {
  body.rdm-upgrade .app-sidebar {
    display: block !important;
    width: min(300px, 85vw);
    transform: translateX(-105%) !important;
    border-radius: 0 24px 24px 0;
    box-shadow: 12px 0 40px rgba(0,0,0,0.55);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    z-index: 1200;
  }
  body.rdm-upgrade .app-sidebar.open {
    transform: translateX(0) !important;
    box-shadow: 20px 0 60px rgba(0,0,0,0.65);
  }
  body.rdm-upgrade .sidebar-overlay.open {
    display: block;
    z-index: 1190;
  }
  body.rdm-upgrade .app-main { margin-left: 0 !important; }
}

@media (max-width: 900px) {
  /* Hide bottom app bar while the sidebar drawer/menu is open */
  body.rdm-upgrade.sidebar-open #app-bottom-nav,
  body.rdm-upgrade.sidebar-open .rdm-float-nav {
    display: none !important;
  }
}

@media (max-width: 640px) {
  /* Compact bottom-sheet menu on phones */
  body.rdm-upgrade .app-sidebar {
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: auto;
    min-height: auto;
    max-height: min(90vh, 560px);
    border-radius: 24px 24px 0 0;
    transform: translateY(105%) !important;
    box-shadow: 0 -8px 40px rgba(0,0,0,0.6);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    overflow: hidden !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
    z-index: 1200;
  }
  body.rdm-upgrade .app-sidebar::-webkit-scrollbar { display: none; }
  body.rdm-upgrade .app-sidebar.open {
    transform: translateY(0) !important;
    box-shadow: 0 -12px 60px rgba(0,0,0,0.7);
  }
  /* Drag handle */
  body.rdm-upgrade .app-sidebar::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,0.2);
    pointer-events: none;
    z-index: 10;
  }
  body.rdm-upgrade .app-sidebar,
  body.rdm-upgrade .app-sidebar.open {
    display: flex !important;
    flex-direction: column !important;
  }
  body.rdm-upgrade .sidebar-nav {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    padding: 0.75rem 1rem calc(0.5rem + env(safe-area-inset-bottom));
    gap: 0.125rem;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  body.rdm-upgrade .sidebar-nav::-webkit-scrollbar { display: none; }
  body.rdm-upgrade .sidebar-footer:empty { display: none !important; }
  body.rdm-upgrade .sidebar-nav-label {
    padding: 0.375rem 0.625rem 0.125rem;
    font-size: 0.55rem;
  }
  body.rdm-upgrade .sidebar-nav-item {
    padding: 0.55rem 0.75rem;
    border-radius: 12px;
    font-size: 0.9rem;
  }
  body.rdm-upgrade .sidebar-nav-item i {
    width: 28px;
    height: 28px;
    font-size: 0.85rem;
  }
  body.rdm-upgrade .sidebar-logo {
    display: none !important;
  }
  /* Hide lower page sections so they don't show through the mobile bottom-sheet */
  body.rdm-upgrade.sidebar-open .rdm-venue-layout,
  body.rdm-upgrade.sidebar-open .rdm-booking-card,
  body.rdm-upgrade.sidebar-open #booking-sheet {
    display: none !important;
  }
}

@media (min-width: 901px) {
  /* Ensure desktop sidebar is always visible */
  body.rdm-upgrade .app-sidebar {
    transform: translateX(0) !important;
    display: block !important;
  }
  body.rdm-upgrade .sidebar-overlay.open { display: none !important; }
}

/* ==========================================================================
   Gita Myanmar — Targeted Fixes (no layout-shift hover, card lightning)
   ========================================================================== */

/* ── Nav: logo subtitle spacing + fav button height match ── */
.rdm-nav__word { gap: 0.15rem; }

.rdm-nav__icon-btn {
  width: auto;
  aspect-ratio: 1;
  padding: 0.55rem;
  font-size: 0.8rem;
}

/* ── Concert cards: brightness boost on hover, zero layout shift ── */
.rdm-event-card {
  transition: box-shadow var(--rdm-transition), border-color var(--rdm-transition);
}

.rdm-event-card:hover {
  transform: none;
  box-shadow: var(--rdm-shadow-lg), 0 0 28px rgba(220,38,38,0.18);
  border-color: rgba(220,38,38,0.3);
}

.rdm-event-card:active {
  transform: scale(0.99);
}

/* Remove image zoom to keep layout perfectly stable */
.rdm-event-card__media img {
  transition: filter 0.4s ease, transform 0s;
}

.rdm-event-card:hover .rdm-event-card__media img {
  transform: none;
  filter: brightness(1.12) saturate(1.05);
}

/* Soft light glow overlay on the media area */
.rdm-event-card__media::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 40%, rgba(255,255,255,0.12) 0%, transparent 50%),
    radial-gradient(circle at 30% 70%, rgba(220,38,38,0.12) 0%, transparent 45%);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.4s ease;
}

.rdm-event-card:hover .rdm-event-card__media::before {
  opacity: 1;
}



/* ==========================================================================
   Gita Myanmar — Waiting state for unavailable tickets
   ========================================================================== */

/* Hide prev/next arrows when no tickets are available */
.rdm-tier-carousel--empty .rdm-tier-carousel__btn {
  display: none !important;
}

/* Waiting / "not on sale yet" state */
.rdm-waiting-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem 1rem;
  text-align: center;
  background: linear-gradient(145deg, rgba(255,255,255,0.03) 0%, rgba(220,38,38,0.04) 100%);
  border: 1px dashed rgba(220,38,38,0.25);
  border-radius: var(--rdm-radius-lg);
  color: rgba(255,255,255,0.55);
  animation: rdmWaitingPulse 2.4s ease-in-out infinite;
}

.rdm-waiting-clock {
  font-size: 1.4rem;
  opacity: 0.55;
  animation: rdmClockPulse 2.4s ease-in-out infinite;
}

.rdm-waiting-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
}

@keyframes rdmWaitingPulse {
  0%, 100% {
    border-color: rgba(255,255,255,0.1);
    box-shadow: 0 0 0 rgba(220,38,38,0);
  }
  50% {
    border-color: rgba(220,38,38,0.35);
    box-shadow: 0 0 24px rgba(220,38,38,0.1);
  }
}

@keyframes rdmClockPulse {
  0%, 100% {
    opacity: 0.45;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.15);
  }
}


/* ==========================================================================
   Global: hide bottom navigation bars on all pages
   ========================================================================== */

/* Hide the main app bottom nav and event-detail floating nav everywhere */
#app-bottom-nav,
.rdm-float-nav {
  display: none !important;
}

/* Remove extra bottom padding that was reserved for the hidden nav */
body.has-mobile-bar {
  padding-bottom: 0 !important;
}

/* Reset chat/widget positions that were lifted to avoid the hidden nav */
body.has-mobile-bar #sp-chat-fab {
  bottom: 20px !important;
}
body.has-mobile-bar #sp-chat-window {
  bottom: calc(20px + 80px) !important;
  max-height: calc(100dvh - 40px) !important;
}
body.has-mobile-bar #sp-version-picker {
  bottom: calc(20px + 76px) !important;
}

@media (max-width: 640px) {
  body.has-mobile-bar #sp-chat-fab {
    bottom: 20px !important;
  }
  body.has-mobile-bar #sp-chat-window {
    bottom: calc(20px + 76px) !important;
    max-height: calc(100dvh - 40px) !important;
  }
  body.has-mobile-bar #sp-version-picker {
    bottom: calc(20px + 76px) !important;
  }
}
