/* ==========================================================================
   Gita 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 fonts: Space Grotesk for display type, Pyidaungsu for Burmese ── */
@import url('/assets/fonts/fonts.css?v=local-fonts-v1');

@font-face {
  font-family: 'Pyidaungsu';
  src: url('../fonts/Pyidaungsu-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Pyidaungsu';
  src: url('../fonts/Pyidaungsu-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ── Extended tokens ── */
:root {
  --rdm-font-display: 'Space Grotesk', 'Inter', 'Pyidaungsu', 'Noto Sans Myanmar', system-ui, sans-serif;
  --rdm-font-body: 'Inter', 'Pyidaungsu', 'Noto Sans Myanmar', 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);
}

[data-theme="light"] {
  --rdm-bg: #ffffff;
  --rdm-surface: #ffffff;
  --rdm-card: #ffffff;
  --rdm-elev: #fef2f2;
  --rdm-border: rgba(0, 0, 0, 0.08);
  --rdm-border-strong: rgba(0, 0, 0, 0.14);
  --rdm-text: #1a0808;
  --rdm-text-muted: #64748B;
  --rdm-text-faint: #94A3B8;

  --rdm-shadow-sm: 0 1px 2px rgba(0,0,0,0.08);
  --rdm-shadow-md: 0 4px 24px rgba(0,0,0,0.08);
  --rdm-shadow-lg: 0 12px 48px rgba(0,0,0,0.10);
  --rdm-shadow-glow: 0 0 40px rgba(220,38,38,0.10);
  --rdm-shadow-glow-sm: 0 0 20px rgba(220,38,38,0.08);
}

/* ── 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: hidden auto !important; height: auto !important; }

/* Normalize default button size on redesigned sub-pages */
body.rdm-upgrade .btn {
  min-height: 38px;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}
body.rdm-upgrade .btn-sm {
  min-height: 32px;
  padding: 0.4rem 0.85rem;
  font-size: 0.78rem;
}

/* ── 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: 'Poppins', 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%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(220,38,38,0.35), inset 0 1px 0 rgba(255,255,255,0.12);
}
.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; }
.rdm-btn.checkout-complete-btn:disabled,
.rdm-btn.checkout-complete-btn.is-disabled {
  opacity: 1;
  filter: none;
}

/* ── 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.72);
  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.62);
  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.62);
  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: none;
}
.rdm-event-card:hover .rdm-event-card__eq span { 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 (flip cards) ── */
.rdm-trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.rdm-trust-item {
  position: relative;
  perspective: 1000px;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  border-radius: var(--rdm-radius-lg);
  transition: transform var(--rdm-transition), border-color var(--rdm-transition), box-shadow var(--rdm-transition);
}
.rdm-trust-item__inner {
  position: relative;
  width: 100%;
  min-height: 150px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}
.rdm-trust-item.flipped .rdm-trust-item__inner { transform: rotateY(180deg); }
.rdm-trust-item__front,
.rdm-trust-item__back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: var(--rdm-radius-lg);
  background: var(--rdm-card);
  border: 1px solid var(--rdm-border);
  padding: 1.25rem;
}
.rdm-trust-item__front {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.rdm-trust-item__back {
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.rdm-trust-item:hover .rdm-trust-item__front,
.rdm-trust-item:hover .rdm-trust-item__back { 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;
  flex-shrink: 0;
}
.rdm-trust-item__title { font-size: 1rem; font-weight: 800; line-height: 1.25; }
.rdm-trust-item__text { font-size: 0.95rem; color: var(--rdm-text); line-height: 1.6; text-align: center; }

/* ── Trust / Built for music lovers (Redesigned static feature cards) ── */
.gita-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}
.gita-trust-card {
  background: var(--gita-surface-card, #1a0f21);
  border: 1px solid var(--gita-border, rgba(255, 255, 255, 0.08));
  border-radius: var(--gita-radius-lg, 20px);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.gita-trust-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gita-rose, #e11d48), var(--gita-purple, #8b5cf6));
  opacity: 0;
  transition: opacity 0.35s ease;
}
.gita-trust-card:hover {
  transform: translateY(-6px);
  border-color: rgba(225, 29, 72, 0.3);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35), 0 0 20px rgba(225, 29, 72, 0.12);
}
.gita-trust-card:hover::before {
  opacity: 1;
}
.gita-trust-card__icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--gita-radius-md, 14px);
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.15), rgba(139, 92, 246, 0.15));
  border: 1px solid rgba(225, 29, 72, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--gita-rose-glow, #f43f5e);
  margin-bottom: 1.25rem;
  transition: transform 0.35s ease, background 0.35s ease;
}
.gita-trust-card:hover .gita-trust-card__icon-wrap {
  transform: scale(1.08) rotate(3deg);
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.25), rgba(139, 92, 246, 0.25));
  border-color: rgba(225, 29, 72, 0.45);
}
.gita-trust-card__title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.gita-trust-card__desc {
  font-size: 0.92rem;
  color: var(--gita-subtext, #94a3b8);
  line-height: 1.65;
  margin: 0;
}

/* Light theme for Info section (#trust) */
[data-theme="light"] .gita-trust-card {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
[data-theme="light"] .gita-trust-card::before {
  background: linear-gradient(90deg, #e11d48, #8b5cf6);
}
[data-theme="light"] .gita-trust-card:hover {
  border-color: rgba(225, 29, 72, 0.3) !important;
  box-shadow: 0 16px 36px rgba(225, 29, 72, 0.1), 0 4px 14px rgba(0, 0, 0, 0.06);
}
[data-theme="light"] .gita-trust-card__icon-wrap {
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.08), rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(225, 29, 72, 0.2);
  color: #e11d48;
}
[data-theme="light"] .gita-trust-card:hover .gita-trust-card__icon-wrap {
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.16), rgba(139, 92, 246, 0.16));
  border-color: rgba(225, 29, 72, 0.4);
}
[data-theme="light"] .gita-trust-card__title {
  color: #0f172a !important;
}
[data-theme="light"] .gita-trust-card__desc {
  color: #475569 !important;
}

