/* RESET */
* {
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* BODY – QORONG‘I KOSMIK FON */
body {
  <canvas id="stars"></canvas>
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at bottom, #0b0d1a 0%, #000 100%);
  color: #fff;
  overflow-x: hidden;
 *// overflow: hidden;
}

/* CANVAS – YULDUZLAR */
#stars {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* KONTAINER */
.container {
  max-width: 420px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
  position: relative;
  z-index: 2;
}

/* DATE BOX */
.date {
  background: rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 12px;
  font-weight: bold;
  backdrop-filter: blur(10px);
  margin-bottom: 20px;
}

/* TITLE */
h1 {
  font-size: 22px;
  margin-bottom: 20px;
}

h1 span {
  color: #ff3355;
}

/* HERO */
.hero img {
  width: 100%;
  max-width: 260px;
}

/* TIMER */
.timer {
  display: flex;
  justify-content: center;
  margin: 15px 0;
  font-weight: bold;
  font-size: 22px;
}

/* BUTTON */
.btn {
  display: block;
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #ff0033, #ff3366);
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-size: 18px;
  margin: 20px 0;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 25px rgba(255,0,80,0.6);
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn:hover {
  transform: scale(1.03);
  box-shadow: 0 0 35px rgba(255,0,80,0.9);
}

/* LIST */
.list {
  text-align: left;
  margin-top: 20px;
}

.list li {
  margin-bottom: 10px;
}

/* MODAL */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.modal-content {
  background: #0f1225;
  padding: 20px;
  border-radius: 16px;
  width: 90%;
  max-width: 360px;
}

/* INPUT */
input {
  width: 100%;
  padding: 14px;
  margin: 10px 0;
  border-radius: 10px;
  border: 1px solid #333;
  background: #000;
  color: #fff;
  font-size: 16px;
}

/* =========================
   📱 MOBIL (default)
   ========================= */
/* Sizda bu allaqachon bor */


/* =========================
   📱📲 PLANSHET (768px+)
   ========================= */
@media (min-width: 768px) {
  .container {
    max-width: 640px;
    padding: 30px;
  }

  h1 {
    font-size: 28px;
    line-height: 1.3;
  }

  .timer {
    font-size: 28px;
  }

  .btn {
    font-size: 20px;
    padding: 18px;
  }

  .limit-text {
    font-size: 16px;
  }
}


/* =========================
   💻 PC / LAPTOP (1024px+)
   ========================= */
@media (min-width: 1024px) {
  .container {
    max-width: 900px;
    padding: 40px;
  }

  h1 {
    font-size: 34px;
    max-width: 800px;
    margin: 0 auto 25px;
  }

  .hero img {
    max-width: 320px;
  }

  .timer {
    font-size: 32px;
    margin: 25px 0;
  }

  .btn {
    max-width: 420px;
    margin: 30px auto;
  }

  .list {
    max-width: 600px;
    margin: 30px auto 0;
    font-size: 18px;
  }

  .limit-text {
    font-size: 18px;
  }
}
/* 📲 PLANSHET (portrait + landscape) */
@media (min-width: 768px) and (max-width: 1024px) {
  html, body {
    overflow: hidden;
  }

  .container {
    min-height: 100vh;
    justify-content: space-between; /* ❗ markaz emas */
    padding: 30px 40px;
  }

  h1 {
    font-size: 26px;
    margin-bottom: 10px;
  }

  .hero img {
    max-height: 220px; /* ❗ balandlikni cheklaymiz */
  }

  .timer {
    font-size: 26px;
    margin: 10px 0;
  }

  .list {
    font-size: 16px;
    margin-top: 10px;
  }

  .btn {
    max-width: 360px;
    margin: 15px auto;
  }
}

