@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:ital,wght@0,400;0,600;0,700;1,700&family=Kanit:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ========================================================
   LOCAL FONTS (Bebas Neue, Prompt, Inter Miami)
   ======================================================== */
@font-face {
  font-family: 'BebasNeue';
  src: url('../assets/fonts/Bebas_Neue/BebasNeue-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

@font-face {
  font-family: 'PromptBold';
  src: url('../assets/fonts/Prompt/Prompt-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'JerseyMiami';
  src: url('../assets/fonts/Inter Miami 23-24 Tipografstore.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}


/* ========================================================
   FULLSCREEN DIAGONAL WATERMARK (PANNAWAT MOCUP)
   ======================================================== */
.watermark-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  user-select: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  transform: rotate(-25deg) scale(1.15);
  opacity: 0.22;
}

.watermark-text {
  color: #dc2626;
  font-weight: 900;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  white-space: nowrap;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1;
}

.watermark-text-large {
  font-size: clamp(3rem, 9vw, 8.5rem);
  border-top: 6px dashed #dc2626;
  border-bottom: 6px dashed #dc2626;
  padding: 0.75rem 2.5rem;
}

.watermark-text-small {
  font-size: clamp(1.5rem, 5vw, 4.5rem);
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* ========================================================
   STUDIO 3D FLOATING WEBGL CANVAS WITH LIGHTING
   ======================================================== */
.studio-3d-webgl-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  display: block;
}

.studio-spotlight {
  position: absolute;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(243, 232, 255, 0.5) 35%, rgba(224, 242, 254, 0.3) 60%, transparent 80%);
  filter: blur(55px);
  top: 48%;
  left: 18%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.studio-3d-polo {
  width: min(520px, 46vw);
  max-height: 82vh;
  object-fit: contain;
  opacity: 0.92;
  filter: 
    drop-shadow(0 35px 50px rgba(15, 23, 42, 0.12)) 
    drop-shadow(0 12px 20px rgba(69, 26, 3, 0.08));
  animation: floatStudioPolo 9s ease-in-out infinite;
  transform-origin: center center;
}

@keyframes floatStudioPolo {
  0% { transform: translateY(0px) rotate(-14deg) scale(1); }
  50% { transform: translateY(-18px) rotate(-11deg) scale(1.02); }
  100% { transform: translateY(0px) rotate(-14deg) scale(1); }
}

@media (max-width: 1024px) {
  .studio-3d-bg-container {
    justify-content: center;
    padding-left: 0;
    opacity: 0.45;
  }
  .studio-3d-polo {
    width: 75vw;
    max-height: 55vh;
  }
}

/* ========================================================
   OPAL WHITE LIQUID GLASS COMPONENTS
   ======================================================== */
.apple-glass-nav {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(36px) saturate(200%);
  -webkit-backdrop-filter: blur(36px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 
    0 12px 36px -8px rgba(15, 23, 42, 0.05),
    0 1px 3px rgba(0, 0, 0, 0.02),
    inset 0 1px 1.5px rgba(255, 255, 255, 1);
  border-radius: 9999px;
}

.apple-glass-card {
  background: var(--opal-card-bg);
  backdrop-filter: blur(36px) saturate(190%);
  -webkit-backdrop-filter: blur(36px) saturate(190%);
  border: 1px solid var(--opal-glass-border);
  box-shadow: 
    0 24px 50px -12px rgba(15, 23, 42, 0.05),
    0 1px 3px rgba(0, 0, 0, 0.02),
    inset 0 1.5px 2px rgba(255, 255, 255, 1);
  border-radius: 30px;
}

/* Opal Segmented Pill Control */
.apple-segmented-control {
  background: var(--opal-pill-track);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 9999px;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
}

.apple-segmented-btn {
  padding: 7px 18px;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  border-radius: 9999px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  background: transparent;
}

.apple-segmented-btn:hover {
  color: #0f172a;
}

.apple-segmented-btn.active {
  background: #ffffff;
  color: #0f172a;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.07), 0 1px 2px rgba(0, 0, 0, 0.03);
}

/* Opal Action Buttons */
.apple-btn-primary {
  background: #0f172a;
  color: #ffffff;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 
    0 12px 28px -6px rgba(15, 23, 42, 0.25),
    inset 0 1px 1px rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.apple-btn-primary:hover:not(:disabled) {
  background: #1e293b;
  transform: translateY(-1.5px);
  box-shadow: 
    0 16px 32px -6px rgba(15, 23, 42, 0.32),
    inset 0 1px 1.5px rgba(255, 255, 255, 0.3);
}

.apple-btn-primary:active:not(:disabled) {
  transform: translateY(0.5px);
}

.apple-btn-secondary {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  color: #334155;
  font-weight: 600;
  border-radius: 9999px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  cursor: pointer;
}

.apple-btn-secondary:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #cbd5e1;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

/* Opal Glass Inputs */
.apple-glass-input {
  background: #ffffff;
  border: 1.5px solid rgba(226, 232, 240, 0.9);
  border-radius: 16px;
  color: #0f172a;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.02);
}

.apple-glass-input:focus {
  outline: none;
  border-color: #0f172a;
  background: #ffffff;
  box-shadow: 
    0 0 0 3.5px rgba(15, 23, 42, 0.06),
    0 4px 12px rgba(15, 23, 42, 0.03);
}

.apple-glass-input::placeholder {
  color: #94a3b8;
}

/* Opal Size Selector Pills */
.apple-size-btn {
  background: #ffffff;
  border: 1.5px solid rgba(226, 232, 240, 0.9);
  border-radius: 14px;
  color: #334155;
  font-weight: 600;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.02);
}

.apple-size-btn:hover {
  border-color: #0f172a;
  background: #ffffff;
  color: #0f172a;
  transform: translateY(-1px);
}

.apple-size-btn.active {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 6px 16px -2px rgba(15, 23, 42, 0.25);
}

/* Opal Swatches */
.apple-style-swatch {
  border: 1.5px solid rgba(226, 232, 240, 0.85);
  border-radius: 14px;
  background: #ffffff;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  transition: all 0.2s ease;
  cursor: pointer;
}

.apple-style-swatch:hover {
  background: #f8fafc;
  border-color: #0f172a;
}

.apple-style-swatch.active {
  background: #ffffff;
  border-color: #0f172a;
  color: #0f172a;
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.15), 0 4px 10px rgba(0, 0, 0, 0.04);
}

/* ========================================================
   JERSEY STAGE & SVG RENDERING (PURE TRANSPARENT)
   ======================================================== */
.jersey-stage-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent !important;
}

.jersey-card-wrapper {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 780 / 1019;
  position: relative;
  background: transparent !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jersey-hd-back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url('../assets/images/jersey_clean_back.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent !important;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 1;
  transform: scale(1);
}

.jersey-hd-front {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url('../assets/images/jersey_clean_front.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent !important;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 1;
  transform: scale(1);
}

.jersey-hd-both {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url('../assets/images/jersey_clean_both.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent !important;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 1;
  transform: scale(1);
}

.jersey-hd-both-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 1;
  transform: scale(1);
}

.jersey-both-side-card {
  position: relative;
  flex: 1;
  height: 100%;
  max-width: 50%;
  aspect-ratio: 780 / 1019;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jersey-hd-front-inner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url('../assets/images/jersey_clean_front.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent !important;
}

.jersey-hd-back-inner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url('../assets/images/jersey_clean_back.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent !important;
}

.jersey-svg-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

/* Sports Typography */
.font-jersey {
  font-family: 'BebasNeue', 'JerseyMiami', sans-serif !important;
  letter-spacing: 0.08em;
}

.font-sport-bold {
  font-family: 'Prompt', 'Kanit', sans-serif;
  font-weight: 700;
}

.number-style-clean {
  fill: #ffffff;
  stroke: #451a03;
  stroke-width: 5px;
  paint-order: stroke fill;
  filter: none !important;
}


/* Opal Dropzone */
.apple-dropzone {
  border: 2px dashed rgba(203, 213, 225, 0.9);
  background: rgba(248, 250, 252, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.apple-dropzone:hover {
  border-color: #0f172a;
  background: #ffffff;
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.06);
  transform: translateY(-1px);
}

.apple-dropzone.dragover {
  border-color: #0f172a;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.08);
  transform: scale(1.01);
}


/* Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(203, 213, 225, 0.8);
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.9);
}

/* ========================================================
   PINK LIQUID GLASS REDESIGN - CANVA MOBILE REFERENCE
   ======================================================== */
:root {
  --liquid-hot-pink: #ef4fa3;
  --liquid-rose: #ff8fbe;
  --liquid-deep: #9b315f;
  --liquid-wine: #6e2446;
  --liquid-ink: #1e293b;
  --liquid-white: rgba(255, 255, 255, 0.22);
  --liquid-panel: rgba(255, 255, 255, 0.16);
  --liquid-border: rgba(255, 255, 255, 0.85);
  --liquid-shadow: 
    0 30px 75px -12px rgba(15, 23, 42, 0.22),
    0 15px 35px -10px rgba(153, 27, 88, 0.28),
    0 0 0 1px rgba(15, 23, 42, 0.10);
  --liquid-inner: inset 0 1.5px 2px 0 rgba(255, 255, 255, 0.95), inset 0 -1.5px 2px 0 rgba(15, 23, 42, 0.08);
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: clip;
}


body::before,
body::after {
  content: "";
  position: fixed;
  inset: -18vh -12vw auto -12vw;
  height: 58vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  filter: blur(0.2px);
  background:
    linear-gradient(112deg, transparent 5%, rgba(255, 255, 255, 0.32) 18%, transparent 29%),
    radial-gradient(ellipse at 42% 64%, rgba(255, 255, 255, 0.3) 0 8%, rgba(255, 191, 219, 0.22) 20%, transparent 48%);
  transform: rotate(-16deg);
}

body::after {
  inset: auto -16vw -22vh -10vw;
  height: 46vh;
  opacity: 0.45;
  background:
    linear-gradient(118deg, transparent 8%, rgba(255, 255, 255, 0.28) 23%, transparent 34%),
    radial-gradient(ellipse at 55% 42%, rgba(255, 225, 239, 0.45) 0 11%, rgba(198, 48, 111, 0.2) 28%, transparent 58%);
  transform: rotate(-12deg);
}

.watermark-overlay {
  opacity: 0.18;
  mix-blend-mode: multiply;
}

.apple-ambient-glow {
  opacity: 0.62;
}

.ambient-orb {
  filter: blur(78px);
}

.orb-top-left {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.85) 0%, rgba(255, 143, 190, 0.55) 46%, transparent 76%);
}

.orb-bottom-right {
  background: radial-gradient(circle, rgba(255, 226, 240, 0.8) 0%, rgba(181, 46, 105, 0.42) 58%, transparent 80%);
}

.studio-3d-webgl-canvas {
  opacity: 0.38;
  mix-blend-mode: normal;
}

.studio-spotlight {
  width: 920px;
  height: 920px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55) 0%, rgba(255, 142, 190, 0.28) 42%, transparent 74%);
  left: 50%;
  top: 34%;
  filter: blur(80px);
  transform: translateX(-50%);
}


.apple-glass-nav {
  min-height: 70px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.12) 100%),
    rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow:
    var(--liquid-shadow),
    inset 0 1.5px 2px 0 rgba(255, 255, 255, 0.95),
    0 0 0 1.2px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(48px) saturate(220%);
  -webkit-backdrop-filter: blur(48px) saturate(220%);
}

.app-brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.app-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #334155;
  text-transform: uppercase;
}