@media (max-width: 992px) {
  .gita-trust-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}
@media (max-width: 640px) {
  .gita-trust-grid { grid-template-columns: 1fr; gap: 1rem; }
  .gita-trust-card { padding: 1.5rem 1.25rem; }
}

@media (max-width: 768px) {
  .rdm-trust-grid { grid-template-columns: 1fr; }
  .rdm-trust-item__inner { min-height: 130px; }
  .rdm-trust-item__text { font-size: 0.88rem; }
}

/* ── 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; will-change: transform; transform: translate3d(0,0,0); }
.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(0,0,0,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;
}
[data-theme="light"] .rdm-user-menu-overlay {
  background: rgba(0,0,0,0.35);
}
.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: var(--gita-card-elev, var(--rdm-card, #150707));
  border: 1px solid var(--gita-border-strong, var(--rdm-border-strong, rgba(255,255,255,0.14)));
  border-radius: var(--rdm-radius-xl);
  box-shadow: var(--gita-shadow-xl, 0 24px 60px rgba(0,0,0,0.6));
  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;
}
[data-theme="light"] .rdm-user-menu {
  background: #ffffff;
  border-color: rgba(0,0,0,0.12);
  box-shadow: 0 20px 60px rgba(0,0,0,0.14), 0 0 0 1px rgba(0,0,0,0.05);
}
.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%, var(--gita-rose-soft, rgba(220,38,38,0.14)) 0%, transparent 65%);
  border-bottom: 1px solid var(--gita-border, var(--rdm-border, rgba(255,255,255,0.06)));
}
[data-theme="light"] .rdm-user-menu__header {
  background: radial-gradient(ellipse 120% 100% at 50% 0%, rgba(220,38,38,0.08) 0%, transparent 65%);
  border-bottom-color: rgba(0,0,0,0.07);
}
.rdm-user-menu__close {
  position: absolute; top: 0.75rem; right: 0.75rem;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--gita-surface, var(--rdm-surface, rgba(255,255,255,0.05)));
  border: 1px solid var(--gita-border, var(--rdm-border, rgba(255,255,255,0.08)));
  color: var(--gita-text-muted, 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: var(--gita-rose-soft, rgba(220,38,38,0.18));
  border-color: var(--gita-rose, #DC2626);
  color: var(--gita-rose, #DC2626);
  transform: rotate(90deg);
}
.rdm-user-menu__avatar {
  width: 76px; height: 76px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gita-rose, #DC2626), var(--gita-gold, #F59E0B));
  border: 3px solid var(--gita-card, var(--rdm-card, #ffffff));
  margin: 0 auto 0.85rem;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0,0,0,0.25), 0 0 0 4px var(--gita-rose-soft, rgba(220,38,38,0.12));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.4rem; color: #ffffff;
}
.rdm-user-menu__avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.rdm-user-menu__name { font-weight: 800; font-size: 1.15rem; color: var(--gita-text, var(--rdm-text, #FAFAFA)); letter-spacing: -0.01em; }
.rdm-user-menu__email { font-size: 0.8rem; color: var(--gita-text-muted, 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(--gita-text, 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: var(--gita-card-hover, var(--rdm-card-hover, rgba(255,255,255,0.04)));
  color: var(--gita-rose, #DC2626);
}
.rdm-user-menu__item i { width: 20px; text-align: center; color: var(--gita-rose, #DC2626); font-size: 0.95rem; }
.rdm-user-menu__item.danger { color: var(--gita-rose, #DC2626); }
.rdm-user-menu__item.danger:hover {
  background: var(--gita-rose-soft, rgba(220,38,38,0.08));
  color: var(--gita-rose, #DC2626);
}
.rdm-user-menu__divider { height: 1px; background: var(--gita-border, var(--rdm-border, rgba(255,255,255,0.06))); margin: 0.35rem 0.75rem; }

/* Expanded User Menu Language Switcher */
.rdm-user-menu__section {
  padding: 0.75rem 1rem;
}
.rdm-user-menu__section-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gita-text-muted, rgba(255, 255, 255, 0.65));
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.rdm-user-menu__section-label i {
  color: var(--gita-rose, #DC2626);
}
.rdm-user-menu__lang-switch {
  display: flex;
  gap: 0.25rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.25rem;
  border-radius: 999px;
  border: 1px solid var(--gita-border, rgba(255, 255, 255, 0.12));
}
.rdm-lang-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--gita-text-muted, rgba(255, 255, 255, 0.65));
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.rdm-lang-btn:hover {
  color: var(--gita-text, rgba(255, 255, 255, 0.92));
  background: rgba(255, 255, 255, 0.08);
}
.rdm-lang-btn.active {
  background: var(--gita-surface, #ffffff);
  color: var(--gita-primary, #DC2626) !important;
  border-color: var(--gita-border-strong, rgba(255, 255, 255, 0.18));
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
.rdm-lang-btn__label {
  line-height: 1;
}
[data-theme="light"] .rdm-user-menu__lang-switch {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .rdm-lang-btn {
  color: #6b7280;
}
[data-theme="light"] .rdm-lang-btn:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #111827;
}
[data-theme="light"] .rdm-lang-btn.active {
  background: #ffffff;
  color: #DC2626 !important;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Product & Media Image Overflow Protection */
img, video, iframe {
  max-width: 100%;
  box-sizing: border-box;
}

.shop-card__media img,
.shop-modal__media img,
.rdm-gallery-item img,
.rdm-update-media__item img,
.gita-detail-hero__poster img,
.rdm-detail-hero__poster img,
#hero-artist-img,
.event-hero img,
.rdm-hero__bg img {
  max-width: 100% !important;
  height: auto;
  object-fit: cover;
}

.shop-modal__box,
.shop-card__media,
.shop-modal__media,
.rdm-gallery-item,
.gita-detail-hero__poster,
.rdm-detail-hero__poster,
.rdm-update-media__item {
  max-width: 100% !important;
  overflow: hidden !important;
}

@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);
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
  transition: background var(--rdm-transition), box-shadow var(--rdm-transition);
}
.rdm-nav.solid {
  background: rgba(7,2,2,0.95);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  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(4, 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); }
[data-theme="light"] .rdm-footer__brand strong,
[data-theme="light"] .rdm-footer__col h4 { color: var(--rdm-text); }
@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; } }

