* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  font-family: "Poppins", sans-serif;
  background:
    radial-gradient(
      circle at top left,
      rgba(0, 174, 255, 0.15),
      transparent 30%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(132, 0, 255, 0.15),
      transparent 30%
    ),
    #020813;
  color: white;
  position: relative;
}

/* PARTICLES */
/* =========================
   LOADING SCREEN
========================= */
.loading-screen {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, #07111f 0%, #02060d 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition:
    opacity 0.8s ease,
    visibility 0.8s ease;
}

.loading-screen.hide {
  opacity: 0;
  visibility: hidden;
}

.loading-logo {
  font-size: 54px;
  font-weight: 800;
  letter-spacing: 4px;
  color: white;
  margin-bottom: 30px;
  text-shadow: 0 0 25px rgba(0, 191, 255, 0.8);
}

.loading-logo::after {
  content: "";
  color: #16c8ff;
}

.loading-bar {
  width: 260px;
  height: 5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.loading-bar span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  border-radius: 999px;
  animation: loadingBar 2s ease forwards;
  box-shadow: 0 0 18px rgba(0, 191, 255, 0.8);
}

@keyframes loadingBar {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

/* PAGE TRANSITION */
body.fade-out {
  opacity: 0;
  transform: scale(1.02);
  filter: blur(10px);
  transition: all 0.6s ease;
}

.universe-card {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.universe-card:hover {
  transform: translateY(-10px) scale(1.02);
}

.universe-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.08),
    transparent
  );
  transform: translateX(-120%);
  transition: 0.8s ease;
}

.universe-card:hover::before {
  transform: translateX(120%);
}

/* MOBILE */
@media (max-width: 768px) {
  .loading-logo {
    font-size: 34px;
    text-align: center;
  }

  .loading-bar {
    width: 180px;
  }
}

.particles {
  position: fixed;
  inset: 0;

  background-image: radial-gradient(
    rgba(255, 255, 255, 0.18) 1px,
    transparent 1px
  );

  background-size: 40px 40px;
  opacity: 0.15;
  animation: particleMove 30s linear infinite;
  pointer-events: none;
}

@keyframes particleMove {
  from {
    transform: translateY(0px);
  }

  to {
    transform: translateY(-40px);
  }
}

/* MAIN */
.universe-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  box-sizing: border-box;
}

/* TOP */
.universe-top {
  text-align: center;
  margin-bottom: 70px;
}

