/* ====== Reset & Base ====== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #FFF5F7;
  --bg-secondary: #FFE8ED;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-elevated: rgba(255, 255, 255, 0.95);
  --accent-red: #FF4B7A;
  --accent-pink: #FF8FA8;
  --accent-light: #FFD4DC;
  --accent-white: #FFFFFF;
  --text-primary: #2D1B1F;
  --text-secondary: rgba(45, 27, 31, 0.7);
  --text-muted: rgba(45, 27, 31, 0.45);
  --border-subtle: rgba(255, 75, 122, 0.12);
  --border-hover: rgba(255, 75, 122, 0.25);
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  background: linear-gradient(135deg, #FFF5F7 0%, #FFE8ED 50%, #FFD4DC 100%);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ====== Background Slideshow ====== */
.bg-slideshow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 3s ease-in-out;
  will-change: opacity;
}

.bg-slide.active {
  opacity: 1;
}

.bg-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85) saturate(1.1);
  transform: scale(1.02);
}

.bg-slideshow::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(255, 245, 247, 0.3) 0%,
    rgba(255, 232, 237, 0.4) 40%,
    rgba(255, 212, 220, 0.5) 70%,
    rgba(255, 245, 247, 0.7) 100%
  );
  z-index: 1;
}

/* ====== Background Particles (subtle) ====== */
.bg-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--accent-red);
  opacity: 0;
  animation: particleFloat 10s infinite;
}

.particle:nth-child(even) {
  background: var(--accent-pink);
}

@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(100vh) scale(0); }
  15% { opacity: 0.4; }
  85% { opacity: 0.1; }
  100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}

/* ====== Page System ====== */
.page {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.5s ease;
  transform: translateY(20px);
  -webkit-overflow-scrolling: touch;
}

.page.page-city {
  overflow-y: hidden;
}

.page.page-streamers {
  overflow-y: auto;
}

.page.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ====== City Selection Page - Fixed Viewport ====== */
.city-hero {
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 20px 20px;
  position: relative;
  overflow: hidden;
  gap: 0;
}

.logo-area {
  text-align: center;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.logo-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
}

.logo-icon svg {
  width: 100%;
  height: 100%;
}

.brand-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  margin-bottom: 4px;
  line-height: 1.15;
}

.brand-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 400;
  letter-spacing: 0;
}

/* City Selector Card */
.city-selector-card {
  width: 100%;
  max-width: 400px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 75, 122, 0.15);
  border-radius: 18px;
  padding: 16px 18px 18px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  box-shadow: 0 8px 32px rgba(255, 75, 122, 0.08);
}

/* IP Location Bar */
.ip-location-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 75, 122, 0.06);
  border: 1px solid rgba(255, 75, 122, 0.12);
  border-radius: 10px;
  margin-bottom: 12px;
  font-size: 12px;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.ip-location-icon {
  color: var(--accent-red);
  flex-shrink: 0;
}

.ip-location-text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ip-location-text .detected-city {
  color: var(--text-primary);
  font-weight: 600;
}

.ip-location-text .distance-nearby {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 10px;
  background: var(--accent);
  color: white;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2px;
}

/* Distance display - below input */
.ip-relocate-btn {
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 75, 122, 0.3);
  background: rgba(255, 75, 122, 0.08);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  white-space: nowrap;
}

.ip-relocate-btn:hover {
  background: rgba(255, 75, 122, 0.18);
  color: var(--accent-red);
  border-color: rgba(255, 75, 122, 0.5);
}

.ip-relocate-btn.spinning svg {
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* City Input */
.city-input-wrap {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 75, 122, 0.15);
  border-radius: 11px;
  padding: 0 14px;
  transition: border-color 0.2s ease;
  margin-bottom: 14px;
}

.city-input-wrap:focus-within {
  border-color: var(--accent-red);
  box-shadow: 0 0 0 3px rgba(255, 75, 122, 0.1);
}

.location-icon {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  flex-shrink: 0;
  margin-right: 10px;
}

.city-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 14px;
  font-family: var(--font-family);
  padding: 12px 0;
}

.city-input::placeholder {
  color: var(--text-muted);
}

/* Hot Cities */
.hot-cities {
  margin-bottom: 14px;
}