@media (min-width: 1024px) {
  body.rdm-upgrade .app-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    max-width: none !important;
  }
  body.rdm-upgrade .app-content > .container,
  body.rdm-upgrade .app-content > section,
  body.rdm-upgrade .app-content > div:not(.rdm-footer) {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  body.rdm-upgrade .rdm-footer {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    margin-top: 3rem !important;
    padding: 3rem 2rem 1.25rem 2rem !important;
    border-radius: 0 !important;
  }
}

@media (max-width: 1023px) {
  body.rdm-upgrade .app-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }
  body.rdm-upgrade .rdm-footer {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    margin-top: 2rem !important;
    padding: 2.25rem 1.25rem 0.5rem 1.25rem !important;
    border-radius: 0 !important;
  }
}

/* ── 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); }

/* ── Light theme overrides for rdm-upgrade pages ── */
[data-theme="light"] body.rdm-upgrade .app-sidebar {
  background: var(--rdm-bg);
  border-right-color: rgba(0,0,0,0.07);
}
[data-theme="light"] body.rdm-upgrade .app-sidebar::before,
[data-theme="light"] body.rdm-upgrade .app-sidebar::after {
  display: none;
}
[data-theme="light"] body.rdm-upgrade .sidebar-logo { border-bottom-color: rgba(0,0,0,0.07); }
[data-theme="light"] body.rdm-upgrade .rdm-sidebar-word strong { color: var(--rdm-text); }
[data-theme="light"] body.rdm-upgrade .rdm-sidebar-word span { color: var(--rdm-text-muted); }
[data-theme="light"] body.rdm-upgrade .sidebar-nav-label { color: rgba(0,0,0,0.35); }
[data-theme="light"] body.rdm-upgrade .sidebar-nav-label::before { background: var(--rdm-rose); box-shadow: none; }
[data-theme="light"] body.rdm-upgrade .sidebar-nav-divider { background: rgba(0,0,0,0.06); }
[data-theme="light"] body.rdm-upgrade .sidebar-nav-item { color: rgba(0,0,0,0.55); }
[data-theme="light"] body.rdm-upgrade .sidebar-nav-item i {
  color: rgba(0,0,0,0.45);
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.06);
}
[data-theme="light"] body.rdm-upgrade .sidebar-nav-item:hover {
  background: rgba(0,0,0,0.05);
  color: rgba(0,0,0,0.9);
}
[data-theme="light"] body.rdm-upgrade .sidebar-nav-item:hover i {
  background: rgba(0,0,0,0.07);
  color: var(--rdm-text);
}
[data-theme="light"] body.rdm-upgrade .sidebar-nav-item.active {
  background: rgba(220,38,38,0.08);
  color: var(--rdm-text);
  box-shadow: none;
  border-color: rgba(220,38,38,0.12);
}
[data-theme="light"] body.rdm-upgrade .sidebar-nav-item.active i {
  background: #DC2626;
  color: #fff;
  border-color: rgba(220,38,38,0.2);
  box-shadow: none;
}
[data-theme="light"] body.rdm-upgrade .sidebar-footer { border-top-color: rgba(0,0,0,0.06); }
[data-theme="light"] body.rdm-upgrade .sidebar-user-card {
  background: rgba(0,0,0,0.02);
  border-color: rgba(0,0,0,0.07);
  box-shadow: none;
}
[data-theme="light"] body.rdm-upgrade .sidebar-user-card:hover {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.11);
}
[data-theme="light"] body.rdm-upgrade .sidebar-user-avatar { box-shadow: none; }
[data-theme="light"] body.rdm-upgrade .app-topbar {
  background: linear-gradient(to bottom, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.86) 58%, rgba(255,255,255,0.68) 100%);
  border-bottom-color: rgba(0,0,0,0.09);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
