@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700;800;900&display=swap');

:root {
  --bg: #09090b;
  --bg-gradient: radial-gradient(circle at top, #1c1c24, #09090b 100%);
  --panel: rgba(24, 24, 27, 0.6);
  --panel-border: rgba(255, 255, 255, 0.08);
  --text: #f4f4f5;
  --muted: #a1a1aa;
  
  --red: #f43f5e;
  --red-hover: #e11d48;
  --red-glow: rgba(244, 63, 94, 0.35);
  
  --green: #10b981;
  --green-glow: rgba(16, 185, 129, 0.2);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  background-image: var(--bg-gradient);
  min-height: 100vh;
  color: var(--text);
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  padding-bottom: 105px;
  -webkit-font-smoothing: antialiased;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* Glassmorphism utility */
.glass {
  background: var(--panel);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--panel-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Base Form Inputs */
label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

input {
  width: 100%;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--panel-border);
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  font-size: 15px;
  font-family: inherit;
  margin-bottom: 20px;
  transition: all 0.25s ease;
}

input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 4px var(--red-glow);
  background: rgba(0, 0, 0, 0.5);
}

input::placeholder {
  color: #52525b;
}

/* HEADER */
.header {
  height: 70px;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9, 9, 11, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--panel-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--red), #9f1239);
  font-size: 14px;
  box-shadow: 0 4px 12px var(--red-glow);
  color: #fff;
}

.login-btn,
.secondary {
  border: 1px solid var(--panel-border);
  background: rgba(255, 255, 255, 0.03);
  color: white;
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.login-btn:hover, .secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}


/* HERO */
main {
  max-width: 1100px;
  margin: auto;
}

.hero {
  margin: 32px 5%;
  min-height: 400px;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(244, 63, 94, 0.15), transparent 40%),
              radial-gradient(circle at 10% 80%, rgba(16, 185, 129, 0.05), transparent 30%),
              rgba(24, 24, 27, 0.4);
  backdrop-filter: blur(10px);
}

.hero-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  right: 0%;
  top: -100px;
  border-radius: 50%;
  background: var(--red-glow);
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 60px 8%;
  max-width: 700px;
}

.eyebrow {
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 3px;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.05;
  margin: 0 0 18px;
  letter-spacing: -1px;
}

