﻿/* === GLOBAL RESET === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  background: #000;
  color: #fff;
  overflow: hidden;
  height: 100vh;
}

/* === POPUPS === */
.popup {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  opacity: 1;
  transition: opacity 0.4s ease;
}

.popup.hidden {
  opacity: 0;
  pointer-events: none;
}

.popup-box {
  background: #111;
  padding: 25px;
  width: 85%;
  max-width: 420px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #333;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.popup-box h2 {
  font-size: 24px;
  margin-bottom: 12px;
}

.popup-box p, .popup-box ol {
  font-size: 15px;
  margin: 8px 0;
  line-height: 1.4;
}

.popup-box button {
  background: #0ff;
  color: #000;
  margin-top: 15px;
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

/* === TOP BAR === */
.topBar {
  position: fixed;
  top: 10px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 15px;
  z-index: 10;
}

#aboutBtn {
  background: rgba(255, 255, 255, 0.15);
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid #333;
  color: white;
}

#countdown {
  font-size: 14px;
  background: rgba(0, 255, 255, 0.15);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #044;
}

/* === SONG FEED === */
.song-feed {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  scroll-snap-type: y mandatory;
}

.song-card {
  position: relative;
  height: 100vh;
  width: 100%;
  scroll-snap-align: start;
  overflow: hidden;
}

.song-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(70%);
}

/* === PLAYER OVERLAY === */
.play-overlay {
  position: absolute;
  top: 50%; 
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 70px;
  opacity: 0.7;
  color: cyan;
  display: none;
}

/* === SEND BUTTON ON EACH SONG === */
.sendBtn {
  position: absolute;
  bottom: 80px;
  right: 20px;
  background: linear-gradient(135deg, #0ff, #80f);
  padding: 12px 20px;
  border-radius: 15px;
  font-weight: bold;
  border: none;
  font-size: 15px;
  cursor: pointer;
  color: #000;
  box-shadow: 0 0 15px rgba(0,255,255,0.4);
}

/* === MESSAGE FORM === */
textarea {
  width: 100%;
  height: 120px;
  padding: 10px;
  background: #000;
  border: 1px solid #444;
  color: cyan;
  border-radius: 8px;
  outline: none;
}

#sendMsgBtn {
  background: #0ff;
  color: #000;
  width: 100%;
  padding: 10px;
  font-weight: bold;
  margin-top: 8px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
}

/* === SWIPE ANIMATION (smooth TikTok feel) === */
.song-card {
  transition: transform 0.35s ease-out;
}