[data-theme="light"] body.rdm-upgrade .app-topbar.is-scrolled {
  background: linear-gradient(to bottom, rgba(255,255,255,0.99) 0%, rgba(255,255,255,0.92) 60%, rgba(255,255,255,0.8) 100%);
  border-bottom-color: rgba(0,0,0,0.1);
}
[data-theme="light"] body.rdm-upgrade .app-content { background: var(--rdm-bg); }
[data-theme="light"] body.rdm-upgrade .app-bottom-nav {
  background: rgba(255,255,255,0.98);
  border-top-color: rgba(0,0,0,0.08);
}

/* ── 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: none !important;
    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: none !important;
  }
  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: none !important;
    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: none !important;
  }
  /* 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 — 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 — 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);
  }
}


/* ==========================================================================
   Gita — Responsive bottom nav + safe-area helpers
   ========================================================================== */

/* Sitewide hide app-bottom-nav */
#app-bottom-nav,
.app-bottom-nav { display: none !important; }
body.has-mobile-bar { padding-bottom: 0 !important; }

/* Reset chat/widget positions for the mobile bottom nav */
@media (max-width: 900px) {
  body.has-mobile-bar #sp-chat-fab    { bottom: calc(20px + env(safe-area-inset-bottom)); }
  body.has-mobile-bar #sp-chat-window { bottom: calc(20px + 76px + env(safe-area-inset-bottom)); max-height: calc(100dvh - 40px); }
  body.has-mobile-bar #sp-version-picker { bottom: calc(20px + 76px + env(safe-area-inset-bottom)); }
}

/* ==========================================================================
   Gita — UI/UX Standard token aliases (kept in sync with docs/UI_UX_STANDARD.md)
   ========================================================================== */

:root {
  --color-bg: var(--rdm-bg);
  --color-surface: var(--rdm-surface);
  --color-surface-2: var(--rdm-card);
  --color-border: var(--rdm-border);
  --color-text: var(--rdm-text);
  --color-text-muted: var(--rdm-text-muted);
  --color-primary: var(--rdm-rose);
  --color-primary-hover: var(--rdm-rose-light);
  --color-success: var(--rdm-green);
  --color-warning: var(--rdm-gold);
  --color-danger: var(--rdm-rose-light);
  --radius-sm: var(--rdm-radius-sm);
  --radius-md: var(--rdm-radius-md);
  --radius-lg: var(--rdm-radius-lg);
  --shadow-sm: var(--rdm-shadow-sm);
  --shadow-md: var(--rdm-shadow-md);
  --shadow-lg: var(--rdm-shadow-lg);
  --font-base: var(--rdm-font-body);
  --font-myanmar: 'Noto Sans Myanmar', sans-serif;
}

/* ==========================================================================
   Gita — Shared view states (skeleton, empty, error, offline)
   ========================================================================== */

.rdm-error {
  text-align: center;
  padding: 3rem 1rem;
  max-width: 420px;
  margin: 0 auto;
}
.rdm-error__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-rose-light); font-size: 1.4rem;
}
.rdm-error__title { font-size: 1.1rem; font-weight: 800; margin-bottom: 0.35rem; }
.rdm-error__text { font-size: 0.85rem; color: var(--rdm-text-muted); margin-bottom: 1rem; }

