/* ==========================================================================
   RENOTO AESTHÉTIC - Luxury Membership Stylesheet
   ========================================================================== */

/* --- Custom Properties & Design System --- */
:root {
  --color-bg: #060609;
  --color-card-bg: rgba(13, 13, 20, 0.5);
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-hover: rgba(255, 255, 255, 0.2);
  
  /* Theme Colors */
  --pink-color: #ff2a85;
  --pink-glow: rgba(255, 42, 133, 0.35);
  --pink-gradient: linear-gradient(135deg, #ff2a85 0%, #a1005b 100%);
  
  --blue-color: #0066ff;
  --blue-glow: rgba(0, 102, 255, 0.35);
  --blue-gradient: linear-gradient(135deg, #0088ff 0%, #0033aa 100%);
  
  --silver-color: #e2e8f0;
  --silver-glow: rgba(226, 232, 240, 0.25);
  --silver-gradient: linear-gradient(135deg, #ffffff 0%, #8a9ba8 100%);
  
  --gold-color: #d4af37;
  --gold-glow: rgba(212, 175, 55, 0.35);
  --gold-gradient: linear-gradient(135deg, #ffe066 0%, #997300 100%);

  /* Card Textures */
  --pink-card-bg: linear-gradient(135deg, rgba(255, 42, 133, 0.15) 0%, rgba(13, 13, 20, 0.75) 100%);
  --blue-card-bg: linear-gradient(135deg, rgba(0, 102, 255, 0.15) 0%, rgba(13, 13, 20, 0.75) 100%);
  --silver-card-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(13, 13, 20, 0.8) 100%);
  --gold-card-bg: linear-gradient(135deg, rgba(212, 175, 55, 0.12) 0%, rgba(13, 13, 20, 0.85) 100%);

  /* Fonts */
  --font-primary: 'Outfit', sans-serif;
  --font-serif: 'Playfair Display', serif;
  --font-display: 'Syne', sans-serif;
  
  /* Active Card Overrides (Set dynamically by JS) */
  --active-color: var(--pink-color);
  --active-glow: var(--pink-glow);
  --active-gradient: var(--pink-gradient);
}

/* --- Reset & Base Styles --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--color-bg);
  color: #ffffff;
  font-family: var(--font-primary);
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* --- Canvas & Ambient Backgrounds --- */
#particleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
}

.ambient-glows {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.15;
  transition: all 1s ease;
}

.glow-pink {
  width: 500px;
  height: 500px;
  background: var(--pink-color);
  top: -100px;
  left: -100px;
}

.glow-blue {
  width: 600px;
  height: 600px;
  background: var(--blue-color);
  bottom: -150px;
  right: -100px;
}

.glow-silver {
  width: 400px;
  height: 400px;
  background: var(--silver-color);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.05;
}

.glow-gold {
  width: 500px;
  height: 500px;
  background: var(--gold-color);
  top: -150px;
  right: 100px;
  opacity: 0.08;
}

/* --- Layout Containers --- */
.page-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* --- Premium Header --- */
.app-header {
  height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-top {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 6px;
  color: #fff;
}

.logo-bottom {
  font-family: var(--font-primary);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 4px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

.premium-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
}

.crown-icon {
  color: var(--gold-color);
  filter: drop-shadow(0 0 5px var(--gold-color));
}

/* --- Main Layout State Transitions --- */
.main-content {
  flex: 1;
  display: grid;
  padding: 40px 0 60px 0;
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
}

/* Selection State Grid (Cards centered) */
.main-content.selection-state {
  grid-template-columns: 1fr;
}

.main-content.selection-state .booking-section {
  display: none;
}

.main-content.selection-state .back-btn {
  display: none;
}

.main-content.selection-state .benefits-row {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  height: 0;
  overflow: hidden;
  margin: 0;
}

/* Booking State Grid (Cards left, Form right) */
.main-content.booking-state {
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

/* Back Button */
.back-btn {
  position: absolute;
  top: 10px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  padding: 8px 12px;
  border-radius: 8px;
}

.back-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(-4px);
}

/* --- Section 1: Card Selection UI --- */
.cards-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
}

.main-content.booking-state .cards-section {
  align-items: center;
  justify-content: flex-start;
  padding-top: 60px;
}

.selection-header {
  text-align: center;
  margin-bottom: 60px;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.main-content.booking-state .selection-header {
  opacity: 0;
  transform: translateY(-20px);
  height: 0;
  margin-bottom: 0;
  overflow: hidden;
  pointer-events: none;
}

.main-title {
  font-family: var(--font-primary);
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  color: #ffffff;
}

.gradient-text {
  background: linear-gradient(135deg, #fff 30%, rgba(255, 255, 255, 0.6) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

/* Cards Grid Layout */
.cards-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  width: 100%;
  max-width: 1200px;
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  padding: 40px 0;
}

.main-content.booking-state .cards-grid {
  display: block;
  position: relative;
  width: 350px;
  height: 230px;
  margin: 20px auto 0 auto;
  padding: 0;
}

/* Card Wrapper & Podium */
.card-wrapper {
  position: relative;
  width: 270px;
  height: 170px;
  perspective: 1000px;
  cursor: pointer;
  transition: opacity 0.6s ease, filter 0.6s ease, transform 0.6s ease;
}

@media (min-width: 1200px) {
  .card-wrapper {
    width: 270px;
    height: 170px;
  }
}

@media (min-width: 1400px) {
  .card-wrapper {
    width: 285px;
    height: 180px;
  }
}

/* Podium Effect */
.card-podium {
  position: absolute;
  bottom: -45px;
  left: 50%;
  transform: translateX(-50%) rotateX(75deg);
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  border: 1.5px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.05);
  pointer-events: none;
  transition: all 0.6s ease;
  z-index: 1;
}

.card-podium-shadow {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%) rotateX(75deg);
  width: 220px;
  height: 220px;
  border-radius: 50%;
  filter: blur(15px);
  opacity: 0.4;
  pointer-events: none;
  transition: all 0.6s ease;
  z-index: 0;
}

/* Active Card Layout details in booking state */
.main-content.booking-state .card-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: default;
  z-index: 10;
}

.main-content.booking-state .card-wrapper.inactive {
  opacity: 0;
  filter: blur(15px);
  transform: scale(0.85);
  pointer-events: none;
  display: none; /* Removed from flow so GSAP Flip aligns selected card */
}

/* Podium style changes on active */
.main-content.booking-state .card-podium {
  bottom: -60px;
  width: 280px;
  height: 280px;
  border-color: var(--active-color);
  background: radial-gradient(circle, var(--active-glow) 0%, rgba(255, 255, 255, 0) 75%);
  box-shadow: 0 0 60px var(--active-glow), inset 0 0 20px var(--active-glow);
}

.main-content.booking-state .card-podium-shadow {
  bottom: -70px;
  width: 320px;
  height: 320px;
  background: var(--active-color);
}

/* Card-specific ambient colors on Podium */
.card-wrapper[data-card="pink"]:hover .card-podium {
  border-color: var(--pink-color);
  background: radial-gradient(circle, var(--pink-glow) 0%, rgba(255, 255, 255, 0) 70%);
  box-shadow: 0 0 35px var(--pink-glow);
}
.card-wrapper[data-card="pink"] .card-podium-shadow {
  background: var(--pink-color);
}

.card-wrapper[data-card="blue"]:hover .card-podium {
  border-color: var(--blue-color);
  background: radial-gradient(circle, var(--blue-glow) 0%, rgba(255, 255, 255, 0) 70%);
  box-shadow: 0 0 35px var(--blue-glow);
}
.card-wrapper[data-card="blue"] .card-podium-shadow {
  background: var(--blue-color);
}

.card-wrapper[data-card="silver"]:hover .card-podium {
  border-color: var(--silver-color);
  background: radial-gradient(circle, var(--silver-glow) 0%, rgba(255, 255, 255, 0) 70%);
  box-shadow: 0 0 35px var(--silver-glow);
}
.card-wrapper[data-card="silver"] .card-podium-shadow {
  background: var(--silver-color);
}

.card-wrapper[data-card="gold"]:hover .card-podium {
  border-color: var(--gold-color);
  background: radial-gradient(circle, var(--gold-glow) 0%, rgba(255, 255, 255, 0) 70%);
  box-shadow: 0 0 35px var(--gold-glow);
}
.card-wrapper[data-card="gold"] .card-podium-shadow {
  background: var(--gold-color);
}


/* --- The Luxury Card --- */
.luxury-card {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--color-card-bg);
  border-radius: 20px;
  border: 1px solid var(--color-border);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 
              inset 0 1px 1px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  z-index: 2;
  transform-style: preserve-3d;
  transition: border-color 0.5s ease, box-shadow 0.5s ease;
}

