:root {
  --bg: #05070c;
  --text: #f3f4f7;
  --muted: #747b89;
  --kick: #53fc18;
}

* { box-sizing: border-box; }
html, body { width: 100%; min-height: 100%; }
body {
  margin: 0;
  overflow: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, Arial, sans-serif;
}
html[lang="he"] body, html[lang="ar"] body { font-family: Heebo, Arial, sans-serif; }

#space { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; }
.nebula {
  position: fixed;
  inset: -20%;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 38% 48%, rgba(33, 68, 170, .11), transparent 32%),
    radial-gradient(ellipse at 67% 45%, rgba(81, 41, 165, .07), transparent 28%),
    radial-gradient(ellipse at 52% 74%, rgba(0, 102, 255, .05), transparent 35%);
  filter: blur(55px);
  animation: nebulaMove 16s ease-in-out infinite alternate;
}
@keyframes nebulaMove { from { transform: translate3d(-1.5%, -1%, 0) scale(1); } to { transform: translate3d(2%, 1.5%, 0) scale(1.06); } }
.vignette {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 47%, transparent 0 24%, rgba(5,7,12,.2) 58%, rgba(5,7,12,.82) 100%),
    linear-gradient(to bottom, rgba(0,0,0,.03), rgba(0,0,0,.30));
}

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
}
.brand {
  color: #f0f1f4;
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .36em;
}
.header-right { display: flex; gap: 10px; align-items: center; }
.nav { display: flex; gap: 10px; }
.nav a, .language-button {
  position: relative;
  overflow: hidden;
  color: #e5e8f0;
  text-decoration: none;
  border: 1.2px solid rgba(92, 127, 255, .2);
  background: linear-gradient(135deg, rgba(18, 28, 50, .8), rgba(12, 18, 36, .7));
  backdrop-filter: blur(14px);
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  transition: all .28s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow:
    0 6px 12px rgba(0,0,0,.12),
    inset 0 0.5px 0 rgba(255,255,255,.08);
  cursor: pointer;
}
.nav a::before, .language-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.08) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform .5s ease;
  pointer-events: none;
  border-radius: 10px;
}
.nav a:hover, .language-button:hover {
  transform: translateY(-2px);
  border-color: rgba(130, 155, 255, .4);
  background: linear-gradient(135deg, rgba(28, 42, 75, .88), rgba(18, 28, 50, .8));
  box-shadow:
    0 10px 18px rgba(0,0,0,.18),
    inset 0 0.5px 0 rgba(255,255,255,.1);
}
.nav a:hover::before, .language-button:hover::before {
  transform: translateX(100%);
}
.nav a:active, .language-button:active {
  transform: translateY(-0.5px) scale(.98);
  box-shadow:
    0 3px 6px rgba(0,0,0,.1),
    inset 0 0.5px 0 rgba(255,255,255,.06);
}
.language-picker { position: relative; }
.language-button { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.globe { font-size: 14px; color: #7890ff; }
.chevron { opacity: .65; font-size: 11px; }
.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 160px;
  padding: 10px;
  border: 1.2px solid rgba(92, 127, 255, .22);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(12, 18, 36, .96), rgba(8, 12, 28, .92));
  backdrop-filter: blur(18px);
  box-shadow:
    0 12px 32px rgba(0,0,0,.32),
    0 0 1px rgba(92,127,255,.16),
    inset 0 1px 1px rgba(255,255,255,.08);
}
.language-menu button {
  position: relative;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #dfe4ef;
  background: linear-gradient(135deg, rgba(28, 42, 75, .6), rgba(18, 28, 50, .5));
  text-align: left;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .03em;
  transition: all .25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow:
    0 2px 6px rgba(0,0,0,.1),
    inset 0 0.5px 0 rgba(255,255,255,.08);
}
.language-menu button:hover {
  background: linear-gradient(135deg, rgba(50, 70, 130, .8), rgba(35, 50, 100, .7));
  border-color: rgba(92, 127, 255, .32);
  color: #f0f3fa;
  transform: translateX(3px);
  box-shadow:
    0 4px 12px rgba(0,0,0,.16),
    0 0 12px rgba(92, 127, 255, .08),
    inset 0 0.5px 0 rgba(255,255,255,.12);
}
.language-menu button:active {
  transform: translateX(1px) scale(.98);
  box-shadow:
    0 2px 4px rgba(0,0,0,.08),
    inset 0 0.5px 0 rgba(255,255,255,.06);
}

