* { box-sizing: border-box; }

:root {
  --text: #f4f8ff;
  --muted: #afc3db;
  --line: rgba(104, 166, 255, 0.22);
}

html, body {
  margin: 0;
  min-height: 100%;
  font-family: "Heebo", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: #02050b;
  overflow-x: hidden;
}

body { position: relative; }

.bg-image {
  position: fixed;
  inset: 0;
  background: url("hero-car.png") center center / cover no-repeat;
  filter: brightness(0.42) saturate(1.08) contrast(1.05) blur(1px);
  transform: scale(1.06);
}

.bg-overlay {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 48, 48, 0.14), transparent 26%),
    radial-gradient(circle at bottom left, rgba(0, 110, 255, 0.18), transparent 25%),
    linear-gradient(180deg, rgba(2,5,11,0.42), rgba(2,5,11,0.74));
}

.rain-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.34;
}

.page {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 16px;
}

.glass-card {
  position: relative;
  overflow: hidden;
  width: min(100%, 760px);
  padding: 26px 26px 22px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(6, 12, 24, 0.28), rgba(4, 10, 20, 0.44));
  border: 1px solid var(--line);
  backdrop-filter: blur(24px) saturate(1.25);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.03) inset,
    0 20px 80px rgba(0,0,0,0.40),
    0 0 60px rgba(84, 141, 255, 0.12);
  text-align: center;
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.015) 34%, rgba(255,255,255,0) 58%),
    radial-gradient(circle at 20% 18%, rgba(108,177,255,0.10), transparent 28%);
  pointer-events: none;
}

.top-badge, h1, .quote, .player-panel, .center-logo, .discord-link {
  position: relative;
  z-index: 1;
}



h1 {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(58px, 10vw, 98px);
  line-height: 0.94;
  color: #f7fbff;
  text-shadow: 0 0 12px rgba(124, 173, 255, 0.30), 0 0 32px rgba(124, 173, 255, 0.18);
}

.quote {
  margin: 14px auto 24px;
  max-width: 900px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.65;
  font-weight: 700;
  color: #eef5ff;
  text-shadow: 0 0 8px rgba(103, 176, 255, 0.26), 0 0 22px rgba(103, 176, 255, 0.14);
}

.player-panel {
  border-radius: 26px;
  padding: 22px 18px 16px;
  background: linear-gradient(180deg, rgba(7, 16, 31, 0.18), rgba(5, 10, 20, 0.30));
  border: 1px solid rgba(122, 189, 255, 0.18);
  box-shadow: 0 0 28px rgba(94, 153, 255, 0.08), inset 0 0 0 1px rgba(255,255,255,0.03);
}

.player-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  direction: ltr;
  margin-bottom: 18px;
}

.music-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid rgba(122, 189, 255, 0.28);
  background: rgba(8, 18, 35, 0.22);
  color: white;
  font-size: 22px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
  box-shadow: 0 0 18px rgba(99, 170, 255, 0.10), inset 0 0 0 1px rgba(255,255,255,0.03);
}

.music-btn:hover {
  transform: translateY(-2px) scale(1.04);
  border-color: rgba(122, 189, 255, 0.46);
  box-shadow: 0 0 28px rgba(99, 170, 255, 0.16);
}

.music-btn-main {
  width: 74px;
  height: 74px;
  font-size: 28px;
  background: linear-gradient(180deg, rgba(111, 122, 255, 0.88), rgba(87, 138, 255, 0.82));
  box-shadow: 0 0 30px rgba(111, 122, 255, 0.26), 0 0 66px rgba(87, 138, 255, 0.18);
}

.advanced-controls {
  display: grid;
  gap: 14px;
}

.slider-group {
  display: grid;
  gap: 8px;
}

.slider-label {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.5px;
  direction: ltr;
  text-align: left;
}

.control-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  outline: none;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03), 0 0 18px rgba(111, 122, 255, 0.08);
}

.control-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 16px rgba(111, 122, 255, 0.42);
  border: 2px solid rgba(87, 138, 255, 0.96);
}

.control-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 16px rgba(111, 122, 255, 0.42);
  border: 2px solid rgba(87, 138, 255, 0.96);
}

.time-row {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
  direction: ltr;
}

.volume-group {
  max-width: 240px;
  margin-inline-start: auto;
}

.center-logo {
  width: 92px;
  height: auto;
  display: block;
  margin: 18px auto 10px;
  opacity: 0.96;
  filter: drop-shadow(0 0 24px rgba(255,255,255,0.35));
  transition: transform .18s ease, filter .18s ease;
}

.center-logo:hover {
  transform: scale(1.06);
  filter: drop-shadow(0 0 34px rgba(255,255,255,0.52));
}

.discord-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  text-decoration: none;
}

.discord-logo {
  width: 52px;
  height: 52px;
  display: block;
  opacity: 0.96;
  filter: drop-shadow(0 0 16px rgba(88, 101, 242, 0.38));
  transition: transform .18s ease, opacity .18s ease, filter .18s ease;
}

.discord-logo:hover {
  transform: scale(1.08);
  opacity: 1;
  filter: drop-shadow(0 0 24px rgba(88, 101, 242, 0.50));
}

audio { display: none; }

@media (max-width: 860px) {
  .page { padding: 18px 12px; }
  .glass-card { padding: 22px 16px 18px; border-radius: 26px; }
  h1 { font-size: 64px; }
  .quote { font-size: 22px; margin-bottom: 20px; }
  .music-btn { width: 52px; height: 52px; font-size: 20px; }
  .music-btn-main { width: 64px; height: 64px; font-size: 24px; }
  .volume-group { max-width: 100%; margin-inline-start: 0; }
  .rain-canvas { opacity: 0.26; }
  .center-logo { width: 78px; }
}

.center-logo{
  width:100px;
  margin:20px auto;
  display:block;
  background:transparent;
  filter: brightness(1.2) contrast(1.1) drop-shadow(0 0 20px rgba(255,255,255,0.6));
  opacity:0.95;
  transition:0.3s;
}
.center-logo:hover{
  transform:scale(1.1);
  filter: drop-shadow(0 0 40px rgba(255,255,255,0.9));
}

.top-logo{
  width:110px;
  display:block;
  margin:0 auto 10px;
  background:transparent;
  filter:brightness(1.2) drop-shadow(0 0 25px rgba(255,255,255,0.7));
  opacity:0.95;
  transition:0.3s;
}
.top-logo:hover{
  transform:scale(1.1);
  filter:drop-shadow(0 0 45px rgba(255,255,255,1));
}
