/*
  4 Forces Digital website styles
  - Variables: color palette and spacing
  - Layout: header, main content, sections
  - Components: buttons, cards, grids
*/
:root {
  color-scheme: dark;
  --bg: #04050a;
  --surface: #0d1327;
  --surface-strong: #121936;
  --text: #eff8ff;
  --muted: #94b7d8;
  --accent: #00d8ff;
  --accent-strong: #8f4dff;
  --border: rgba(255,255,255,0.10);
  --radius: 24px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.30);
}

body {
  margin: 0;
  font-family: 'Rubik', sans-serif;
  background: radial-gradient(circle at top left, rgba(0,216,255,0.44), transparent 14%),
              radial-gradient(circle at top right, rgba(143,77,255,0.36), transparent 14%),
              radial-gradient(circle at bottom left, rgba(0,120,255,0.30), transparent 18%),
              radial-gradient(circle at bottom right, rgba(150, 90, 255,0.34), transparent 14%),
              radial-gradient(circle at center, rgba(122, 65, 255, 0.12), transparent 28%),
              linear-gradient(180deg, rgba(10, 12, 22, 0.96) 0%, rgba(5, 6, 14, 1) 40%, rgba(7, 11, 23, 1) 100%);
  color: var(--text);
  min-height: 100vh;
  background-attachment: fixed;
  background-blend-mode: screen;
}

.site-header {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: rgba(8, 10, 24, 0.85);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0, 216, 255, 0.14);
}

.section-dark {
  background: rgba(8, 12, 32, 0.96);
  border-top: 1px solid rgba(0, 216, 255, 0.18);
  border-bottom: 1px solid rgba(0, 216, 255, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-strong);
}

.site-header {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.logo-circle {
  width: 128px;
  height: 128px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(0,216,255,0.18), rgba(143,77,255,0.18));
  border: 1px solid rgba(255,255,255,0.08);
  display: grid;
  place-items: center;
  position: relative;
  font-family: 'Orbitron', sans-serif;
  color: #eef5ff;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

.logo-circle.has-image span {
  display: none;
}

.site-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-size: 0.8rem;
}

.site-header h1 {
  margin: 4px 0 0;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.main-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text);
}

main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 64px;
}

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

.section-dark {
  background: rgba(15, 22, 40, 0.92);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-intro {
  max-width: 760px;
}

.section-intro.centered {
  margin: 0 auto 32px;
  text-align: center;
}

.section-intro .label,
.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.9rem;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  align-items: center;
  gap: 32px;
  padding: 72px 0;
  z-index: 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(0,216,255,0.12), transparent 18%),
              radial-gradient(circle at center right, rgba(143,77,255,0.12), transparent 18%);
  pointer-events: none;
  opacity: 0.65;
  z-index: -1;
}

.hero-visual {
  position: relative;
  min-height: 320px;
  border-radius: 32px;
  overflow: hidden;
  background: transparent;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.04);
}

.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(0,216,255,0.08), transparent 28%),
              radial-gradient(circle at bottom right, rgba(143,77,255,0.08), transparent 24%);
  pointer-events: none;
}

.hero-copy h2,
.section-intro h2,
.section-intro h3,
.section-highlight h3,
section h3 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 2.8vw, 3rem);
  line-height: 1.05;
}

.hero-copy p,
.section-intro p,
.feature-card p,
.event-card p,
.promo-card p,
.about-card p,
.artist-copy p,
.schedule-card p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-actions,
.section-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #06182d;
}

.btn-secondary {
  background: rgba(255,255,255,0.08);
  color: var(--text);
  border-color: rgba(255,255,255,0.18);
}

.btn-outline {
  color: var(--accent);
  border-color: rgba(0, 216, 255, 0.35);
  background: transparent;
}

.wave-block {
  background: transparent;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 32px;
  padding: 28px;
  box-shadow: none;
}

.wave-block h3 {
  margin: 0 0 10px;
}

.section-player {
  padding: 50px 0;
}

.player-card {
  margin-top: 24px;
  border-radius: 28px;
  overflow: hidden;
  background: transparent;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.04);
  box-shadow: none;
  height: 480px;
  display: flex;
}

#twitch-embed {
  width: 100%;
  height: 100%;
}

.embed-note {
  margin-top: 14px;
  font-size: 0.95rem;
  color: var(--muted);
}

.feature-grid,
.promo-grid,
.artist-grid,
.schedule-grid,
.about-grid {
  display: grid;
  gap: 24px;
  margin-top: 28px;
}

.feature-grid {
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
}

.promo-grid,
.artist-grid,
.schedule-grid,
.about-grid,
.gallery-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card,
.event-card,
.promo-card,
.artist-card,
.schedule-card,
.about-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 28px;
  padding: 24px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}

.event-card,
.schedule-card {
  min-height: 190px;
}

.event-date {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(31,211,255,0.14);
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 16px;
}

.promo-card h4,
.feature-card h4,
.artist-copy h3,
.about-card h3,
.schedule-card h3 {
  margin-top: 0;
}

.artist-card {
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}

.artist-card img,
.artist-card video {
  width: 100%;
  height: 260px;
  object-fit: contain;
  background-color: rgba(0,0,0,0.04);
}

.artist-card video {
  display: block;
}

.artist-copy {
  padding: 20px;
  display: grid;
  gap: 14px;
}

.social-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-list a {
  color: var(--accent);
  font-size: 0.95rem;
}

.section-highlight {
  padding-top: 38px;
  padding-bottom: 38px;
}

.team-story {
  margin-top: 28px;
  padding: 28px;
  background: rgba(92,214,255,0.05);
  border: 1px solid rgba(92,214,255,0.1);
  border-radius: 24px;
}