.hot-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hot-city-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.hot-city-item {
  padding: 8px 0;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.hot-city-item:hover {
  background: rgba(255, 75, 122, 0.08);
  color: var(--text-primary);
  border-color: rgba(255, 75, 122, 0.2);
}

.hot-city-item.active {
  background: var(--accent-red);
  color: white;
  border-color: transparent;
}

/* Confirm Button */
.btn-confirm {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 11px;
  background: var(--accent-red);
  color: white;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-family);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-confirm:hover {
  background: #E5436D;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255, 75, 122, 0.35);
}

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

/* City Stats */
.city-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 20px;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.stat-item {
  text-align: center;
}

.stat-num {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.stat-unit {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.stat-divider {
  width: 1px;
  height: 28px;
  background: var(--border-subtle);
}

/* ====== Streamers Page ====== */
.streamers-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 10px 16px;
  background: rgba(255, 245, 247, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 75, 122, 0.1);
}

.header-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.header-menu-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 16px;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  color: rgba(0, 0, 0, 0.6);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  position: relative;
}

.menu-btn:hover {
  background: rgba(255, 255, 255, 1);
  color: rgba(0, 0, 0, 0.9);
}

.menu-btn.active {
  background: #ff2d55;
  color: white;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(255, 45, 85, 0.4);
}

.menu-btn svg {
  flex-shrink: 0;
}

/* Header Logo */
.header-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  margin: 0 12px;
}

.logo-dot {
  width: 24px;
  height: 24px;
  background: #ff2d55;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(255, 45, 85, 0.9);
  animation: logo-pulse 1.5s ease-in-out infinite;
}

.logo-text {
  font-size: 42px;
  font-weight: 900;
  color: white;
  letter-spacing: -1px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

@keyframes logo-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.9); }
}

/* Header Auth Buttons */
.header-auth {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.btn-login {
  padding: 6px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.6);
  color: rgba(255, 255, 255, 0.95);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-login:hover {
  background: rgba(0, 0, 0, 0.8);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-signup {
  padding: 6px 14px;
  border-radius: 16px;
  border: none;
  background: linear-gradient(135deg, #ff6b9d 0%, #ff4777 100%);
  color: white;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(255, 107, 157, 0.3);
}

.btn-signup:hover {
  background: linear-gradient(135deg, #ff4777 0%, #ff2d63 100%);
  box-shadow: 0 4px 12px rgba(255, 107, 157, 0.4);
  transform: translateY(-1px);
}

/* Language Dropdown */
.lang-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 6px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 6px 0;
  min-width: 160px;
  max-height: 300px;
  overflow-y: auto;
  z-index: 200;
}

.lang-option {
  padding: 8px 16px;
  font-size: 13px;
  color: #333;
  cursor: pointer;
  transition: background 0.15s ease;
}

.lang-option:hover {
  background: rgba(255, 75, 122, 0.08);
}

.lang-option.active {
  color: #FF4B7A;
  font-weight: 600;
}

.btn-menu {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn-menu:hover {
  background: #ffffff;
  transform: scale(1.05);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
}

.btn-search {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  flex-shrink: 0;
}

.btn-search:hover {
  background: #ffffff;
  transform: scale(1.05);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
}

.header-city-info {
  display: flex;
  flex-direction: column;
}

.header-city-name {
  font-size: 15px;
  font-weight: 700;
}

.header-city-sub {
  font-size: 11px;
  color: var(--text-muted);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-download-header {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  background: linear-gradient(135deg, #e6005c 0%, #c5004a 100%);
  color: white;
  border: none;
  border-radius: 16px;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 8px rgba(230, 0, 92, 0.4), 0 0 16px rgba(230, 0, 92, 0.2);
  }
  50% {
    box-shadow: 0 0 16px rgba(230, 0, 92, 0.6), 0 0 32px rgba(230, 0, 92, 0.3);
  }
}

.btn-download-header:hover {
  background: linear-gradient(135deg, #c5004a 0%, #a3003d 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(230, 0, 92, 0.5);
  animation: none;
}

.btn-download-header svg {
  flex-shrink: 0;
}

.header-logo-small {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: 15px;
}

.logo-dot-small {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff2d55;
  box-shadow: 0 0 12px rgba(255, 45, 85, 0.8);
}

.logo-text-small {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 45, 85, 0.5);
  letter-spacing: -0.5px;
}

.online-count {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--text-secondary);
}

.online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Banner */
.streamers-banner {
  position: relative;
  padding: 24px 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #FFE8ED 0%, #FFD4DC 100%);
  border-bottom: 1px solid rgba(255, 75, 122, 0.1);
}

.banner-text h2 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.banner-text p {
  font-size: 13px;
  color: var(--text-muted);
}

.banner-decoration {
  position: absolute;
  top: -50%;
  right: -10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 75, 122, 0.12), transparent 70%);
  pointer-events: none;
}

/* Streamers Grid */
.streamers-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
}

/* Streamer group - 1 large + 4 small cards, no gap */
.streamer-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 0;
  margin-bottom: 0;
  border-radius: 0;
  overflow: hidden;
}