.universe-grid {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.subtitle {
  font-size: 20px;
  letter-spacing: 8px;
  font-weight: 600;
  color: #19c2ff;
  margin-bottom: 18px;
  text-shadow: 0 0 20px rgba(25, 194, 255, 0.5);
}

/* =========================================================
   🌌 KENZIVERSE TITLE
========================================================= */

.universe-top h1 {
  font-size: 110px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  text-shadow:
    0 0 30px rgba(22, 200, 255, 0.25),
    0 0 60px rgba(155, 123, 255, 0.15);
  background: linear-gradient(
    90deg,
    #16c8ff,
    #5ea2ff,
    #9b7bff,
    #d56dff,
    #16c8ff
  );

  background-size: 300% 300%;
  background-clip: text;

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  animation:
    universeGradient 8s ease infinite,
    universeGlow 3s ease-in-out infinite;

  letter-spacing: -3px;
}

/* =========================================================
   🌈 FLOWING GRADIENT
========================================================= */

@keyframes universeGradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* =========================================================
   ✨ GLOW PULSE
========================================================= */

@keyframes universeGlow {
  0% {
    filter: drop-shadow(0 0 10px rgba(22, 200, 255, 0.2))
      drop-shadow(0 0 20px rgba(155, 123, 255, 0.12));
  }

  50% {
    filter: drop-shadow(0 0 18px rgba(22, 200, 255, 0.45))
      drop-shadow(0 0 32px rgba(213, 109, 255, 0.22));
  }

  100% {
    filter: drop-shadow(0 0 10px rgba(22, 200, 255, 0.2))
      drop-shadow(0 0 20px rgba(155, 123, 255, 0.12));
  }
}

.universe-top h1 span {
  background: linear-gradient(90deg, #35d6ff, #ae7cff);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.description {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  line-height: 1.8;
}

/* GRID */
.universe-grid {
  width: 100%;
  max-width: 1400px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* CARD */
.universe-card {
  position: relative;
  min-height: 420px;
  padding: 40px;
  border-radius: 30px;
  overflow: hidden;
  text-decoration: none;
  color: white;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  transition: all 0.45s ease;
}

.universe-card:hover {
  transform: translateY(-12px) scale(1.02);
}

.glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: all 0.45s ease;
}

.universe-card:hover .glow {
  opacity: 1;
}

/* INFRA */
.infra .glow {
  background: radial-gradient(
    circle at top,
    rgba(0, 174, 255, 0.25),
    transparent 60%
  );
}

.infra:hover {
  border-color: rgba(0, 174, 255, 0.5);
  box-shadow: 0 0 40px rgba(0, 174, 255, 0.18);
}

.universe-card.infra h2 span {
  color: #16c8ff;

  text-shadow:
    0 0 10px rgba(22, 200, 255, 0.7),
    0 0 20px rgba(22, 200, 255, 0.45),
    0 0 35px rgba(22, 200, 255, 0.25);

  animation: techPulse 2.2s ease-in-out infinite;
}

/* PULSE EFFECT */
@keyframes techPulse {
  0% {
    opacity: 0.85;

    text-shadow:
      0 0 8px rgba(22, 200, 255, 0.45),
      0 0 18px rgba(22, 200, 255, 0.25);
  }

  50% {
    opacity: 1;

    text-shadow:
      0 0 14px rgba(22, 200, 255, 0.95),
      0 0 30px rgba(22, 200, 255, 0.7),
      0 0 55px rgba(22, 200, 255, 0.4);
  }

  100% {
    opacity: 0.85;

    text-shadow:
      0 0 8px rgba(22, 200, 255, 0.45),
      0 0 18px rgba(22, 200, 255, 0.25);
  }
}

/* PLAY */
.gaming .glow {
  background: radial-gradient(
    circle at top,
    rgba(162, 0, 255, 0.25),
    transparent 60%
  );
}

.gaming:hover {
  border-color: rgba(162, 0, 255, 0.5);
  box-shadow: 0 0 40px rgba(162, 0, 255, 0.18);
}

.universe-card.gaming h2 span {
  color: #bb6cff;

  text-shadow:
    0 0 10px rgba(187, 108, 255, 0.7),
    0 0 20px rgba(187, 108, 255, 0.45),
    0 0 35px rgba(187, 108, 255, 0.25);

  animation: playPulse 2.2s ease-in-out infinite;
}

@keyframes playPulse {
  0% {
    opacity: 0.85;

    text-shadow:
      0 0 8px rgba(187, 108, 255, 0.45),
      0 0 18px rgba(187, 108, 255, 0.25);
  }

  50% {
    opacity: 1;

    text-shadow:
      0 0 14px rgba(187, 108, 255, 0.95),
      0 0 30px rgba(187, 108, 255, 0.7),
      0 0 55px rgba(187, 108, 255, 0.4);
  }

  100% {
    opacity: 0.85;

    text-shadow:
      0 0 8px rgba(187, 108, 255, 0.45),
      0 0 18px rgba(187, 108, 255, 0.25);
  }
}

/* MARKET */
.market .glow {
  background: radial-gradient(
    circle at top,
    rgba(255, 136, 0, 0.25),
    transparent 60%
  );
}

.market:hover {
  border-color: rgba(255, 136, 0, 0.5);
  box-shadow: 0 0 40px rgba(255, 136, 0, 0.18);
}

.universe-card.market h2 span {
  color: #ffb347;

  text-shadow:
    0 0 10px rgba(255, 179, 71, 0.7),
    0 0 20px rgba(255, 179, 71, 0.45),
    0 0 35px rgba(255, 179, 71, 0.25);

  animation: marketPulse 2.2s ease-in-out infinite;
}

@keyframes marketPulse {
  0% {
    opacity: 0.85;

    text-shadow:
      0 0 8px rgba(255, 179, 71, 0.45),
      0 0 18px rgba(255, 179, 71, 0.25);
  }

  50% {
    opacity: 1;

    text-shadow:
      0 0 14px rgba(255, 179, 71, 0.95),
      0 0 30px rgba(255, 179, 71, 0.7),
      0 0 55px rgba(255, 179, 71, 0.4);
  }

  100% {
    opacity: 0.85;

    text-shadow:
      0 0 8px rgba(255, 179, 71, 0.45),
      0 0 18px rgba(255, 179, 71, 0.25);
  }
}

/* ICON */
.icon-wrap {
  width: 92px;
  height: 92px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.infra .icon-wrap {
  color: #35d6ff;
}

.gaming .icon-wrap {
  color: #be6cff;
}

.market .icon-wrap {
  color: #ffaf45;
}

/* CONTENT */
.card-content {
  position: relative;
  z-index: 2;
}

.badge {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 24px;
}

.card-content h2 {
  font-size: 48px;
  line-height: 1;
  margin-bottom: 16px;
}

.card-content p {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
}

/* FADE */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s ease forwards;
}

.universe-grid.fade-up {
  animation-delay: 0.3s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* MOBILE */
@media (max-width: 992px) {
  .universe-grid {
    grid-template-columns: 1fr;
  }

  .universe-top h1 {
    font-size: 52px;
  }
}

@media (max-width: 768px) {
  .universe-container {
    padding: 70px 18px;
  }

  .universe-top {
    margin-bottom: 40px;
  }

  .universe-top h1 {
    font-size: 40px;
    line-height: 1.1;
  }

  .description {
    font-size: 15px;
    line-height: 1.7;
  }

  .universe-card {
    min-height: auto;
    padding: 30px 24px;
  }

  .icon-wrap {
    width: 72px;
    height: 72px;
    font-size: 30px;
    margin-bottom: 26px;
  }

  .card-content h2 {
    font-size: 36px;
  }

  .card-content p {
    font-size: 15px;
  }
}

/* ========================================= */
/* COPYRIGHT */
/* ========================================= */

.copyright {
  position: fixed;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: 100%;
  text-align: center;
  padding: 20px 16px 26px;
  box-sizing: border-box;
  padding-bottom: 5px;
}

.copyright p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.4);
}

.copyright span {
  background: linear-gradient(90deg, #16c8ff, #5ea2ff, #9b7bff, #d56dff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* =========================================================
   📲 TABLET VERSION
   769px - 1024px
========================================================= */

@media (min-width: 769px) and (max-width: 1024px) {
  /* CONTAINER */
  .universe-container {
    padding: 80px 30px 80px;
  }

  /* TOP */
  .universe-top {
    margin-top: -200px;
    margin-bottom: 80px;
  }

  .subtitle {
    font-size: 14px;
    letter-spacing: 6px;
    margin-bottom: 14px;
    text-shadow: 0 0 12px rgba(25, 194, 255, 0.45);
  }

  /* TITLE */
  .universe-top h1 {
    font-size: 72px;
    line-height: 1;
    letter-spacing: -2px;
  }

  /* DESCRIPTION */
  .description {
    max-width: 620px;
    font-size: 16px;
    line-height: 1.7;
    margin: auto;
  }

  /* GRID */
  .universe-grid {
    margin-top: 50px;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
  }

  /* CARD */
  .universe-card {
    min-height: 280px;
    padding: 26px;
  }

  /* ICON */
  .icon-wrap {
    width: 78px;
    height: 78px;
    border-radius: 22px;
    font-size: 32px;
    margin-bottom: 28px;
  }

  /* BADGE */
  .badge {
    margin-top: 30px;
    font-size: 11px;
    padding: 7px 13px;
    margin-bottom: 3px;
  }

  /* TITLE */
  .card-content h2 {
    font-size: 29px;
    margin-bottom: 12px;
  }

  /* TEXT */
  .card-content p {
    font-size: 16px;
    line-height: 1.6;
  }

  /* COPYRIGHT */
  .copyright {
    bottom: 16px;
    padding-bottom: 5px;
  }

  .copyright p {
    font-size: 13px;
  }
}

/* =========================================================
   📱 MOBILE VERSION
   460px - 768px
========================================================= */

@media (max-width: 480px) {
  /* CONTAINER */
  .universe-container {
    padding: 70px 18px 60px;
  }

  /* TOP */
  .universe-top {
    margin-top: -90px;
    margin-bottom: 60px;
  }

  .subtitle {
    font-size: 14px;
    letter-spacing: 6px;
  }

  /* TITLE */
  .universe-top h1 {
    font-size: 52px;
    line-height: 1;
  }

  /* DESCRIPTION */
  .universe-top .description {
    font-size: 15px;
    line-height: 1.7;
    max-width: 320px;
    margin: auto;
  }

  /* GRID */
  .universe-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: -10px;
    transform: translateY(-60px);
    justify-content: center;
  }

  /* CARD */
  .universe-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 180px;
    padding: 24px 24px 28px;
  }

  /* CARD TOP */
  .universe-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  /* ICON */
  .icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    flex-shrink: 0;
    margin-bottom: 30px;
  }

  .icon-wrap i {
    font-size: 30px;
  }

  /* CONTENT */
  .card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* TITLE */
  .card-content h2 {
    font-size: 42px;
    line-height: 1;
    margin-top: 6px;
    margin-bottom: 10px;
  }

  /* DESCRIPTION */
  .card-content p {
    font-size: 12px;
    line-height: 1.3;
    margin-top: -10px;
    margin-bottom: 50px;
  }

  /* BADGE */
  .badge {
    position: absolute;
    right: 24px;
    bottom: 14px;
    width: fit-content;
    margin-bottom: 10px;
  }

  /* COPYRIGHT */
  .copyright {
    padding: 30px 20px 24px;
    padding-bottom: 5px;
  }

  .copyright p {
    font-size: 12px;
    line-height: 1.8;
  }
}

