/* =========================
   HERO
========================= */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url("../images/about.webp") no-repeat center / cover;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, .25), #000 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(220, 38, 38, .12),
    transparent 55%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-badge,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ef4444;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .18em;
}

.hero h1 {
  margin: 20px 0;
  color: #fff;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: .98;
  font-weight: 900;
  letter-spacing: -.04em;
}

.hero h1 span,
.section-heading h2 span,
.final-content h2 span {
  color: var(--red-color);
}

.hero p {
  max-width: 650px;
  margin: 0 auto;
  color: rgba(255,255,255,.65);
  font-size: 1.2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 35px;
}

.hero-btn {
  padding: 15px 26px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: .25s ease;
}

.hero-btn-primary {
  background: var(--red-color);
  color: #fff;
}

.hero-btn-primary:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(220,38,38,.35);
}

.hero-btn-secondary {
  color: #fff;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
}

.hero-btn-secondary:hover {
  color: #fff;
  background: rgba(255,255,255,.1);
  transform: translateY(-3px);
}

.hero-scroll {
  position: absolute;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%);

  color: rgba(255,255,255,.4);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 45px;
  margin: 12px auto 0;
  background: linear-gradient(#fff, transparent);
}

.scroll-hint {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;

  padding: 8px 16px;

  background: rgba(0, 0, 0, .45);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;

  color: rgba(255, 255, 255, .75);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  cursor: pointer;
  z-index: 100;

  opacity: 0;
  visibility: hidden;

  transition:
    opacity .3s ease,
    visibility .3s ease,
    transform .3s ease;
}

.scroll-hint.visible {
  opacity: 1;
  visibility: visible;
  animation: scrollHintFloat 1.8s ease-in-out infinite;
}

.scroll-hint:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, .25);
}

.scroll-hint svg {
  width: 18px;
  height: 18px;
  animation: scrollArrow 1.5s ease-in-out infinite;
}

@keyframes scrollHintFloat {

  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-5px);
  }

}

@keyframes scrollArrow {

  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(4px);
  }

}


@media (max-width: 576px) {

  .scroll-hint {
    bottom: 18px;
    font-size: 10px;
    padding: 7px 13px;
  }

}

/* =========================
   SECTIONS
========================= */

.servers-section,
.privileges-section,
.statistics-section {
  padding: 110px 0;
}

.servers-section {
  background:
    radial-gradient(circle at 50% 0, rgba(220,38,38,.08), transparent 45%),
    #050505;
}

.privileges-section {
  background: linear-gradient(to bottom, #050505, #0b0f18);
}

.statistics-section {
  background:
    radial-gradient(circle at 50% 100%, rgba(220,38,38,.08), transparent 40%),
    #050505;
}

.section-heading {
  max-width: 700px;
  margin: 0 auto 55px;
  text-align: center;
}

.section-heading h2 {
  margin: 12px 0;
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -.035em;
}

.section-heading p {
  margin: 0;
  color: rgba(255,255,255,.5);
  font-size: 1rem;
}


/* =========================
   SERVERS
========================= */

.server-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 1000px;
  margin: auto;
}

.server-card {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  background:
    linear-gradient(
      110deg,
      rgba(255,255,255,.055),
      rgba(255,255,255,.025)
    );
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
  backdrop-filter: blur(12px);
  transition: .3s ease;
}

.server-card:hover {
  transform: translateY(-3px);
  border-color: rgba(220,38,38,.35);
  box-shadow:
    0 20px 60px rgba(0,0,0,.35),
    0 0 35px rgba(220,38,38,.07);
}

.server-main {
  min-width: 0;
  flex: 1;
}

.server-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: rgba(255,255,255,.45);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34,197,94,.7);
}

.status-dot.offline {
  background: #ef4444;
  box-shadow: 0 0 10px rgba(239,68,68,.6);
}

.server-name {
  margin-bottom: 18px;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.server-online-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 7px;
  color: rgba(255,255,255,.4);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.server-online-label strong {
  color: #fff;
}

.progress {
  height: 9px;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(255,255,255,.07);
}

.progress-bar {
  height: 100%;
  min-width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #22c55e, #4ade80);
  color: transparent;
  transition: width .5s ease;
}

.progress-bar.offline {
  background: #ef4444 !important;
  color: transparent;
}

.server-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.server-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 43px;
  padding: 0 15px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.1);
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: .2s ease;
  white-space: nowrap;
}

