@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;600;700;800&family=Nunito:wght@500;600;700;800&display=swap');

:root{
  --ink:#26354d;
  --purple:#6c63ff;
  --purple2:#8a6cff;
  --yellow:#ffd75e;
  --orange:#ff9a56;
  --blue:#4fb7ff;
  --green:#55d89b;
  --paper:#fff;
  --soft:#f6f8ff;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--ink);
  font-family:"Nunito",sans-serif;
  background:
    radial-gradient(circle at 10% 8%,#fff3c8 0 4%,transparent 4.2%),
    radial-gradient(circle at 94% 18%,#dff6ff 0 7%,transparent 7.2%),
    linear-gradient(180deg,#fbfcff 0%,#f6f9ff 55%,#fffaf0 100%);
  overflow-x:hidden;
}

.topbar{
  width:min(1180px,92%);
  margin:auto;
  height:96px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  position:relative;
  z-index:10;
}

.brand{
  text-decoration:none;
  color:var(--ink);
  display:flex;
  align-items:center;
}

.logo{
  max-width:30%;
  max-height:30%;
  object-fit:contain;
  display:block;
}

.brand-fallback{
  display:none;
  align-items:center;
  gap:11px;
  font-family:"Baloo 2",sans-serif;
  font-weight:800;
  font-size:28px;
}

.mini-logo,.footer-logo{
  width:48px;height:48px;
  display:grid;place-items:center;
  border-radius:16px;
  color:white;
  background:linear-gradient(135deg,#6c63ff,#a36cff);
  box-shadow:0 10px 25px #6c63ff35;
}

.launch-badge{
  background:#fff;
  border:1px solid #edf0f7;
  box-shadow:0 8px 30px #304a6b12;
  padding:10px 17px;
  border-radius:999px;
  font-weight:800;
  color:#6557dd;
}

.hero{
  width:min(1180px,92%);
  margin:25px auto 0;
  min-height:600px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center;
  position:relative;
}

.eyebrow{
  display:inline-flex;
  padding:9px 15px;
  background:#fff;
  border:1px solid #eeeefe;
  border-radius:999px;
  color:#665bd7;
  font-weight:800;
  box-shadow:0 8px 24px #786deb12;
}

h1,h2,h3{font-family:"Baloo 2",sans-serif;margin-top:0}
h1{
  margin:20px 0 13px;
  font-size:clamp(50px,6vw,78px);
  line-height:.95;
  letter-spacing:-2px;
}

.gradient-text{
  display:block;
  background:linear-gradient(90deg,#695eff,#b158f2 45%,#ff8e4f 95%);
  color:transparent;
  -webkit-background-clip:text;
  background-clip:text;
}

.hero-text{
  font-size:18px;
  line-height:1.75;
  max-width:580px;
  color:#66738a;
}

.coming-card{
  max-width:485px;
  margin-top:25px;
  display:flex;
  align-items:center;
  gap:14px;
  padding:15px 17px;
  border-radius:22px;
  background:linear-gradient(110deg,#6c63ff,#8e62ed);
  color:#fff;
  box-shadow:0 20px 45px #7265ef35;
  transform:rotate(-1deg);
}

.coming-card small{display:block;opacity:.85;font-weight:700}
.coming-card strong{
  display:block;
  font-family:"Baloo 2",sans-serif;
  font-size:25px;
  line-height:1.1;
}
.spark{font-size:28px}.rocket{margin-left:auto;font-size:31px;animation:rocket 2.3s ease-in-out infinite}

.mini-features{
  margin-top:24px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.mini-features span{
  font-weight:800;
  font-size:13px;
  padding:8px 12px;
  background:#fff;
  border:1px solid #edf0f8;
  border-radius:12px;
}

.hero-visual{
  min-height:490px;
  position:relative;
  display:grid;
  place-items:center;
}

.game-window{
  width:min(510px,100%);
  overflow:hidden;
  border:8px solid #fff;
  border-radius:32px;
  background:#fff;
  box-shadow:0 35px 80px #50628f28;
  transform:rotate(1.5deg);
}

.window-top{
  height:52px;
  display:flex;
  align-items:center;
  gap:7px;
  padding:0 16px;
}
.window-top span{width:10px;height:10px;border-radius:50%}
.window-top span:nth-child(1){background:#ff7979}
.window-top span:nth-child(2){background:#ffd05b}
.window-top span:nth-child(3){background:#63daa6}
.window-top b{margin-left:auto;color:#7b78a5;font-family:"Baloo 2"}

.board{
  margin:0 7px 7px;
  min-height:365px;
  border-radius:23px;
  padding:24px;
  background:
    radial-gradient(circle at 10% 15%,#fff6b5 0 6px,transparent 7px),
    radial-gradient(circle at 90% 22%,#f7baff 0 5px,transparent 6px),
    linear-gradient(145deg,#e8f4ff,#f6eaff 58%,#fff6dc);
}
.board-title{
  text-align:center;
  font-family:"Baloo 2";
  font-size:25px;
  font-weight:800;
  color:#6257cb;
}

.letter-trace{
  height:170px;
  position:relative;
  display:grid;
  place-items:center;
}
.trace-letter{
  font-family:"Baloo 2";
  font-size:118px;
  line-height:1;
  color:#ffffff85;
  -webkit-text-stroke:3px #7669e1;
  text-shadow:0 8px 18px #675cdf1a;
}
.letter-trace svg{
  width:190px;
  position:absolute;
}
.trace-path{
  fill:none;
  stroke:#ffb64f;
  stroke-width:6;
  stroke-linecap:round;
  stroke-dasharray:8 11;
  animation:dash 5s linear infinite;
}
.pencil{
  position:absolute;
  right:20%;
  top:55%;
  font-size:33px;
  animation:pencil 3s ease-in-out infinite;
}

.question{
  display:flex;
  gap:12px;
  align-items:center;
  max-width:385px;
  margin:auto;
  background:#fff;
  padding:12px 14px;
  border-radius:18px;
  box-shadow:0 10px 30px #785fb217;
}
.apple{font-size:39px}
.question small{display:block;color:#8090a9;font-weight:700}
.question strong{font-family:"Baloo 2";font-size:23px;letter-spacing:2px}
.answer-pop{
  margin-left:auto;
  background:#e2fff0;
  color:#20a564;
  border-radius:12px;
  padding:8px 10px;
  font-weight:900;
}

.float-card{
  position:absolute;
  width:110px;height:92px;
  display:flex;flex-direction:column;
  justify-content:center;align-items:center;
  border-radius:22px;
  background:#fff;
  font-size:28px;
  font-weight:900;
  box-shadow:0 20px 45px #43517320;
  animation:float 4s ease-in-out infinite;
}
.float-card span{font-size:13px;margin-top:4px}
.card-a{left:-8px;top:65px;transform:rotate(-8deg)}
.card-b{right:-12px;top:140px;animation-delay:-1.2s}
.card-c{right:25px;bottom:15px;animation-delay:-2.2s}

.games-section{
  width:min(1180px,92%);
  margin:90px auto;
}
.section-heading{
  display:flex;
  align-items:center;
  gap:13px;
  margin-bottom:26px;
}
.section-heading>span{font-size:38px}
.section-heading p{margin:0;color:#858fa2;font-weight:800;text-transform:uppercase;font-size:12px;letter-spacing:1.4px}
.section-heading h2{margin:0;font-size:36px;line-height:1}

.game-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}
.game-card{
  border:1px solid #edf0f7;
  border-radius:26px;
  background:#ffffffd9;
  backdrop-filter:blur(8px);
  padding:21px;
  box-shadow:0 16px 40px #536a8a0d;
  transition:.25s ease;
}
.game-card:hover{transform:translateY(-7px);box-shadow:0 24px 50px #536a8a1a}
.game-card h3{font-size:22px;margin:15px 0 6px}
.game-card p{color:#768399;line-height:1.55;font-size:14px;min-height:66px}

.game-icon{
  width:57px;height:57px;
  display:grid;place-items:center;
  border-radius:18px;
  font-size:25px;
  font-family:"Baloo 2";
  font-weight:800;
  color:white;
}
.purple{background:linear-gradient(135deg,#7566ff,#a568f4)}
.orange{background:linear-gradient(135deg,#ff9c4f,#ff6f69)}
.blue{background:linear-gradient(135deg,#52bfff,#4b7cff)}
.green{background:linear-gradient(135deg,#55d69a,#35bfc8)}

.demo{
  height:62px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  background:#f7f9ff;
}
.trace-demo span{
  width:32px;height:36px;display:grid;place-items:center;
  border:2px dashed #9d95ef;border-radius:9px;
  color:#6b61d8;font-family:"Baloo 2";font-weight:800;
}
.missing-demo b{margin-right:5px;font-size:18px}
.missing-demo span{
  width:29px;height:29px;display:grid;place-items:center;
  background:#fff;border-radius:8px;box-shadow:0 4px 12px #57647b18;font-weight:900;
}
.number-demo span{
  width:34px;height:34px;display:grid;place-items:center;
  border-radius:50%;
  background:#e9f5ff;color:#347fc0;font-weight:900;
}
.emoji-demo span{font-size:25px}

.notify-section{width:min(1180px,92%);margin:0 auto 55px}
.notify-box{
  display:grid;
  grid-template-columns:1.3fr 1fr;
  gap:30px;
  align-items:center;
  border-radius:34px;
  padding:36px 42px;
  color:#fff;
  background:
    radial-gradient(circle at 90% 20%,#ffffff18 0 80px,transparent 82px),
    linear-gradient(120deg,#5f58e8,#8b5ee7);
  box-shadow:0 25px 55px #675fe32e;
}
.tiny-label{font-size:11px;letter-spacing:2px;font-weight:900;color:#ddd9ff}
.notify-box h2{font-size:35px;line-height:1;margin:8px 0}
.notify-box p{margin:0;opacity:.84;line-height:1.6}
.countdown-look{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
}
.countdown-look div{
  text-align:center;
  padding:15px 8px;
  border-radius:18px;
  background:#ffffff15;
  border:1px solid #ffffff25;
}
.countdown-look strong{display:block;font-family:"Baloo 2";font-size:27px}
.countdown-look span{font-size:12px;opacity:.82;font-weight:800}

footer{
  width:min(1180px,92%);
  min-height:105px;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-top:1px solid #e8edf5;
  color:#7a879a;
  font-size:13px;
}
.footer-brand{display:flex;align-items:center;gap:10px}
.footer-logo{width:38px;height:38px;border-radius:12px;font-size:13px}
.footer-brand strong{display:block;color:#38465b;font-family:"Baloo 2";font-size:18px;line-height:1}
.footer-brand small{font-size:11px}

.sky-decor{position:fixed;inset:0;pointer-events:none;z-index:-1;overflow:hidden}
.bubble{
  position:absolute;
  display:grid;place-items:center;
  width:48px;height:48px;border-radius:15px;
  font-family:"Baloo 2";font-weight:800;
  opacity:.12;
  animation:drift 8s ease-in-out infinite;
}
.b1{left:2%;top:22%;background:#715fff;color:#715fff}
.b2{right:4%;top:30%;background:#ff8a50;color:#ff8a50;animation-delay:-2s}
.b3{left:7%;top:72%;background:#4bbfff;color:#4bbfff;animation-delay:-4s}
.b4{right:8%;top:78%;background:#5fd6a0;color:#5fd6a0;animation-delay:-1s}
.b5{left:46%;top:7%;background:#ef70e7;color:#ef70e7;animation-delay:-5s}
.b6{right:30%;bottom:2%;background:#f6bc38;color:#f6bc38}

@keyframes float{
  0%,100%{transform:translateY(0) rotate(-3deg)}
  50%{transform:translateY(-14px) rotate(3deg)}
}
@keyframes rocket{
  0%,100%{transform:translate(0,0) rotate(0)}
  50%{transform:translate(5px,-6px) rotate(8deg)}
}
@keyframes dash{to{stroke-dashoffset:-190}}
@keyframes pencil{
  0%,100%{transform:translate(0,0) rotate(-10deg)}
  50%{transform:translate(-55px,-42px) rotate(-18deg)}
}
@keyframes drift{
  0%,100%{transform:translateY(0) rotate(0)}
  50%{transform:translateY(-25px) rotate(12deg)}
}

@media (max-width:900px){
  .hero{grid-template-columns:1fr;gap:25px;padding-top:20px}
  .hero-copy{text-align:center}
  .hero-text,.coming-card{margin-left:auto;margin-right:auto}
  .mini-features{justify-content:center}
  .hero-visual{margin-top:10px}
  .game-grid{grid-template-columns:repeat(2,1fr)}
  .notify-box{grid-template-columns:1fr;text-align:center}
}

@media (max-width:560px){
  .topbar{height:80px}
  .logo{max-width:145px;max-height:52px}
  .launch-badge{font-size:11px;padding:8px 11px}
  .hero{width:90%;margin-top:5px}
  h1{font-size:48px}
  .hero-text{font-size:16px}
  .hero-visual{min-height:410px}
  .game-window{border-width:5px}
  .board{padding:16px;min-height:330px}
  .float-card{width:78px;height:70px;font-size:22px;border-radius:17px}
  .float-card span{font-size:10px}
  .card-a{left:-12px}
  .card-b{right:-12px}
  .game-grid{grid-template-columns:1fr}
  .games-section{margin-top:55px}
  .notify-box{padding:27px 18px}
  .notify-box h2{font-size:28px}
  .countdown-look strong{font-size:21px}
  footer{flex-direction:column;justify-content:center;gap:10px;padding:24px 0;text-align:center}
}