.hero h1 span {
  background: linear-gradient(130deg, #fff, var(--red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text {
  color: var(--muted);
  line-height: 1.7;
  font-size: 17px;
  max-width: 580px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.chips span {
  font-size: 13px;
  color: #e4e4e7;
  border: 1px solid var(--panel-border);
  background: rgba(255, 255, 255, 0.05);
  padding: 10px 16px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.primary {
  border: 0;
  background: var(--red);
  color: white;
  font-weight: 700;
  padding: 18px 28px;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px var(--red-glow);
  font-size: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.primary:hover {
  transform: translateY(-2px);
  background: var(--red-hover);
  box-shadow: 0 16px 40px var(--red-glow);
}

.primary b {
  font-size: 22px;
  margin-left: 10px;
  line-height: 0;
}

.price-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 36px;
}

.price-line div {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-line strong {
  color: var(--green);
  font-size: 20px;
  text-shadow: 0 0 20px var(--green-glow);
}

.price-line span {
  color: var(--muted);
  font-size: 13px;
}

.price-line i {
  width: 1px;
  height: 24px;
  background: var(--panel-border);
}


/* BOOKING */

.booking-section {
  padding: 40px 5% 60px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-head h2 {
  font-size: 32px;
  letter-spacing: -0.5px;
}

.section-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.live {
  color: #a1a1aa;
  font-size: 15px;
  display: flex;
  align-items: center;
}

.live span {
  width: 10px;
  height: 10px;
  background: var(--green);
  border-radius: 50%;
  margin-right: 8px;
  box-shadow: 0 0 12px var(--green);
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* DATE CARDS */

.dates {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 32px 0 12px;
  scrollbar-width: none;
}
.dates::-webkit-scrollbar {
  display: none;
}

.date-card {
  min-width: 120px;
  padding: 18px 12px;
  border: 1px solid var(--panel-border);
  background: var(--panel);
  color: white;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.2s ease;
}

.date-card:hover {
  background: rgba(255,255,255,0.05);
}

.date-card small {
  display: block;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 1px;
}

.date-card b {
  display: block;
  margin: 8px 0;
  font-size: 18px;
}

.date-card span {
  font-size: 13px;
  color: #fb7185;
}

.date-card.active {
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 12px 32px var(--red-glow);
  transform: translateY(-4px);
}

.date-card.active small,
.date-card.active span {
  color: rgba(255,255,255,0.9);
}

.hint {
  text-align: center;
  color: var(--muted);
  margin: 24px 0;
  font-size: 15px;
}

/* 24 SLOT GRID */
.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.slot {
  min-height: 140px;
  border: 1px solid var(--panel-border);
  background: var(--panel);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  color: #e4e4e7;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.slot::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.25s;
}

.slot:hover:not(.sold)::before {
  opacity: 1;
}

.slot:hover:not(.sold) {
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.slot .clock {
  font-size: 28px;
  color: var(--muted);
  display: block;
  margin-bottom: 10px;
}

.slot b {
  display: block;
  font-size: 22px;
  letter-spacing: -0.5px;
}

.slot small {
  display: block;
  color: var(--muted);
  margin-top: 6px;
  font-size: 14px;
}

.slot strong {
  display: block;
  color: var(--green);
  margin-top: 16px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.slot.selected {
  border-color: var(--red);
  background: rgba(244, 63, 94, 0.1);
  box-shadow: 0 0 0 1px var(--red), 0 12px 32px var(--red-glow);
}

.slot.selected .clock {
  color: var(--red);
}

.slot.sold {
  opacity: 0.4;
  cursor: not-allowed;
  background: rgba(0,0,0,0.5);
}

/* BOTTOM BAR */
.booking-bar {
  position: fixed;
  z-index: 40;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid var(--panel-border);
  padding: 16px max(5%, 24px);
  display: flex;
  justify-content: center;
  gap: 40px;
  align-items: center;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.5);
}

.booking-info {
  width: min(460px, 50vw);
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
}

.booking-info strong {
  font-size: 34px;
  color: var(--green);
  grid-row: span 2;
  text-shadow: 0 0 20px var(--green-glow);
}

.booking-info span {
  font-size: 14px;
  color: var(--muted);
}

.booking-info small {
  font-size: 16px;
  font-weight: 600;
  margin-top: 4px;
  color: #fff;
}

.book-btn {
  min-width: 240px;
  background: var(--red);
  border: 0;
  color: white;
  padding: 18px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 16px;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 24px var(--red-glow);
}

.book-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* MODAL / TOAST */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
  padding: 20px;
}

.modal.show {
  display: flex;
  animation: fadeIn 0.2s;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: var(--bg);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
  from { transform: translateY(40px) scale(0.95); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.modal-card h2 {
  text-align: center;
  font-size: 28px;
  margin: 0 0 10px;
}

.modal-card > p {
  text-align: center;
  color: var(--muted);
  margin: 0 0 32px;
}

.close {
  position: absolute;
  right: 24px;
  top: 24px;
  border: 0;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 20px;
  transition: all 0.2s;
}

.close:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.summary {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md);
  padding: 10px 24px;
  margin-bottom: 30px;
}

.summary div {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 15px;
}

.summary div:last-child {
  border: 0;
}

.summary span {
  color: var(--muted);
}

.green {
  color: var(--green);
  font-weight: 700;
}

.full {
  width: 100%;
  margin-top: 12px;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #111;
  color: #fff;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  z-index: 100;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--panel-border);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}


/* MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
  .hero {
    margin: 16px 4%;
    border-radius: var(--radius-lg);
  }
  
  .hero-content {
    padding: 40px 6%;
  }

  .slot-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .slot-grid {
    grid-template-columns: 1fr;
  }
  
  .booking-bar {
    gap: 16px;
    padding: 16px;
    flex-direction: column;
  }
  
  .booking-info {
    width: 100%;
    text-align: center;
    grid-template-columns: 1fr;
  }
  
  .booking-info strong {
    grid-row: 1;
    margin-bottom: 4px;
    display: inline-block;
  }

  .booking-info span, .booking-info small {
    display: none;
  }
  
  .book-btn {
    width: 100%;
  }
  
  .modal-card {
    padding: 30px 20px;
  }
}