:root {
  --bg: #0d0d0f;
  --card-bg: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.1);
  --brand: #7c4dff;
  --cta: #00d4ff;
  --text: #f0f0f0;
  --muted: rgba(255, 255, 255, 0.5);
  --danger: #ff3b3b;
  --radius-card: 12px;
  --radius-btn: 8px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 10% 10%, rgba(124, 77, 255, 0.18), transparent 30%),
    radial-gradient(circle at 90% 20%, rgba(0, 212, 255, 0.15), transparent 28%),
    linear-gradient(180deg, #0d0d0f 0%, #11131d 100%);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

.layout {
  width: min(1120px, 94vw);
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(13, 13, 15, 0.8);
  border-bottom: 1px solid var(--card-border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.logo {
  font-weight: 800;
  letter-spacing: 0.4px;
}

.logo span {
  color: var(--brand);
}

.nav-links {
  display: flex;
  gap: 14px;
  align-items: center;
}

.nav-link {
  color: var(--muted);
  font-weight: 500;
}

.nav-link.active,
.nav-link:hover {
  color: var(--text);
}

.btn {
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  padding: 10px 14px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-primary {
  background: linear-gradient(125deg, var(--cta), #58eeff);
  color: #00171c;
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-color: var(--card-border);
}

.btn-danger {
  background: rgba(255, 59, 59, 0.12);
  color: #ff8888;
  border-color: rgba(255, 59, 59, 0.45);
}

.page {
  padding: 26px 0 70px;
}

/* hero styles moved below */

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

.glass {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.section {
  margin-top: 28px;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.card {
  padding: 16px;
}

.streamer-card .avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  object-fit: cover;
}

.row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gap-between {
  justify-content: space-between;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.tag {
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 12px;
  color: var(--muted);
}

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

form {
  display: grid;
  gap: 12px;
}

input,
select,
textarea {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--card-border);
  background: rgba(0, 0, 0, 0.24);
  color: var(--text);
  font: inherit;
  padding: 10px 12px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

.error {
  color: #ff9a9a;
  font-size: 14px;
}

.success {
  color: #84f7af;
  font-size: 14px;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}

.slot {
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 8px;
  font-size: 13px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.03);
}

.slot.active {
  border-color: var(--cta);
  background: rgba(0, 212, 255, 0.12);
}

.stepper {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.step {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  color: var(--muted);
  font-size: 12px;
}

.step.active {
  color: #fff;
  border-color: var(--brand);
  background: rgba(124, 77, 255, 0.2);
}

.footer-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 900px) {
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .nav-inner {
    flex-wrap: wrap;
    padding: 8px 0 12px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }
}

/* ===== HERO ENHANCEMENTS ===== */

.hero {
  position: relative;
  padding: 110px 0 100px;
  min-height: 520px;
  display: flex;
  align-items: center;
}



.hero-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: -1;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(124, 77, 255, 0.3) 0%, transparent 60%);
  animation: pulse-glow 6s ease-in-out infinite;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: -5%;
  right: -10%;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.22) 0%, transparent 60%);
  animation: pulse-glow 6s ease-in-out infinite 3s;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin: 0 0 16px 0;
  max-width: 720px;
  line-height: 1.15;
  background: linear-gradient(135deg, #ffffff 0%, #c4b5fd 50%, #00d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  margin-bottom: 28px;
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--cta);
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Floating game icons */
.floating-icons {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
}

.float-icon {
  position: absolute;
  font-size: 2rem;
  opacity: 0.18;
  animation: float-drift 8s ease-in-out infinite;
  user-select: none;
  filter: drop-shadow(0 0 8px rgba(124, 77, 255, 0.5));
}

.float-icon:nth-child(1) { top: 20%; right: 6%;  animation-delay: 0s;   font-size: 3rem;   opacity: 0.22; }
.float-icon:nth-child(2) { top: 60%; right: 12%; animation-delay: 1.5s; font-size: 2.2rem; opacity: 0.15; }
.float-icon:nth-child(3) { top: 35%; right: 22%; animation-delay: 3s;   font-size: 1.8rem; opacity: 0.12; }
.float-icon:nth-child(4) { top: 75%; right: 4%;  animation-delay: 2s;   font-size: 2.5rem; opacity: 0.18; }
.float-icon:nth-child(5) { top: 8%;  right: 32%; animation-delay: 4s;   font-size: 1.5rem; opacity: 0.10; }

/* Grid scanline overlay */
.hero-grid {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(124, 77, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 77, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: -1;
}

/* How it works icons */
.how-card {
  padding: 24px 20px;
  text-align: center;
  transition: transform 0.2s ease, background 0.2s ease;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.how-card:hover {
  transform: translateY(-4px);
}

.how-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
}

.how-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
}

.how-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Streamer card enhancements */
.streamer-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.streamer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(124, 77, 255, 0.2);
  border-color: rgba(124, 77, 255, 0.4);
}

.streamer-card .avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(124,77,255,0.4), rgba(0,212,255,0.4));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  border: 2px solid rgba(124, 77, 255, 0.4);
  flex-shrink: 0;
}