.rdm-offline-banner {
  display: none;
  position: fixed;
  /* This status must stay above the viewport edge, never in the page flow. */
  top: auto !important;
  bottom: calc(0.75rem + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  width: min(92vw, 25rem);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: rgba(66, 66, 70, 0.96);
  color: #f3f4f6;
  border: 1px solid rgba(229, 231, 235, 0.28);
  border-radius: 999px;
  padding: 0.62rem 1rem;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.rdm-offline-banner i { color: #d1d5db; font-size: 0.95rem; }
.rdm-offline-banner.show { display: inline-flex; }

/* Offline remains browse-only, but the page keeps its normal colours. The
   banner and action guards in app.js provide the offline state indication. */
html.gita-offline-mode body > :not(#rdm-offline-banner) {
  filter: none !important;
}
html.gita-offline-mode #rdm-offline-banner {
  filter: none;
}

/* Offline tickets are strictly read-only. Keep QR viewing and local export
   available, but hide controls that require a server-side mutation/history. */
html.gita-offline-mode #tw-edit-btn,
html.gita-offline-mode #tw-reset-btn,
html.gita-offline-mode #tw-history-btn,
html.gita-offline-mode #tw-holder-editor {
  display: none !important;
}

/* ==========================================================================
   Gita — Responsive breakpoint aliases for consistent media queries
   ========================================================================== */

@media (max-width: 767px) { /* mobile */ }
@media (min-width: 768px) and (max-width: 1023px) { /* tablet */ }
@media (min-width: 1024px) { /* desktop */ }


/* ==========================================================================
   Gita — Premium visual layer (2026-07-17)
   Adds signature effects without hurting scroll performance.
   All animations are hover-only or on transform/opacity.
   ========================================================================== */

/* ── Animated premium gradient text ── */
.rdm-text-premium {
  background: linear-gradient(90deg, #fff 0%, #fca5a5 25%, #facc15 50%, #fca5a5 75%, #fff 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: rdmPremiumTextFlow 8s linear infinite;
}
@keyframes rdmPremiumTextFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

/* ── Hero v3 polish ── */
.rdm-hero {
  min-height: 95vh;
  padding-bottom: 5rem;
}
.rdm-hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(220,38,38,0.22) 0%, transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(245,158,11,0.08) 0%, transparent 35%);
  pointer-events: none;
}
.rdm-hero__bg img,
.rdm-hero__bg video {
  filter: brightness(0.35) saturate(1.35) contrast(1.05);
}
.rdm-hero__title {
  font-weight: 900;
  letter-spacing: -0.04em;
  text-shadow: 0 24px 80px rgba(0,0,0,0.55);
}
.rdm-hero__subtitle {
  color: rgba(255,255,255,0.78);
}
.rdm-hero__actions {
  position: relative;
  z-index: 2;
}

/* Floating decorative orbs (pure CSS, no JS) */
.rdm-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
.rdm-hero__orb--1 { width: 420px; height: 420px; background: #DC2626; top: -80px; right: -100px; animation: rdmOrbFloat 12s ease-in-out infinite; }
.rdm-hero__orb--2 { width: 300px; height: 300px; background: #F59E0B; bottom: 80px; left: -80px; animation: rdmOrbFloat 14s ease-in-out infinite reverse; }
@keyframes rdmOrbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -30px) scale(1.08); }
}

/* ── Buttons: premium glow ── */
.rdm-btn-primary {
  position: relative;
  overflow: hidden;
}
.rdm-btn-primary::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: conic-gradient(from 0deg, transparent 0%, rgba(220,38,38,0.6) 50%, transparent 100%);
  opacity: 0;
  filter: blur(12px);
  z-index: -1;
  transition: opacity 0.3s ease;
}
.rdm-btn-primary:hover::after { opacity: 1; }
.rdm-btn-primary:hover {
  box-shadow: 0 8px 28px rgba(220,38,38,0.5), 0 0 40px rgba(220,38,38,0.2);
}

/* ── Event cards: premium poster look ── */
.rdm-event-card {
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 8px 32px rgba(0,0,0,0.45);
}
.rdm-event-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0.03), rgba(220,38,38,0.25));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.6;
  pointer-events: none;
  z-index: 4;
}
.rdm-event-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.55), 0 0 36px rgba(220,38,38,0.18);
  border-color: rgba(220,38,38,0.35);
}
.rdm-event-card:hover::before {
  opacity: 1;
  background: linear-gradient(135deg, rgba(255,255,255,0.28), rgba(220,38,38,0.35), rgba(245,158,11,0.22));
}
.rdm-event-card__media {
  border-radius: 20px 20px 0 0;
}
.rdm-event-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,2,2,0.98) 0%, rgba(7,2,2,0.4) 55%, transparent 100%);
  pointer-events: none;
}
.rdm-event-card__title {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}
.rdm-event-card__date {
  background: rgba(0,0,0,0.65);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: none;
}
.rdm-event-card__heart,
.rdm-event-card__genre-tag {
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: none;
}

/* Shine sweep on hover */
.rdm-event-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.08) 50%, transparent 60%);
  background-size: 250% 100%;
  background-position: 100% 0;
  opacity: 0;
  pointer-events: none;
  z-index: 5;
  transition: opacity 0.3s ease;
}
.rdm-event-card:hover::after {
  opacity: 1;
  animation: rdmCardShine 1.2s ease forwards;
}
@keyframes rdmCardShine {
  0% { background-position: 100% 0; }
  100% { background-position: -30% 0; }
}

/* ── Section headers: premium underline ── */
.rdm-section__title {
  position: relative;
  display: inline-block;
}
.rdm-section__title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 40px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--rdm-rose), var(--rdm-rose-light));
}

