/* --- Base reset --- */
* {
  box-sizing: border-box;
}
html, body {
  height: 100%;
}
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #f2f2f2;
  background: #0b0b0c;
  line-height: 1.5;
}

/* --- Layout helpers --- */
.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* --- Header / Nav --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(10, 10, 12, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 18px;
}

.logo {
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 2px;
  color: #ffffff;
  font-size: 18px;
  text-transform: uppercase;
}
.logo:hover {
  opacity: 0.9;
}

.nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.nav__link {
  text-decoration: none;
  color: rgba(242, 242, 242, 0.9);
  font-size: 14px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 8px 10px;
  border-radius: 10px;
  transition: 0.2s;
}
.nav__link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.header__login {
  text-decoration: none;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-size: 13px;
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  transition: 0.2s;
}
.header__login:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 74px; /* to offset fixed header */
  /* "Rock" background image placeholder: set any Metallica-like photo in images/ */
  background-image: url("images/metallica-hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  /* dark overlay + subtle red vibe */
  background:
    radial-gradient(circle at 20% 20%, rgba(180, 0, 0, 0.28), transparent 55%),
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.08), transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,0.80), rgba(0,0,0,0.55), rgba(0,0,0,0.88));
}

.hero__content {
  position: relative;
  padding: 60px 0;
  max-width: 720px;
}

.hero__title {
  margin: 0 0 12px;
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow: 0 10px 30px rgba(0,0,0,0.75);
}

.hero__subtitle {
  margin: 0 0 18px;
  font-size: 16px;
  color: rgba(242, 242, 242, 0.9);
  max-width: 620px;
}

.hero__note {
  margin: 0 0 22px;
  display: inline-block;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.9);
}

/* --- Buttons --- */
.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  text-decoration: none;
  color: #ffffff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(180,0,0,0.95), rgba(120,0,0,0.95));
  box-shadow: 0 14px 30px rgba(0,0,0,0.55);
  transition: transform 0.15s, filter 0.15s, background 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn--secondary {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.18);
}
.btn--secondary:hover {
  background: rgba(255,255,255,0.12);
}

/* --- Sections --- */
.section {
  padding: 80px 0;
  background: #0b0b0c;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.section:nth-of-type(2) {
  background: #0f0f12;
}

.section__title {
  margin: 0 0 14px;
  font-size: 28px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.text {
  margin: 0 0 22px;
  color: rgba(242, 242, 242, 0.85);
  max-width: 850px;
}

/* --- About facts --- */
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.fact {
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.fact__title {
  margin: 0 0 8px;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.fact__text {
  margin: 0;
  color: rgba(242, 242, 242, 0.82);
}

/* --- Albums --- */
.albums {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 10px;
}
.album {
  padding: 16px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03));
  border: 1px solid rgba(255, 255, 255, 0.10);
  position: relative;
  overflow: hidden;
}
.album::before {
  content: "";
  position: absolute;
  left: -40px;
  top: -40px;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: rgba(180, 0, 0, 0.18);
  filter: blur(2px);
}
.album__title {
  margin: 0 0 6px;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.album__meta {
  margin: 0;
  color: rgba(242, 242, 242, 0.8);
}

/* --- Section actions --- */
.section__actions {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
  padding: 24px 0;
  background: #070708;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer__text {
  margin: 0;
  color: rgba(242, 242, 242, 0.75);
}
.footer__link {
  color: rgba(242, 242, 242, 0.9);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
}
.footer__link:hover {
  background: rgba(255,255,255,0.10);
}

/* --- Smooth anchor scrolling --- */
html {
  scroll-behavior: smooth;
}
:target {
  scroll-margin-top: 88px; /* offset for fixed header when jumping */
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .facts,
  .albums {
    grid-template-columns: 1fr;
  }

  .header__inner {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero__content {
    padding: 44px 0;
  }
}