.rating-stars {
  color: #fbbf24;
  font-size: 0.85rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 20px;
}

/* Live badge */
.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 59, 59, 0.15);
  border: 1px solid rgba(255, 59, 59, 0.4);
  color: #ff8888;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-live::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff3b3b;
  animation: blink 1.2s ease-in-out infinite;
}

/* Animations */
@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes float-drift {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-18px) rotate(5deg); }
  66% { transform: translateY(-8px) rotate(-3deg); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up {
  animation: fade-up 0.5s ease forwards;
}

/* Third glow - bottom left accent */
.hero-glow-3 {
  position: absolute;
  bottom: -20%;
  left: 30%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(124, 77, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
  animation: pulse-glow 8s ease-in-out infinite 1.5s;
}

/* ===== HERO SPLIT LAYOUT ===== */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-left {
  z-index: 3;
}

.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3;
}



.visual-glow-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(124, 77, 255, 0.35);
  box-shadow: 0 0 80px rgba(124, 77, 255, 0.25), inset 0 0 60px rgba(124, 77, 255, 0.1);
  animation: pulse-glow 4s ease-in-out infinite;
  pointer-events: none;
}

/* Fade in animation for card rotation */
@keyframes card-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0);   }
}










.vc-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--cta));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.vc-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.vc-name {
  font-weight: 700;
  font-size: 0.82rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 75px;
}

.vc-game {
  font-size: 0.72rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 75px;
}

.vc-price {
  font-weight: 700;
  color: var(--cta);
  font-size: 0.78rem;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: auto;
}

.vc-rating {
  font-size: 0.85rem;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
  }
  .hero-right {
    display: none;
  }
}







/* ===== HERO SNOW CARDS — JS DRIVEN ===== */
.hero-visual {
  position: relative;
  width: 340px;
  height: 460px;
  flex-shrink: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 90%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 90%, transparent 100%);
}

.snow-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 12px 14px;
  width: 195px;
  top: -80px;
  opacity: 0;
}

@keyframes sw-fall-a {
  0%   { top: -80px; opacity: 0; transform: rotate(0deg); }
  8%   { opacity: 1; }
  88%  { opacity: 1; }
  100% { top: 500px; opacity: 0; transform: rotate(5deg); }
}

