:root {
  color: #101510;
  background: #f7f8f2;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --ink: #13211b;
  --muted: #5c6d65;
  --paper: #f5f6ed;
  --paper-strong: #ffffff;
  --panel: rgba(255, 255, 255, 0.9);
  --panel-solid: #ffffff;
  --green: #b7ff2a;
  --green-strong: #19d38b;
  --line: rgba(19, 33, 27, 0.14);
  --line-strong: rgba(19, 33, 27, 0.26);
  --hero-ink: #10352c;
  --hero-muted: rgba(16, 53, 44, 0.82);
  --hero-overlay:
    linear-gradient(90deg, rgba(242, 248, 242, 0.9), rgba(242, 248, 242, 0.46) 36%, rgba(242, 248, 242, 0.12) 56%, rgba(242, 248, 242, 0.06)),
    linear-gradient(180deg, rgba(20, 39, 31, 0.1), rgba(20, 39, 31, 0.38));
  --header-surface: rgba(250, 252, 244, 0.76);
  --header-border: rgba(255, 255, 255, 0.52);
  --header-shadow: 0 18px 60px rgba(16, 21, 16, 0.14);
  --shadow: 0 20px 70px rgba(16, 21, 16, 0.13);
  --hero-copy-surface: rgba(255, 255, 255, 0.32);
  --max: 1180px;
}

:root[data-theme="dark"] {
  color: #ecf3ef;
  background: #0f1713;
  --ink: #edf4ef;
  --muted: #a0b4ab;
  --paper: #0f1713;
  --paper-strong: #0c1410;
  --panel: rgba(16, 25, 20, 0.92);
  --panel-solid: #131d18;
  --green: #9dfd5f;
  --green-strong: #3ad8a0;
  --line: rgba(237, 244, 239, 0.1);
  --line-strong: rgba(237, 244, 239, 0.18);
  --hero-ink: #f6fbf7;
  --hero-muted: rgba(246, 251, 247, 0.82);
  --hero-overlay:
    linear-gradient(90deg, rgba(8, 14, 11, 0.88), rgba(8, 14, 11, 0.6) 36%, rgba(8, 14, 11, 0.18) 56%, rgba(8, 14, 11, 0.1)),
    linear-gradient(180deg, rgba(5, 10, 8, 0.1), rgba(5, 10, 8, 0.72));
  --header-surface: rgba(16, 25, 20, 0.76);
  --header-border: rgba(237, 244, 239, 0.08);
  --header-shadow: 0 18px 60px rgba(0, 0, 0, 0.4);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
  --hero-copy-surface: rgba(8, 14, 11, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(25, 211, 139, 0.12), transparent 24%),
    radial-gradient(circle at top left, rgba(183, 255, 42, 0.12), transparent 22%),
    var(--paper);
  transition:
    color 180ms ease,
    background-color 180ms ease,
    background 180ms ease;
}

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

svg {
  width: 1.1em;
  height: 1.1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

button,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(calc(100% - 32px), var(--max));
  min-height: 64px;
  padding: 10px 12px 10px 16px;
  border: 1px solid var(--header-border);
  border-radius: 8px;
  background: var(--header-surface);
  box-shadow: var(--header-shadow);
  backdrop-filter: blur(20px);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.96rem;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  width: 25px;
  height: 26px;
  color: var(--green-strong);
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-text {
  margin-left: 4px;
  color: var(--ink);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.nav-link {
  border: 0;
  padding: 10px 13px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 700;
  background: transparent;
  cursor: pointer;
}

.nav-links a,
.nav-link {
  padding: 10px 13px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 700;
}

.nav-links a:hover,
.nav-link:hover {
  color: var(--ink);
  background: rgba(127, 216, 0, 0.08);
}

.header-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--panel-solid);
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(127, 216, 0, 0.55);
  background: rgba(127, 216, 0, 0.1);
}

.language-select {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 78px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-solid);
}

