@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #050814;
  color: white;
  overflow-x: hidden;
}

/* BACKGROUND GLOW */
body::before,
body::after {
  content: '';
  position: fixed;
  width: 650px;
  height: 650px;
  filter: blur(170px);
  z-index: -1;
  opacity: 0.55;
}

body::before {
  background: rgba(78,163,255,0.25);
  top: -220px;
  right: -220px;
}

body::after {
  background: rgba(140,0,255,0.18);
  bottom: -220px;
  left: -220px;
}

/* HEADER */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 7%;
  position: absolute;
  width: 100%;
  z-index: 10;
}

.logo {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 2px;
}

.logo span {
  color: #4ea3ff;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #4ea3ff;
  transition: 0.3s;
}

.nav-links a:hover {
  color: white;
}

.nav-links a:hover::after {
  width: 100%;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 7%;
  background:
    linear-gradient(to right, rgba(0,0,0,0.85), rgba(0,0,0,0.35)),
    url('logo.png') center/cover no-repeat;
}

.hero-content h1 {
  font-size: 80px;
  font-weight: 900;
  line-height: 1;
}

.hero-content p {
  margin-top: 12px;
  max-width: 520px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}

/* BUTTONS */
.hero-buttons {
  margin-top: 28px;
  display: flex;
  gap: 14px;
}

/* DISCORD BUTTON */
.btn-discord {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #5865F2;
  padding: 14px 22px;
  border-radius: 14px;
  color: white;
  text-decoration: none;
  font-weight: 800;
  transition: 0.35s;
  box-shadow: 0 15px 40px rgba(88,101,242,0.25);
}

.btn-discord:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 60px rgba(88,101,242,0.35);
}

.btn-secondary {
  padding: 14px 22px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

.btn-secondary:hover {
  border-color: #4ea3ff;
  transform: translateY(-3px);
}

/* HERO CARD */
.hero-card {
  width: 330px;
  padding: 30px;
  border-radius: 22px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255,255,255,0.08);
  transition: 0.4s;
}

.hero-card:hover {
  transform: translateY(-6px);
}

/* SECTIONS */
.features-section,
.rules-section,
.gallery-section,
.join-section {
  padding: 120px 7%;
  text-align: center;
}

.section-heading h2 {
  font-size: 48px;
  font-weight: 900;
}

/* GRIDS */
.features-grid,
.rules-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 50px;
}

/* =========================
   FEATURE IMAGE CARDS
========================= */

.img-card {
  padding: 0;
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  height: 320px;
  display: flex;
  align-items: flex-end;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  transition: 0.4s;
}

.img-card img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65);
  transition: 0.6s ease;
}

.img-card:hover img {
  transform: scale(1.12);
  filter: brightness(0.85);
}

.img-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 70px rgba(0,0,0,0.5);
}

.card-content {
  position: relative;
  z-index: 2;
  padding: 20px;
  width: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
}

.card-content i {
  font-size: 26px;
  color: #4ea3ff;
  margin-bottom: 10px;
}

.card-content h3 {
  font-size: 20px;
  font-weight: 800;
}

.card-content p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

/* RULE CARDS */
.rule-card {
  padding: 28px;
  border-radius: 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
  transition: 0.35s;
}

.rule-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255,80,80,0.4);
}

/* GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 15px;
  margin-top: 40px;
}

.gallery-grid img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 16px;
  transition: 0.35s;
}

.gallery-grid img:hover {
  transform: scale(1.06);
  filter: brightness(1.1);
}

/* JOIN */
.join-content {
  max-width: 750px;
  margin: auto;
  padding: 70px;
  border-radius: 26px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
}

/* FOOTER */
footer {
  text-align: center;
  padding: 35px;
  color: rgba(255,255,255,0.4);
}

/* RESPONSIVE */
@media(max-width: 900px) {
  .features-grid,
  .rules-wrapper {
    grid-template-columns: 1fr;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .hero-content h1 {
    font-size: 50px;
  }
}


/* RULE CARD IMAGE STYLE */
.rule-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  transition: 0.4s;
}

.rule-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 70px rgba(0,0,0,0.5);
}

/* IMAGE */
.rule-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  filter: brightness(0.7);
  transition: 0.4s;
}

.rule-card:hover img {
  transform: scale(1.1);
  filter: brightness(0.85);
}

/* CONTENT */
.rule-content {
  padding: 20px;
  text-align: center;
}

.rule-content i {
  font-size: 26px;
  color: #4ea3ff;
  margin-bottom: 10px;
  display: block;
}

.rule-content h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
}

.rule-content p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}


.discord-premium-wrapper {
  padding: 120px 7%;
  display: flex;
  justify-content: center;
}

.discord-premium-card {
  position: relative;
  width: 100%;
  max-width: 1100px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 60px;
  border-radius: 28px;

  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255,255,255,0.08);

  overflow: hidden;
}

/* BIG DISCORD ICON BACKGROUND */
.discord-logo-big {
  position: absolute;
  right: -40px;
  font-size: 260px;
  color: rgba(88,101,242,0.08);
  transform: rotate(-15deg);
}

/* CONTENT */
.discord-content {
  max-width: 600px;
  z-index: 2;
}

.discord-content h2 {
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 15px;
}

.discord-content p {
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 25px;
}

/* BENEFITS */
.discord-benefits {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.d-ben {
  background: rgba(255,255,255,0.06);
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.06);
}

.d-ben i {
  color: #4ea3ff;
}

/* BUTTON */
.btn-join-discord {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  background: #5865F2;
  padding: 14px 26px;
  border-radius: 14px;

  color: white;
  text-decoration: none;
  font-weight: 800;

  transition: 0.35s;
  box-shadow: 0 15px 40px rgba(88,101,242,0.25);
}

.btn-join-discord:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 60px rgba(88,101,242,0.35);
}

/* RESPONSIVE */
@media(max-width: 900px) {
  .discord-premium-card {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    padding: 40px;
  }

  .discord-logo-big {
    font-size: 180px;
    right: auto;
  }

  .discord-benefits {
    justify-content: center;
  }
}