.luxury-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 20px;
  box-shadow: inset 0 0 25px rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

/* Card Noise Layer */
.card-noise {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3%3Ffilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* Reflection and Shine Effects */
.card-reflection {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
  opacity: 0;
  pointer-events: none;
  z-index: 3;
  transition: opacity 0.5s ease;
}

.card-shine {
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.03) 35%,
    rgba(255, 255, 255, 0.22) 50%,
    rgba(255, 255, 255, 0.03) 65%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
  z-index: 4;
}

/* Active Hover Card Glows & Scales */
.card-wrapper:hover .luxury-card {
  border-color: rgba(255, 255, 255, 0.35);
}

.card-wrapper[data-card="pink"]:hover .luxury-card {
  box-shadow: 0 15px 35px rgba(255, 42, 133, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}
.card-wrapper[data-card="blue"]:hover .luxury-card {
  box-shadow: 0 15px 35px rgba(0, 102, 255, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}
.card-wrapper[data-card="silver"]:hover .luxury-card {
  box-shadow: 0 15px 35px rgba(255, 255, 255, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}
.card-wrapper[data-card="gold"]:hover .luxury-card {
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

/* Specific Card Background Gradients */
.pink-card {
  background: var(--pink-card-bg);
  border-color: rgba(255, 42, 133, 0.2);
}
.pink-card .card-value {
  color: var(--pink-color);
  text-shadow: 0 0 15px rgba(255, 42, 133, 0.4);
}

.blue-card {
  background: var(--blue-card-bg);
  border-color: rgba(0, 102, 255, 0.2);
}
.blue-card .card-value {
  color: #3399ff;
  text-shadow: 0 0 15px rgba(0, 102, 255, 0.4);
}

.silver-card {
  background: var(--silver-card-bg);
  border-color: rgba(255, 255, 255, 0.15);
}
.silver-card .card-value {
  color: #f1f5f9;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.25);
}

.gold-card {
  background: var(--gold-card-bg);
  border-color: rgba(212, 175, 55, 0.2);
}
.gold-card .card-value {
  color: var(--gold-color);
  text-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

/* Card Inner Components */
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  transform: translateZ(20px);
}

.card-brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-top {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
}

.brand-bottom {
  font-size: 6px;
  font-weight: 500;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}

.contactless-icon {
  color: rgba(255, 255, 255, 0.7);
}

/* Card Chip styling */
.card-chip {
  width: 38px;
  height: 28px;
  background: linear-gradient(135deg, #d4af37 0%, #aa8000 100%);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  border: 0.5px solid rgba(0, 0, 0, 0.25);
  transform: translateZ(15px);
  margin-top: 15px;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.3), 
              0 2px 4px rgba(0, 0, 0, 0.3);
}

.chip-line {
  position: absolute;
  background: rgba(0, 0, 0, 0.25);
}

.chip-line:nth-child(1) { top: 35%; left: 0; width: 100%; height: 1px; }
.chip-line:nth-child(2) { top: 65%; left: 0; width: 100%; height: 1px; }
.chip-line:nth-child(3) { left: 35%; top: 0; height: 100%; width: 1px; }
.chip-line:nth-child(4) { left: 65%; top: 0; height: 100%; width: 1px; }

.chip-inner {
  position: absolute;
  top: 20%;
  left: 20%;
  width: 60%;
  height: 60%;
  border-radius: 3px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.1);
}

.silver-card .card-chip {
  background: linear-gradient(135deg, #e2e8f0 0%, #94a3b8 100%);
}

/* Card Details */
.card-details {
  margin-top: 15px;
  transform: translateZ(30px);
}

.card-name {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2px;
}

.card-value {
  font-family: var(--font-primary);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

@media (min-width: 1400px) {
  .card-value {
    font-size: 26px;
  }
}

.credit-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2.5px;
  color: rgba(255, 255, 255, 0.7);
  margin-left: 2px;
}

/* Card Footer */
.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  transform: translateZ(20px);
  margin-top: 10px;
}

.card-valid {
  display: flex;
  flex-direction: column;
}

.valid-label {
  font-size: 6px;
  font-weight: 500;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.4);
}

.valid-date {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.85);
}

.card-holder {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.8);
}