.app-brand-title {
  font-size: 20px;
  font-family: 'Kanit', sans-serif;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0;
  text-shadow: none;
}

main {
  isolation: isolate;
}

main.max-w-5xl {
  max-width: 1080px;
}

.apple-glass-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0.12) 100%),
    rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow:
    var(--liquid-shadow),
    var(--liquid-inner),
    0 0 0 1.2px rgba(15, 23, 42, 0.10);
  backdrop-filter: blur(48px) saturate(220%);
  -webkit-backdrop-filter: blur(48px) saturate(220%);
  color: var(--liquid-ink);
}

.apple-glass-card h1,
.apple-glass-card h2,
.apple-glass-card h3,
.apple-glass-card .font-sport-bold {
  font-family: 'Kanit', 'Plus Jakarta Sans', sans-serif;
  letter-spacing: 0;
}

.apple-segmented-control {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0.12) 100%),
    rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 9999px;
  box-shadow:
    inset 0 1.5px 2px 0 rgba(255, 255, 255, 0.9),
    0 12px 30px rgba(139, 35, 86, 0.18);
  backdrop-filter: blur(36px) saturate(200%);
  -webkit-backdrop-filter: blur(36px) saturate(200%);
}

.apple-segmented-indicator {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 0;
  width: 33.3333%;
  background: #ffffff;
  border-radius: 9999px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  box-shadow:
    0 6px 18px rgba(15, 23, 42, 0.16),
    inset 0 1.5px 2px rgba(255, 255, 255, 1);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 1;
}

