:root {
  --bg: #05060d;
  --gold: #e8c56b;
  --gold-2: #fff1c2;
  --ink: #f4f1ea;
  --muted: #9aa3c7;
  --line: rgba(232, 197, 107, 0.28);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: Manrope, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(5, 6, 13, 0.35), rgba(5, 6, 13, 0.82)),
    url("../img/uzay-bg.png") center / cover no-repeat fixed,
    var(--bg);
  overflow-x: hidden;
}

.stars,
.nebula {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.stars {
  background-image:
    radial-gradient(1px 1px at 12% 18%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 72%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 63% 22%, #ffe7a8 50%, transparent 51%),
    radial-gradient(1px 1px at 81% 58%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 47% 41%, #c9d4ff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 91% 12%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 8% 88%, #ffe7a8 50%, transparent 51%);
  animation: twinkle 6s ease-in-out infinite;
}

.nebula {
  background:
    radial-gradient(ellipse at 80% -10%, rgba(88, 42, 180, 0.28), transparent 55%),
    radial-gradient(ellipse at 10% 110%, rgba(212, 175, 55, 0.14), transparent 50%);
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}

.top,
.wrap,
.site-foot {
  position: relative;
  z-index: 1;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  padding: 0 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(5, 6, 13, 0.55);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 24px rgba(232, 197, 107, 0.35);
}

.brand-name {
  display: inline-flex;
  align-items: center;
  font-family: Cinzel, serif;
  font-weight: 900;
  font-style: normal;
  font-size: 34px;
  letter-spacing: 0.32em;
  line-height: 1;
  filter: drop-shadow(0 2px 10px rgba(232, 197, 107, 0.4));
}

.brand-name i {
  font-style: normal;
  font-family: inherit;
  font-weight: inherit;
  display: inline-block;
  background-image: linear-gradient(
    115deg,
    #8f6a14 0%,
    #e8c56b 22%,
    #fff8dc 42%,
    #f4d980 58%,
    #c9a227 78%,
    #fff1c2 100%
  );
  background-size: 240% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: goldShine 4.5s linear infinite, brandFloat 2.2s ease-in-out infinite;
}

.brand-name i:nth-child(2) {
  animation-delay: 0s, 0.12s;
}

.brand-name i:nth-child(3) {
  animation-delay: 0s, 0.24s;
}

.brand-name i:nth-child(4) {
  animation-delay: 0s, 0.36s;
}

@keyframes brandFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.wrap {
  width: calc(100% - 56px);
  max-width: 1680px;
  margin: 0 auto;
  padding: 42px 0 80px;
}

.page-head .kicker {
  margin: 0 0 8px;
  color: var(--gold);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
}

.page-head h1 {
  position: relative;
  display: inline-block;
  margin: 0;
  font-family: Cinzel, serif;
  font-weight: 900;
  font-size: clamp(40px, 5.2vw, 68px);
  letter-spacing: 0.06em;
  line-height: 1.05;
  background-image: linear-gradient(
    115deg,
    #8f6a14 0%,
    #e8c56b 18%,
    #fff8dc 36%,
    #f4d980 50%,
    #c9a227 68%,
    #fff1c2 84%,
    #d4af37 100%
  );
  background-size: 240% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 14px rgba(232, 197, 107, 0.38));
  animation: goldShine 5s linear infinite;
}

.page-head h1::after {
  content: "";
  position: absolute;
  inset: -8% -4%;
  pointer-events: none;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 38%, #fff 60%, transparent 61%),
    radial-gradient(1px 1px at 28% 72%, #ffe9a8 60%, transparent 61%),
    radial-gradient(1.4px 1.4px at 46% 22%, #fff 60%, transparent 61%),
    radial-gradient(1px 1px at 63% 58%, #fff6d4 60%, transparent 61%),
    radial-gradient(1.2px 1.2px at 78% 30%, #fff 60%, transparent 61%),
    radial-gradient(1px 1px at 91% 68%, #f4d980 60%, transparent 61%);
  mix-blend-mode: screen;
  opacity: 0.85;
  animation: sparkle 2.8s ease-in-out infinite;
}

@keyframes goldShine {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 240% center;
  }
}

@keyframes sparkle {
  0%,
  100% {
    opacity: 0.45;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-1px);
  }
}

.vip-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin: 36px 0 18px;
}

.vip-label::before,
.vip-label::after {
  content: "";
  flex: 1 1 auto;
  height: 2px;
  max-width: 420px;
  border-radius: 99px;
  background: linear-gradient(
    90deg,
    transparent,
    #8f6a14 12%,
    #e8c56b 38%,
    #fff1c2 50%,
    #e8c56b 62%,
    #8f6a14 88%,
    transparent
  );
  box-shadow: 0 0 12px rgba(232, 197, 107, 0.35);
}

.vip-label span {
  flex: none;
  font-family: "Cinzel Decorative", Cinzel, serif;
  font-weight: 900;
  font-size: clamp(48px, 6.4vw, 86px);
  letter-spacing: 0.42em;
  line-height: 1;
  padding-left: 0.42em;
  background-image: linear-gradient(180deg, #fffdf0 0%, #ffe9a8 32%, #e8c56b 62%, #b8891f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 18px rgba(212, 175, 55, 0.35));
}

.vip-card {
  display: block;
  width: 100%;
  max-width: none;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(8, 10, 22, 0.78);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vip-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 90px rgba(232, 197, 107, 0.18);
}

.gold-text {
  background: linear-gradient(180deg, #fffdf0 0%, #ffe9a8 28%, #e8c56b 58%, #c9a227 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.vip-visual {
  position: relative;
  aspect-ratio: 21 / 5.6;
  min-height: 240px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(212, 175, 55, 0.22), transparent 58%),
    #070706;
}

.vb-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.vb-name {
  font-family: Cinzel, serif;
  font-weight: 900;
  letter-spacing: 0.16em;
  font-size: clamp(52px, 5.6vw, 88px);
  line-height: 1;
  filter:
    drop-shadow(0 1px 0 rgba(255, 248, 220, 0.55))
    drop-shadow(0 6px 16px rgba(212, 175, 55, 0.45));
}

.vb-flag {
  width: clamp(110px, 12vw, 188px);
  height: clamp(64px, 7vw, 108px);
  flex: none;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.45));
}

.vip-visual img {
  display: block;
}

.vip-meta {
  padding: 16px 20px 20px;
  text-align: center;
}

.vip-meta strong {
  display: block;
  font-family: Cinzel, serif;
  font-size: 26px;
  letter-spacing: 0.16em;
  background: linear-gradient(180deg, #fff6d6, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.vip-meta em {
  display: block;
  margin-top: 6px;
  font-style: normal;
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 11px;
}

.sponsors-block {
  margin-top: 42px;
}

.sponsors-block h2 {
  margin: 0 0 16px;
  font-size: 22px;
  letter-spacing: 0.08em;
}

.sponsor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.sponsor-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 148px;
  padding: 22px 18px 18px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(8, 10, 22, 0.78);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.sponsor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(232, 197, 107, 0.12);
}

.sponsor-card img {
  width: min(240px, 88%);
  height: 48px;
  object-fit: contain;
  display: block;
}

.sponsor-card img[alt="Marsbahis"] {
  width: 92%;
  height: 40px;
}

.sponsor-card span {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.tg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border-radius: 50%;
  background: #24a1de;
  box-shadow: 0 0 18px rgba(36, 161, 222, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tg-btn img {
  width: 44px;
  height: 44px;
  display: block;
  border-radius: 50%;
  object-fit: cover;
}

.tg-btn:hover {
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 0 26px rgba(36, 161, 222, 0.55);
}

.tg-btn--foot {
  width: 52px;
  height: 52px;
}

.tg-btn--foot img {
  width: 52px;
  height: 52px;
}

.site-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 48px 20px calc(36px + env(safe-area-inset-bottom));
  text-align: center;
}

.site-foot p {
  margin: 0;
  font-family: Cinzel, serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.14em;
  background-image: linear-gradient(180deg, #fffdf0 0%, #ffe9a8 40%, #e8c56b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