.team-story ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.team-story li {
  margin-bottom: 12px;
}

.gallery-grid {
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
}

.gallery-grid img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  transition: transform 0.2s ease;
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
  text-align: center;
  color: var(--muted);
}

/* Tablet and small desktop breakpoint */
@media (max-width: 1024px) {
  .site-header,
  main {
    width: calc(100% - 24px);
    padding-left: 12px;
    padding-right: 12px;
  }

  .logo-circle {
    width: 100px;
    height: 100px;
    font-size: 1.2rem;
  }

  .site-header h1 {
    font-size: 1.2rem;
  }

  .promo-grid,
  .artist-grid,
  .schedule-grid,
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid,
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .player-card {
    height: 360px;
  }
}

/* Mobile and small tablet breakpoint */
@media (max-width: 768px) {
  :root {
    --radius: 16px;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
    width: calc(100% - 20px);
    padding: 16px 0;
    gap: 16px;
  }

  .brand {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .logo-circle {
    width: 80px;
    height: 80px;
    font-size: 1rem;
  }

  .site-header h1 {
    font-size: 1rem;
  }

  .eyebrow {
    font-size: 0.75rem;
  }

  .main-nav {
    width: 100%;
    flex-direction: column;
    gap: 8px;
  }

  .main-nav a {
    padding: 8px 12px;
    border-radius: 8px;
    display: block;
    background: rgba(255,255,255,0.04);
  }

  .main-nav a:hover,
  .main-nav a.active {
    background: rgba(0, 216, 255, 0.15);
  }

  main {
    width: calc(100% - 20px);
  }

  .section-large {
    padding: 24px 0;
  }

  .section-intro h2,
  .hero-copy h2 {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    margin-bottom: 12px;
  }

  .section-intro p,
  .hero-copy p {
    font-size: 0.95rem;
  }

  .label {
    font-size: 0.8rem;
    margin-bottom: 10px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 40px 0;
  }

  .hero::before {
    opacity: 0.3;
  }

  .hero-visual {
    min-height: 240px;
  }

  .hero-actions,
  .section-actions {
    flex-direction: column;
    gap: 12px;
  }

  .btn {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
  }

  .promo-grid,
  .artist-grid,
  .schedule-grid,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-grid,
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
  }

  .feature-card,
  .event-card,
  .promo-card,
  .artist-card,
  .schedule-card,
  .about-card {
    padding: 16px;
    border-radius: 16px;
  }

  .artist-card img,
  .artist-card video {
    height: 180px;
  }

  .artist-copy {
    padding: 12px;
    gap: 10px;
  }

  .player-card {
    height: 280px;
    margin-top: 16px;
  }

  .event-date {
    padding: 6px 12px;
    font-size: 0.85rem;
    margin-bottom: 12px;
  }

  .team-story {
    padding: 16px;
    margin-top: 16px;
  }

  .team-story ul {
    margin-top: 12px;
    padding-left: 18px;
  }

  .team-story li {
    margin-bottom: 8px;
    font-size: 0.95rem;
  }

  .wave-block {
    padding: 16px;
    border-radius: 16px;
  }

  .site-footer {
    width: calc(100% - 20px);
    padding: 16px 0 32px;
    font-size: 0.9rem;
  }
}

/* Small mobile breakpoint */
@media (max-width: 480px) {
  .site-header {
    width: calc(100% - 16px);
    padding: 12px 0;
  }

  main {
    width: calc(100% - 16px);
    padding-bottom: 32px;
  }

  .logo-circle {
    width: 70px;
    height: 70px;
    font-size: 0.9rem;
  }

  .site-header h1 {
    font-size: 0.9rem;
    margin-top: 2px;
  }

  .eyebrow {
    font-size: 0.7rem;
    margin-bottom: 8px;
  }

  .main-nav {
    gap: 6px;
  }

  .main-nav a {
    padding: 6px 10px;
    font-size: 0.85rem;
  }

  section h3,
  .section-intro h2,
  .hero-copy h2 {
    font-size: clamp(1.3rem, 4vw, 1.8rem);
  }

  .section-intro p,
  .hero-copy p,
  .feature-card p,
  .event-card p,
  .promo-card p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .label {
    font-size: 0.75rem;
    margin-bottom: 8px;
  }

  .hero {
    padding: 24px 0;
    gap: 16px;
  }

  .hero-visual {
    min-height: 200px;
  }

  .btn {
    padding: 10px 14px;
    font-size: 0.85rem;
    border-radius: 8px;
  }

  .feature-card,
  .event-card,
  .promo-card,
  .artist-card,
  .schedule-card,
  .about-card {
    padding: 12px;
    border-radius: 12px;
  }

  .artist-card img,
  .artist-card video {
    height: 150px;
  }

  .artist-copy {
    padding: 10px;
    gap: 8px;
  }

  .player-card {
    height: 240px;
  }

  .event-date {
    padding: 5px 10px;
    font-size: 0.8rem;
  }

  .wave-block {
    padding: 12px;
    border-radius: 12px;
  }

  .wave-block h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }

  .team-story {
    padding: 12px;
    margin-top: 12px;
  }

  .team-story ul {
    margin-top: 10px;
    padding-left: 16px;
  }

  .team-story li {
    margin-bottom: 6px;
    font-size: 0.9rem;
  }

  .social-list {
    gap: 10px;
  }

  .social-list a {
    font-size: 0.9rem;
  }

  .site-footer {
    width: calc(100% - 16px);
    padding: 12px 0 24px;
    font-size: 0.85rem;
  }

  .section-large {
    padding: 16px 0;
  }
}
