/* ========== RESET ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ========== BASE ========== */
body {
  background: linear-gradient(to bottom, #0b0b0b, #000);
  color: #fff;
  font-family: 'Metal Mania', 'Rubik Mono One', sans-serif;
}

/* ========== HEADER ========== */
header {
  background-color: #000;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

nav a {
  text-decoration: none;
  color: #fff;
  font-size: 0.85rem;
  position: relative;
  padding: 0.2rem 0.5rem;
  transition: all 0.3s ease;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: white;
  opacity: 0;
  transition: opacity 0.3s;
}

nav a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

nav a:hover::after {
  opacity: 1;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
}

.hero h1 {
  font-size: 4rem;
  font-family: 'Metal Mania', cursive;
  color: #fff;
  text-shadow: 0 0 20px #900;
}

.hero h1 .highlight {
  color: #ff0000;
  text-shadow: 0 0 10px #f00;
}

.hero p {
  font-size: 1.2rem;
  color: #ccc;
  margin-top: 1rem;
  font-style: italic;
}

.cta-button {
  margin-top: 2rem;
  display: inline-block;
  padding: 0.9rem 1.6rem;
  background: #ff0000;
  color: #fff;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  font-family: 'Metal Mania', sans-serif;
  transition: background 0.3s, transform 0.2s;
  box-shadow: 0 0 15px #ff0000a0;
}

.cta-button:hover {
  background: #fff;
  color: #000;
  transform: scale(1.05);
}

/* ========== MAIN INFO BOX ========== */
.main-info {
  max-width: 900px;
  margin: 4rem auto;
  padding: 2rem;
  background: radial-gradient(circle at center, #111 0%, #000 100%);
  border: 1px solid #222;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.15);
}

.info-box h2 {
  font-size: 1.8rem;
  color: #f44336;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.info-box p {
  color: #ccc;
  font-size: 1rem;
  margin-bottom: 1.2rem;
}

.ritual-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.ritual-list li {
  color: #bbb;
  font-size: 0.95rem;
  margin: 0.5rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
}

.ritual-list li i {
  color: #ff3333;
}

/* ========== PLAYER GENERAL ========== */
.player-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background: #000000;
  border-radius: 10px;
  padding: 1rem;
  max-width: 600px;
  width: 100%;
}

.player-box img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
  margin-right: 1rem;
}

.track-details {
  flex: 1;
  min-width: 200px;
}

.track-details h3 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.track-details p {
  color: #aaa;
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}

.track-details audio {
  width: 100%;
}


/* ========== DONATE SECTION ========== */
.donate-box {
  text-align: center;
  margin: 3rem 1rem 2rem;
  padding: 0 1rem;
}

.donate-box h2 {
  color: #c2b0ae;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  font-weight: normal;
}

.donate-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.donate-buttons button {
  background: #111;
  color: white;
  border: 1px solid #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: bold;
  transition: background 0.3s, transform 0.2s;
}

.donate-buttons button img {
  height: 24px;
  width: auto;
}

.donate-buttons button:hover {
  background: #fff;
  color: #000;
  transform: scale(1.05);
}

/* ========== SOCIAL BUTTONS ========== */
.social-btn {
  background: #0a0a0a;
  color: #aaa;
  border: 1px solid #333;
  box-shadow: 0 0 5px rgba(255, 0, 0, 0.1);
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-family: 'Metal Mania', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.3s, color 0.3s, transform 0.2s;
}

.social-btn i {
  color: #f00;
  font-size: 1.2rem;
}

.social-btn:hover {
  background: #111;
  color: #f00;
  transform: scale(1.03);
  border-color: #600;
}

/* ========== FOOTER ========== */
footer {
  background: #000;
  color: #666;
  text-align: center;
  font-size: 0.75rem;
  padding: 2rem 1rem;
}

/* ========== AUDIO GENERAL ========== */
audio {
  margin-top: 1rem;
  width: 100%;
  max-width: 500px;
  filter: invert(1) sepia(1) hue-rotate(320deg) contrast(1.5);
}

/* ========== MENU TOGGLE (MOBILE) ========== */
.menu-toggle {
  display: none;
  position: relative;
  width: 32px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  position: absolute;
  height: 3px;
  width: 100%;
  background: #fff;
  left: 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 10px; }
.menu-toggle span:nth-child(3) { top: 20px; }

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 10px;
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 10px;
}

