:root {
  color-scheme: dark;
  --bg: #0d0f12;
  --panel: #171a1f;
  --panel-strong: #20242a;
  --text: #fff8ec;
  --muted: #b8bdc6;
  --line: rgba(255, 255, 255, 0.14);
  --red: #ef3434;
  --blue: #1498ff;
  --green: #23d18b;
  --yellow: #ffd43b;
  --orange: #ff7a18;
  --purple: #9146ff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    linear-gradient(115deg, transparent 0 66%, rgba(20, 152, 255, 0.09) 66% 70%, transparent 70%),
    linear-gradient(24deg, transparent 0 54%, rgba(239, 52, 52, 0.1) 54% 57%, transparent 57%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 42px),
    var(--bg);
}

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

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

.language-toggle {
  position: fixed;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.wrap {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.site-header,
.site-footer {
  border-color: var(--line);
  background: rgba(13, 15, 18, 0.9);
  backdrop-filter: blur(14px);
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

.topbar,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar {
  min-height: 62px;
}

.footer-inner {
  min-height: 38px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 14px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  min-width: 96px;
}

.wordmark img {
  width: 96px;
  height: auto;
}

.slogan {
  border-left: 1px solid var(--line);
  padding-left: 14px;
  color: var(--yellow);
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.language-switch {
  display: inline-flex;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px;
  background: rgba(23, 26, 31, 0.86);
}

.language-switch label {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  min-height: 34px;
  border-radius: 6px;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 900;
  transition: background 150ms ease, color 150ms ease, transform 150ms ease;
}

.language-switch label:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.language-switch label:active {
  transform: translateY(1px) scale(0.98);
}

#lang-hu:checked ~ .site-header label[for="lang-hu"],
#lang-en:checked ~ .site-header label[for="lang-en"] {
  color: #111316;
  background: var(--yellow);
}

.site-main {
  display: grid;
  align-items: start;
  padding: clamp(58px, 10vh, 108px) 0 clamp(20px, 3vh, 32px);
}

.stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(22px, 4vw, 46px);
  align-items: start;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tags span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(23, 26, 31, 0.78);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.identity {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.avatar {
  width: 84px;
  aspect-ratio: 1;
  border: 2px solid rgba(255, 255, 255, 0.84);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 16px 40px rgba(20, 152, 255, 0.16);
}

h1 {
  margin: 0;
  font-size: clamp(3.4rem, 7.5vw, 6.4rem);
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 span {
  color: var(--red);
}

.lang-block {
  display: none;
  max-width: 650px;
  margin-top: 20px;
}

.lang-block p {
  margin: 0;
}

.lead {
  font-size: clamp(1.28rem, 2.1vw, 1.68rem);
  font-weight: 900;
  line-height: 1.14;
}

.sublead {
  max-width: 590px;
  margin-top: 10px;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.4vw, 1.08rem);
  line-height: 1.48;
}

#lang-hu:checked ~ .site-main .lang-hu,
#lang-en:checked ~ .site-main .lang-en {
  display: block;
}

.en-only {
  display: none;
}

#lang-en:checked ~ .site-main .hu-only,
#lang-en:checked ~ .site-footer .hu-only {
  display: none;
}

#lang-en:checked ~ .site-main .en-only,
#lang-en:checked ~ .site-footer .en-only {
  display: inline;
}

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

.action,
.video-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(23, 26, 31, 0.88);
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 106px;
  min-height: 44px;
  padding: 0 16px;
  font-weight: 900;
}

.action.youtube {
  border-color: rgba(239, 52, 52, 0.84);
  background: linear-gradient(135deg, #ef3434, #b81f2c);
  color: white;
  box-shadow: 0 16px 34px rgba(239, 52, 52, 0.18);
}

.action.twitch {
  border-color: rgba(145, 70, 255, 0.84);
}

.action.discord {
  border-color: rgba(20, 152, 255, 0.76);
}

.action.x {
  border-color: rgba(35, 209, 139, 0.72);
}

.action {
  position: relative;
}

.action::after {
  content: attr(data-tooltip-hu);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 5;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 8px 10px;
  background: rgba(13, 15, 18, 0.96);
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity 150ms ease, transform 150ms ease;
  white-space: nowrap;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
}

#lang-en:checked ~ .site-main .action::after {
  content: attr(data-tooltip-en);
}

.action:hover::after,
.action:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.action.contact {
  border-color: rgba(255, 212, 59, 0.82);
}

.action:hover,
.video-card:hover {
  transform: translateY(-3px);
  border-color: var(--yellow);
  background: rgba(32, 36, 42, 0.98);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
}

.action:active,
.video-card:active {
  transform: translateY(1px) scale(0.99);
  border-color: var(--green);
}

.action:focus-visible,
.video-card:focus-visible {
  outline: 3px solid rgba(255, 212, 59, 0.78);
  outline-offset: 3px;
}

.spotlight {
  display: grid;
  gap: 12px;
}

.video-card {
  display: grid;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.video-player {
  aspect-ratio: 16 / 9;
  background: #050607;
}

.video-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.soon-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.soon-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 0 12px;
  background: rgba(23, 26, 31, 0.54);
  color: var(--muted);
  cursor: not-allowed;
}

.soon-tile strong {
  color: var(--text);
  font-size: 0.96rem;
}

.soon-tile small {
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(255, 212, 59, 0.14);
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .stage {
    grid-template-columns: 1fr;
  }

  .spotlight {
    max-width: 560px;
  }
}

@media (max-width: 620px) {
  .wrap {
    width: min(100% - 22px, var(--max));
  }

  .topbar {
    min-height: 54px;
  }

  .wordmark img {
    width: 84px;
  }

  .brand-lockup {
    gap: 10px;
  }

  .slogan {
    padding-left: 10px;
    font-size: 0.72rem;
  }

  .site-main {
    align-items: start;
    padding: 10px 0;
  }

  .stage {
    gap: 12px;
  }

  .tags {
    gap: 6px;
    margin-bottom: 12px;
  }

  .tags span {
    padding: 5px 8px;
    font-size: 0.68rem;
  }

  .identity {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 10px;
  }

  .avatar {
    width: 58px;
  }

  h1 {
    font-size: clamp(2.35rem, 15vw, 3.6rem);
  }

  .lang-block {
    margin-top: 12px;
  }

  .lead {
    font-size: 1.08rem;
  }

  .sublead {
    margin-top: 7px;
    font-size: 0.9rem;
  }

  .actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
  }

  .action {
    min-width: 0;
    min-height: 40px;
    padding: 0 10px;
    font-size: 0.94rem;
  }

  .action.contact {
    grid-column: 1 / -1;
  }

  .action::after {
    bottom: auto;
    top: calc(100% + 8px);
  }

  .soon-grid {
    gap: 8px;
  }

  .soon-tile {
    min-height: 42px;
    padding: 0 9px;
  }

  .soon-tile strong {
    font-size: 0.88rem;
  }

  .footer-inner {
    min-height: 30px;
    font-size: 0.74rem;
  }
}
