/* ==========================================================================
   Spicy Girl Live — Modern Mobile-First Landing Page
   Aesthetic: Deep purple/black, Hot-pink/neon-red accents, High-contrast
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-deep: #07030c;
  --bg-surface: #0e0717;
  --bg-surface-elevated: #160c24;
  --bg-card: #12091e;
  
  --accent-pink: #ff0055;
  --accent-pink-bright: #ff1f71;
  --accent-pink-hover: #e6004c;
  --accent-neon: #ff007f;
  --accent-purple: #9d00ff;
  
  --star-gold: #ffc107;
  --verified-blue: #00a2ff;
  
  --text-primary: #ffffff;
  --text-secondary: #a9a0b8;
  --text-muted: #7d738f;
  
  --border-pink-subtle: rgba(255, 0, 110, 0.25);
  --border-pink-medium: rgba(255, 0, 110, 0.45);
  --border-pink-glow: rgba(255, 0, 127, 0.6);
  --border-glass: rgba(255, 255, 255, 0.18);
  
  /* Shadows & Glows */
  --glow-pink-sm: 0 0 10px rgba(255, 0, 85, 0.45);
  --glow-pink-md: 0 0 20px rgba(255, 0, 85, 0.6), 0 0 40px rgba(255, 0, 128, 0.25);
  --glow-pink-lg: 0 0 30px rgba(255, 0, 85, 0.75), 0 0 60px rgba(180, 0, 255, 0.35);
  --glow-purple-card: 0 12px 36px -4px rgba(255, 0, 90, 0.28), 0 0 24px rgba(157, 0, 255, 0.2);
  --shadow-drop: 0 8px 24px rgba(0, 0, 0, 0.6);

  /* Dimensions & Spacing */
  --max-app-width: 420px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --radius-pill: 9999px;
  
  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  min-height: 100%;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  position: relative;
  background: 
    radial-gradient(circle at 50% 0%, rgba(255, 0, 90, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(157, 0, 255, 0.1) 0%, transparent 50%),
    #06020a;
}

/* Ambient Glow for Desktop Viewing */
.ambient-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(120px);
  opacity: 0.18;
  z-index: 0;
}

.ambient-glow-top {
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, #ff0055 0%, #9d00ff 70%);
}

.ambient-glow-bottom {
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, #9d00ff 0%, #ff007f 70%);
}

/* ==========================================================================
   App Container (Mobile-first Constraint)
   ========================================================================== */

.app-container {
  width: 100%;
  max-width: var(--max-app-width);
  min-height: 100vh;
  background-color: var(--bg-surface);
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.9), 0 0 30px rgba(255, 0, 110, 0.08);
  border-left: 1px solid rgba(255, 255, 255, 0.04);
  border-right: 1px solid rgba(255, 255, 255, 0.04);
}

@media (min-width: 480px) {
  body {
    padding: 20px 0 40px;
  }
  .app-container {
    min-height: calc(100vh - 60px);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 0, 110, 0.2);
    overflow: hidden;
  }
}

/* ==========================================================================
   Header Section
   ========================================================================== */

.header-banner {
  background: linear-gradient(135deg, #ff0055 0%, #ff1f71 50%, #d8004f 100%);
  padding: 16px 20px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 20px rgba(255, 0, 85, 0.4);
  overflow: hidden;
}

.header-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  animation: shine-sweep 4s infinite ease-in-out;
}

@keyframes shine-sweep {
  0% { left: -100%; }
  25%, 100% { left: 150%; }
}

.header-title {
  color: var(--text-primary);
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: none;
  line-height: 1.15;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  margin: 0;
}

/* ==========================================================================
   Content Wrapper
   ========================================================================== */

.content-wrapper {
  padding: 14px 14px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

/* ==========================================================================
   Profile Section
   ========================================================================== */

.profile-card {
  background: linear-gradient(180deg, #130a21 0%, #0d0617 100%);
  border: 1px solid var(--border-pink-subtle);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-drop);
  position: relative;
}

.profile-avatar-wrap {
  position: relative;
  width: 68px;
  height: 68px;
  flex-shrink: 0;
}

.profile-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 2.5px solid var(--accent-neon);
  box-shadow: 0 0 14px rgba(255, 0, 127, 0.65), inset 0 0 8px rgba(255, 0, 127, 0.4);
}

.avatar-live-badge {
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 16px;
  height: 16px;
  background-color: #00e676;
  border: 2.5px solid var(--bg-card);
  border-radius: 50%;
  box-shadow: 0 0 8px #00e676;
}