.vc-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--cta));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.75rem; flex-shrink: 0; color: #fff;
}
.vc-info { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.vc-name { font-weight: 700; font-size: 0.82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vc-game { font-size: 0.72rem; color: var(--muted); white-space: nowrap; }
.vc-price { font-weight: 700; color: var(--cta); font-size: 0.8rem; white-space: nowrap; flex-shrink: 0; }


/* ===== HERO PARTICLES ===== */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  animation: particle-float 12s ease-in-out infinite;
}

/* Glowing orbs — various sizes, colours from the palette */
.p1 { width: 4px;  height: 4px;  background: #00D4FF; top: 15%; left: 10%; animation-delay: 0s;   opacity: 0.6; box-shadow: 0 0 8px #00D4FF; }
.p2 { width: 3px;  height: 3px;  background: #FF6B9D; top: 40%; left: 20%; animation-delay: 2s;   opacity: 0.5; box-shadow: 0 0 6px #FF6B9D; }
.p3 { width: 5px;  height: 5px;  background: #7C4DFF; top: 70%; left: 8%;  animation-delay: 1s;   opacity: 0.5; box-shadow: 0 0 10px #7C4DFF; }
.p4 { width: 3px;  height: 3px;  background: #00E676; top: 25%; left: 45%; animation-delay: 3s;   opacity: 0.4; box-shadow: 0 0 6px #00E676; }
.p5 { width: 4px;  height: 4px;  background: #FFD740; top: 80%; left: 35%; animation-delay: 4s;   opacity: 0.5; box-shadow: 0 0 8px #FFD740; }
.p6 { width: 3px;  height: 3px;  background: #00D4FF; top: 55%; left: 50%; animation-delay: 1.5s; opacity: 0.4; box-shadow: 0 0 6px #00D4FF; }
.p7 { width: 4px;  height: 4px;  background: #FF6B9D; top: 10%; left: 55%; animation-delay: 5s;   opacity: 0.4; box-shadow: 0 0 8px #FF6B9D; }
.p8 { width: 3px;  height: 3px;  background: #7C4DFF; top: 90%; left: 48%; animation-delay: 2.5s; opacity: 0.5; box-shadow: 0 0 6px #7C4DFF; }

@keyframes particle-float {
  0%,100% { transform: translateY(0px) translateX(0px); }
  25%     { transform: translateY(-15px) translateX(8px); }
  50%     { transform: translateY(-8px) translateX(-5px); }
  75%     { transform: translateY(-20px) translateX(10px); }
}

.title-icon {
  font-size: 0.6em;
  vertical-align: middle;
  position: relative;
  top: -4px;
}

/* ===== STREAMER BOOKING PAGE ===== */
.book-page {
  min-height: calc(100vh - 72px);
  height: calc(100vh - 72px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0 12px;
  overflow: hidden;
}

.book-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  gap: 16px;
}

.book-loading-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  animation: pulse-glow 2s ease-in-out infinite;
}

/* Hero banner */
.book-hero {
  position: relative;
  width: min(1120px, 94vw);
  margin: 0 auto;
  padding: 14px 0;
  overflow: hidden;
}

.book-hero-glow {
  position: absolute;
  top: -100px;
  left: -80px;
  width: 300px;
  height: 300px;
  pointer-events: none;
}

.book-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
}

.book-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  border: 3px solid rgba(255,255,255,0.15);
  margin: 6px;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.4);
}

.book-name {
  margin: 0;
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  line-height: 1.1;
  font-weight: 800;
}

.book-handle {
  margin: 2px 0 8px;
  color: var(--muted);
  font-size: 0.82rem;
}

.book-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.book-rating { font-size: 0.83rem; font-weight: 600; }
.book-rate   { font-size: 0.95rem; font-weight: 800; }
.book-sessions { font-size: 0.8rem; color: var(--muted); }

.streamer-profile-page {
  min-height: calc(100vh - 72px);
  padding: 10px 0 24px;
}

.streamer-profile-content {
  padding-top: 12px;
}

.book-profile-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 18px;
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 800;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.book-profile-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.booking-page {
  min-height: calc(100vh - 72px);
  padding: 14px 0 28px;
}

.booking-shell {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.booking-back-link {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.booking-back-link:hover { color: #fff; }

.booking-streamer-header {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 10px 12px;
}

.booking-streamer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  overflow: hidden;
}

.booking-streamer-meta { flex: 1; min-width: 0; }
.booking-streamer-name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
}
.booking-streamer-handle {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}
.booking-streamer-rate { font-weight: 800; }

.booking-form {
  height: auto;
  overflow: visible;
  gap: 12px;
  padding: 14px 0 8px;
}

/* Content layout */
.book-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 16px;
  height: 100%;
  min-height: 0;
  align-items: stretch;
  padding: 0;
}

.book-section { margin-bottom: 0; }
.book-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  overflow: auto;
  padding-right: 4px;
}

.book-section-title {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
}

/* Reviews */
.book-reviews { display: flex; flex-direction: column; gap: 10px; }
.book-review { padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.book-review:last-child { border-bottom: none; padding-bottom: 0; }
.book-review-stars { color: #fbbf24; font-size: 0.8rem; margin-bottom: 4px; }
.book-review-text { margin: 0; font-size: 0.83rem; color: rgba(255,255,255,0.75); line-height: 1.35; }

/* Booking form */
.book-right {
  min-height: 0;
  position: sticky;
  top: 0;
}

.book-form {
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.1);
}

.book-form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.book-form-price { font-size: 0.9rem; font-weight: 800; }

.book-type-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 14px;
}

.book-type-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  color: var(--text);
}

.book-type-btn:hover { background: rgba(255,255,255,0.08); }
.book-type-btn.active { }

.book-type-icon { font-size: 1.05rem; }
.book-type-name { font-weight: 700; font-size: 0.82rem; }
.book-type-desc { font-size: 0.7rem; color: var(--muted); text-align: center; line-height: 1.2; }

.book-field { padding: 0 14px; }
.book-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.45px;
  margin-bottom: 6px;
}

.book-form input,
.book-form select,
.book-form textarea {
  font-size: 0.85rem;
  padding: 7px 10px;
}

.book-form textarea {
  resize: none;
}

.book-duration-btns { display: flex; gap: 8px; }
.book-dur-btn {
  flex: 1;
  padding: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 7px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--muted);
  transition: all 0.2s ease;
}
.book-dur-btn.active { color: #fff; }
.book-dur-btn:hover { background: rgba(255,255,255,0.08); }

.book-calendar {
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.02);
  border-radius: 10px;
  padding: 8px;
}

.book-calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-size: 0.8rem;
}