.hero { position: relative; z-index: 3; min-height: 100vh; display: grid; place-items: center; padding: 90px 24px 48px; }
.hero-content { display: flex; flex-direction: column; align-items: center; transform: translateY(-1vh); }
.identity-row { display: flex; align-items: center; gap: 34px; }
.avatar-wrap {
  position: relative;
  width: 168px;
  height: 168px;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(140deg, rgba(41,101,255,.95), rgba(27,50,112,.35));
  box-shadow: 0 18px 45px rgba(0,0,0,.35), 0 0 45px rgba(32,74,212,.13);
}
.avatar { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; display: block; }
.live-pill {
  position: absolute; left: 10px; bottom: 10px;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 11px; border-radius: 999px;
  background: rgba(20, 28, 26, .88); font-size: 10px; font-weight: 800;
  box-shadow: 0 4px 14px rgba(0,0,0,.35);
}
.live-pill span { width: 8px; height: 8px; border-radius: 50%; background: #38ed6e; box-shadow: 0 0 12px rgba(56,237,110,.85); animation: livePulse 1.5s infinite; }
@keyframes livePulse { 50% { opacity: .45; transform: scale(.78); } }
.title-block h1 {
  margin: 0; font-family: "Space Grotesk", sans-serif;
  font-size: clamp(72px, 9vw, 122px); line-height: .84;
  letter-spacing: .055em; font-weight: 700;
  text-shadow: 0 10px 40px rgba(0,0,0,.32), 0 0 55px rgba(55,85,180,.06);
}
.title-block p { margin: 25px 0 0 10px; color: #747b89; font-size: 12px; font-weight: 600; letter-spacing: .42em; white-space: nowrap; }
html[dir="rtl"] .title-block p { letter-spacing: .14em; margin-inline-start: 0; }
.actions { display: flex; gap: 16px; margin-top: 42px; }
.btn {
  position: relative;
  overflow: hidden;
  min-width: 200px; height: 50px; padding: 0 26px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  text-decoration: none; font-size: 13px; font-weight: 700;
  letter-spacing: .03em;
  transition: all .3s cubic-bezier(0.34, 1.56, 0.64, 1);
  isolation: isolate;
  border: 1.5px solid transparent;
  box-shadow:
    0 8px 16px rgba(0,0,0,.16),
    inset 0 0.5px 0 rgba(255,255,255,.12);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.12) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform .55s ease;
  pointer-events: none;
  border-radius: 12px;
}
.btn > * { position: relative; z-index: 1; }
.btn:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow:
    0 12px 24px rgba(0,0,0,.2),
    inset 0 0.5px 0 rgba(255,255,255,.14);
}
.btn:hover::before {
  transform: translateX(100%);
}
.btn:active {
  transform: translateY(-1px) scale(.98);
  box-shadow:
    0 4px 8px rgba(0,0,0,.12),
    inset 0 0.5px 0 rgba(255,255,255,.08);
}
.btn:hover::before { transform: translateX(140%); }
.btn:active { transform: scale(.96) translateY(1px); }
.btn .arrow {
  margin-left: auto;
  font-size: 16px;
  opacity: .9;
  transition: transform .3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.btn:hover .arrow {
  transform: translateX(2px);
  opacity: 1;
}
html[dir="rtl"] .btn .arrow { margin-left: 0; margin-right: auto; transform: rotate(180deg); }
.icon { width: 20px; height: 20px; flex: 0 0 auto; }
.kick-icon { font-weight: 900; display: grid; place-items: center; }
.btn-kick {
  color: #ffffff;
  background: linear-gradient(135deg, #58d614 0%, #4acc0e 100%);
  box-shadow:
    0 8px 16px rgba(83, 252, 24, .12),
    inset 0 0.5px 0 rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.04);
}
.btn-kick:hover {
  box-shadow:
    0 12px 24px rgba(83, 252, 24, .16),
    0 0 16px rgba(84, 204, 14, .08),
    inset 0 0.5px 0 rgba(255,255,255,.14);
  background: linear-gradient(135deg, #63d91e 0%, #55d418 100%);
}
.btn-kick:active {
  box-shadow:
    0 4px 8px rgba(83, 252, 24, .08),
    inset 0 0.5px 0 rgba(255,255,255,.08);
}
.btn-discord {
  color: #f5f7fb;
  background: linear-gradient(135deg, rgba(80, 92, 225, .9), rgba(55, 62, 168, .85));
  border: 1.5px solid rgba(120, 135, 255, .2);
  box-shadow:
    0 8px 16px rgba(88, 101, 242, .12),
    inset 0 0.5px 0 rgba(255,255,255,.12);
}
.btn-discord:hover {
  background: linear-gradient(135deg, rgba(95, 107, 240, .94), rgba(70, 78, 185, .9));
  border-color: rgba(140, 155, 255, .32);
  box-shadow:
    0 12px 24px rgba(88, 101, 242, .16),
    0 0 16px rgba(88, 101, 242, .08),
    inset 0 0.5px 0 rgba(255,255,255,.14);
}
.btn-discord:active {
  box-shadow:
    0 4px 8px rgba(88, 101, 242, .08),
    inset 0 0.5px 0 rgba(255,255,255,.08);
}
.discord-icon { fill: #9eabff; }
.support {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: 24px;
  color: #9b9fa8;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  transition: all .28s cubic-bezier(0.34, 1.56, 0.64, 1);
  padding: 8px 14px;
  border-radius: 8px;
}
.support:hover {
  color: #d0d5dd;
  transform: translateX(3px);
  background: rgba(92, 127, 255, .08);
}
.support:active {
  transform: scale(.96);
}
.heart {
  font-size: 20px;
  line-height: 1;
  transition: transform .3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.support:hover .heart {
  transform: scale(1.15);
}
.copyright { display: flex; align-items: center; gap: 14px; margin-top: 42px; color: #292d35; font-size: 9px; letter-spacing: .35em; font-weight: 700; }
.copyright span { width: 92px; height: 1px; background: #111723; }

@media (max-width: 920px) { .language-button { padding-inline: 11px; } }
@media (max-width: 820px) {
  body { overflow-y: auto; }
  .topbar { padding: 18px; }
  .nav a { padding: 8px 11px; font-size: 9px; }
  .language-button { padding: 8px 10px; }
  .identity-row { flex-direction: column; gap: 28px; text-align: center; }
  .avatar-wrap { width: 150px; height: 150px; }
  .title-block h1 { font-size: clamp(58px, 18vw, 90px); }
  .title-block p { margin: 18px 0 0; font-size: 9px; letter-spacing: .25em; white-space: normal; }
  .actions { width: min(100%, 390px); flex-direction: column; }
  .btn { width: 100%; }
  .copyright span { width: 48px; }
}
@media (max-width: 560px) {
  .nav a:nth-child(3) { display: none; }
  .header-right { gap: 6px; }
}
@media (max-width: 430px) {
  .brand { font-size: 11px; }
  .nav { gap: 5px; }
  .nav a { padding: 7px 9px; }
  .hero { padding-top: 105px; }
  .title-block h1 { letter-spacing: .02em; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