/* --- Mouse Hint --- */
.scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 60px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: opacity 0.5s ease;
}

.main-content.booking-state .scroll-hint {
  opacity: 0;
  pointer-events: none;
  height: 0;
  margin-top: 0;
  overflow: hidden;
}

.hint-mouse {
  width: 20px;
  height: 32px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  position: relative;
}

.mouse-wheel {
  width: 3px;
  height: 6px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 1.5px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: wheelScroll 1.8s ease-in-out infinite;
}

@keyframes wheelScroll {
  0% { transform: translate(-50%, 0); opacity: 0; }
  30% { opacity: 1; }
  80% { transform: translate(-50%, 8px); opacity: 0; }
  100% { opacity: 0; }
}


/* --- Premium Benefits Under Card --- */
.benefits-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 440px;
  margin-top: 90px;
  gap: 15px;
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.benefit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  flex: 1;
}

.benefit-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.5s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.benefit-item span {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.5s ease;
}

/* active benefit glows in booking state */
.main-content.booking-state .benefit-icon {
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--active-color);
  background: radial-gradient(circle, var(--active-glow) 0%, rgba(255, 255, 255, 0) 100%);
  filter: drop-shadow(0 0 4px var(--active-glow));
}

.main-content.booking-state .benefit-item:hover .benefit-icon {
  border-color: var(--active-color);
  transform: translateY(-4px);
}