.book-calendar-nav {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
}

.book-calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  text-align: center;
  color: var(--muted);
  font-size: 0.64rem;
  margin-bottom: 4px;
}

.book-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.book-calendar-day {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 7px;
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.9);
  min-height: 28px;
  cursor: pointer;
  font-size: 0.74rem;
}

.book-calendar-day:disabled {
  cursor: not-allowed;
  color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.02);
  border-color: rgba(255,255,255,0.06);
}

.book-substep {
  margin: 8px 0 6px;
  font-size: 0.76rem;
  color: var(--muted);
}

.book-time-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.book-time-slot {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 7px;
  background: rgba(255,255,255,0.04);
  color: var(--text);
  padding: 5px 6px;
  font-size: 0.74rem;
  cursor: pointer;
}

/* Price summary */
.book-price-summary {
  margin: 0 14px;
  padding: 10px;
  background: rgba(0,0,0,0.2);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.book-price-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
}

.book-price-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-weight: 700;
}

.book-cta {
  width: calc(100% - 28px);
  margin: 0 14px;
  padding: 10px;
  font-size: 0.92rem;
  font-weight: 800;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  color: #fff;
  transition: all 0.2s ease;
}
.book-cta:hover { transform: translateY(-2px); filter: brightness(1.1); }

.book-secure {
  text-align: center;
  font-size: 0.72rem;
  color: var(--muted);
  padding: 0 14px 10px;
  margin: 0;
}

/* ===== STATS SECTION ===== */
.book-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
}

.book-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 10px 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  text-align: center;
}

.book-stat-icon { font-size: 1.1rem; }
.book-stat-value { font-size: 1.05rem; font-weight: 800; color: #fff; line-height: 1.1; }
.book-stat-label { font-size: 0.65rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.3px; }

.book-platform-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.book-platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(255,255,255,0.05);
  color: var(--muted);
}

.book-platform-connect {
  border-style: dashed;
  opacity: 0.7;
  transition: opacity 0.2s;
  cursor: pointer;
  font: inherit;
}
.book-platform-connect:hover { opacity: 1; }
.book-platform-connect:disabled {
  opacity: 0.45;
  cursor: wait;
}

/* Squad note in form */
.book-squad-note {
  font-size: 0.7rem;
  color: var(--muted);
  padding: 0 14px;
  line-height: 1.4;
}

.upload-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.upload-avatar-preview {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.upload-banner-preview {
  width: 100%;
  max-height: 80px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 8px;
}

.pricing-toggle-group {
  margin: 8px 0;
}

.pricing-toggle-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.pricing-preview-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  overflow: hidden;
}

.pricing-preview-table th,
.pricing-preview-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px;
  text-align: left;
  font-size: 0.85rem;
}

.pricing-preview-table th {
  color: var(--muted);
  font-weight: 600;
}

.availability-editor {
  display: grid;
  gap: 10px;
  margin-bottom: 10px;
}

.availability-grid-wrap {
  overflow-x: auto;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.02);
}

.availability-grid-header,
.availability-grid-row {
  display: grid;
  grid-template-columns: 120px repeat(7, minmax(58px, 1fr));
  gap: 6px;
  align-items: center;
}

.availability-grid-header {
  margin-bottom: 6px;
}

.availability-grid-header span {
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
}

.availability-time-label {
  font-size: 0.75rem;
  color: var(--muted);
}

.availability-cell {
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: transparent;
  cursor: pointer;
  font-weight: 700;
}

.availability-cell.active {
  background: rgba(124, 77, 255, 0.3);
  border-color: rgba(124, 77, 255, 0.75);
  color: #efe8ff;
}

