/* GLOBAL */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Nunito", sans-serif;
}
 
body { 
  overflow: hidden; 
}
   
/* BACKGROUND */ 
#bg {
  position: fixed;
  inset: 0;
  background-image: url("animescenary.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.4);
}

/* LOGO */
.logo-img {
  position: fixed;
  left: 30px;
  top: -120px;
  width: 380px;
}

/* MAIN UI */
.container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
}

/* MODES */
.modes {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
}

.modes button {
  padding: 12px 28px;
  border-radius: 40px;
  font-size: 18px;
  letter-spacing: 0.3px;

  background: rgba(255, 255, 255, 0.10);
  border: 2px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(14px);

  color: white;
  transition: 0.25s ease;
}

.modes button:hover {
  background: rgba(255,255,255,0.22);
}

.modes button.active {
  background: white;
  color: black;
  border-color: white;
}

/* TIMER */
#timer {
  font-size: 120px;
  font-weight: 700;
  margin-bottom: 20px;
}

/* CONTROLS */
#start {
  padding: 14px 40px;
  background: white;
  color: black;
  border-radius: 40px;
  font-size: 22px;
  font-weight: 700;
}

.icon-btn {
  padding: 12px 14px;
  background: rgba(255,255,255,0.12);
  border-radius: 40px;
  border: 1.8px solid rgba(255,255,255,0.4);
  font-size: 26px;
  color: white;
  transition: 0.25s ease;
}

.icon-btn:hover {
  background: rgba(255,255,255,0.22);
}

/* SPOTIFY MINI PLAYER */
#spotify-box {
  position: fixed;
  top: 20px;
  right: 20px;
  cursor: default;
  z-index: 50;
}

#spotify-box iframe {
  width: 360px;
  height: 120px;
  border-radius: 14px;
}

/* FULLSCREEN BUTTON */
#fullscreen-btn {
  position: fixed;
  bottom: 30px;
  right: 50px;

  background: none !important;
  padding: 0;
  border: none;
  outline: none;

  font-size: 45px;
  color: white;
  cursor: pointer;

  transition: 0.25s ease;
}

#fullscreen-btn:hover {
  transform: scale(1.12);
  opacity: 0.85;
}

/* SETTINGS OVERLAY */
#settings-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 20;
}

/* SETTINGS PANEL */
#settings-modal {
  width: 840px;
  height: 560px;
  background: #111;
  border-radius: 22px;
  position: fixed;
  inset: 0;
  margin: auto;
  display: flex;
  opacity: 0;
  transform: scale(0.7);
  pointer-events: none;
  transition: 0.25s;
  z-index: 30;
  overflow: hidden;
}

/* LEFT MENU */
.settings-left {
  width: 210px;
  background: #000;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.settings-left .tab {
  background: none;
  border: none;
  color: #999;
  font-size: 18px;
  padding: 6px 0;
  text-align: left;
  cursor: pointer;
  transition: 0.2s;
}

.settings-left .tab.active {
  color: white;
  font-weight: 700;
  border-left: 3px solid white;
  padding-left: 10px;
}

.settings-left .tab:hover {
  color: #fff;
}

.reset-btn {
  margin-top: auto;
  padding: 12px 28px;
  border-radius: 40px;
  background: rgba(255, 90, 90, 0.10);
  border: 1.5px solid #ff5c5c;
  color: #ff5c5c;
  font-weight: 600;
  transition: 0.25s ease;
}

.reset-btn:hover {
  background: rgba(255, 80, 80, 0.23);
}

/* RIGHT SETTINGS AREA */
.settings-right {
  flex: 1;
  padding: 40px 50px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  overflow-y: auto;
}


.settings-right p,
.settings-right span {
  font-size: 16px;
  color: #bbbbbb;
}

.label-title {
  color: white;
  font-size: 22px;
  font-weight: 700;
}


/* TOGGLE SWITCH */
.toggle-row input[type="checkbox"] {
  appearance: none;
  width: 46px;
  height: 24px;
  border-radius: 20px;
  background: #555;
  position: relative;
  cursor: pointer;
  transition: 0.25s;
}