.apple-segmented-btn {
  position: relative;
  z-index: 2;
  flex: 1;
  color: #475569;
  padding: 11px 16px;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Kanit', sans-serif;
  text-shadow: none;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  transition: color 0.25s ease;
}

.apple-segmented-btn:hover,
.apple-segmented-btn.active {
  color: #0f172a;
  font-weight: 800;
}

.jersey-stage-container {
  min-height: 540px;
  height: 540px;
  border-radius: 34px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.08) 100%),
    rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow:
    var(--liquid-shadow),
    var(--liquid-inner),
    0 0 0 1.2px rgba(15, 23, 42, 0.10);
  backdrop-filter: blur(52px) saturate(220%);
  -webkit-backdrop-filter: blur(52px) saturate(220%);
}

.jersey-card-wrapper {
  width: 100%;
  max-width: 440px;
  height: 100%;
  max-height: 480px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: max-width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 26px 40px rgba(108, 23, 64, 0.22));
}

.jersey-card-wrapper[data-view="both"] {
  max-width: 600px;
}

.jersey-hd-back,
.jersey-hd-front,
.jersey-hd-both-container {
  transform: scale(1.02);
}

.number-style-clean {
  fill: #fff7db;
  stroke: #451a03;
  stroke-width: 4.5px;
}