.availability-summary {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .book-page {
    min-height: auto;
    height: auto;
    overflow: visible;
    padding: 0 0 28px;
  }
  .book-hero {
    width: auto;
    border-radius: 0;
    border-left: none !important;
    border-right: none !important;
    box-shadow: none !important;
  }
  .book-content {
    grid-template-columns: 1fr;
    height: auto;
    padding-top: 12px;
  }
  .book-left {
    overflow: visible;
    padding-right: 0;
  }
  .book-right {
    position: static;
    height: auto;
  }
  .book-form {
    height: auto;
    overflow: visible;
  }
  .book-hero-inner { flex-direction: column; text-align: center; }
  .book-meta { justify-content: center; }
  .book-time-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pricing-toggle-row {
    grid-template-columns: 1fr;
  }
  .availability-grid-header,
  .availability-grid-row {
    grid-template-columns: 90px repeat(7, minmax(42px, 1fr));
  }
}

.dashboard-header { margin-bottom: 32px; }
.dashboard-header h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0 0 8px; background: linear-gradient(135deg, #ffffff 0%, #c4b5fd 50%, #00d4ff 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.dashboard-header .sub { color: var(--muted); font-size: 0.9rem; }
.dashboard-header .sub a { color: var(--cta); text-decoration: none; }
.dashboard-header .sub a:hover { text-decoration: underline; }

.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 24px; }
@media (max-width: 900px) { .stat-cards { grid-template-columns: repeat(2, 1fr); } }
.stat-card { padding: 20px 24px; text-align: center; transition: transform 0.2s ease, box-shadow 0.2s ease; cursor: default; }
.stat-card:hover { transform: translateY(-3px); box-shadow: 0 0 30px rgba(124,77,255,0.2); }
.stat-card-icon { font-size: 1.8rem; margin-bottom: 8px; display: block; }
.stat-card-value { font-size: 1.8rem; font-weight: 800; color: #fff; display: block; line-height: 1; }
.stat-card-label { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.4px; margin-top: 4px; display: block; }

.action-btn { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; color: var(--text); font: inherit; font-weight: 600; font-size: 0.9rem; cursor: pointer; text-decoration: none; transition: all 0.2s ease; text-align: left; }
.action-btn:hover { background: rgba(124,77,255,0.1); border-color: rgba(124,77,255,0.4); transform: translateX(4px); }
.action-btn-icon { font-size: 1.2rem; flex-shrink: 0; }
.action-btn-text { flex: 1; }
.action-btn-arrow { color: var(--muted); margin-left: auto; }

.booking-card { padding: 14px 16px; margin-bottom: 10px; border-radius: 12px; transition: all 0.2s ease; }
.booking-card:last-child { margin-bottom: 0; }
.booking-card:hover { border-color: rgba(124,77,255,0.3); }
.booking-card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.booking-card-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--cta)); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.8rem; color: #fff; flex-shrink: 0; }
.booking-card-name { font-weight: 700; font-size: 0.92rem; }
.booking-card-handle { color: var(--muted); font-size: 0.78rem; }
.booking-card-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.session-badge { padding: 3px 8px; border-radius: 999px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3px; }
.session-badge-duo { background: rgba(124,77,255,0.2); color: #c4b5fd; border: 1px solid rgba(124,77,255,0.4); }
.session-badge-squad { background: rgba(0,212,255,0.15); color: #67e8f9; border: 1px solid rgba(0,212,255,0.35); }
.session-status { font-size: 0.78rem; color: var(--muted); }

.empty-state { text-align: center; padding: 40px 20px; }
.empty-state-icon { font-size: 2.5rem; margin-bottom: 12px; display: block; opacity: 0.6; }
.empty-state-title { font-size: 1rem; font-weight: 700; margin: 0 0 6px; }
.empty-state-sub { color: var(--muted); font-size: 0.85rem; margin: 0 0 18px; }

.edit-layout { display: grid; grid-template-columns: 1fr 300px; gap: 20px; align-items: start; max-width: 960px; }
@media (max-width: 900px) { .edit-layout { grid-template-columns: 1fr; } .edit-preview { display: none; } }
.edit-section { margin-bottom: 16px; }
.edit-section-title { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin: 0 0 16px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.edit-preview { position: sticky; top: 88px; }
.preview-label { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 12px; }
.preview-card { padding: 20px; }
.preview-avatar { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.2rem; color: #fff; margin-bottom: 12px; position: relative; overflow: hidden; }
.preview-name { font-weight: 800; font-size: 1.05rem; margin: 0 0 2px; }
.preview-handle { color: var(--muted); font-size: 0.8rem; margin: 0 0 6px; }
.preview-rate { font-weight: 800; font-size: 0.9rem; margin-bottom: 8px; }
.preview-bio { font-size: 0.82rem; color: rgba(255,255,255,0.7); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.color-swatches { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.color-swatch { width: 28px; height: 28px; border-radius: 50%; border: 3px solid transparent; cursor: pointer; transition: transform 0.15s ease, border-color 0.15s ease; flex-shrink: 0; }
.color-swatch:hover { transform: scale(1.15); }
.color-swatch.selected { border-color: #fff; transform: scale(1.2); }
.rate-input-row { display: flex; align-items: center; gap: 10px; }
.rate-input-big { font-size: 2rem; font-weight: 800; width: 120px; text-align: center; padding: 10px; border-radius: 12px; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.15); color: #fff; font: inherit; font-size: 2rem; font-weight: 800; }
.rate-unit { font-size: 1.1rem; color: var(--muted); font-weight: 600; }

.twitch-input-wrap { position: relative; }
.twitch-input-prefix { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 0.9rem; pointer-events: none; }
.twitch-input-wrap input { padding-left: 32px; }

.fan-stat-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 460px;
}
.booking-card-muted {
  opacity: 0.82;
}
.edit-avatar-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.preview-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar { width: 220px; flex-shrink: 0; background: rgba(0,0,0,0.4); border-right: 1px solid rgba(255,255,255,0.08); padding: 24px 0; display: flex; flex-direction: column; position: fixed; top: 0; left: 0; height: 100vh; z-index: 10; }
.admin-logo { padding: 0 20px 24px; font-weight: 800; font-size: 1.1rem; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 8px; }
.admin-logo span { color: var(--brand); }
.admin-nav-item { display: flex; align-items: center; gap: 10px; padding: 10px 20px; color: rgba(255,255,255,0.5); font-size: 0.88rem; font-weight: 600; cursor: pointer; transition: all 0.15s ease; border: none; background: none; font-family: inherit; width: 100%; text-align: left; }
.admin-nav-item:hover { color: #fff; background: rgba(255,255,255,0.04); }
.admin-nav-item.active { color: #fff; background: rgba(124,77,255,0.15); border-right: 2px solid var(--brand); }
.admin-nav-badge { margin-left: auto; background: var(--cta); color: #00171c; border-radius: 999px; padding: 1px 7px; font-size: 0.7rem; font-weight: 800; }
.admin-main { margin-left: 220px; flex: 1; padding: 32px; }
.admin-main h1 { font-size: 1.6rem; font-weight: 800; margin: 0 0 24px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.admin-table th { text-align: left; padding: 10px 12px; color: rgba(255,255,255,0.4); font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.admin-table td { padding: 12px; border-bottom: 1px solid rgba(255,255,255,0.05); vertical-align: middle; }
.admin-table tr:hover td { background: rgba(255,255,255,0.02); }
.admin-search { padding: 9px 14px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1); background: rgba(0,0,0,0.3); color: #fff; font: inherit; font-size: 0.88rem; width: 280px; }
.admin-filter-row { display: flex; gap: 10px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.admin-pill { padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.1); background: transparent; color: rgba(255,255,255,0.5); font: inherit; font-size: 0.78rem; font-weight: 600; cursor: pointer; transition: all 0.15s ease; }
.admin-pill.active { background: rgba(124,77,255,0.2); border-color: rgba(124,77,255,0.5); color: #fff; }
.admin-message-card { padding: 16px; border-radius: 12px; margin-bottom: 10px; border-left: 3px solid transparent; transition: all 0.15s ease; }
.admin-message-card.unread { border-left-color: var(--cta); }
.admin-message-card:hover { background: rgba(255,255,255,0.06); }
.admin-reply-box { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.admin-reply-box textarea { resize: vertical; min-height: 80px; }
.admin-logout { margin-top: auto; padding: 10px 20px; color: rgba(255,255,255,0.3); font-size: 0.85rem; cursor: pointer; border: none; background: none; font-family: inherit; text-align: left; transition: color 0.15s; }
.admin-logout:hover { color: #ff8888; }

@media (max-width: 900px) {
  .admin-sidebar {
    width: 100%;
    height: auto;
    position: static;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .admin-main {
    margin-left: 0;
    padding: 20px;
  }
}

.stripe-badge-active { display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border-radius:999px;background:rgba(0,230,118,0.15);border:1px solid rgba(0,230,118,0.4);color:#84f7af;font-size:0.82rem;font-weight:700; }
.stripe-badge-pending { display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border-radius:999px;background:rgba(255,165,0,0.15);border:1px solid rgba(255,165,0,0.4);color:#fbbf24;font-size:0.82rem;font-weight:700; }