.main-content.booking-state .benefit-item span {
  color: rgba(255, 255, 255, 0.8);
}


/* --- Section 2: Glassmorphism Booking Form --- */
.booking-section {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateX(50px);
  pointer-events: none;
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.main-content.booking-state .booking-section {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}

.booking-glass-panel {
  background: rgba(10, 10, 15, 0.45);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 40px;
  width: 100%;
  max-width: 580px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.form-title {
  font-family: var(--font-primary);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin-bottom: 15px;
  text-align: left;
}

/* Selected Card Info Ribbon */
.selected-card-summary {
  display: flex;
  gap: 20px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  margin-bottom: 25px;
}

.summary-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.summary-label {
  color: rgba(255, 255, 255, 0.4);
}

.summary-value {
  font-weight: 600;
  color: var(--active-color);
  text-shadow: 0 0 10px var(--active-glow);
}

/* Form Grid */
.booking-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  padding-left: 2px;
}

/* Input elements wrapper */
.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 16px;
  color: rgba(255, 255, 255, 0.35);
  pointer-events: none;
  transition: color 0.3s ease;
}

.booking-form input,
.booking-form select {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 16px 14px 46px;
  color: #ffffff;
  font-family: var(--font-primary);
  font-size: 14px;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  outline: none;
}

/* Autofill styling overrides */
.booking-form input:-webkit-autofill,
.booking-form input:-webkit-autofill:hover, 
.booking-form input:-webkit-autofill:focus {
  -webkit-text-fill-color: #ffffff;
  -webkit-box-shadow: 0 0 0px 1000px #0e0e14 inset;
  transition: background-color 5000s ease-in-out 0s;
}

.booking-form input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.booking-form input:hover,
.booking-form select:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
}

.booking-form input:focus,
.booking-form select:focus {
  border-color: var(--active-color);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 15px var(--active-glow);
}

.booking-form input:focus + .input-icon,
.booking-form select:focus + .input-icon {
  color: var(--active-color);
  filter: drop-shadow(0 0 4px var(--active-glow));
}

/* Select overrides for standard arrow removal */
.booking-form select {
  appearance: none;
  cursor: pointer;
}

.booking-form select option {
  background: #0f0f14;
  color: #fff;
  padding: 12px;
}

/* Date picker customization */
.booking-form input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.3s;
}
.booking-form input[type="date"]::-webkit-calendar-picker-indicator:hover {
  opacity: 0.8;
}

/* Benefits Box inside Form */
.membership-benefits-box {
  background: rgba(0, 0, 0, 0.2);
  border: 1px dashed rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 5px;
}

.benefits-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--gold-color);
  margin-bottom: 6px;
}

.benefits-crown {
  filter: drop-shadow(0 0 3px var(--gold-color));
}

.benefits-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

/* Submit Button */
.submit-btn {
  background: var(--active-gradient);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 16px;
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 10px 25px var(--active-glow);
  margin-top: 10px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px var(--active-glow), 0 0 10px rgba(255, 255, 255, 0.2);
  filter: brightness(1.1);
}

.submit-btn:active {
  transform: translateY(0);
}

.btn-arrow {
  transition: transform 0.3s ease;
}

.submit-btn:hover .btn-arrow {
  transform: translateX(4px);
}


/* --- Success Screen Overlay --- */
.success-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 4, 6, 0.85);
  backdrop-filter: blur(25px);
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.success-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.success-container {
  background: rgba(13, 13, 20, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 50px 40px;
  width: 90%;
  max-width: 480px;
  text-align: center;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.success-overlay.active .success-container {
  transform: scale(1) translateY(0);
}

/* Success Checkmark Anim */
.success-checkmark-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 30px auto;
  position: relative;
}

.checkmark-circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--active-glow) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(10px);
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.3s;
}

.success-overlay.active .checkmark-circle {
  opacity: 1;
  transform: scale(1.4);
}

