* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --pink: #ff4fa3;
  --pink-light: #ffe3f2;
  --cyan: #42d9ee;
  --cyan-light: #dffaff;
  --lime: #d9ff55;
  --purple: #8b63ff;
  --dark: #292333;
  --muted: #85798d;
  --white: #ffffff;
  --background: #fff9fd;
  --border: #f0dfec;
}

body {
  font-family:
    Arial,
    Helvetica,
    sans-serif;

  background:
    linear-gradient(
      135deg,
      rgba(255, 227, 242, 0.5),
      rgba(223, 250, 255, 0.35)
    );

  color: var(--dark);

  padding-bottom: 90px;

  -webkit-font-smoothing: antialiased;
}

button,
input {
  font-family: inherit;
}

button {
  border: none;
  cursor: pointer;
}

.app {
  width: 100%;
  max-width: 1100px;
  margin: auto;
}


/* =========================
   HEADER
========================= */

.header {
  height: 72px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 12px 20px;

  background: rgba(255, 255, 255, 0.94);

  border-bottom: 1px solid var(--border);

  position: sticky;
  top: 0;

  z-index: 50;

  backdrop-filter: blur(15px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand-logo {
  width: 44px;
  height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 14px;

  background:
    linear-gradient(
      135deg,
      #ffd3ed,
      #d9faff
    );

  border: 2px solid white;

  box-shadow:
    0 4px 14px rgba(255, 79, 163, 0.15);

  font-size: 23px;
}

.brand h1 {
  font-size: 19px;
  letter-spacing: 1.2px;
}

.brand p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 2px;
}

.profile-button {
  width: 42px;
  height: 42px;

  border-radius: 50%;

  background: var(--pink-light);

  font-size: 18px;

  transition: 0.2s;
}

.profile-button:active {
  transform: scale(0.92);
}


/* =========================
   MAIN
========================= */

main {
  padding: 18px;
}


/* =========================
   HERO
========================= */

.hero {
  position: relative;

  min-height: 270px;

  border-radius: 26px;

  overflow: hidden;

  margin-bottom: 22px;

  background:
    linear-gradient(
      135deg,
      #ffd9ee,
      #c9f7ff
    );

  border: 2px solid white;

  box-shadow:
    0 10px 35px rgba(91, 54, 89, 0.08);
}

.hero-image {
  position: absolute;

  width: 100%;
  height: 100%;

  object-fit: cover;

  opacity: 0.48;
}

.hero::after {
  content: "";

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(255, 231, 246, 0.96) 0%,
      rgba(255, 231, 246, 0.78) 42%,
      rgba(255, 231, 246, 0.08) 100%
    );
}

.hero-overlay {
  position: relative;

  z-index: 2;

  padding: 30px;

  max-width: 520px;
}

.hero-badge {
  display: inline-block;

  padding: 7px 12px;

  border-radius: 30px;

  background: white;

  color: var(--pink);

  font-size: 10px;

  font-weight: bold;

  letter-spacing: 0.7px;

  margin-bottom: 12px;
}

.hero h2 {
  font-size: clamp(28px, 5vw, 42px);

  line-height: 1.05;

  margin-bottom: 10px;

  letter-spacing: -1px;
}

.hero p {
  max-width: 330px;

  color: #655b6b;

  font-size: 13px;

  line-height: 1.5;

  margin-bottom: 17px;
}

.hero-button {
  padding: 13px 19px;

  border-radius: 14px;

  background: var(--dark);

  color: white;

  font-weight: bold;

  font-size: 12px;

  box-shadow:
    0 6px 16px rgba(41, 35, 51, 0.18);
}


/* =========================
   SEARCH
========================= */

.search-box {
  display: flex;
  align-items: center;

  gap: 10px;

  background: white;

  border: 1px solid var(--border);

  border-radius: 15px;

  padding: 0 15px;

  height: 48px;

  margin-bottom: 25px;
}

.search-box span {
  font-size: 16px;
}

.search-box input {
  width: 100%;

  border: none;

  outline: none;

  background: transparent;

  color: var(--dark);

  font-size: 14px;
}

.search-box input::placeholder {
  color: #a59aa9;
}


/* =========================
   SECTION
========================= */

.section {
  margin-bottom: 28px;
}

.section-title {
  display: flex;

  align-items: flex-end;

  justify-content: space-between;

  margin-bottom: 13px;
}

.small-label {
  color: var(--pink);

  font-size: 9px;

  font-weight: bold;

  letter-spacing: 1.2px;
}

.section-title h2 {
  font-size: 20px;

  margin-top: 2px;
}

.see-all {
  background: transparent;

  color: var(--pink);

  font-size: 12px;

  font-weight: bold;
}


