/* ==========================================================================
   BRAIVE NEW WORLD - SIMPLIFIED BOOKING PORTAL STYLING
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Theme Variables & Base Configuration
   -------------------------------------------------------------------------- */
:root {
  /* Fonts */
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Colors */
  --bg-color: #080809;
  --portal-bg: rgba(18, 18, 20, 0.55);
  
  --text-primary: #f5f5f7;
  --text-secondary: #9ea0a5;
  --text-muted: #53555a;
  
  /* Transition curve */
  --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Background Texture and Glows */
.ambient-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at 50% 50%, rgba(255, 51, 102, 0.05) 0%, rgba(255, 102, 0, 0.02) 40%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.015;
  pointer-events: none;
  z-index: 10;
}

/* Center Container */
.portal-container {
  width: 100%;
  max-width: 640px;
  padding: 2rem 1.5rem;
  position: relative;
  z-index: 2;
}

/* --------------------------------------------------------------------------
   3. The Booking Card
   -------------------------------------------------------------------------- */
.booking-portal {
  background-color: var(--portal-bg);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* Portal Header */
.portal-header {
  text-align: center;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.2rem;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
}

.logo-sub {
  font-weight: 300;
  color: var(--text-secondary);
  margin-left: 0.3rem;
}

/* Styling the "ai" inside "Braive" */
.ai-highlight {
  display: inline-block;
  font-family: monospace;
  font-weight: 700;
  font-size: 0.85em;
  letter-spacing: -0.05em;
  padding: 0 0.35rem;
  border-radius: 4px;
  color: #ff3366;
  background-color: rgba(255, 51, 102, 0.12);
  border: 1px solid rgba(255, 51, 102, 0.35);
  margin: 0 0.05rem;
  transform: translateY(-2px);
  box-shadow: 0 0 10px rgba(255, 51, 102, 0.1);
}

.portal-subtitle {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-primary);
  font-weight: 500;
  max-width: 490px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   4. Booking Slots (Stack)
   -------------------------------------------------------------------------- */
.booking-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Main slot button */
.booking-slot {
  display: flex;
  align-items: center;
  padding: 1.5rem 1.75rem;
  background-color: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  text-decoration: none;
  color: var(--text-primary);
  transition: var(--transition-smooth);
}

/* Left Indicator */
.slot-indicator {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 80px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--text-muted);
  transition: var(--transition-smooth);
}

.duration {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-muted);
  letter-spacing: -0.02em;
  transition: var(--transition-smooth);
}

/* Info Section */
.slot-info {
  flex-grow: 1;
  padding-left: 0.75rem;
}

.slot-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  margin-bottom: 0;
  transition: var(--transition-smooth);
}

.slot-tagline {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

/* Right Arrow */
.slot-arrow {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.arrow-svg {
  transform: translateX(0);
  transition: var(--transition-smooth);
}

/* --------------------------------------------------------------------------
   5. Hover State Color Schemes
   -------------------------------------------------------------------------- */

/* General hover lift */
.booking-slot:hover {
  transform: translateY(-3px);
  background-color: rgba(255, 255, 255, 0.035);
}

/* --- Crimson Theme: 50 Min Slot --- */
.slot-50:hover {
  border-color: rgba(255, 51, 102, 0.4);
  box-shadow: 0 10px 30px rgba(255, 51, 102, 0.05), inset 0 0 15px rgba(255, 51, 102, 0.01);
}
.slot-50:hover .dot {
  background-color: #ff3366;
  box-shadow: 0 0 8px rgba(255, 51, 102, 0.6);
}
.slot-50:hover .duration {
  color: #ff3366;
}
.slot-50:hover .slot-title {
  color: #f5f5f7;
}
.slot-50:hover .slot-tagline {
  color: var(--text-secondary);
}
.slot-50:hover .slot-arrow {
  color: #ff3366;
}
.slot-50:hover .arrow-svg {
  transform: translateX(4px);
}

/* --- Sunset Orange Theme: 30 Min Slot --- */
.slot-30:hover {
  border-color: rgba(255, 102, 0, 0.4);
  box-shadow: 0 10px 30px rgba(255, 102, 0, 0.05), inset 0 0 15px rgba(255, 102, 0, 0.01);
}
.slot-30:hover .dot {
  background-color: #ff6600;
  box-shadow: 0 0 8px rgba(255, 102, 0, 0.6);
}
.slot-30:hover .duration {
  color: #ff6600;
}
.slot-30:hover .slot-title {
  color: #f5f5f7;
}
.slot-30:hover .slot-tagline {
  color: var(--text-secondary);
}
.slot-30:hover .slot-arrow {
  color: #ff6600;
}
.slot-30:hover .arrow-svg {
  transform: translateX(4px);
}

/* --- Amber Gold Theme: 15 Min Slot --- */
.slot-15:hover {
  border-color: rgba(255, 165, 0, 0.4);
  box-shadow: 0 10px 30px rgba(255, 165, 0, 0.05), inset 0 0 15px rgba(255, 165, 0, 0.01);
}
.slot-15:hover .dot {
  background-color: #ffa500;
  box-shadow: 0 0 8px rgba(255, 165, 0, 0.6);
}
.slot-15:hover .duration {
  color: #ffa500;
}
.slot-15:hover .slot-title {
  color: #f5f5f7;
}
.slot-15:hover .slot-tagline {
  color: var(--text-secondary);
}
.slot-15:hover .slot-arrow {
  color: #ffa500;
}
.slot-15:hover .arrow-svg {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   6. Footer
   -------------------------------------------------------------------------- */
.portal-footer {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding-top: 1.5rem;
}

.portal-footer p {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* --------------------------------------------------------------------------
   7. Responsiveness
   -------------------------------------------------------------------------- */
@media (max-width: 576px) {
  .booking-portal {
    padding: 2rem 1.5rem;
    gap: 2rem;
  }
  
  .logo {
    font-size: 1.8rem;
  }
  
  .portal-subtitle {
    font-size: 0.85rem;
  }
  
  .booking-slot {
    padding: 1.25rem 1.25rem;
  }
  
  .slot-indicator {
    min-width: 60px;
    gap: 0.5rem;
  }
  
  .duration {
    font-size: 1rem;
  }
  
  .slot-title {
    font-size: 0.95rem;
  }
  
  .slot-tagline {
    font-size: 0.8rem;
  }
}
