/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: #f5f7ff;
  background: #0a0a1a;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { display: block; max-width: 100%; }
input { font-family: inherit; }

/* ===== BACKGROUND LAYERS ===== */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transition: opacity 1.5s ease-in-out;
  opacity: 0;
  /* 1. Увеличили brightness с 0.55 до 0.85, чтобы сама картинка стала светлее */
   
  transform: scale(1.05);
}
.bg-layer-1 { opacity: 1; background-image: url('https://i.vgy.me/td7pFz.png'); }
.bg-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    /* Сделали фиолетовое свечение сверху почти прозрачным (0.1) */0
    radial-gradient(ellipse at top, rgba(80, 20, 160, 0.1), transparent 100%),
    /* Сделали синее свечение снизу почти прозрачным (0.1) */
    radial-gradient(ellipse at bottom, rgba(20, 40, 140, 0.1), transparent 100%),
    /* Полностью убрали темную заливку, заменив на transparent */
    linear-gradient(180deg, transparent, transparent);
  pointer-events: none;
}



/* ===== GLASS BLOCKS ===== */
.glass {
  background: rgba(20, 18, 45, 0.45);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255,255,255,0.08);
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 8, 28, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  letter-spacing: 0.12em;
}
.brand-line-1 {
  font-size: 14px;
  color: #ff5ad8;
  text-shadow: 0 0 10px rgba(255, 90, 216, 0.6);
}
.brand-line-2 {
  font-size: 22px;
  background: linear-gradient(90deg, #00e5ff, #ff5ad8, #ffd54f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 28px rgba(255, 90, 216, 0.3);
}
.lang-switch {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
}
.lang-btn {
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.6);
  border-radius: 7px;
  transition: all 0.2s;
}
.lang-btn:hover { color: #fff; background: rgba(255,255,255,0.08); }
.lang-btn.active {
  color: #0a0a1a;
  background: linear-gradient(135deg, #00e5ff, #ff5ad8);
  box-shadow: 0 0 12px rgba(255, 90, 216, 0.5);
}

/* ===== COFFEE BUTTON (fixed right) ===== */
.coffee-btn {
  position: fixed;
  top: 50%;
  right: 18px;
  transform: translateY(-50%) rotate(-2deg);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 50% / 18%;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-align: center;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
  background: linear-gradient(135deg, #ff7a59, #ffbe3d, #ff5ad8, #7a5cff, #00d4ff, #ff7a59);
  background-size: 300% 300%;
  animation: gradShift 5s ease infinite;
  box-shadow:
    0 0 24px rgba(255, 120, 100, 0.5),
    0 0 48px rgba(120, 90, 255, 0.35);
  border: 2px solid rgba(255,255,255,0.3);
  transition: transform 0.25s;
}
.coffee-btn:hover { transform: translateY(-50%) rotate(-2deg) scale(1.08); }
.coffee-icon {
  font-size: 28px;
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.5));
  animation: steam 2.5s ease-in-out infinite;
}
.coffee-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  max-width: 20px;
  line-height: 1.2;
}
@keyframes gradShift {
  0%,100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes steam {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* ===== MAIN ===== */
.main {
  max-width: 720px;
  margin: 0 auto;
  padding: 100px 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}

/* ===== LIVE STATUS ===== */
.live-block {
  display: inline-flex;
  align-self: flex-start;
  padding: 8px 18px;
  border-radius: 999px;
}
.live-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 13px;
}
.live-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff2e4d;
  box-shadow: 0 0 10px #ff2e4d, 0 0 20px rgba(255, 46, 77, 0.6);
  animation: pulse 1.6s ease-in-out infinite;
}
.live-dot.on {
  background: #3dff7a;
  box-shadow: 0 0 10px #3dff7a, 0 0 20px rgba(61, 255, 122, 0.6);
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

/* ===== COUNTDOWN ===== */
.countdown-block {
  padding: 22px 20px;
  text-align: center;
}
.countdown-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  background: linear-gradient(90deg, #ffd54f, #ff5ad8, #00e5ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.cd-cell {
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 12px 6px;
}
.cd-num {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(24px, 6vw, 40px);
  font-weight: 900;
  color: #fff;
  text-shadow: 0 0 14px rgba(0, 229, 255, 0.7), 0 0 28px rgba(255, 90, 216, 0.4);
}
.cd-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

/* ===== PLAYER ===== */
.player-block {
  padding: 18px;
}
.player-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}
.player-artwork {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 24px rgba(255, 90, 216, 0.35), 0 0 0 3px rgba(0, 229, 255, 0.2);
  background: #111;
}
.player-artwork img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s;
}
.player-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}
.marquee {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: inline-flex;
  gap: 60px;
  animation: marquee var(--marquee-dur, 18s) linear infinite;
  animation-play-state: paused;
  width: max-content;
  will-change: transform;
}
.marquee-track .neon-text {
  flex-shrink: 0;
}
.marquee.running .marquee-track { animation-play-state: running; }
.neon-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  text-shadow:
    0 0 4px #fff,
    0 0 10px #ff5ad8,
    0 0 20px #ff5ad8,
    0 0 40px #00e5ff;
  white-space: nowrap;
}
.player-artist {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.05em;
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.3);
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Play button */
.play-btn {
  flex-shrink: 0;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff5ad8, #00e5ff);
  color: #0a0a1a;
  display: grid;
  place-items: center;
  box-shadow: 0 0 24px rgba(255, 90, 216, 0.6), 0 0 44px rgba(0, 229, 255, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.play-btn::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  animation: ringPulse 2s ease-in-out infinite;
}
.play-btn:hover { transform: scale(1.08); }
.play-btn:active { transform: scale(0.96); }
.play-btn .icon-pause { display: none; }
.play-btn.playing .icon-play { display: none; }
.play-btn.playing .icon-pause { display: block; }
@keyframes ringPulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(1.25); }
}