/* =========================
   CATEGORIES
========================= */

.categories {
  display: flex;

  gap: 9px;

  overflow-x: auto;

  padding-bottom: 4px;

  scrollbar-width: none;
}

.categories::-webkit-scrollbar {
  display: none;
}

.category {
  min-width: 75px;

  height: 70px;

  border-radius: 17px;

  background: white;

  border: 1px solid var(--border);

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  gap: 5px;

  color: #776d7c;

  font-size: 20px;

  flex-shrink: 0;

  transition: 0.2s;
}

.category span {
  font-size: 10px;

  font-weight: bold;
}

.category.active {
  color: var(--dark);

  background:
    linear-gradient(
      135deg,
      #ffd7ec,
      #d7faff
    );

  border-color: white;

  box-shadow:
    0 5px 15px rgba(255, 79, 163, 0.13);
}


/* =========================
   GAME GRID
========================= */

.game-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 14px;
}

.game-card {
  overflow: hidden;

  background: white;

  border: 1px solid var(--border);

  border-radius: 21px;

  transition:
    transform 0.15s,
    box-shadow 0.15s;

  box-shadow:
    0 5px 20px rgba(75, 45, 70, 0.045);
}

.game-card:active {
  transform: scale(0.97);
}


/* GAME ART */

.game-art {
  height: 145px;

  position: relative;

  overflow: hidden;

  display: flex;

  align-items: center;

  justify-content: center;
}

.game-art::before,
.game-art::after {
  content: "";

  position: absolute;

  width: 150px;
  height: 150px;

  border-radius: 50%;

  opacity: 0.28;

  filter: blur(2px);
}

.game-art::before {
  top: -70px;
  left: -50px;
}

.game-art::after {
  bottom: -90px;
  right: -50px;
}

.mlbb {
  background:
    linear-gradient(
      135deg,
      #54e7ff,
      #b9f7ff 45%,
      #ffb8e0
    );
}

.mlbb::before {
  background: #ff65b5;
}

.mlbb::after {
  background: #d9ff55;
}

.valorant {
  background:
    linear-gradient(
      135deg,
      #f4b9ff,
      #d7c7ff 50%,
      #74eaff
    );
}

.valorant::before {
  background: #ff4fa3;
}

.valorant::after {
  background: #9b6bff;
}

.freefire {
  background:
    linear-gradient(
      135deg,
      #ffe58a,
      #ffb1c8 45%,
      #75e9ff
    );
}

.freefire::before {
  background: #ff5b83;
}

.freefire::after {
  background: #d9ff55;
}

.roblox {
  background:
    linear-gradient(
      135deg,
      #d8ff65,
      #a9f5ff 50%,
      #ffc8ea
    );
}

.roblox::before {
  background: #ff73b9;
}

.roblox::after {
  background: #57dff1;
}

.game-glow {
  width: 120px;
  height: 120px;

  border-radius: 50%;

  background: rgba(255,255,255,0.36);

  filter: blur(3px);
}

.game-symbol {
  position: absolute;

  z-index: 2;

  width: 85px;
  height: 85px;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 25px;

  background:
    rgba(255,255,255,0.75);

  border: 3px solid rgba(255,255,255,0.9);

  box-shadow:
    0 12px 30px rgba(55, 38, 70, 0.12);

  font-size: 42px;

  backdrop-filter: blur(8px);
}

.game-tag {
  position: absolute;

  top: 10px;
  right: 10px;

  z-index: 3;

  padding: 5px 8px;

  border-radius: 8px;

  background: rgba(255,255,255,0.85);

  color: var(--dark);

  font-size: 8px;

  font-weight: bold;

  letter-spacing: 0.7px;
}

.game-info {
  padding: 13px 14px 14px;
}

.game-info h3 {
  font-size: 14px;

  margin-bottom: 5px;
}

.game-info p {
  color: var(--muted);

  font-size: 10px;
}

.game-bottom {
  display: flex;

  align-items: center;

  justify-content: space-between;

  margin-top: 12px;

  padding-top: 9px;

  border-top: 1px solid #f5edf4;

  color: var(--pink);

  font-size: 9px;

  font-weight: bold;
}

.game-bottom b {
  font-size: 18px;

  line-height: 10px;
}


/* =========================
   MORE GAMES
========================= */

.horizontal-games {
  display: flex;

  gap: 11px;

  overflow-x: auto;

  scrollbar-width: none;
}

.horizontal-games::-webkit-scrollbar {
  display: none;
}

.mini-game {
  min-width: 230px;

  display: flex;

  align-items: center;

  gap: 12px;

  padding: 12px;

  border-radius: 17px;

  background: white;

  border: 1px solid var(--border);

  cursor: pointer;
}

