/* ========== GLOBAL ========== */
:root{
  --accent: #66ccff;
  --bg1: #0a0a0a;
  --bg2: #101820;
  --card: #181818;
}

body {
  margin: 0;
  font-family: 'Medici', serif;
  background: linear-gradient(180deg, var(--bg1) 0%, var(--bg2) 100%);
  color: #f0f0f0;
  overflow-x: hidden;
}

.hidden {
  display: none;
}

.fade-in {
  opacity: 0;
  animation: fadeIn 900ms forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

h1, h2, h3 {
  font-family: 'Friz Quadrata', serif;
  letter-spacing: 1px;
  margin: .3rem 0;
}

/* ========== SPLASH SCREEN ========== */
#splash-screen {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.97);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 2rem;
  box-sizing: border-box;
}

/* close button */
#close-splash {
  position: absolute;
  top: 18px;
  right: 22px;
  background: transparent;
  color: #fff;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

/* inner layout */
.splash-inner {
  max-width: 980px;
  width: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-radius: 12px;
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.6);
}

/* album art */
.splash-art {
  flex: 0 0 220px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.splash-art img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.6);
}

/* player area */
.splash-player {
  flex: 1;
}
.splash-player h2{
  margin: 0 0 .5rem 0;
}
.splash-player iframe{
  display: block;
  border-radius: 8px;
  border: none;
}

/* track title fallback */
.splash-track-title{
  margin-top: .5rem;
  color: #cfcfcf;
}

/* ========== HEADER / HERO ========== */
header {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(180deg, #111, #1a1f2b);
}

.logo {
  width: 120px;
  margin-bottom: 1rem;
}

.tagline {
  font-style: italic;
  color: #aaa;
}

.countdown-container {
  margin-top: 2rem;
  background: rgba(255,255,255,0.03);
  padding: 1.5rem;
  border-radius: 12px;
  display: inline-block;
}

#countdown {
  font-size: 1.8rem;
  color: var(--accent);
}

/* ========== MUSIC SECTIONS ========== */
.music-section {
  text-align: center;
  padding: 3rem 1rem;
}

.music-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.music-card {
  background: var(--card);
  padding: 1rem;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.25s ease;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.music-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.6);
}

.music-card img.card-cover {
  width: 100%;
  height: 200px;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 0.8rem;
}

.music-card h3 {
  margin: 0.35rem 0 0.5rem 0;
  flex: 0 0 auto;
}

.music-card .listen-link {
  margin-top: auto;
  display: inline-block;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

/* ========== CONTACT ========== */
#contact {
  text-align: center;
  padding: 3rem 1rem;
  background: #0e0e0e;
}

.contact-link {
  display: inline-block;
  background: var(--accent);
  color: #000;
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  margin-top: 1rem;
  text-decoration: none;
  font-weight: bold;
}

.socials {
  margin-top: 1.5rem;
}
.socials a { color: #fff; margin: 0 10px; font-size: 1.4rem; }

/* ========== FOOTER / NEWS TICKER ========== */
footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #111;
  color: #fff;
  overflow: hidden;
  height: 40px;
  display: flex;
  align-items: center;
}

#news-ticker p {
  white-space: nowrap;
  animation: ticker 20s linear infinite;
  padding-left: 100%;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .splash-inner { flex-direction: column; align-items: center; text-align:center; }
  .splash-art { flex-basis: auto; }
  .splash-player iframe { width: 320px; }
}
@media (max-width: 600px) {
  header h1 { font-size: 1.6rem; }
  .countdown-container { width: 92%; }
  .music-card { min-height: 300px; }
}