/* ── Trust items premium ── */
.rdm-trust-item {
  background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.rdm-trust-item:hover {
  transform: translateY(-4px);
  border-color: rgba(220,38,38,0.25);
  box-shadow: 0 12px 32px rgba(0,0,0,0.35), 0 0 24px rgba(220,38,38,0.1);
}

/* ── Search bar premium ── */
.rdm-searchbar {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}
.rdm-searchbar:focus-within {
  border-color: rgba(220,38,38,0.45);
  box-shadow: 0 0 0 3px rgba(220,38,38,0.08), 0 12px 40px rgba(0,0,0,0.45);
}

/* ── Nav logo premium glow ── */
.rdm-nav__mark {
  filter: drop-shadow(0 0 10px rgba(220,38,38,0.6));
}
.rdm-nav__word strong {
  letter-spacing: 0.06em;
}

/* ── Ticket pass: holographic premium ── */
.mt-ticket {
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 12px 40px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.06);
}
.mt-ticket::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from 0deg, rgba(220,38,38,0.4), rgba(245,158,11,0.3), rgba(34,211,238,0.25), rgba(220,38,38,0.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  z-index: 7;
  transition: opacity 0.4s ease;
}
.mt-ticket:hover::before { opacity: 1; }
.mt-ticket__media {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mt-ticket__qr {
  box-shadow: 0 0 0 1px rgba(220,38,38,0.25), 0 8px 24px rgba(0,0,0,0.4);
}
.mt-ticket__footer {
  border-top: 1px dashed rgba(255,255,255,0.14);
}

/* Holographic sheen sweep */
.mt-ticket::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 42%, rgba(255,255,255,0.06) 50%, transparent 58%);
  background-size: 250% 100%;
  background-position: 100% 0;
  opacity: 0;
  pointer-events: none;
  z-index: 6;
  transition: opacity 0.3s ease;
}
.mt-ticket:hover::after {
  opacity: 1;
  animation: rdmTicketShine 1.4s ease forwards;
}
@keyframes rdmTicketShine {
  0% { background-position: 100% 0; }
  100% { background-position: -30% 0; }
}

/* ── Premium glass panels ── */
.rdm-glass-premium {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}

/* ── Myanmar locale sizing ── */
html[lang="my"] .rdm-section__title {
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: 0;
  line-height: 1.2;
}
html[lang="my"] .rdm-section__eyebrow {
  font-size: 0.6rem;
  letter-spacing: 0.04em;
}
html[lang="my"] .rdm-trust-item__title { font-size: 0.95rem; }
html[lang="my"] .rdm-trust-item__text { font-size: 0.8rem; line-height: 1.6; }
html[lang="my"] .rdm-event-card__title { font-size: 0.98rem; line-height: 1.3; }
html[lang="my"] .rdm-event-card__meta { font-size: 0.78rem; }
html[lang="my"] .rdm-chip { font-size: 0.76rem; }
html[lang="my"] .rdm-btn { font-size: 0.82rem; padding: 0.75rem 1.35rem; }
html[lang="my"] .rdm-btn-lg { font-size: 0.95rem; padding: 0.95rem 1.7rem; }
html[lang="my"] .rdm-btn-sm { font-size: 0.74rem; padding: 0.55rem 0.95rem; }

/* Apply the Unicode Myanmar face to translated labels without replacing the
 * site's Latin display stack for English copy. */
html[lang="my"] .is-myanmar-text,
html.is-myanmar .is-myanmar-text {
  font-family: var(--rdm-font-myanmar, "Pyidaungsu", "Noto Sans Myanmar", sans-serif) !important;
  letter-spacing: 0 !important;
  font-kerning: normal;
}
html[lang="my"] h1.is-myanmar-text,
html[lang="my"] h2.is-myanmar-text,
html[lang="my"] h3.is-myanmar-text,
html.is-myanmar h1.is-myanmar-text,
html.is-myanmar h2.is-myanmar-text,
html.is-myanmar h3.is-myanmar-text {
  line-height: 1.3 !important;
}

@media (max-width: 640px) {
  html[lang="my"] .rdm-section__title { font-size: clamp(1.25rem, 5.5vw, 1.55rem); }
  html[lang="my"] .rdm-trust-item__title { font-size: 0.9rem; }
  html[lang="my"] .rdm-trust-item__text { font-size: 0.76rem; }
  html[lang="my"] .rdm-event-card__title { font-size: 0.92rem; }
  html[lang="my"] .rdm-btn { font-size: 0.78rem; padding: 0.7rem 1.2rem; }
}

/* ── Unified Dashboard UI/UX Standard System ── */
.app-content {
  flex: 1;
  width: 100% !important;
  max-width: 1040px !important;
  margin: 0 auto !important;
  padding: 1.25rem 1.25rem 4rem 1.25rem !important;
  box-sizing: border-box !important;
}

