* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Vazirmatn", "Tahoma", sans-serif;
  background: #050505;
  color: #fff;
  min-height: 100vh;
}

.sponsors-page {
  position: relative;
  min-height: 100vh;
  padding: 90px 7% 70px;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 20%, rgba(210, 168, 92, 0.12), transparent 28%),
    radial-gradient(circle at 20% 90%, rgba(210, 168, 92, 0.10), transparent 30%),
    linear-gradient(180deg, #080808 0%, #030303 100%);
}

.sponsors-page::before {
  content: "";
  position: absolute;
  right: -140px;
  top: 120px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(212, 169, 92, 0.12);
  border-radius: 50%;
  opacity: 0.6;
}

.sponsors-page::after {
  content: "";
  position: absolute;
  left: -20%;
  bottom: 40px;
  width: 140%;
  height: 160px;
  background: linear-gradient(90deg, transparent, rgba(212, 169, 92, 0.35), transparent);
  filter: blur(35px);
  opacity: 0.45;
  transform: rotate(-3deg);
}

.back-home {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  margin-bottom: 28px;
  color: #d8b16f;
  text-decoration: none;
  border: 1px solid rgba(216, 177, 111, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  transition: 0.3s ease;
}

.back-home:hover {
  background: rgba(216, 177, 111, 0.1);
  transform: translateY(-2px);
}

.sponsors-hero {
  position: relative;
  max-width: 760px;
  margin: 0 auto 70px;
  padding: 42px 35px;
  text-align: center;
  z-index: 2;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: #caa46a;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.sponsors-hero h1 {
  color: #d8b16f;
  font-size: 34px;
  font-weight: 500;
  margin-bottom: 22px;
}

.sponsors-hero p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 2;
}

.corner {
  position: absolute;
  width: 32px;
  height: 32px;
  border-color: #d8b16f;
  opacity: 0.9;
}

.corner-1 {
  top: 0;
  right: 0;
  border-top: 2px solid;
  border-right: 2px solid;
}

.corner-2 {
  top: 0;
  left: 0;
  border-top: 2px solid;
  border-left: 2px solid;
}

.corner-3 {
  bottom: 0;
  right: 0;
  border-bottom: 2px solid;
  border-right: 2px solid;
}

.corner-4 {
  bottom: 0;
  left: 0;
  border-bottom: 2px solid;
  border-left: 2px solid;
}

.sponsors-panel {
  position: relative;
  z-index: 2;
  max-width: 1220px;
  margin: 0 auto;
  padding: 42px 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(216, 177, 111, 0.28);
  border-radius: 26px;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.45),
    inset 0 0 45px rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(16px);
}

.sponsor-item {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid rgba(216, 177, 111, 0.18);
}

.sponsor-item:nth-child(4n) {
  border-left: none;
}

.sponsor-logo {
  width: 100%;
  max-width: 190px;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e1c080;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border-radius: 18px;
  transition: 0.35s ease;
  opacity: 0.9;
}

.sponsor-item:hover .sponsor-logo {
  background: rgba(216, 177, 111, 0.08);
  transform: translateY(-5px);
  opacity: 1;
  box-shadow: 0 15px 35px rgba(216, 177, 111, 0.08);
}

.sponsor-logo img {
  max-width: 150px;
  max-height: 58px;
  object-fit: contain;
  display: block;
}

.sponsor-empty {
  grid-column: 1 / -1;
  padding: 34px 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
  line-height: 2.2;
}

.sponsors-note {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: 55px;
}

.ornament {
  color: #d8b16f;
  font-size: 28px;
  margin-bottom: 18px;
}

.sponsors-note p {
  color: #caa46a;
  font-size: 15px;
}

@media (max-width: 900px) {
  .sponsors-page {
    padding: 65px 20px 55px;
  }

  .sponsors-hero h1 {
    font-size: 27px;
  }

  .sponsors-panel {
    grid-template-columns: repeat(2, 1fr);
    padding: 26px 18px;
  }

  .sponsor-item {
    border-left: none;
    border-bottom: 1px solid rgba(216, 177, 111, 0.16);
  }

  .sponsor-item:nth-last-child(-n+2) {
    border-bottom: none;
  }
}

@media (max-width: 520px) {
  .sponsors-panel {
    grid-template-columns: 1fr;
  }

  .sponsor-item:nth-last-child(-n+2) {
    border-bottom: 1px solid rgba(216, 177, 111, 0.16);
  }

  .sponsor-item:last-child {
    border-bottom: none;
  }
}
