:root {
  color-scheme: dark;
  --bg: #080b10;
  --surface: #111827;
  --surface-strong: #182132;
  --text: #f8fafc;
  --muted: #a8b3c5;
  --line: #263244;
  --accent: #22c55e;
  --accent-dark: #86efac;
  --accent-soft: #14351f;
  --green: #22c55e;
  --blue: #2563eb;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background:
    radial-gradient(circle at 72% 14%, rgba(34, 197, 94, 0.18), transparent 34rem),
    radial-gradient(circle at 8% 6%, rgba(124, 58, 237, 0.18), transparent 28rem),
    var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

a {
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header,
.site-footer,
main {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
}

.brand,
.nav,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: var(--text);
  font-size: 1.04rem;
  font-weight: 900;
}

.brand:hover,
.social-card:hover,
.button:hover {
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #22c55e, #7c3aed);
  color: #ffffff;
  font-size: 0.86rem;
}

.nav {
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: 30px;
  min-height: 620px;
  padding: 52px 0 44px;
}

.hero-copy,
.section-heading {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.08;
}

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: 3.45rem;
}

h2 {
  margin-bottom: 14px;
  font-size: 2rem;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
}

p {
  margin: 0 0 14px;
}

.lede {
  color: var(--muted);
  font-size: 1.14rem;
}

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

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 10px 16px;
  border: 1px solid transparent;
}

.button.primary {
  background: var(--accent);
  color: #06110a;
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--accent-dark);
}

.showcase,
.feature-band,
.project-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 24, 39, 0.88);
  box-shadow: var(--shadow);
}

.showcase {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  padding: 28px;
}

.entryev-panel-logo {
  display: block;
  width: min(100%, 340px);
  aspect-ratio: 1;
  object-fit: cover;
  margin: 0 auto 24px;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.showcase-topline {
  margin-bottom: 10px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.showcase p,
.project-card p,
.feature-band p {
  color: var(--muted);
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin-bottom: 42px;
  padding: 26px;
}

.feature-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.section {
  padding: 34px 0;
}

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

.social-card,
.project-card {
  min-height: 132px;
  padding: 22px;
}

.social-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 8px;
  color: #ffffff;
}

.social-card span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.social-card strong {
  font-size: 1.05rem;
}

.twitch {
  background: #6d28d9;
}

.instagram {
  background: #be185d;
}

.x {
  background: #111827;
}

.youtube {
  background: #dc2626;
}

.portfolio-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card.muted {
  background: rgba(17, 24, 39, 0.55);
}

.project-logo {
  width: 72px;
  height: 72px;
  object-fit: cover;
  margin-bottom: 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.site-footer {
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 30px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 860px) {
  .hero,
  .feature-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 30px;
  }

  h1 {
    font-size: 2.45rem;
  }

  h2 {
    font-size: 1.65rem;
  }

  .card-grid,
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero-actions,
  .feature-actions,
  .button {
    width: 100%;
  }

  .card-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}