.profile-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  min-width: 0;
}

.profile-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.profile-name {
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  background-color: var(--verified-blue);
  color: #ffffff;
  border-radius: 50%;
  flex-shrink: 0;
}

.verified-icon {
  width: 11px;
  height: 11px;
}

.profile-rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.stars-group {
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--star-gold);
}

.star-icon {
  width: 14px;
  height: 14px;
  filter: drop-shadow(0 0 3px rgba(255, 193, 7, 0.4));
}

.rating-number {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffde59;
}

.profile-stats {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
  margin-top: 2px;
}

/* ==========================================================================
   LIVE NOW Bar
   ========================================================================== */

.live-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px;
}

.live-indicator-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pulsing-live-dot {
  width: 10px;
  height: 10px;
  background-color: var(--accent-pink);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-pink), 0 0 18px var(--accent-pink-bright);
  animation: live-dot-pulse 1.6s infinite ease-in-out;
}

@keyframes live-dot-pulse {
  0% { transform: scale(0.92); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 1; box-shadow: 0 0 14px var(--accent-pink), 0 0 24px var(--accent-pink-bright); }
  100% { transform: scale(0.92); opacity: 0.8; }
}

.live-text {
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--accent-pink-bright);
  letter-spacing: 0.06em;
  text-shadow: 0 0 10px rgba(255, 0, 85, 0.5);
}

.timer-badge {
  background: rgba(14, 7, 24, 0.85);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 5px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.5);
}

.timer-digits {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.08em;
}

/* ==========================================================================
   Main Video Card
   ========================================================================== */

.video-preview-section {
  width: 100%;
}

.video-card {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 12.8;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--border-pink-medium);
  box-shadow: var(--glow-purple-card);
  cursor: pointer;
  background-color: #0d0617;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  user-select: none;
}

.video-card:hover, .video-card:focus-visible {
  outline: none;
  border-color: var(--accent-neon);
  box-shadow: 0 16px 44px -4px rgba(255, 0, 110, 0.45), 0 0 30px rgba(157, 0, 255, 0.35);
  transform: translateY(-2px);
}

.video-card:active {
  transform: scale(0.985);
}

.video-thumbnail-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.5s ease;
}

.video-card:hover .video-thumbnail-img {
  transform: scale(1.03);
}

.video-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(14, 7, 23, 0.35) 0%,
    rgba(14, 7, 23, 0.15) 40%,
    rgba(10, 4, 18, 0.6) 75%,
    rgba(8, 2, 14, 0.85) 100%
  );
  pointer-events: none;
}

/* Top badges on video */
.video-badges-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
}

.hd-badge {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
}

.sound-badge {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.sound-icon {
  width: 15px;
  height: 15px;
}

/* Central Play Button */
.play-button-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-pulse-ring {
  position: absolute;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 0, 85, 0.45) 0%, transparent 70%);
  animation: play-ring-pulse 2s infinite ease-out;
  pointer-events: none;
}

@keyframes play-ring-pulse {
  0% { transform: scale(0.85); opacity: 0.9; }
  100% { transform: scale(1.6); opacity: 0; }
}

