
/* DISCORD LANDING PAGE */

/* FONTS - inherited from common.css */

/* HERO */
.discord-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
  color: #fff;
  padding: 60px 20px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.discord-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/img/discord/delta-discord.webp') center top / cover no-repeat;
  opacity: 0.08;
  z-index: 0;
}

.discord-hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.discord-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(88, 101, 242, 0.2);
  border: 1px solid rgba(88, 101, 242, 0.4);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 14px;
  color: #a8b1ff;
  margin-bottom: 24px;
}

.discord-hero__badge svg {
  width: 18px;
  height: 18px;
}

.discord-hero h1 {
  font-family: var(--font-poppins);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff 0%, #a8b1ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.discord-hero__subtitle {
  font-family: var(--font-base);
  font-size: 18px;
  color: #b0b7c3;
  margin-bottom: 32px;
  line-height: 1.6;
}

.discord-hero__stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.discord-hero__stat {
  text-align: center;
}

.discord-hero__stat-value {
  font-family: var(--font-poppins);
  font-size: 32px;
  font-weight: 700;
  color: #5865F2;
  display: block;
}

.discord-hero__stat-label {
  font-size: 14px;
  color: #8a919c;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.discord-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #5865F2;
  color: #fff;
  padding: 16px 32px;
  border-radius: 12px;
  font-family: var(--font-base);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(88, 101, 242, 0.4);
}

.discord-hero__cta:hover {
  background: #4752c4;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(88, 101, 242, 0.5);
}

.discord-hero__cta svg {
  width: 24px;
  height: 24px;
}

/* FEATURES */
.discord-features {
  background: #fff;
  padding: 60px 20px;
}

.discord-features__container {
  max-width: 1100px;
  margin: 0 auto;
}

.discord-features__header {
  text-align: center;
  margin-bottom: 50px;
}

.discord-features__header h2 {
  font-family: var(--font-poppins);
  font-size: 32px;
  color: #1a1a2e;
  margin-bottom: 12px;
}

.discord-features__header p {
  font-family: var(--font-base);
  font-size: 16px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.discord-features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.discord-feature {
  display: flex;
  gap: 20px;
  background: #f8f9fa;
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
}

.discord-feature:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.discord-feature__icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #5865F2 0%, #7289da 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.discord-feature__icon svg {
  width: 28px;
  height: 28px;
  color: #fff;
}

.discord-feature__content h3 {
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 18px;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.discord-feature__content p {
  font-family: var(--font-base);
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* GALLERY */
.discord-gallery {
  background: #0f0f23;
  padding: 60px 20px;
}

.discord-gallery__container {
  max-width: 1200px;
  margin: 0 auto;
}

.discord-gallery__header {
  text-align: center;
  margin-bottom: 40px;
}

.discord-gallery__header h2 {
  font-family: var(--font-poppins);
  font-size: 32px;
  color: #fff;
  margin-bottom: 12px;
}

.discord-gallery__header p {
  font-family: var(--font-base);
  font-size: 16px;
  color: #8a919c;
}

.discord-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.discord-gallery__item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 9/16;
}

.discord-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.discord-gallery__item:hover img {
  transform: scale(1.05);
}

.discord-gallery__item::after {
  content: attr(data-label);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: #fff;
  font-family: var(--font-base);
  font-size: 13px;
  font-weight: 600;
}

.discord-gallery__item--wide {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

/* CHANNELS */
.discord-channels {
  background: #fff;
  padding: 60px 20px;
}

.discord-channels__container {
  max-width: 900px;
  margin: 0 auto;
}

.discord-channels__header {
  text-align: center;
  margin-bottom: 40px;
}

.discord-channels__header h2 {
  font-family: var(--font-poppins);
  font-size: 32px;
  color: #1a1a2e;
  margin-bottom: 12px;
}

.discord-channels__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.discord-channel {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f8f9fa;
  padding: 16px 20px;
  border-radius: 12px;
  border-left: 4px solid #5865F2;
}

.discord-channel__icon {
  font-size: 24px;
}

.discord-channel__info h4 {
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 16px;
  color: #1a1a2e;
  margin-bottom: 2px;
}

.discord-channel__info p {
  font-family: var(--font-base);
  font-size: 13px;
  color: #666;
}

/* HOW TO JOIN */
.discord-howto {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  padding: 60px 20px;
}

.discord-howto__container {
  max-width: 800px;
  margin: 0 auto;
}

.discord-howto__header {
  text-align: center;
  margin-bottom: 40px;
}

.discord-howto__header h2 {
  font-family: var(--font-poppins);
  font-size: 32px;
  color: #fff;
  margin-bottom: 12px;
}

.discord-howto__steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.discord-howto__step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.discord-howto__step-num {
  width: 44px;
  height: 44px;
  background: #5865F2;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-poppins);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  flex-shrink: 0;
}

.discord-howto__step-content h4 {
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  margin-bottom: 6px;
}

.discord-howto__step-content p {
  font-family: var(--font-base);
  font-size: 14px;
  color: #b0b7c3;
  line-height: 1.6;
}

/* CTA SECTION */
.discord-cta {
  background: #5865F2;
  padding: 60px 20px;
  text-align: center;
}

.discord-cta__container {
  max-width: 700px;
  margin: 0 auto;
}

.discord-cta h2 {
  font-family: var(--font-poppins);
  font-size: 32px;
  color: #fff;
  margin-bottom: 16px;
}

.discord-cta p {
  font-family: var(--font-base);
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
}

.discord-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #5865F2;
  padding: 16px 36px;
  border-radius: 12px;
  font-family: var(--font-base);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.discord-cta__btn:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

/* FAQ */
.discord-faq {
  background: #fff;
  padding: 60px 20px;
}

.discord-faq__container {
  max-width: 800px;
  margin: 0 auto;
}

.discord-faq__header {
  text-align: center;
  margin-bottom: 40px;
}

.discord-faq__header h2 {
  font-family: var(--font-poppins);
  font-size: 32px;
  color: #1a1a2e;
}

.discord-faq__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.discord-faq__item {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px 24px;
}

.discord-faq__item h3 {
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 16px;
  color: #1a1a2e;
  margin-bottom: 10px;
}

.discord-faq__item p {
  font-family: var(--font-base);
  font-size: 14px;
  color: #555;
  line-height: 1.7;
}

/* MODAL */
.discord-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.discord-modal__inner {
  position: relative;
  max-width: 400px;
  width: 100%;
}

.discord-modal__close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.discord-modal img {
  width: 100%;
  border-radius: 12px;
}

/* RESPONSIVE */
@media screen and (min-width: 768px) {
  .discord-hero {
    padding: 80px 40px 100px;
  }

  .discord-hero h1 {
    font-size: 52px;
  }

  .discord-hero__stats {
    gap: 60px;
  }

  .discord-features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .discord-gallery__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .discord-gallery__item--wide {
    grid-column: span 2;
    aspect-ratio: 9/16;
  }
}

@media screen and (min-width: 1024px) {
  .discord-hero h1 {
    font-size: 58px;
  }

  .discord-hero__stat-value {
    font-size: 40px;
  }

  .discord-features__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .discord-features__header h2,
  .discord-gallery__header h2,
  .discord-channels__header h2,
  .discord-howto__header h2,
  .discord-cta h2,
  .discord-faq__header h2 {
    font-size: 36px;
  }
}