/* =========================================================
   📱 EXTRA SMALL MOBILE
   BELOW 412px
========================================================= */

@media (max-width: 412px) {
  .universe-container {
    justify-content: flex-start;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .universe-top {
    margin-bottom: 42px;
  }

  .subtitle {
    font-size: 15px;
    letter-spacing: 7px;
    margin-bottom: 18px;
  }

  .universe-top h1 {
    font-size: 58px;
    line-height: 1;
  }

  .description {
    font-size: 16px;
    line-height: 1.7;
    max-width: 340px;
    margin: auto;
  }

  .universe-grid {
    gap: 24px;
    width: 100%;
  }

  .universe-card {
    min-height: 200px;
    padding: 26px;
    border-radius: 28px;
    right: 3px;
  }

  .universe-card-top {
    gap: 18px;
  }

  .icon-wrap {
    width: 78px;
    height: 78px;
    flex-shrink: 0;
    margin-bottom: 50px;
  }

  .icon-wrap i {
    font-size: 30px;
  }

  .card-content h2 {
    font-size: 36px;
    line-height: 1;
    margin-bottom: 10px;
  }

  .card-content p {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 65px;
  }

  .badge {
    right: 22px;
    bottom: -2px;
  }

  .copyright {
    padding-top: 28px;
    padding-bottom: 14px;
  }

  .copyright p {
    font-size: 12px;
  }
}
