/* ===== Stil general ===== */
body {margin:0;font-family:Arial, sans-serif;background:#f5f5f5;color:#111;display:flex;flex-direction:column;min-height:100vh}
html, body {
  overflow-x: hidden;
}
h2 {color: #800020; /* roșu-burgundy */}
.header{background:#800020;width: 100%;height:70px;padding:10px;text-align:center}
.site-logo{height: 100%;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;}
.container{flex:1;padding:20px;text-align:center;max-width:1200px;margin:0 auto}
.categories{display:grid;grid-template-columns:repeat(2,1fr);gap:30px;max-width: 1200px;margin: 0 auto;}
@media (max-width:768px){.categories{grid-template-columns:1fr;width:100%;padding:0 10px}.category{margin-bottom:20px}}
.category h3{text-align:left;margin-bottom:10px;color:#800020}
.radio-grid{display:grid;grid-template-columns: repeat(4, 1fr);
  gap: 15px;}
@media (max-width:768px){.radio-grid{grid-template-columns:repeat(3,1fr);justify-content: start;}}
.radio-card {
  max-width: 150px;
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  padding: 5px 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  cursor: pointer;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.radio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.radio-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}
.player-footer{position:fixed;bottom:0;left:0;width:100%;background:rgba(128,0,32,0.9);display:none;justify-content:center;align-items: center;z-index: 999;}
.player{display:flex;align-items:center;justify-content:flex-start;height:70px;padding:0 15px;gap:15px;color:#fff}
.radio-logo{height:100%;max-height:70px;margin-right:15px}
.site-footer {
  text-align: center;
  padding: 25px 15px 120px; /* top, left/right, bottom */
  background: #f0f0f0;
  font-size: 14px;
}

.site-footer a {
  color: #800020;
  text-decoration: none;
  margin: 0 8px;
}

.site-footer a:hover {
  text-decoration: underline;
}
#cookie-banner button {
  margin-left: 10px;
  padding: 12px 14px; /* mai mult padding pentru înălțime */
  border: none;
  border-radius: 6px;
  cursor: pointer;
  line-height: 1.2;   /* pentru două rânduri mai bine aliniate */
  white-space: normal; /* permite text pe mai multe rânduri */
}

#accept-cookies {
  background: #16a34a;
  color: #fff;
}

#reject-cookies {
  background: #dc2626;
  color: #fff;
}

/* Responsive pentru mobil */
@media (max-width: 600px) {
  #cookie-banner {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  #cookie-banner button {
    width: 120px;  /* butoane mai înguste pe mobil */
    text-align: center;
  }
}

button#playBtn{width:50px;height:50px;border-radius:50%;border:2px solid #fff;background:transparent;color:#fff;font-size:18px;cursor:pointer}
#volumeSlider{accent-color:white;transition: all 0.3s ease;}
/* Buton plutitor scroll top */
#scrollTopBtn {
  display: none; /* ascuns inițial */
  position: fixed;
  bottom: 80px;
  right: 15px;
  z-index: 1000;
  border: none;
  outline: none;
  background-color: #800020; /* burgundy */
  cursor: pointer;
  border-radius: 50%;
  padding: 14px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s, transform 0.2s;
}

#scrollTopBtn:hover {
  background-color: #a8324e;
  transform: translateY(-3px);
}

#scrollTopBtn svg {
  width: 22px;
  height: 22px;
}
/* ===== Meniu Hamburger ===== */
.menu {
  position: absolute;
  top: 0;
  left: 0;
  height: 70px; /* egal cu headerul */
  display: flex;
  align-items: center;
  padding-left: 25px; /* distanță mică față de margine */
  background: transparent;
  z-index: 1100;
}

.hamburger {
  background: none;
  border: none;
  color: white;
  font-size: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: transform 0.2s ease;
}

.hamburger:hover {
  transform: scale(1.1);
}

/* Lista de categorii ascunsă implicit */
.menu-list {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 70px; /* exact sub bara roșie */
  left: 15px;
  width: 200px;
  background: rgba(128, 0, 32, 0.97);
  list-style: none;
  padding: 0;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* când meniul e deschis */
.menu.open .menu-list {
  display: flex;
}

.menu-list li {
  text-align: left;
  padding: 10px 15px;
  color: white;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.2s;
  font-size: 15px;
}

.menu-list li:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* === Responsive === */
@media (max-width: 768px) {
  .menu {
    height: 60px;
    padding-left: 15px;
  }

  .menu-list {
    left: 10px;
    width: 180px;
  }
}