/* ── Mobile dashboard polish: consistent safe-area padding & readable hierarchy ── */
@media (max-width: 1023px) {
  body.rdm-upgrade .app-content {
    padding: 1rem 1.25rem 6.5rem 1.25rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  body.rdm-upgrade .gita-profile-container,
  body.rdm-upgrade .mt-page,
  body.rdm-upgrade .wl-container,
  body.rdm-upgrade .txn-container,
  body.rdm-upgrade .act-container,
  body.rdm-upgrade .container {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 auto !important;
  }

  /* Keep a subtle timeline rail on mobile for visual hierarchy */
  .act-timeline,
  .tk-timeline {
    position: relative !important;
    padding-left: 1.15rem !important;
    margin-left: 0 !important;
  }
  .act-timeline::before,
  .tk-timeline::before {
    display: block !important;
    content: '' !important;
    position: absolute !important;
    left: 0.15rem !important;
    top: 0.25rem !important;
    bottom: 0.25rem !important;
    width: 1.5px !important;
    background: linear-gradient(180deg, rgba(220,38,38,.45) 0%, rgba(220,38,38,.08) 100%) !important;
    border-radius: 1px !important;
  }
  .act-item,
  .tk-item {
    position: relative !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .act-item::before,
  .tk-item::before {
    display: block !important;
    content: '' !important;
    position: absolute !important;
    left: -1.5rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 7px !important;
    height: 7px !important;
    border-radius: 50% !important;
    background: var(--rdm-bg, #070202) !important;
    border: 2px solid var(--rdm-border, rgba(255,255,255,.08)) !important;
    box-sizing: border-box !important;
  }
  .act-item:hover::before,
  .tk-item:hover::before {
    border-color: var(--rdm-rose-light, #F87171) !important;
  }
  .act-day-group {
    margin-left: 0 !important;
    padding-left: 0 !important;
  }
  .act-day-label {
    margin-left: -1.15rem !important;
    margin-right: 0 !important;
    margin-bottom: 0.85rem !important;
    padding-left: 1.35rem !important;
    padding-right: 0.75rem !important;
    display: inline-flex !important;
    width: auto !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
    font-size: 0.62rem !important;
  }
  .act-day-label::before {
    left: -0.55rem !important;
    width: 7px !important;
    height: 7px !important;
    border-width: 1.5px !important;
  }

  /* Cards fill the padded column without touching viewport edges */
  .ticket-card,
  .wishlist-card,
  .txn-card,
  .act-timeline-item,
  .gita-profile-card,
  .gita-profile-header,
  .profile-row-list,
  .tier-panel,
  .tk-item,
  .stats-row__pill,
  .act-stat-pill,
  .txn-sum-card,
  .gita-stat-pill,
  .rdm-card {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Slightly tighter card padding on small screens */
  .gita-profile-card,
  .gita-profile-header,
  .profile-row-list,
  .tier-panel,
  .tk-item,
  .txn-card,
  .act-timeline-item,
  .act-item {
    padding: 0.85rem 1rem !important;
  }
}

.gita-profile-container {
  width: 100% !important;
  max-width: 1080px !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 1.25rem !important;
  box-sizing: border-box !important;
}
.profile-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 1.25rem !important;
  width: 100% !important;
  align-items: start !important;
  box-sizing: border-box !important;
}
.profile-main, .profile-side {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 1.25rem !important;
  box-sizing: border-box !important;
}
@media (max-width: 800px) {
  .profile-grid {
    grid-template-columns: 1fr !important;
  }
}

.stats-row, .act-stats, .txn-summary {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.75rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.stats-row__pill, .act-stat-pill, .txn-sum-card {
  flex: 1 1 140px !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  padding: 0.65rem 0.85rem !important;
}

.gita-profile-stats {
  display: flex !important;
  align-items: center !important;
  gap: 0.6rem !important;
  flex-wrap: wrap !important;
  flex-shrink: 0 !important;
  width: auto !important;
}

.gita-stat-pill {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: max-content !important;
  padding: 0.4rem 0.85rem !important;
}

.ticket-card, .wishlist-card, .txn-card, .act-timeline-item, .gita-profile-card, .gita-profile-header, .profile-row-list {
  width: 100% !important;
  box-sizing: border-box !important;
  border-radius: 16px !important;
  margin-bottom: 1rem !important;
  /* Subtle depth for a polished, professional feel */
  box-shadow: 0 4px 18px rgba(0,0,0,0.12) !important;
  border: 1px solid var(--rdm-border, rgba(255,255,255,0.08)) !important;
}

@media (min-width: 1024px) {
  .ticket-card, .wishlist-card, .txn-card, .act-timeline-item, .gita-profile-card, .gita-profile-header, .profile-row-list {
    padding: 1.15rem 1.25rem !important;
  }
}

.txn-amount, .txn-card__amount {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  margin-left: auto !important;
  font-weight: 800 !important;
}

/* ── Disable Hover Position Shift (translateY/transform) but keep subtle shadow depth ── */
.ticket-card:hover,
.wishlist-card:hover,
.txn-card:hover,
.act-timeline-item:hover,
.gita-profile-card:hover,
.gita-profile-header:hover,
.profile-row-list:hover,
.tier-panel:hover,
.tk-item:hover,
.stats-row__pill:hover,
.act-stat-pill:hover,
.txn-sum-card:hover,
.gita-stat-pill:hover,
.rdm-card:hover,
.card:hover,
.rdm-event-card:hover,
.gita-card:hover,
.act-filter-btn:hover,
.txn-filter-btn:hover,
.tk-action:hover,
.btn:hover,
.profile-badge:hover,
.profile-avatar-edit:hover,
.gita-btn:hover {
  transform: none !important;
}

[data-theme="light"] .ticket-card,
[data-theme="light"] .wishlist-card,
[data-theme="light"] .txn-card,
[data-theme="light"] .act-timeline-item,
[data-theme="light"] .gita-profile-card,
[data-theme="light"] .gita-profile-header,
[data-theme="light"] .profile-row-list {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
  border-color: rgba(0, 0, 0, 0.07) !important;
}

[data-theme="light"] .ticket-card:hover,
[data-theme="light"] .wishlist-card:hover,
[data-theme="light"] .txn-card:hover,
[data-theme="light"] .act-timeline-item:hover,
[data-theme="light"] .gita-profile-card:hover,
[data-theme="light"] .gita-profile-header:hover,
[data-theme="light"] .profile-row-list:hover,
[data-theme="light"] .tier-panel:hover,
[data-theme="light"] .tk-item:hover,
[data-theme="light"] .stats-row__pill:hover,
[data-theme="light"] .act-stat-pill:hover,
[data-theme="light"] .txn-sum-card:hover,
[data-theme="light"] .gita-stat-pill:hover,
[data-theme="light"] .rdm-card:hover,
[data-theme="light"] .card:hover,
[data-theme="light"] .rdm-event-card:hover,
[data-theme="light"] .gita-card:hover {
  transform: none !important;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.07) !important;
}

/* ── Native-style language switch ──────────────────────────────────────────
   One reachable switch with a sliding thumb. Both language labels stay
   visible so the current direction is clear without opening a second menu. */
.gita-settings__lang-switch,
.rdm-user-menu__lang-switch {
  position: relative;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  width: 100%;
  min-height: 52px;
  padding: 4px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045) !important;
  color: rgba(255, 255, 255, 0.52);
  font: 600 0.82rem/1 'Poppins', 'Noto Sans Myanmar', system-ui, sans-serif;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.gita-settings__lang-switch:hover,
.rdm-user-menu__lang-switch:hover,
.gita-settings__lang-switch:focus-visible,
.rdm-user-menu__lang-switch:focus-visible {
  border-color: rgba(245, 158, 11, 0.35) !important;
  background: rgba(255, 255, 255, 0.07) !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
  outline: none;
}
.gita-language-switch__option {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 42px;
  padding: 0.45rem 0.35rem;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.48);
  transition: color 180ms ease;
}
.gita-language-switch__option--en { color: #ff304f; }
.gita-settings__lang-switch.is-myanmar .gita-language-switch__option--en,
.rdm-user-menu__lang-switch.is-myanmar .gita-language-switch__option--en { color: rgba(255, 255, 255, 0.48); }
.gita-settings__lang-switch.is-myanmar .gita-language-switch__option--my,
.rdm-user-menu__lang-switch.is-myanmar .gita-language-switch__option--my { color: #ff304f; }
.gita-language-switch__thumb {
  position: absolute;
  z-index: 1;
  inset: 4px auto 4px 4px;
  width: calc(50% - 4px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(8, 8, 13, 0.78);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.025) inset;
  pointer-events: none;
  transform: translateX(0);
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}
.gita-settings__lang-switch.is-myanmar .gita-language-switch__thumb,
.rdm-user-menu__lang-switch.is-myanmar .gita-language-switch__thumb {
  transform: translateX(100%);
}
@media (max-width: 420px) {
  .gita-language-switch__option { font-size: 0.78rem; }
}
[data-theme="light"] .gita-settings__lang-switch,
[data-theme="light"] .rdm-user-menu__lang-switch {
  border-color: rgba(0, 0, 0, 0.1) !important;
  background: rgba(0, 0, 0, 0.04) !important;
  color: rgba(0, 0, 0, 0.48);
}
[data-theme="light"] .gita-settings__lang-switch:hover,
[data-theme="light"] .rdm-user-menu__lang-switch:hover,
[data-theme="light"] .gita-settings__lang-switch:focus-visible,
[data-theme="light"] .rdm-user-menu__lang-switch:focus-visible {
  border-color: rgba(220, 38, 38, 0.28) !important;
  background: rgba(0, 0, 0, 0.06) !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08);
}
[data-theme="light"] .gita-language-switch__option { color: rgba(0, 0, 0, 0.46); }
[data-theme="light"] .gita-language-switch__option--en,
[data-theme="light"] .gita-settings__lang-switch.is-myanmar .gita-language-switch__option--my,
[data-theme="light"] .rdm-user-menu__lang-switch.is-myanmar .gita-language-switch__option--my { color: #dc2626; }
[data-theme="light"] .gita-language-switch__thumb {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
