* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body, html {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #3b0213;
  color: #fff;
}

.hidden { 
  display: none !important; 
}

/* --- SCREEN 1 STYLES --- */
#screen-1 {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* Top Navigation Bar */
.top-nav {
  position: absolute;
  top: 15px;
  left: 0;
  width: 100%;
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.logo {
  font-size: 28px;
  font-weight: 900;
  color: #ff0055;
  letter-spacing: -1px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.country-selector {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 6px 10px;
  font-size: 12px;
  color: #fff;
}

.btn-login {
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  padding: 7px 14px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 13px;
}

.btn-signup {
  background: #ff0055;
  border: none;
  color: #fff;
  padding: 7px 14px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 13px;
}

/* Moving Background Grid Container */
.cards-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  opacity: 0.55;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 10px;
  animation: moveUp 18s linear infinite;
}

/* Vertical Animation */
@keyframes moveUp {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.pill-card {
  width: 100%;
  height: 170px;
  border-radius: 17px;
  overflow: hidden;
  background: #50081d;
}

.pill-card img, .pill-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Middle Hero Content */
.hero-content {
  position: absolute;
  top: 18%;
  left: 16px;
  right: 16px;
  z-index: 5;
  pointer-events: none;
}

.hero-title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.hero-desc {
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
}

.tag-no-signup {
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
}

.live-badge {
  display: inline-block;
  margin-top: 12px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 12px;
}

/* Fixed Bottom Button */
.bottom-action-area {
  position: fixed;
  bottom: 20px;
  left: 16px;
  right: 16px;
  z-index: 15;
}

.btn-start-chat {
  width: 100%;
  padding: 16px;
  background: #ff0055;
  border: none;
  border-radius: 30px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(255, 0, 85, 0.6);
  cursor: pointer;
}

/* --- BOTTOM SHEET & GENDER SELECTION --- */
.bottom-sheet {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background: #1c1318;
  border-radius: 28px 28px 0 0;
  padding: 24px 20px 30px 20px;
  z-index: 20;
  transition: bottom 0.35s cubic-bezier(0.1, 0.9, 0.2, 1);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.6);
}

.bottom-sheet.active {
  bottom: 0;
}

/* Sheet Header & Coin Balance */
.sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.sheet-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.coin-balance {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid #e2a016;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Gender Options Container */
.gender-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

/* Individual Gender Option Card */
.gender-card {
  position: relative;
  background: #2b1a23;
  border: 1.5px solid transparent;
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* Selected Active Card Highlight */
.gender-card.active {
  background: #23121b;
  border-color: #ff0055;
  box-shadow: 0 0 12px rgba(255, 0, 85, 0.25);
}

.gender-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.gender-icon {
  font-size: 22px;
  font-weight: bold;
}

.female-icon { color: #ff0055; }
.male-icon { color: #00bfff; }
.random-icon { color: #ff5e00; }

.gender-text {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}

.gender-cost {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 4px;
}

.free-text {
  color: #ffffff;
  font-weight: 500;
}

/* Top Right Checkmark Badge for Selected Card */
.check-badge {
  display: none;
  position: absolute;
  top: -8px;
  right: -2px;
  background: #ff0055;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
}

.gender-card.active .check-badge {
  display: flex;
}

/* Bottom Pink Action Button */
.btn-continue {
  width: 100%;
  padding: 16px;
  background: #ff0055;
  border: none;
  border-radius: 30px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 5px 20px rgba(255, 0, 85, 0.4);
  cursor: pointer;
}

/* --- SCREEN 2 STYLES --- */
#screen-2 {
  position: relative;
  width: 100%;
  height: 100vh;
  background: #000;
}

.full-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#user-camera {
  position: absolute;
  bottom: 24px;
  right: 16px;
  width: 100px;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid #fff;
  z-index: 5;
}

.popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  z-index: 30;
  display: flex;
  justify-content: center;
  align-items: center;
}

.popup-card {
  background: #242426;
  padding: 24px;
  border-radius: 20px;
  width: 85%;
  max-width: 340px;
  text-align: center;
}

.plan-option {
  background: #323234;
  margin: 10px 0;
  padding: 12px 16px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.plan-btn {
  background: #ff0055;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 700;
}