.mini-icon {
  width: 52px;
  height: 52px;

  border-radius: 15px;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 26px;

  background:
    linear-gradient(
      135deg,
      #ffd6ed,
      #d3faff
    );
}

.mini-game h3 {
  font-size: 12px;

  margin-bottom: 4px;
}

.mini-game p {
  font-size: 9px;

  color: var(--muted);
}


/* =========================
   REWARDS
========================= */

.reward-card {
  position: relative;

  overflow: hidden;

  display: flex;

  align-items: center;

  gap: 13px;

  padding: 18px;

  margin-bottom: 15px;

  border-radius: 21px;

  background:
    linear-gradient(
      135deg,
      #f3ffd1,
      #fff3b7
    );

  border: 2px solid white;
}

.reward-pattern {
  position: absolute;

  width: 180px;
  height: 180px;

  right: -70px;
  top: -80px;

  border-radius: 50%;

  background:
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.25) 0,
      rgba(255,255,255,0.25) 10px,
      transparent 10px,
      transparent 20px
    );

  transform: rotate(20deg);
}

.reward-icon {
  position: relative;

  width: 52px;
  height: 52px;

  flex-shrink: 0;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 17px;

  background: white;

  font-size: 27px;
}

.reward-content {
  position: relative;
  flex: 1;
}

.reward-content > span {
  color: #9b7d1b;

  font-size: 8px;

  font-weight: bold;

  letter-spacing: 1px;
}

.reward-content h2 {
  font-size: 16px;

  margin: 2px 0 4px;
}

.reward-content p {
  font-size: 10px;

  color: #75694d;

  line-height: 1.4;
}

.reward-card button {
  position: relative;

  width: 38px;
  height: 38px;

  border-radius: 50%;

  background: var(--dark);

  color: white;

  font-size: 20px;
}


/* =========================
   PROMO
========================= */

.promo-card {
  position: relative;

  overflow: hidden;

  padding: 23px;

  border-radius: 23px;

  margin-bottom: 20px;

  background:
    linear-gradient(
      135deg,
      #ffc8e6,
      #c6f6ff
    );

  border: 2px solid white;
}

.promo-card::before {
  content: "";

  position: absolute;

  width: 150px;
  height: 150px;

  right: -50px;
  top: -60px;

  border-radius: 50%;

  background:
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.3) 0,
      rgba(255,255,255,0.3) 8px,
      transparent 8px,
      transparent 16px
    );
}

.promo-small {
  font-size: 8px;

  font-weight: bold;

  letter-spacing: 1px;

  color: #8f4674;
}

.promo-card h2 {
  font-size: 22px;

  line-height: 1.05;

  margin: 5px 0 8px;
}

.promo-card p {
  font-size: 10px;

  color: #655b6b;

  max-width: 250px;

  line-height: 1.5;
}

.promo-stars {
  position: absolute;

  right: 30px;
  bottom: 15px;

  font-size: 60px;

  color: white;

  opacity: 0.75;
}


/* =========================
   BOTTOM NAV
========================= */

.bottom-nav {
  position: fixed;

  left: 0;
  right: 0;
  bottom: 0;

  height: 70px;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

  background:
    rgba(255,255,255,0.96);

  border-top: 1px solid var(--border);

  z-index: 100;

  backdrop-filter: blur(15px);
}

.nav-item {
  width: 70px;

  height: 58px;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  gap: 3px;

  background: transparent;

  color: #9c929f;

  border-radius: 14px;
}

.nav-item span {
  font-size: 19px;
}

.nav-item small {
  font-size: 8px;
}

.nav-item.active {
  color: var(--pink);

  background: #fff0f8;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

  main {
    padding: 12px;
  }

  .header {
    padding: 10px 14px;
  }

  .hero {
    min-height: 255px;
  }

  .hero-overlay {
    padding: 23px;
  }

  .hero h2 {
    font-size: 30px;
  }

  .game-grid {
    gap: 10px;
  }

  .game-art {
    height: 125px;
  }

  .game-symbol {
    width: 70px;
    height: 70px;

    font-size: 34px;

    border-radius: 21px;
  }

  .game-info {
    padding: 11px;
  }

  .game-info h3 {
    font-size: 12px;
  }

  .bottom-nav {
    gap: 0;
  }

  .nav-item {
    width: 20%;
  }

}


/* =========================
   SMALL PHONES
========================= */

@media (max-width: 360px) {

  .hero h2 {
    font-size: 26px;
  }

  .game-art {
    height: 110px;
  }

  .game-symbol {
    width: 62px;
    height: 62px;

    font-size: 29px;
  }

}