.language-select select {
  width: 100%;
  min-height: 42px;
  padding: 0 34px 0 14px;
  border: 0;
  color: var(--ink);
  font-weight: 800;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

.language-select .chevron {
  position: absolute;
  right: 12px;
  font-size: 1.15rem;
  line-height: 1;
  pointer-events: none;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--hero-ink);
  background: #101510;
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-overlay {
  background: var(--hero-overlay);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding-top: 92px;
}

.hero-content::before {
  content: "";
  position: absolute;
  inset: 54px auto -28px -22px;
  width: min(56vw, 760px);
  border-radius: 8px;
  background: var(--hero-copy-surface);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.08);
  z-index: -1;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 8px;
  color: #1c2b11;
  background: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 20px 0 18px;
  font-size: clamp(3rem, 8vw, 6.9rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero p {
  max-width: 610px;
  margin: 0;
  color: var(--hero-muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 900;
}

.button.primary {
  color: #16200f;
  background: linear-gradient(135deg, var(--green), var(--green-strong));
}

.button.primary:hover {
  background: linear-gradient(135deg, #cdff64, #4de0aa);
}

.button.ghost {
  color: var(--hero-ink);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.14);
}

.section {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 96px 0;
  scroll-margin-top: 112px;
}

.section-heading {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.compact {
  margin-bottom: 0;
}

.section-heading h2,
.community-copy h2,
.join-band h2 {
  margin: 0;
  font-size: clamp(2.15rem, 5vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.section-heading p,
.community-copy p,
.join-band p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.social-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1fr);
  align-items: end;
  gap: 36px;
}

.social-grid {
  display: grid;
  gap: 12px;
}

.social-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 84px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-solid);
  box-shadow: 0 12px 40px rgba(16, 21, 16, 0.06);
}

.social-link:hover,
.member-card:hover,
.video-card:hover,
.tweet-card:hover {
  transform: translateY(-2px);
}

.social-link,
.member-card,
.video-card,
.tweet-card {
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.social-link:hover,
.member-card:hover,
.video-card:hover,
.tweet-card:hover {
  border-color: rgba(127, 216, 0, 0.55);
  box-shadow: var(--shadow);
}

.social-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  color: var(--green);
  background: var(--ink);
}

.social-link[data-social="YouTube"] .social-icon svg {
  width: 1.35em;
  height: 1.35em;
}

:root[data-theme="dark"] .social-icon {
  color: #101510;
  background: #ffffff;
}

.social-link strong,
.social-link small,
.video-card span {
  display: block;
}

.social-link strong {
  font-size: 1.08rem;
}

.social-link small {
  margin-top: 3px;
  color: var(--muted);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.video-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-solid);
  cursor: pointer;
}

.video-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 7.6;
  background: #101510;
}

.video-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-chip {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  color: #16200f;
  background: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
}

.video-title {
  padding: 18px 18px 8px;
  font-size: 1.08rem;
  font-weight: 850;
  line-height: 1.35;
}

.video-date {
  display: block;
  padding: 0 18px 18px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.embed-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 36px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.embed-footer a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 850;
}

.tweet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tweet-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 270px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(183, 255, 42, 0.1), rgba(255, 255, 255, 0) 38%),
    var(--panel-solid);
  cursor: pointer;
}

.tweet-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.tweet-body {
  display: -webkit-box;
  overflow: hidden;
  margin: 16px 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.55;
  white-space: pre-line;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 8;
}

.tweet-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin-top: auto;
  border-radius: 8px;
  background: #eef1e8;
}

.tweet-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tweet-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 16px;
  color: var(--ink);
  font-weight: 900;
}

.tweet-card-empty {
  grid-column: 1 / -1;
  min-height: 220px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  padding: 24px;
  cursor: default;
  background:
    linear-gradient(135deg, rgba(183, 255, 42, 0.14), rgba(255, 255, 255, 0) 42%),
    var(--panel-solid);
}

.tweet-card-empty:hover {
  transform: none;
  border-color: var(--line);
  box-shadow: none;
}

