/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== CONTAINER ===== */
.container {
  max-width: 150vh;
  margin: 0 auto;
  /* padding: 0 24px; */
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 160, 23, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 160, 23, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(
    ellipse,
    rgba(192, 57, 43, 0.12) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  /* max-width: 720px; */
}
.hero-badge {
  display: inline-block;
  background: rgba(212, 160, 23, 0.12);
  border: 1px solid rgba(212, 160, 23, 0.35);
  color: var(--gold);
  font-family: "Rajdhani", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 2px;
  margin-bottom: 28px;
  animation: fadeIn 0.6s ease both;
}
.hero-title {
  font-family: "Oswald", sans-serif;
  font-size: clamp(52px, 10vw, 96px);
  font-weight: 700;
  line-height: 0.95;
  color: var(--white);
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: 12px;
  animation: fadeIn 0.7s 0.1s ease both;
}
.hero-subtitle-line {
  display: block;
  color: var(--gold);
  font-size: clamp(36px, 6vw, 64px);
  letter-spacing: 10px;
}
.hero-subtitle-line em {
  color: var(--red2);
  font-style: normal;
}
.hero-desc {
  font-size: 16px;
  color: var(--text-dim);
  margin: 24px 0 36px;
  line-height: 1.8;
  animation: fadeIn 0.7s 0.2s ease both;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeIn 0.7s 0.3s ease both;
}
.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-top: 56px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 20px 0;
  animation: fadeIn 0.7s 0.4s ease both;
}
.stat-item {
  flex: 1;
  text-align: center;
  padding: 0 24px;
}
.stat-item strong {
  display: block;
  font-family: "Oswald", sans-serif;
  font-size: 32px;
  color: var(--gold);
  font-weight: 700;
}
.stat-item span {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
}
.stat-sep {
  width: 1px;
  height: 48px;
  background: var(--border);
}
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.hero-scroll-hint span {
  display: block;
  width: 2px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  margin: 0 auto;
  animation: scrollPulse 2s infinite;
}
@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(1);
  }
  50% {
    opacity: 1;
    transform: scaleY(1.1);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== FEATURES ===== */
.features-section {
  padding: 100px 0;
  /* background: linear-gradient(
    to bottom,
    var(--black),
    var(--dark) 50%,
    var(--black)
  ); */
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-top: 2px solid transparent;
  padding: 32px 28px;
  border-radius: 2px;
  transition:
    border-color 0.25s,
    transform 0.25s;
}
.feature-card:hover {
  border-top-color: var(--gold);
  transform: translateY(-4px);
}
.feature-icon {
  font-size: 32px;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ===== SERVER INFO ===== */
.server-section {
  padding: 100px 0;
}
.server-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}
.server-info-panel,
.event-countdown-panel {
  /* background: var(--panel); */
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: 5px;
  background: var(--black);
}
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}
.info-table tr {
  border-bottom: 1px solid var(--border);
}
.info-table tr:last-child {
  border-bottom: none;
}
.info-table td {
  padding: 13px 15px;
  font-size: 14px;
  color: var(--text);
  width: auto;
  font-weight: bold;
}
/* .info-table td:first-child {
} */
/* .info-table td:last-child {
  color: var(--white);
  font-weight: 600;
} */
.info-table code {
  background: var(--dark3);
  padding: 2px 8px;
  border-radius: 3px;
  font-family: monospace;
  font-size: 13px;
  color: var(--cyan);
}

.flex-table {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
}

.flex-table p {
  padding: 0px 15px;
}

.tag {
  background: rgba(212, 160, 23, 0.15);
  color: var(--gold);
  padding: 2px 20px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 600;
}

.tag-2 {
  background: rgba(23, 121, 212, 0.15);
  color: var(--cyan);
  padding: 2px 10px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 600;
}

.event-title {
  font-family: "Oswald", sans-serif;
  font-size: 22px;
  color: var(--white);
  margin: 16px 0 10px;
  text-align: center;
}
.event-desc {
  display: flex;
  font-size: 14px;
  color: var(--text-dim);
  width: 100%;
  margin: 20px 0px;
  align-content: space-around;
  justify-content: space-around;
}

.countdown {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.countdown span {
  flex: 1;
  min-width: 64px;
  background: var(--dark3);
  border: 1px solid var(--border);
  padding: 16px 8px 10px;
  text-align: center;
  border-radius: 3px;
}
.countdown span strong,
#event-countdown span {
  display: block;
  font-family: "Oswald", sans-serif;
  font-size: 28px;
  color: var(--gold);
}
#event-countdown span em {
  display: block;
  font-style: normal;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 4px;
}

/* ===== NEWS PREVIEW ===== */
.news-preview-section {
  padding: 100px 0;
  background: var(--dark);
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}
.section-header .divider {
  margin-bottom: 0;
}

.news-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 20px;
}
.news-card {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 28px;
  border-radius: 2px;
  position: relative;
  transition: border-color 0.2s;
}
.news-card:hover {
  border-color: var(--gold-dim);
}
.news-card.featured {
  border-left: 3px solid var(--gold);
}
.news-tag {
  display: inline-block;
  background: var(--dark3);
  color: var(--gold);
  font-family: "Rajdhani", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 10px;
}
.news-tag.event {
  color: #e67e22;
}
.news-tag.update {
  color: var(--cyan);
}
.news-meta {
  font-size: 11px;
  color: var(--text-dim);
  margin-bottom: 10px;
}
.news-card h3 {
  font-family: "Rajdhani", sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.4;
}
.news-card p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.7;
}
.news-read-more {
  display: inline-block;
  margin-top: 16px;
  font-size: 12px;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--gold);
  text-transform: uppercase;
}

/* ===== JOIN SECTION ===== */
.join-section {
  padding: 100px 0;
  text-align: center;
}
.steps-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.step {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 32px 28px;
  border-radius: 2px;
  flex: 1;
  min-width: 200px;
  max-width: 260px;
}
.step-num {
  font-family: "Oswald", sans-serif;
  font-size: 48px;
  color: rgba(212, 160, 23, 0.8);
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1;
}
.step h4 {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 10px;
}
.step p {
  font-size: 13px;
  color: var(--text-dim);
}
.step-arrow {
  font-size: 28px;
  color: var(--gold-dim);
}
.join-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .server-grid {
    grid-template-columns: 1fr;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    flex-direction: column;
    padding: 20px;
    gap: 16px;
  }
  .stat-sep {
    width: 40px;
    height: 1px;
  }
  .steps-grid {
    flex-direction: column;
  }
  .step-arrow {
    transform: rotate(90deg);
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