.apple-glass-input,
.apple-dropzone,
.apple-size-btn,
.apple-style-swatch {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0.12) 100%),
    rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.65);
  color: #0f172a;
  box-shadow:
    inset 0 1.2px 1.8px 0 rgba(255, 255, 255, 0.8),
    0 8px 22px rgba(123, 31, 77, 0.06);
  backdrop-filter: blur(20px) saturate(175%);
  -webkit-backdrop-filter: blur(20px) saturate(175%);
}

.apple-glass-input::placeholder {
  color: #64748b;
}

.apple-glass-input:focus {
  border-color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.35);
  box-shadow:
    0 0 0 3.5px rgba(239, 79, 163, 0.25),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.9);
}

.apple-size-btn {
  border-radius: 9999px;
  min-height: 42px;
  font-weight: 700;
  color: #1e293b;
}

.apple-size-btn:hover {
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.38);
  color: var(--liquid-deep);
}

.apple-size-btn.active {
  background: #ffffff;
  border: 1.5px solid #0f172a;
  color: #0f172a;
  font-weight: 800;
  box-shadow:
    0 4px 14px rgba(15, 23, 42, 0.15),
    inset 0 1.5px 2px rgba(255, 255, 255, 1);
}

.apple-btn-primary {
  background: #0f172a;
  color: #ffffff;
  border: 1px solid #0f172a;
  box-shadow:
    0 12px 28px -6px rgba(15, 23, 42, 0.25),
    inset 0 1px 1px rgba(255, 255, 255, 0.2);
  min-height: 48px;
}

.apple-btn-primary:hover:not(:disabled) {
  background: #1e293b;
  color: #ffffff;
  box-shadow:
    0 16px 32px -6px rgba(15, 23, 42, 0.32),
    inset 0 1px 1.5px rgba(255, 255, 255, 0.3);
}

.apple-btn-secondary {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.1) 100%),
    rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.62);
  color: #0f172a;
  box-shadow:
    inset 0 1.2px 1.8px rgba(255, 255, 255, 0.8),
    0 8px 22px rgba(123, 31, 77, 0.06);
}

#slipUploadSection,
#submitButtonSection,
.apple-glass-card .border-b,
.apple-glass-card .border-t {
  border-color: rgba(255, 255, 255, 0.45) !important;
}

#toastContainer {
  bottom: 24px;
}

#qrPromptPayModal .bg-white {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.18) 100%),
    rgba(255, 255, 255, 0.22) !important;
  border: 1px solid rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(32px) saturate(190%);
  -webkit-backdrop-filter: blur(32px) saturate(190%);
  box-shadow: 0 30px 70px rgba(105, 23, 62, 0.4), inset 0 1.5px 2px rgba(255, 255, 255, 0.9);
}

#qrPromptPayModal .bg-gradient-to-r {
  background: linear-gradient(135deg, #ec4899, #fb8fc6) !important;
}

@media (min-width: 1024px) {
  body {
    padding-bottom: 36px;
  }

  .mobile-liquid-status {
    display: none;
  }

  .apple-glass-nav {
    max-width: 620px;
    margin: 0 auto;
  }
}

@media (max-width: 1023px) {
  body {
    background-attachment: fixed;
  }

  header.sticky {
    top: 14px;
  }

  .apple-glass-nav {
    width: min(100%, 430px);
    margin: 0 auto;
    padding: 16px 18px !important;
  }

  main.max-w-5xl {
    max-width: 460px;
    padding-top: 18px;
  }

  .grid.lg\:grid-cols-12 {
    gap: 18px;
  }

  .jersey-stage-container {
    min-height: 420px;
    padding: 18px;
  }

  .jersey-card-wrapper[data-view="both"] {
    width: 100%;
  }

  .apple-glass-card {
    border-radius: 28px;
  }
}

@media (max-width: 520px) {
  main.max-w-5xl {
    padding-left: 14px;
    padding-right: 14px;
  }

  .jersey-stage-container {
    min-height: 330px;
  }

  .apple-segmented-btn {
    padding-left: 8px;
    padding-right: 8px;
    font-size: 12px;
  }
}