.tweet-empty-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  color: #16200f;
  background: var(--green);
  font-size: 0.95rem;
  font-weight: 900;
}

.tweet-empty-copy {
  display: grid;
  gap: 10px;
  max-width: 640px;
}

.tweet-empty-copy h3 {
  margin: 0;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.1;
}

.tweet-empty-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.tweet-empty-cta {
  margin-top: auto;
}

.tweet-lines {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.tweet-lines span {
  display: block;
  height: 13px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(16, 21, 16, 0.08), rgba(183, 255, 42, 0.28), rgba(16, 21, 16, 0.08));
  background-size: 220% 100%;
  animation: tweet-loading 1.4s ease-in-out infinite;
}

.tweet-lines span:nth-child(2) {
  width: 86%;
}

.tweet-lines span:nth-child(3) {
  width: 62%;
}

@keyframes tweet-loading {
  0% {
    background-position: 100% 0;
  }

  100% {
    background-position: -120% 0;
  }
}

.community {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 56px;
  align-items: start;
}

.community-copy {
  display: grid;
  gap: 18px;
}

.highlight-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(16, 21, 16, 0.18);
  border-radius: 8px;
  background: var(--paper-strong);
  color: var(--ink);
}

.highlight {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(127, 216, 0, 0.08);
}

.highlight svg {
  color: var(--green);
}

.team-section {
  padding-top: 70px;
}

.team-group {
  margin-top: 38px;
}

.team-group h3 {
  margin: 0 0 16px;
  font-size: 1.2rem;
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.member-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 104px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-solid);
  cursor: pointer;
}

.avatar-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 2px solid var(--green);
  border-radius: 8px;
  background: #eef1e8;
  overflow: hidden;
}

.avatar-wrap::before {
  content: attr(data-initial);
  position: absolute;
  color: #16200f;
  font-size: 1.25rem;
  font-weight: 950;
}

.avatar-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-wrap.avatar-failed {
  background:
    linear-gradient(135deg, rgba(183, 255, 42, 0.82), rgba(255, 255, 255, 0.92)),
    #eef1e8;
}

.member-card h4 {
  overflow-wrap: anywhere;
  margin: 0 0 6px;
  font-size: 1.02rem;
}

.member-handle {
  display: inline-block;
  max-width: 100%;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.join-band {
  width: min(calc(100% - 40px), var(--max));
  margin: 28px auto 80px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 36px;
  border-radius: 8px;
  color: var(--hero-ink);
  background:
    linear-gradient(135deg, rgba(183, 255, 42, 0.22), transparent 36%),
    var(--paper-strong);
}

.join-band p {
  max-width: 680px;
  margin-top: 10px;
  color: var(--muted);
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: auto auto;
    gap: 12px;
  }

  .nav-links {
    display: none;
  }

  .social-section,
  .community,
  .join-band {
    grid-template-columns: 1fr;
  }

  .video-grid,
  .tweet-grid,
  .member-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .join-band .button {
    width: fit-content;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 10px;
    width: min(calc(100% - 20px), var(--max));
    min-height: 58px;
  }

  .brand {
    gap: 8px;
    font-size: 0.9rem;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-overlay {
    background: var(--hero-overlay);
  }

  .hero-content::before {
    inset: 48px -8px -18px -8px;
    width: auto;
  }

  .hero-content,
  .section,
  .join-band {
    width: min(calc(100% - 24px), var(--max));
  }

  .hero h1 {
    font-size: clamp(2.8rem, 15vw, 4.6rem);
  }

  .header-controls {
    gap: 8px;
  }

  .section {
    padding: 68px 0;
  }

  .social-section {
    gap: 24px;
  }

  .video-grid,
  .tweet-grid,
  .member-grid {
    grid-template-columns: 1fr;
  }

  .member-card {
    min-height: 94px;
  }

  .embed-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .join-band {
    padding: 24px;
    margin-bottom: 40px;
  }
}