/* Featured card - spans full width at top */
.streamer-group .streamer-card.featured {
  grid-column: 1 / -1;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0;
}

/* Small cards - 2x2 grid below */
.streamer-group .streamer-card:not(.featured) {
  aspect-ratio: 4 / 3;
  border-radius: 0;
}

.streamer-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-card);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  aspect-ratio: 3 / 4;
}

/* Removed hover effects */

.card-image-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Removed image hover scale effect */

/* Card Overlay */
.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 8px 8px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 60%, transparent 100%);
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.card-room-name {
  font-size: 10px;
  font-weight: 600;
  color: white;
  line-height: 1.3;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  flex: 1;
  margin-right: 4px;
  max-width: calc(100% - 50px);
}

.card-streamer-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-streamer-name {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.card-viewers {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-viewers::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

/* LIVE Badge */
.card-top-badges {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 6px;
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 2px 5px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 3px;
  font-size: 9px;
  font-weight: 600;
  color: white;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.card-distance-info {
  font-size: 9px;
  color: #25F4EE;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  font-weight: 500;
  white-space: nowrap;
}

.live-badge::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #FF4B7A;
  animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Hot Badge - Hidden */
.hot-badge {
  display: none;
}

/* Load More */
.load-more {
  padding: 16px 12px 40px;
  text-align: center;
}

.btn-load-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 28px;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-family);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-load-more:hover {
  background: rgba(255, 75, 122, 0.06);
  border-color: rgba(255, 75, 122, 0.25);
  color: var(--text-primary);
}

/* ====== Download Modal ====== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(45, 27, 31, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.modal-content {
  width: 100%;
  max-width: 340px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 75, 122, 0.15);
  border-radius: 20px;
  padding: 36px 24px 28px;
  text-align: center;
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 20px 60px rgba(255, 75, 122, 0.15);
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 75, 122, 0.08);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: rgba(255, 75, 122, 0.15);
  color: var(--text-primary);
}

.modal-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
}

.modal-icon svg {
  width: 100%;
  height: 100%;
}

.modal-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.modal-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
}

.modal-features {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-secondary);
}

.feature-icon {
  color: var(--accent-red);
  font-size: 13px;
}

.btn-download {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 12px;
  background: var(--accent-red);
  color: white;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-family);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-download:hover {
  background: #E5436D;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255, 75, 122, 0.35);
}

.modal-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 56px;
}

/* ====== Responsive ====== */
@media (min-width: 768px) {
  .streamers-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    max-width: 780px;
    margin: 0 auto;
    padding: 16px;
  }

  .card-room-name {
    font-size: 15px;
  }

  .brand-title {
    font-size: 36px;
  }

  .city-stats {
    gap: 36px;
  }

  .stat-num {
    font-size: 26px;
  }

  .streamers-banner {
    padding: 32px 24px;
  }

  .banner-text h2 {
    font-size: 24px;
  }

  .hot-city-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .city-hero {
    padding: 32px 24px 24px;
    gap: 0;
  }

  .logo-area {
    margin-bottom: 20px;
  }

  .logo-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 14px;
  }

  .city-selector-card {
    padding: 20px 22px 22px;
  }
}

@media (min-width: 1024px) {
  .streamers-grid {
    grid-template-columns: repeat(4, 1fr);
    max-width: 960px;
  }
}

/* ====== Small screens - ensure city page fits ====== */
@media (max-height: 640px) {
  .city-hero {
    padding: 16px 16px 12px;
  }

  .logo-area {
    margin-bottom: 10px;
  }

  .logo-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
  }

  .brand-title {
    font-size: 22px;
  }

  .brand-subtitle {
    font-size: 12px;
  }

  .city-selector-card {
    padding: 12px 14px 14px;
  }

  .ip-location-bar {
    padding: 6px 10px;
    margin-bottom: 8px;
    font-size: 11px;
  }

  .city-input-wrap {
    margin-bottom: 10px;
  }

  .city-input {
    padding: 10px 0;
    font-size: 13px;
  }

  .hot-cities {
    margin-bottom: 10px;
  }

  .hot-label {
    margin-bottom: 6px;
  }

  .hot-city-item {
    padding: 6px 0;
    font-size: 11px;
  }

  .btn-confirm {
    padding: 11px;
    font-size: 14px;
  }

  .city-stats {
    margin-top: 14px;
    gap: 18px;
  }

  .stat-num {
    font-size: 17px;
  }

  .stat-unit {
    font-size: 9px;
  }

  .stat-divider {
    height: 22px;
  }
}


