/*------------------------------------------------------------------
Project:  Aetheria
Version:  V2
Last change:  15.04.2026
Assigned to:  Nuutt
-------------------------------------------------------------------*/
/* ================= IOS MOBILE ================= */
@media (max-width: 768px) {

  body {
    padding: 20px;
    height: auto;
    overflow: auto;
  }

  .container {
    transform: scale(1.25); /* 🔥 important */
    width: 100%;
  }

  .logo {
    width: 90px;
    margin-bottom: 20px;
  }

  h1 {
    font-size: 28px;
    line-height: 1.2;
  }

  .subtitle {
    font-size: 14px;
    margin-bottom: 30px;
  }

  /* COUNTDOWN STACK */
  .countdown {
    gap: 12px;
    flex-wrap: wrap;
  }

  .box {
    min-width: 80px;
    padding: 18px;
    border-radius: 14px;
  }

  .box h2 {
    font-size: 22px;
  }

  .box span {
    font-size: 10px;
  }

  /* bouton */
  .btn {
    font-size: 13px;
    padding: 10px 16px;
  }

  /* discord icon */
  .discord-icon {
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
  }

}

@media (max-width: 500px) {
  .countdown {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* Desktop large */
.container {
  transform: scale(1.25);
}

/* Laptop */
@media (max-width: 1200px) {
  .container {
    transform: scale(1.15);
  }
}

/* Tablet */
@media (max-width: 900px) {
  .container {
    transform: scale(1.05);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .container {
    transform: scale(1);
  }
}

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

/* ================= BODY ================= */
body {
  font-family: 'Sora', sans-serif;
  background: radial-gradient(circle at 50% 35%, #1a1c22 0%, #0a0b0f 50%, #000000 100%);
  color: #fff;

  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  cursor: none;
  position: relative;
}

/* ================= PARALLAX BG ================= */
.bg-layer {
  position: fixed;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  z-index: -2;

  background: radial-gradient(circle at 50% 35%, #1a1c22 0%, #0a0b0f 50%, #000000 100%);

  pointer-events: none;
}

/* ================= GLOW ================= */
body::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(100,120,255,0.12), transparent);
  filter: blur(120px);
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

/* ================= PARTICLES ================= */
#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ================= DISCORD ICON ================= */
.discord-icon {
  position: fixed;
  top: 25px;
  right: 25px;
  width: 40px;
  height: 40px;
  z-index: 999;

  display: flex;
  align-items: center;
  justify-content: center;

  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 8px;
  background: rgba(255,255,255,0.05);
}

.discord-icon img {
  width: 100%;
  opacity: 0.8;
  transition: 0.2s;
}

.discord-icon:hover img {
  transform: scale(1.15);
  opacity: 1;
}

/* ================= CONTAINER ================= */
.container {
  text-align: center;
  transform: scale(1.25);
  position: relative;
  z-index: 2;
}

/* ================= LOGO ================= */
.logo {
  width: 120px;
  margin-bottom: 30px;
  opacity: 0.95;

  filter: drop-shadow(0 0 10px rgba(255,255,255,0.15));
  transition: transform 0.6s ease;
}

.logo:hover {
  transform: scale(1.1);
}

/* ================= TITLE ================= */
h1 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 10px;

  text-shadow: 0 0 20px rgba(255,255,255,0.08);
}

.subtitle {
  opacity: 0.6;
  margin-bottom: 50px;
}

/* ================= COUNTDOWN ================= */
.countdown {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.countdown h2 {
  transition: all 0.3s ease;
}

.countdown h2.changing {
  transform: translateY(-5px);
  opacity: 0.3;
}

/* ================= BOX ================= */
.box {
  background: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 18px;
  backdrop-filter: blur(10px);

  min-width: 100px;

  transition: 0.3s;
  box-shadow: 0 0 20px rgba(255,255,255,0.05);
}

.box:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 40px rgba(255,255,255,0.15);
}

.box h2 {
  font-size: 30px;
}

.box span {
  font-size: 11px;
  opacity: 0.6;
}

/* ================= BUTTON ================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 10px 20px;
  font-size: 14px;

  border-radius: 12px;
  background: linear-gradient(135deg, #5865F2, #404eed);
  color: white;
  text-decoration: none;

  transition: 0.3s;

  box-shadow: 0 0 20px rgba(88,101,242,0.3);
}

.btn img {
  width: 16px;
  opacity: 0.9;
  transform: translateY(1px);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(88,101,242,0.6);
}

/* ================= CURSOR ================= */
.cursor {
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;

  position: fixed;
  pointer-events: none;
  z-index: 9999;

  transform: translate(-50%, -50%);

  box-shadow:
    0 0 20px rgba(255,255,255,0.8),
    0 0 40px rgba(255,255,255,0.4),
    0 0 80px rgba(255,255,255,0.2);
}

/* ================= CURSOR HIDE ================= */
a, button {
  cursor: none;
}

/* ================= SELECTION ================= */
::selection {
  background: #72b0ffb5;
  color: #fff;
}

::-moz-selection {
  background: #72b0ffb5;
  color: #fff;
}

/* ================= MOBILE ================= */
@media (max-width: 600px) {
  h1 {
    font-size: 32px;
  }
}