.checkmark-svg {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: block;
  stroke-width: 2;
  stroke: var(--active-color);
  stroke-miterlimit: 10;
  box-shadow: inset 0 0 0 var(--active-color);
  animation: fillCircle .4s ease-in-out .4s forwards, scaleCircle .3s ease-in-out .9s forwards;
  position: relative;
  z-index: 2;
}

.checkmark-circle-stroke {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-linecap: round;
  stroke: var(--active-color);
  fill: none;
  animation: strokeCircle .6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check-path {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke-width: 3;
  stroke-linecap: round;
  stroke: #ffffff;
  animation: strokeCheck .3s cubic-bezier(0.65, 0, 0.45, 1) .7s forwards;
}

@keyframes strokeCircle {
  100% { stroke-dashoffset: 0; }
}
@keyframes strokeCheck {
  100% { stroke-dashoffset: 0; }
}
@keyframes fillCircle {
  100% { box-shadow: inset 0 0 0 40px var(--active-color); }
}
@keyframes scaleCircle {
  0%, 100% { transform: none; }
  50% { transform: scale3d(1.1, 1.1, 1); }
}

/* Success Typography */
.success-title {
  font-family: var(--font-primary);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.success-message {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 25px;
  padding: 0 10px;
}

.success-message span {
  font-weight: 700;
}

.success-credit-display {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 14px 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 35px;
}

.credit-highlight {
  font-weight: 700;
  font-size: 18px;
  color: var(--active-color);
  margin-left: 6px;
  text-shadow: 0 0 10px var(--active-glow);
}

.home-btn {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.home-btn:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.05);
}

.home-btn:active {
  transform: translateY(0);
}


/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */

/* Large Tablets & Small Desktops */
@media (max-width: 1024px) {
  .page-container {
    padding: 0 24px;
  }
  
  .main-content.booking-state {
    gap: 40px;
  }
  
  .main-title {
    font-size: 38px;
  }
  
  .cards-grid {
    gap: 20px;
  }
}

/* Medium & Small Tablets */
@media (max-width: 900px) {
  .main-content.selection-state {
    padding: 20px 0 40px 0;
  }

  .main-title {
    font-size: 34px;
  }
  
  .cards-grid {
    flex-wrap: wrap;
    justify-content: center;
    max-width: 700px;
    margin: 0 auto;
    gap: 30px;
    padding: 20px 0;
  }

  .card-wrapper {
    width: 290px;
    height: 183px;
  }

  /* Booking layout shifts to single-column stacking vertically */
  .main-content.booking-state {
    grid-template-columns: 1fr;
    gap: 50px;
    padding-top: 50px;
  }

  .main-content.booking-state .cards-section {
    padding-top: 10px;
    align-items: center;
  }

  .main-content.booking-state .cards-grid {
    width: 320px;
    height: 202px;
  }

  .main-content.booking-state .benefits-row {
    margin-top: 60px;
  }

  .booking-glass-panel {
    padding: 30px 24px;
  }
  
  .form-title {
    font-size: 24px;
    text-align: center;
  }
  
  .selected-card-summary {
    justify-content: center;
  }

  .back-btn {
    top: -5px;
  }
}

/* Mobile Screens */
@media (max-width: 480px) {
  .app-header {
    height: 80px;
  }

  .logo-top {
    font-size: 20px;
    letter-spacing: 4px;
  }

  .premium-badge {
    padding: 6px 12px;
    font-size: 10px;
  }

  .main-title {
    font-size: 26px;
  }

  .subtitle {
    font-size: 13px;
  }

  .cards-grid {
    gap: 40px; /* larger gap vertically on mobile */
  }

  .card-wrapper {
    width: 280px;
    height: 177px;
  }
  
  .main-content.booking-state .cards-grid {
    width: 280px;
    height: 177px;
  }

  .card-podium {
    width: 160px;
    height: 160px;
    bottom: -40px;
  }

  .card-podium-shadow {
    width: 200px;
    height: 200px;
    bottom: -45px;
  }

  .main-content.booking-state .card-podium {
    width: 240px;
    height: 240px;
    bottom: -50px;
  }
  
  .main-content.booking-state .card-podium-shadow {
    width: 280px;
    height: 280px;
    bottom: -60px;
  }

  .benefits-row {
    margin-top: 50px !important;
    gap: 10px;
  }

  .benefit-icon {
    width: 38px;
    height: 38px;
  }
  
  .benefit-item span {
    font-size: 8px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full-width {
    grid-column: span 1;
  }

  .booking-glass-panel {
    padding: 24px 16px;
  }

  .success-container {
    padding: 40px 20px;
  }

  .success-title {
    font-size: 26px;
  }
}