/* ===== STREAM COPY ===== */
.stream-block {
  padding: 18px 20px;
}
.stream-label {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
.stream-row {
  display: flex;
  gap: 10px;
}
#streamUrl {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(0,0,0,0.3);
  color: #fff;
  font-size: 13px;
  font-family: 'Consolas', 'Menlo', monospace;
  outline: none;
}
#streamUrl:focus { border-color: #00e5ff; box-shadow: 0 0 0 3px rgba(0,229,255,0.25); }
.copy-btn {
  padding: 0 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13px;
  color: #0a0a1a;
  background: linear-gradient(135deg, #ffd54f, #ff5ad8);
  box-shadow: 0 4px 14px rgba(255, 90, 216, 0.4);
  transition: transform 0.15s;
  white-space: nowrap;
}
.copy-btn:hover { transform: translateY(-2px); }
.copy-msg {
  margin-top: 8px;
  font-size: 12px;
  color: #3dff7a;
  min-height: 16px;
  transition: opacity 0.3s;
}

/* ===== DESCRIPTION ===== */
.desc-block {
  padding: 20px 22px;
  text-align: center;
}
.desc-block p {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
}

/* ===== SCHEDULE ===== */
.schedule-block { padding: 22px 24px; }
.block-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 16px;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  text-align: center;
  color: #ffd54f;
  text-shadow: 0 0 10px rgba(255, 213, 79, 0.5);
}
.sch-group { margin-bottom: 14px; }
.sch-group:last-child { margin-bottom: 0; }
.sch-sub {
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #00e5ff;
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 1px dashed rgba(0,229,255,0.3);
}
.sch-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.sch-list li {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  display: flex;
  gap: 10px;
}
.sch-time {
  font-weight: 700;
  color: #ff5ad8;
  min-width: 100px;
}

/* ===== SOCIAL / FOOTER ===== */
.social-block {
  padding: 22px;
  text-align: center;
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 14px;
}
.social-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid rgba(255,255,255,0.15);
}
.social-btn.instagram { background: linear-gradient(135deg, #feda75, #d62976, #962fbf, #4f5bd5); }
.social-btn.threads { background: #000; color: #fff; }
.social-btn.email { background: linear-gradient(135deg, #00e5ff, #7a5cff); }
.social-btn:hover { transform: translateY(-3px) scale(1.08); box-shadow: 0 8px 20px rgba(0,0,0,0.4); }
.copyright {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.05em;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .brand-line-1 { font-size: 12px; }
  .brand-line-2 { font-size: 18px; }
  .lang-btn { padding: 5px 8px; font-size: 11px; }
  .coffee-btn {
    top: auto;
    bottom: 16px;
    right: 16px;
    transform: rotate(0);
    padding: 12px 18px;
    border-radius: 999px;
    flex-direction: row;
  }
  .coffee-btn:hover { transform: scale(1.06); }
  .coffee-text { writing-mode: horizontal-tb; transform: none; max-width: none; }
  .player-artwork { width: 78px; height: 78px; }
  .neon-text { font-size: 16px; }
  .play-btn { width: 58px; height: 58px; }
  .main { padding: 88px 14px 100px; gap: 16px; }
  .cd-num { font-size: 24px; }
  .sch-list li { flex-direction: column; gap: 2px; }
  .sch-time { min-width: auto; }
}