/* ========== METAL NEWS ========== */
.metal-news {
  max-width: 900px;
  margin: 4rem auto;
  padding: 2rem;
  background: linear-gradient(145deg, #111, #000);
  border: 1px solid #333;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.1);
  text-align: center;
}

.metal-news h2 {
  font-size: 1.6rem;
  color: #ff3333;
  margin-bottom: 1rem;
}

.metal-news .ritual-list li i {
  color: #ff5555;
}

/* ========== RADIO NOW PLAYING & TRACKLIST ========== */
.radio-now-playing,
.upcoming-tracks {
  background: linear-gradient(145deg, #0c0c0c, #000);
  border: 1px solid #1a1a1a;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.1);
  padding: 1.5rem 1rem;
  max-width: 700px;
  margin: 3rem auto;
  border-radius: 8px;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 1rem;
}

.section-header h3 {
  font-family: 'Metal Mania', sans-serif;
  font-size: 1.4rem;
  color: #ff3333;
  text-shadow: 0 0 6px #900;
  letter-spacing: 0.5px;
}

.section-header .sub {
  font-size: 0.75rem;
  color: #aaa;
  margin-top: 0.3rem;
  text-transform: uppercase;
  font-style: italic;
}

.track-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.track-list li {
  background: #121212;
  margin-bottom: 0.6rem;
  padding: 0.7rem 1rem;
  border-left: 3px solid #f00;
  font-family: 'Metal Mania', sans-serif;
  font-size: 0.9rem;
  color: #eee;
  border-radius: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.2s ease, background 0.3s ease;
}

.track-list li:hover {
  background: #1a1a1a;
  transform: scale(1.01);
}

.track-list li .title {
  color: #ff4444;
  font-weight: bold;
}

.track-list li .time {
  color: #999;
  font-size: 0.75rem;
  font-family: monospace;
}

/* ========== LOADING ========== */
.loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 1rem 0;
}

.spinner {
  width: 28px;
  height: 28px;
  border: 3px solid #222;
  border-top: 3px solid #f00;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 0.3rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading p {
  color: #bbb;
  font-size: 0.8rem;
  font-style: italic;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #000;
    padding: 1rem 0;
  }

  nav.active {
    display: flex;
  }

  nav a {
    padding: 0.5rem 1rem;
    text-align: center;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 2rem;
  }

  .player-box,
  .radio-now-playing .player-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .player-box img,
  .radio-now-playing .player-box img {
    margin-bottom: 1rem;
  }

  nav {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .player-box,
  .radio-now-playing .player-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .player-box img,
  .radio-now-playing .player-box img {
    margin-bottom: 1rem;
  }
}

.site-footer {
  background: #000;
  color: #bbb;
  padding: 3rem 2rem 1rem;
  font-size: 0.9rem;
  border-top: 1px solid #111;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto 2rem;
}

.footer-col {
  flex: 1 1 250px;
}

.footer-col h3 {
  color: #f33;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-family: 'Metal Mania', sans-serif;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 0.4rem;
}

.footer-col ul li a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-social a {
  color: #f33;
  margin-right: 0.8rem;
  font-size: 1.4rem;
  transition: transform 0.2s ease;
}

.footer-social a:hover {
  transform: scale(1.2);
  color: #fff;
}

.footer-bottom {
  text-align: center;
  color: #666;
  border-top: 1px solid #111;
  padding-top: 1rem;
  font-size: 0.75rem;
}

/* Scrollbar roja fina estilo metalero */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #111;
}

::-webkit-scrollbar-thumb {
  background: #ff0000;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #cc0000;
}

#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background-color: #111;
  color: #ff4444;
  border: 1px solid #ff0000;
  padding: 12px 14px;
  font-size: 1rem;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 10px #ff000088;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.2s ease;
}

#scrollTopBtn i {
  font-size: 1.2rem;
}

#scrollTopBtn.show {
  opacity: 1;
  pointer-events: auto;
}

#scrollTopBtn:hover {
  background-color: #ff0000;
  color: #000;
  transform: scale(1.1);
}

.recitales {
  background: #0b0b0b;
  padding: 4rem 2rem;
  border-top: 1px solid #111;
  box-shadow: 0 0 30px rgba(255, 0, 0, 0.05);
}

.recitales .section-header h3 {
  font-family: 'Metal Mania', sans-serif;
  font-size: 1.8rem;
  color: #ff3333;
  text-align: center;
  text-shadow: 0 0 6px #900;
}

.recitales .sub {
  text-align: center;
  color: #aaa;
  font-size: 0.85rem;
  font-style: italic;
  margin-top: 0.3rem;
}

.recital-list {
  max-width: 800px;
  margin: 2rem auto 0;
}

.recital-item {
  background: #111;
  border-left: 4px solid #f00;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.recital-item h4 {
  color: #f55;
  font-family: 'Metal Mania', sans-serif;
  font-size: 1.1rem;
}

.recital-item .date {
  color: #aaa;
  font-size: 0.85rem;
}

.recital-item a {
  align-self: start;
  background: #f00;
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-size: 0.85rem;
  transition: background 0.3s;
}

.recital-item a:hover {
  background: #fff;
  color: #000;
}

.loading {
  text-align: center;
  color: #888;
  font-style: italic;
}
