:root {
  --bg: #07111f;
  --bg-soft: #0d1a30;
  --text: #eef4ff;
  --muted: #a9b6d0;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #ef2c7a;
  --accent-dark: #c81f63;
  --secondary-light: #194f9f;
  --gold: #ffd166;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
  --radius: 28px;
  --container: 1280px;
  --header-height: 92px;
  --transition: 0.35s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 15%, rgba(239, 44, 122, 0.18), transparent 20%),
    radial-gradient(circle at 90% 10%, rgba(25, 79, 159, 0.2), transparent 22%),
    linear-gradient(180deg, #07111f 0%, #0b1830 35%, #07111f 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
  z-index: -2;
}

.bg-blur {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
  z-index: -1;
  pointer-events: none;
}

.bg-blur-1 {
  top: -100px;
  left: -100px;
  background: var(--accent);
}

.bg-blur-2 {
  right: -120px;
  top: 120px;
  background: #2563eb;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font: inherit;
  border: none;
  background: none;
  color: inherit;
  cursor: pointer;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.sponsors-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px);
  background: rgba(7, 17, 31, 0.72);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.25));
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-title {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.88rem;
}

.header-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  font-weight: 700;
  transition: var(--transition);
}

.header-nav a:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(239,44,122,0.18), rgba(25,79,159,0.22));
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  font-size: 0.92rem;
  font-weight: 800;
  transition: var(--transition);
}

.lang-btn:hover,
.lang-btn.active {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--accent), var(--secondary-light));
  box-shadow: var(--shadow);
}

.sponsors-hero {
  padding: 56px 0 32px;
}

.hero-box {
  padding: 34px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(239,44,122,0.09), rgba(25,79,159,0.1));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero-box h1 {
  font-size: clamp(2.1rem, 4.4vw, 4.4rem);
  line-height: 0.98;
  margin-bottom: 16px;
  max-width: 920px;
}

.hero-text,
.section-desc,
.footer-left p,
.sponsor-card-text {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.02rem;
}

.sponsors-section {
  padding: 24px 0 56px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 26px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1;
}

.section-desc {
  max-width: 540px;
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.sponsor-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.035));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
  padding: 26px;
  transition: var(--transition);
}

.sponsor-card:hover {
  transform: translateY(-8px);
  border-color: rgba(239, 44, 122, 0.3);
}

.sponsor-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(239,44,122,0.08), transparent 28%),
    radial-gradient(circle at bottom right, rgba(25,79,159,0.08), transparent 28%);
  pointer-events: none;
}

.sponsor-card-inner {
  position: relative;
  z-index: 1;
}

.sponsor-logo-wrap {
  width: 100%;
  height: 180px;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sponsor-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sponsor-badge {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--gold);
  font-size: 0.83rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.sponsor-name {
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.sponsor-card-text {
  margin-bottom: 16px;
}

.sponsor-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  font-weight: 700;
  transition: var(--transition);
}

.sponsor-link:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(239,44,122,0.18), rgba(25,79,159,0.22));
}

.sponsors-footer {
  padding: 30px 0 34px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.footer-left strong {
  display: block;
  margin-bottom: 4px;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  font-weight: 700;
  transition: var(--transition);
}

.footer-link:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(239,44,122,0.18), rgba(25,79,159,0.22));
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: 0.7s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .sponsors-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-box {
    padding: 24px 18px;
  }

  .section-head,
  .footer-inner,
  .footer-left {
    flex-direction: column;
    align-items: flex-start;
  }

  .sponsors-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 20px, var(--container));
  }

  .brand-logo {
    width: 48px;
    height: 48px;
  }

  .brand-title {
    font-size: 1.08rem;
  }

  .brand-subtitle {
    font-size: 0.78rem;
  }

  .hero-box h1 {
    font-size: 2rem;
  }

  .sponsor-logo-wrap {
    height: 160px;
  }
}