.play-button {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff0055 0%, #ff2a70 50%, #d8004f 100%);
  border: 3.5px solid rgba(255, 255, 255, 0.95);
  box-shadow: var(--glow-pink-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.video-card:hover .play-button {
  transform: scale(1.08);
  box-shadow: 0 0 35px rgba(255, 0, 85, 0.9), 0 0 70px rgba(180, 0, 255, 0.5);
}

.play-icon {
  width: 28px;
  height: 28px;
  color: #ffffff;
  margin-left: 4px; /* Optical center alignment for play triangle */
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

/* Bottom CTA Pill */
.watching-pill-container {
  position: relative;
  z-index: 2;
  padding: 0 14px 16px;
  display: flex;
  justify-content: center;
  width: 100%;
}

.watching-pill {
  width: 100%;
  background: linear-gradient(135deg, #ff0055 0%, #ff1f71 50%, #d8004f 100%);
  color: var(--text-primary);
  padding: 13px 18px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--glow-pink-md), 0 6px 16px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.video-card:hover .watching-pill {
  transform: translateY(-1px);
  box-shadow: var(--glow-pink-lg), 0 8px 20px rgba(0, 0, 0, 0.6);
}

.watching-dot {
  width: 8px;
  height: 8px;
  background-color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 8px #ffffff;
  animation: watching-dot-blink 1.2s infinite ease-in-out;
}

@keyframes watching-dot-blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.watching-text {
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.watching-text strong {
  font-weight: 900;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Bottom Action Section / Join Now Button
   ========================================================================== */

.bottom-action-section {
  width: 100%;
  padding-top: 2px;
}

.join-now-button {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #ff0055 0%, #ff1f71 50%, #e6004c 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-pill);
  padding: 16px 24px;
  font-family: var(--font-main);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: var(--glow-pink-md), 0 8px 24px rgba(255, 0, 85, 0.4);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.join-now-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  animation: shine-sweep 3.5s infinite ease-in-out;
}

.join-now-button:hover,
.join-now-button:focus-visible {
  outline: none;
  background: linear-gradient(135deg, #ff1a66 0%, #ff3380 50%, #f00052 100%);
  box-shadow: var(--glow-pink-lg), 0 10px 30px rgba(255, 0, 85, 0.6);
  transform: translateY(-2px);
}

.join-now-button:active {
  transform: scale(0.985);
}

.btn-arrow-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.25s ease;
}

.join-now-button:hover .btn-arrow-icon {
  transform: translateX(4px);
}

/* ==========================================================================
   Modal / Overlay Dialog
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 1, 9, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

.modal-backdrop.is-active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  width: 100%;
  max-width: 380px;
  max-height: 90vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-pink) transparent;
  background: linear-gradient(180deg, #1b0f2e 0%, #0e0618 100%);
  border: 1.5px solid var(--accent-neon);
  border-radius: var(--radius-xl);
  padding: 24px 18px 20px;
  box-shadow: var(--glow-pink-lg), 0 20px 50px rgba(0, 0, 0, 0.9);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transform: scale(0.92) translateY(12px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.is-active .modal-card {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.modal-close-btn:hover {
  background: rgba(255, 0, 85, 0.25);
  color: #ffffff;
  border-color: var(--accent-pink);
}

.close-icon {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   Banner Steps Card
   ========================================================================== */

.banner-steps-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 6px;
}

.banner-headline-wrap {
  width: 100%;
  padding: 12px 14px;
  background: linear-gradient(135deg, rgba(255, 0, 85, 0.2) 0%, rgba(157, 0, 255, 0.2) 100%);
  border: 1px solid var(--border-pink-medium);
  border-radius: var(--radius-md);
  margin-bottom: 18px;
  box-shadow: 0 0 16px rgba(255, 0, 110, 0.2);
}

.banner-headline {
  font-size: 1.32rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.01em;
  text-shadow: 0 0 12px rgba(255, 0, 110, 0.6);
  line-height: 1.25;
}

.banner-steps-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
  text-align: left;
}

.banner-step-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(18, 9, 30, 0.75);
  border: 1px solid rgba(255, 0, 110, 0.25);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.4);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.banner-step-row:hover {
  border-color: var(--accent-pink-bright);
  transform: translateX(2px);
}

.banner-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff0055 0%, #ff1f71 100%);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(255, 0, 85, 0.5);
}

.banner-step-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: #f7f4fc;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.modal-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cta-primary-button {
  width: 100%;
  background: linear-gradient(135deg, #ff0055 0%, #ff1f71 50%, #e6004c 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-pill);
  padding: 16px 20px;
  font-family: var(--font-main);
  font-size: 1.12rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: var(--glow-pink-md), 0 6px 20px rgba(255, 0, 85, 0.4);
  transition: all 0.2s ease;
}

.cta-primary-button:hover {
  background: linear-gradient(135deg, #ff1a66 0%, #ff3380 50%, #f00052 100%);
  box-shadow: var(--glow-pink-lg), 0 8px 25px rgba(255, 0, 85, 0.5);
  transform: translateY(-2px);
}

.cta-primary-button:active {
  transform: scale(0.98);
}

.arrow-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.cta-primary-button:hover .arrow-icon {
  transform: translateX(4px);
}

.modal-disclaimer {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   Responsive Utilities
   ========================================================================== */

@media (max-width: 370px) {
  .header-title {
    font-size: 1.45rem;
  }
  .profile-avatar-wrap {
    width: 60px;
    height: 60px;
  }
  .profile-name {
    font-size: 1.15rem;
  }
  .watching-text {
    font-size: 0.88rem;
  }
  .play-button {
    width: 64px;
    height: 64px;
  }
}
