:root {
  --bg: #050505;
  --container-bg: #050505;
  --bg-secondary: #111111;
  --border: #242424;
  --text: #ffffff;
  --muted: #a0a0a0;
  --hover: #dddddd;
  --max: 1400px;
  --container: 1280px;
  --section-gap: 120px;
  --item-gap: 32px;
  --small-gap: 16px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background-color: var(--bg);
  background-image: url("assets/textures/bg-texture-dark-4096.webp");
  background-repeat: repeat;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: geometricPrecision;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  width: min(var(--container), calc(100% - 80px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 0;
  border-radius: 12px;
  background: var(--container-bg);
}

.site-header {
  width: 100%;
  background: var(--bg);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--container), calc(100% - 80px));
  min-height: 96px;
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  width: 150px;
  height: 72px;
  opacity: 1;
  transition: opacity 300ms ease, transform 300ms ease;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-link:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

.social-nav,
.footer-links {
  display: flex;
  align-items: center;
  gap: var(--small-gap);
}

.social-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  opacity: 1;
  transition: opacity 300ms ease, transform 300ms ease, border-color 300ms ease;
}

.social-nav a:hover {
  border-color: var(--border);
  opacity: 0.8;
  transform: translateY(-2px);
}

main {
  width: 100%;
  margin: 0;
}

.hero {
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: clamp(329px, 43.4vh, 504px);
  padding: 56px 0 50px;
  text-align: center;
  margin-bottom: 40px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.55), rgba(5, 5, 5, 0.75)),
    url("assets/textures/site-box-bg.png") center / cover no-repeat;
}

.hero-mark {
  margin-bottom: var(--item-gap);
  opacity: 0.94;
}

img.logo-round {
  width: 260px;
  height: 260px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
}

.eyebrow {
  margin: 0 0 var(--small-gap);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Bebas Neue", "Anton", Impact, sans-serif;
  font-weight: 400;
  line-height: 0.95;
}

h1 {
  max-width: 18ch;
  font-size: 8.5rem;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--hover);
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
}

.floating-cta {
  position: fixed;
  top: 105px;
  left: 0;
  right: 15px;
  z-index: 55;
  display: flex;
  justify-content: flex-end;
  width: min(var(--container), calc(100% - 80px));
  margin: 0 auto;
  pointer-events: none;
}

.hero-scroll-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border: 3px solid var(--text);
  border-radius: 999px;
  background: var(--bg);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
  pointer-events: auto;
  transition: opacity 300ms ease, transform 300ms ease, background-color 300ms ease, color 300ms ease;
}

.hero-scroll-btn span {
  font-size: 1rem;
  line-height: 1;
  transition: transform 300ms ease;
}

.hero-scroll-btn:hover {
  background: var(--text);
  color: var(--bg);
  transform: translateY(2px);
}

.hero-scroll-btn:hover span {
  transform: translateY(2px);
}

.beatstars-section {
  padding: 0 40px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--item-gap);
  margin-bottom: var(--item-gap);
}

.section-heading .eyebrow {
  margin: 0;
}

h2 {
  font-size: 6rem;
}

.player-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 680px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-secondary);
}

.player-frame iframe {
  display: block;
  width: 100%;
  height: 680px;
  border: 0;
  background: var(--bg-secondary);
}

.player-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: inherit;
  background-color: var(--bg-secondary);
  color: var(--muted);
  font-family: "Bebas Neue", "Anton", Impact, sans-serif;
  font-size: 8rem;
  line-height: 1;
  pointer-events: none;
}

.player-frame.is-loaded .player-placeholder {
  display: none;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: var(--item-gap);
  width: min(100%, 1200px);
  margin: 0 auto;
  padding: 56px 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

.footer-logo {
  display: inline-flex;
  width: min(220px, 52vw);
  height: 110px;
  opacity: 1;
  transition: opacity 300ms ease, transform 300ms ease;
}

.footer-logo:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-contact {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.footer-contact p,
.copyright {
  margin: 0;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--text);
  transition: color 300ms ease, opacity 300ms ease, transform 300ms ease;
}

.footer-contact a:hover,
.footer-links a:hover {
  color: var(--hover);
  opacity: 0.8;
  transform: translateY(-2px);
}

.footer-links {
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  transition: color 300ms ease, opacity 300ms ease, transform 300ms ease;
}

.copyright {
  white-space: nowrap;
}

@media (max-width: 1400px) {
  .page-shell {
    padding: 0 36px;
  }
}

@media (max-width: 1200px) {
  :root {
    --section-gap: 104px;
  }

  h1 {
    font-size: 7.2rem;
  }

  h2 {
    font-size: 5.2rem;
  }
}

@media (max-width: 992px) {
  .header-inner {
    min-height: 88px;
  }

  .floating-cta {
    top: 100px;
  }

  .hero {
    min-height: 378px;
  }

  h1 {
    font-size: 6.2rem;
  }

  .player-placeholder {
    font-size: 6.4rem;
  }

  .site-footer {
    justify-items: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-shell {
    width: min(100%, calc(100% - 48px));
    padding: 0 24px;
  }

  .header-inner {
    width: min(100%, calc(100% - 48px));
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    padding: 24px 0;
  }

  .social-nav {
    width: 100%;
    justify-content: space-between;
  }

  .social-nav a {
    width: 42px;
    height: 42px;
  }

  .floating-cta {
    top: 196px;
    width: min(100%, calc(100% - 48px));
  }

  .hero-scroll-btn {
    padding: 11px 18px;
    font-size: 0.75rem;
  }

  .hero {
    min-height: 350px;
    padding: 48px 0 39px;
  }

  img.logo-round {
    width: 220px;
    height: 220px;
  }

  h1 {
    font-size: 5.1rem;
  }

  h2 {
    font-size: 4.4rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .section-heading {
    display: grid;
    gap: 10px;
  }

  .player-frame,
  .player-frame iframe {
    min-height: 600px;
    height: 600px;
  }
}

@media (max-width: 480px) {
  :root {
    --section-gap: 80px;
    --item-gap: 24px;
  }

  .page-shell {
    width: min(100%, calc(100% - 36px));
    padding: 0 18px;
  }

  .header-inner {
    width: min(100%, calc(100% - 36px));
  }

  .floating-cta {
    top: 188px;
    width: min(100%, calc(100% - 36px));
  }

  .brand-link {
    width: 132px;
    height: 64px;
  }

  .social-nav {
    gap: 8px;
  }

  img.logo-round {
    width: 180px;
    height: 180px;
  }

  h1 {
    font-size: 3.9rem;
  }

  .hero-copy {
    font-size: 0.86rem;
  }

  h2 {
    font-size: 3.6rem;
  }

  .player-placeholder {
    font-size: 4.4rem;
  }

  .player-frame,
  .player-frame iframe {
    min-height: 560px;
    height: 560px;
  }
}