.toggle-row input[type="checkbox"]::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  top: 2px;
  left: 2px;
  transition: 0.25s;
}

.toggle-row input[type="checkbox"]:checked {
  background: #4ade80;
}

.toggle-row input[type="checkbox"]:checked::before {
  left: 24px;
}

/* TIMER INPUTS — PREMIUM LOOK */
.timer-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0;
}

.timer-row input {
  width: 90px;
  padding: 12px 14px;
  background: transparent;
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,0.25);
  color: white;
  font-size: 18px;
  font-weight: 600;
  outline: none;
  transition: 0.25s;
}

.timer-row input:focus {
  border-color: white;
}

.timer-row span {
  font-size: 15px;
  color: #888;
}

/* BOTTOM BUTTONS (SAVE, CLOSE) */
.settings-bottom {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 16px;
}

.white-btn {
  padding: 12px 28px;
  background: white;
  color: black;
  font-weight: 600;
  border-radius: 40px;
  border: none;
  transition: 0.25s ease;
}

.white-btn:hover {
  transform: translateY(-2px);
}

.gray-btn {
  padding: 12px 28px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 40px;
  border: none;
  transition: 0.25s ease;
}

.gray-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}
#theme-select {
  width: 240px;              /* smaller */
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.12);
  border: 1.8px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(10px);
  color: white;              /* WHITE TEXT */
  font-size: 16px;
  cursor: pointer;
}

#theme-select option {
  background: #111;
  color: white;
}

.label-title {
    color: white;
  display: block;
  margin-bottom: 8px;
}
.tab-content {
  display: none;
  flex-direction: column;
  gap: 22px;
}

.tab-content.active {
  display: flex;
}

/* FILE INPUT (Custom aesthetic) */
#bg-upload {
  padding: 10px 18px;
  background: rgba(255,255,255,0.12);
  color: white;
  border-radius: 12px;
  border: 1.8px solid rgba(255,255,255,0.25);
  cursor: pointer;
  font-size: 15px;
}

#bg-upload::-webkit-file-upload-button {
  background: white;
  border: none;
  padding: 8px 18px;
  border-radius: 20px;
  cursor: pointer;
  margin-right: 12px;
  font-weight: 600;
}
#spotify-link {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255,255,255,0.12);
  border: 1.8px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
  color: white;
  font-size: 16px;
}

#spotify-link::placeholder {
  color: #ccc;
}

/* Load Playlist button aesthetic */
#load-spotify {
  width: 100%;
  padding: 14px 20px;
  border-radius: 40px;
  background: white;
  color: black;
  font-weight: 600;
  border: none;
  transition: 0.25s;
}

#load-spotify:hover {
  transform: translateY(-2px);
}

/* Spotify Volume Warning Overlay */
#spotify-warning-overlay {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 360px;
  height: 120px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 200;
}

.warning-box {
  text-align: center;
  color: white;
  padding: 10px 20px;
}

#spotify-ok {
  margin-top: 10px;
  padding: 10px 20px;
  border-radius: 20px;
  background: white;
  border: none;
  font-weight: 600;
  cursor: pointer;
}

#fullscreen-btn {
  position: fixed;
  bottom: 30px;
  right: 50px;
  background: none !important;
  padding: 0;
  border: none;
  outline: none;
  font-size: 45px;
  color: white;
  cursor: pointer;
  transition: 0.25s ease;
}

#fullscreen-btn:hover {
  transform: scale(1.12);
  opacity: 0.85;
}

/* Tooltip */
#fullscreen-btn::after {
  content: "Press F for fullscreen";
  position: absolute;
  bottom: 60px;
  right: -20px;

  background: rgba(0,0,0,0.45);
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 14px;
  color: white;
  opacity: 0;
  pointer-events: none;

  backdrop-filter: blur(6px);
  transition: 0.25s ease;
  white-space: nowrap;
}

#fullscreen-btn:hover::after {
  opacity: 1;
  transform: translateY(-4px);
}