.server-btn svg {
  width: 17px;
  height: 17px;
}

.server-btn-copy {
  color: #fff;
  background: rgba(255,255,255,.06);
}

.server-btn-copy:hover {
  color: #fff;
  background: rgba(255,255,255,.11);
  border-color: rgba(255,255,255,.2);
}

.server-btn-rules {
  color: #fff;
  background: rgba(255,255,255,.06);
}

.server-btn-rules:hover {
  color: #fff;
  background: rgba(255,255,255,.11);
}

.server-btn-donate {
  color: #fff;
  background: var(--red-color);
  border-color: var(--red-color);
}

.server-btn-donate:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(220,38,38,.3);
}

.servers-empty {
  padding: 50px;
  text-align: center;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  background: rgba(255,255,255,.03);
}

.servers-empty h3 {
  color: #fff;
}

.servers-empty p {
  color: rgba(255,255,255,.5);
}


/* =========================
   DONATES
========================= */

.donate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1000px;
  margin: auto;
}

.donate-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 30px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  background: rgba(255,255,255,.035);
  transition: .3s ease;
}

.donate-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,.16);
}

.donate-card-featured {
  border-color: rgba(220,38,38,.7);
  box-shadow: 0 0 45px rgba(220,38,38,.08);
}

.donate-popular {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 5px 9px;
  border-radius: 6px;
  background: var(--red-color);
  color: #fff;
  font-size: .6rem;
  font-weight: 800;
}

.donate-card h3 {
  margin: 0 0 20px;
  color: #fff;
  font-size: 1.3rem;
}

.donate-price {
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
}

.donate-price span {
  color: rgba(255,255,255,.4);
  font-size: .8rem;
  font-weight: 500;
}

.donate-description {
  margin-top: 20px;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
}

.donate-btn {
  display: block;
  margin-top: auto;
  padding: 12px;
  border-radius: 10px;
  color: #fff;
  background: rgba(255,255,255,.07);
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  transition: .2s;
}

.donate-btn:hover {
  color: #fff;
  background: var(--red-color);
}


/* =========================
   STATISTICS
========================= */

.statistics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.stat-card {
  padding: 25px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  background: rgba(255,255,255,.035);
}

.stat-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 25px;
}

.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  border-radius: 12px;
  color: #fff;
  background: rgba(220,38,38,.15);
  font-size: 1.1rem;
  font-weight: 900;
}

.stat-header h3 {
  margin: 0;
  color: #fff;
  font-size: 1rem;
}

.stat-header span {
  color: rgba(255,255,255,.35);
  font-size: .75rem;
}

.stat-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stat-player {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
}

.stat-position {
  width: 28px;
  color: rgba(255,255,255,.35);
  font-size: .75rem;
  text-align: center;
}

.stat-avatar {
  border-radius: 50%;
  object-fit: cover;
}

.stat-player-name {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stat-value {
  color: #ef4444;
  font-size: .8rem;
  font-weight: 800;
}


/* =========================
   FINAL CTA
========================= */

.final-section {
  position: relative;
  overflow: hidden;
  padding: 150px 0;
  background: #000;
  text-align: center;
}

.final-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 300px;
  transform: translate(-50%, -50%);
  background: rgba(220,38,38,.12);
  filter: blur(100px);
}

.final-content {
  position: relative;
  z-index: 1;
}

.final-content h2 {
  margin: 15px 0;
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
}

.final-content p {
  margin-bottom: 30px;
  color: rgba(255,255,255,.5);
}

.big-buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 17px 30px;
  border-radius: 12px;
  background: var(--red-color);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  transition: .25s;
}

.big-buy-btn:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(220,38,38,.35);
}


/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {

  .server-card {
    align-items: stretch;
    flex-direction: column;
    gap: 20px;
  }

  .server-actions {
    width: 100%;
  }

  .server-btn {
    flex: 1;
  }

  .donate-grid,
  .statistics-grid {
    grid-template-columns: 1fr;
  }

}


@media (max-width: 576px) {

  .hero {
    min-height: 90vh;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-btn {
    width: 100%;
  }

  .servers-section,
  .privileges-section,
  .statistics-section {
    padding: 75px 0;
  }

  .server-card {
    padding: 20px;
  }

  .server-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .server-btn-copy {
    grid-column: 1 / -1;
  }

  .server-btn {
    width: 100%;
  }

  .donate-card {
    min-height: 300px;
  }

  .final-section {
    padding: 100px 0;
  }

}