
/* ===============================
   DARABQUEST v3.2 Full Visual Redesign
   =============================== */

body.dq320-site{
  background:
    radial-gradient(circle at 6% 10%, rgba(255,210,72,.28), transparent 14%),
    radial-gradient(circle at 92% 12%, rgba(76,170,255,.24), transparent 15%),
    radial-gradient(circle at 16% 80%, rgba(255,122,170,.14), transparent 16%),
    radial-gradient(circle at 84% 78%, rgba(53,208,127,.14), transparent 16%),
    linear-gradient(180deg,#fffaf1 0%, #f4f3ff 26%, #eef8ff 58%, #fbfbff 78%, #fffef8 100%);
  color:#1f2747;
}
.dq320-nav-shell{
  position:sticky;
  top:0;
  z-index:50;
  padding:16px 0 10px;
  background:linear-gradient(180deg, rgba(255,250,241,.92), rgba(255,250,241,.72), rgba(255,250,241,0));
  backdrop-filter:blur(8px);
}
.dq320-nav{
  max-width:1380px;
  margin:auto;
  border-radius:26px;
  background:rgba(255,255,255,.86);
  border:1px solid rgba(231,235,248,.9);
  box-shadow:0 16px 35px rgba(50,60,145,.08);
}
.dq320-site .logo{
  border-radius:20px;
  box-shadow:0 12px 30px rgba(93,80,255,.18);
}
.dq320-landing{
  max-width:1380px;
  margin:auto;
  padding:0 28px 40px;
  position:relative;
}
.dq320-landing:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background-image:
    radial-gradient(circle at 10% 14%, rgba(255,255,255,.9) 0 2px, transparent 2.3px),
    radial-gradient(circle at 28% 12%, rgba(255,225,138,.75) 0 2px, transparent 2.4px),
    radial-gradient(circle at 43% 18%, rgba(255,255,255,.75) 0 2px, transparent 2.3px),
    radial-gradient(circle at 72% 16%, rgba(255,255,255,.75) 0 2px, transparent 2.3px),
    radial-gradient(circle at 88% 20%, rgba(255,232,160,.72) 0 2px, transparent 2.3px);
  opacity:.7;
}
.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 15px;
  border-radius:999px;
  background:#f2edff;
  color:#5f56ff;
  border:1px solid #e4dfff;
  font-size:13px;
  font-weight:1000;
}
.dq320-hero{
  display:grid;
  grid-template-columns:1.02fr .98fr;
  gap:26px;
  align-items:center;
  padding:18px 0 34px;
  position:relative;
}
.dq320-hero-copy,
.dq320-hero-world{
  position:relative;
  z-index:2;
}
.dq320-hero-copy{
  padding:44px 46px;
  border-radius:38px;
  background:
    radial-gradient(circle at 100% 0, rgba(255,222,145,.35), transparent 22%),
    radial-gradient(circle at 0 100%, rgba(168,226,255,.26), transparent 18%),
    linear-gradient(180deg,#fffefb 0%, #fffdf6 100%);
  border:1px solid #ece7df;
  box-shadow:0 22px 48px rgba(64,77,160,.08);
}
.dq320-hero-copy h1{
  margin:18px 0 18px;
  font-size:76px;
  line-height:.98;
  letter-spacing:-2.8px;
}
.dq320-hero-copy h1 span{
  background:linear-gradient(90deg,#6257ff 0%,#a957f7 40%,#ff6d8d 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.dq320-hero-copy p{
  font-size:19px;
  line-height:1.8;
  color:#5e6887;
  max-width:720px;
}
.cta-row{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:20px;
}
.dq320-pill-row{
  margin-top:18px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.dq320-pill-row span{
  background:#fff;
  border:1px solid #e8ebf5;
  border-radius:999px;
  padding:10px 14px;
  font-size:13px;
  font-weight:900;
  color:#5a6483;
  box-shadow:0 10px 20px rgba(38,49,121,.05);
}
.dq320-mini-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin-top:18px;
}
.dq320-mini-stats div{
  padding:16px;
  border-radius:22px;
  background:#fff;
  border:1px solid #e8ebf5;
  box-shadow:0 12px 22px rgba(38,49,121,.05);
}
.dq320-mini-stats small{
  display:block;
  color:#7a85a1;
  font-size:11px;
  font-weight:900;
}
.dq320-mini-stats b{
  display:block;
  margin-top:7px;
  font-size:24px;
}

.dq320-hero-world{
  min-height:700px;
  border-radius:42px;
  overflow:hidden;
  border:1px solid #e5ebf6;
  box-shadow:0 22px 48px rgba(64,77,160,.10);
  background:
    linear-gradient(180deg,#dff3ff 0%, #e9e6ff 39%, #fef1d8 68%, #dff6c9 100%);
}
.sky-sun{
  position:absolute;
  width:140px;height:140px;border-radius:50%;
  right:56px;top:42px;
  background:radial-gradient(circle,#ffd95d 0%, #ffc44d 50%, rgba(255,196,77,0) 72%);
  opacity:.95;
}
.sky-cloud{
  position:absolute;
  border-radius:999px;
  background:rgba(255,255,255,.88);
  box-shadow:0 12px 28px rgba(56,72,132,.06);
}
.sky-cloud:before,.sky-cloud:after{
  content:"";
  position:absolute;
  border-radius:50%;
  background:inherit;
}
.cloud1{left:70px;top:92px;width:150px;height:44px}
.cloud1:before{width:55px;height:55px;left:18px;top:-18px}
.cloud1:after{width:68px;height:68px;left:65px;top:-26px}
.cloud2{right:120px;top:155px;width:120px;height:38px}
.cloud2:before{width:45px;height:45px;left:16px;top:-15px}
.cloud2:after{width:56px;height:56px;left:54px;top:-22px}
.cloud3{left:420px;top:62px;width:96px;height:30px}
.cloud3:before{width:38px;height:38px;left:12px;top:-14px}
.cloud3:after{width:44px;height:44px;left:42px;top:-17px}

.floating-loot{
  position:absolute;
  display:grid;
  place-items:center;
  font-size:28px;
  background:#fff;
  border-radius:22px;
  box-shadow:0 16px 35px rgba(42,56,126,.10);
}
.loot-star{right:48px;top:230px;width:72px;height:72px}
.loot-coin{left:52px;top:240px;width:72px;height:72px}
.loot-gift{right:76px;bottom:180px;width:72px;height:72px}
.loot-rocket{left:46%;top:135px;width:66px;height:66px}

.mascot{
  position:absolute;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.90);
  box-shadow:0 20px 40px rgba(42,56,126,.10);
}
.mascot-left{left:130px;top:290px;width:120px;height:120px;border-radius:28px;font-size:68px}
.mascot-mid{left:50%;top:245px;transform:translateX(-50%);width:158px;height:158px;border-radius:34px;font-size:88px}
.mascot-right{right:130px;top:295px;width:120px;height:120px;border-radius:28px;font-size:68px}

.hero-quiz-card{
  position:absolute;
  left:50%;
  top:360px;
  transform:translateX(-50%);
  width:min(520px, calc(100% - 70px));
  background:#fff;
  border-radius:34px;
  border:1px solid #e8ebf6;
  box-shadow:0 24px 48px rgba(42,56,126,.12);
  padding:22px;
  z-index:4;
}
.quiz-top{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center;
}
.quiz-top b{font-size:18px}
.quiz-top span{font-size:13px;font-weight:900;color:#7a84a0}
.quiz-problem{
  font-size:56px;
  font-weight:1000;
  text-align:center;
  margin:20px 0 18px;
}
.quiz-options{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
}
.quiz-options span{
  min-height:72px;
  display:grid;
  place-items:center;
  font-size:22px;
  font-weight:1000;
  color:#263050;
  background:#f7f9ff;
  border:2px solid #e3e7f5;
  border-radius:18px;
}
.quiz-options span.correct{
  background:#ebfff0;
  border-color:#81d69a;
  color:#167641;
}
.quiz-bar{
  height:12px;
  border-radius:999px;
  background:#e8ebfa;
  overflow:hidden;
  margin-top:16px;
}
.quiz-bar i{
  display:block;
  width:62%;
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg,#6257ff,#37baf7);
}
.dq320-hills{
  position:absolute;
  left:0;right:0;bottom:0;height:230px;
}
.hill{
  position:absolute;
  bottom:0;border-radius:50% 50% 0 0/100% 100% 0 0;
}
.hill1{left:-10%;width:55%;height:150px;background:linear-gradient(180deg,#b4edb8,#81da8f)}
.hill2{left:28%;width:46%;height:180px;background:linear-gradient(180deg,#ffd978,#ffc966)}
.hill3{right:-8%;width:48%;height:158px;background:linear-gradient(180deg,#bde8ff,#8fd8ff)}
.level-path{
  position:absolute;
  left:36px;right:36px;bottom:44px;
  display:flex;
  justify-content:space-between;
  gap:10px;
  z-index:5;
}
.level-path:before{
  content:"";
  position:absolute;
  left:5%;right:5%;top:35px;height:8px;
  border-radius:999px;
  background:rgba(255,255,255,.75);
  z-index:-1;
}
.path-node{
  min-width:78px;
  text-align:center;
}
.path-node span{
  width:68px;height:68px;
  display:grid;
  place-items:center;
  margin:0 auto 8px;
  border-radius:50%;
  font-size:24px;
  font-weight:1000;
  box-shadow:0 12px 30px rgba(42,56,126,.12);
}
.path-node.active span{
  background:linear-gradient(180deg,#fff,#fff8da);
  border:3px solid #ffd96e;
}
.path-node.locked span{
  background:#f0f2fa;
  border:3px solid #dfe5f3;
  color:#9aa4bf;
}
.path-node small{
  font-size:11px;
  font-weight:900;
  color:#44506f;
}
.bottom-reward{
  position:absolute;
  bottom:28px;
  padding:14px 18px;
  background:rgba(255,255,255,.95);
  border-radius:20px;
  box-shadow:0 16px 30px rgba(42,56,126,.10);
  font-weight:1000;
  z-index:6;
}
.reward-left{left:42px;font-size:23px}
.reward-right{right:34px;font-size:20px;color:#137c3e;background:#eefef1}

.dq320-section{
  position:relative;
  margin-top:14px;
  padding:26px 0 8px;
}
.dq320-section .section-center{
  position:relative;
  z-index:2;
}
.dq320-section .section-center h2{
  font-size:48px;
  line-height:1.1;
  margin-top:14px;
}
.dq320-section .section-center p{
  max-width:820px;
  margin:12px auto 0;
  font-size:18px;
  line-height:1.8;
  color:#60698a;
}
.dq320-section:before{
  content:"";
  position:absolute;
  inset:18px -8px;
  border-radius:40px;
  background:linear-gradient(180deg,rgba(255,255,255,.72),rgba(255,255,255,.56));
  box-shadow:0 18px 36px rgba(45,60,120,.04);
}
.dq320-feature-grid{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  margin-top:28px;
}
.feature-card{
  background:#fff;
  border-radius:30px;
  padding:28px 22px;
  border:1px solid #e8ebf6;
  box-shadow:0 18px 36px rgba(42,56,126,.08);
  text-align:center;
  position:relative;
  overflow:hidden;
}
.feature-card:after{
  content:"";
  position:absolute;
  width:120px;height:120px;
  right:-42px;top:-42px;
  border-radius:50%;
}
.feature-card .icon{
  width:84px;height:84px;
  display:grid;place-items:center;
  margin:0 auto 14px;
  border-radius:25px;
  font-size:42px;
}
.fc-yellow .icon{background:#fff8dc}
.fc-yellow:after{background:rgba(255,214,77,.15)}
.fc-purple .icon{background:#f3edff}
.fc-purple:after{background:rgba(139,92,246,.12)}
.fc-blue .icon{background:#e8f7ff}
.fc-blue:after{background:rgba(41,182,246,.12)}
.fc-green .icon{background:#ebfff1}
.fc-green:after{background:rgba(53,208,127,.12)}
.feature-card h3{font-size:23px;margin:8px 0 10px}
.feature-card p{font-size:15px;line-height:1.7;color:#64708d}

.world-map-board{
  position:relative;
  z-index:2;
  margin-top:28px;
  border-radius:34px;
  padding:34px;
  background:
    radial-gradient(circle at 12% 16%, rgba(255,255,255,.65), transparent 15%),
    linear-gradient(180deg,#e6f6ff 0%, #e9e3ff 38%, #fff2cf 64%, #e8fbd8 100%);
  border:1px solid #e7ebf6;
  box-shadow:0 20px 42px rgba(42,56,126,.08);
}
.map-track{
  position:relative;
  min-height:330px;
}
.map-track:before{
  content:"";
  position:absolute;
  left:10%;right:10%;top:48%;
  height:12px;
  border-radius:999px;
  background:linear-gradient(90deg,#6b63ff,#31baf9,#ffd869,#6fd48c);
  opacity:.45;
}
.map-stage{
  position:absolute;
  width:130px;
  text-align:center;
  background:#fff;
  border-radius:24px;
  padding:16px 12px;
  border:1px solid #e8ebf6;
  box-shadow:0 16px 32px rgba(42,56,126,.08);
}
.map-stage span{display:block;font-size:38px}
.map-stage b{display:block;font-size:26px;margin-top:2px}
.map-stage small{display:block;font-size:12px;color:#66718f;font-weight:800}
.map-stage.unlocked{border:2px solid #ffe07c}
.map-stage.ms1{left:2%;top:24px}
.map-stage.ms2{left:19%;top:120px}
.map-stage.ms3{left:34%;top:26px}
.map-stage.ms4{left:49%;top:132px}
.map-stage.ms5{left:64%;top:32px}
.map-stage.ms6{left:78%;top:132px}
.map-stage.ms7{left:58%;top:225px}
.map-stage.ms8{left:22%;top:225px}

.dq320-gameshowcase .game-showcase{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:28px;
}
.game-tile{
  border-radius:30px;
  padding:24px;
  border:1px solid rgba(231,235,248,.95);
  box-shadow:0 18px 36px rgba(42,56,126,.08);
  position:relative;
  overflow:hidden;
}
.game-tile:after{
  content:"";
  position:absolute;
  width:140px;height:140px;
  right:-55px;top:-55px;border-radius:50%;
}
.game-tile span{font-size:42px;display:block}
.game-tile h3{font-size:24px;margin:12px 0 8px}
.game-tile p{font-size:15px;line-height:1.7;color:#596381}
.flash{background:linear-gradient(135deg,#fff6d8,#ffffff)}
.flash:after{background:rgba(255,214,77,.20)}
.balloon{background:linear-gradient(135deg,#ffe4f1,#ffffff)}
.balloon:after{background:rgba(255,120,173,.16)}
.race{background:linear-gradient(135deg,#e4f6ff,#ffffff)}
.race:after{background:rgba(41,182,246,.16)}
.boss{background:linear-gradient(135deg,#efe6ff,#ffffff)}
.boss:after{background:rgba(139,92,246,.18)}
.memory{background:linear-gradient(135deg,#e8fff1,#ffffff)}
.memory:after{background:rgba(53,208,127,.16)}
.reward{background:linear-gradient(135deg,#fff2df,#ffffff)}
.reward:after{background:rgba(255,159,67,.16)}

.dq320-parent-section{
  display:grid;
  grid-template-columns:1fr .92fr;
  gap:24px;
  align-items:center;
}
.dq320-parent-section:before{
  inset:10px -8px;
}
.parent-copy{
  position:relative;
  z-index:2;
}
.parent-copy h2{
  font-size:50px;
  line-height:1.08;
  margin:14px 0 14px;
}
.parent-copy p{
  font-size:18px;
  line-height:1.8;
  color:#60698a;
}
.parent-tags{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}
.parent-tags span{
  background:#fff;
  border:1px solid #e8ebf6;
  border-radius:999px;
  padding:10px 14px;
  font-weight:900;
  font-size:13px;
  color:#57607d;
  box-shadow:0 10px 22px rgba(42,56,126,.05);
}
.parent-report-card{
  position:relative;
  z-index:2;
  background:#fff;
  border:1px solid #e8ebf6;
  border-radius:32px;
  padding:24px;
  box-shadow:0 18px 36px rgba(42,56,126,.08);
}
.report-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
}
.report-header span{
  background:#eef2ff;
  color:#5d57ff;
  border-radius:999px;
  padding:8px 12px;
  font-size:12px;
  font-weight:900;
}
.report-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
  margin-top:18px;
}
.report-grid div{
  background:#f9fbff;
  border:1px solid #e7ebf6;
  border-radius:22px;
  padding:16px;
}
.report-grid small{
  display:block;
  font-size:11px;
  color:#7884a0;
  font-weight:900;
}
.report-grid b{
  display:block;
  margin-top:6px;
  font-size:30px;
}
.weak-focus{
  margin-top:18px;
  background:#fff8e0;
  border:1px solid #ffe39e;
  border-radius:22px;
  padding:18px;
}
.weak-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:10px;
}
.weak-tags span{
  background:#fff;
  border:1px solid #ffe1a0;
  border-radius:999px;
  padding:9px 12px;
  color:#675300;
  font-weight:900;
}

.dq320-avatar-section .avatar-row{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:16px;
  margin-top:28px;
}
.avatar-card{
  background:#fff;
  border:1px solid #e8ebf6;
  border-radius:28px;
  padding:22px 12px;
  text-align:center;
  box-shadow:0 18px 36px rgba(42,56,126,.08);
  position:relative;
  overflow:hidden;
}
.avatar-card:after{
  content:"";
  position:absolute;
  width:120px;height:120px;
  right:-45px;top:-45px;border-radius:50%;
  background:rgba(98,87,255,.09);
}
.avatar-card span{display:block;font-size:68px}
.avatar-card b{display:block;margin-top:12px;font-size:18px}

.dq320-price-grid{
  position:relative;
  z-index:2;
}
.dq320-price-grid .price-card{
  background:#fff;
  border-radius:30px;
  border:1px solid #e8ebf6;
  box-shadow:0 18px 36px rgba(42,56,126,.08);
  overflow:hidden;
}
.dq320-price-grid .price-card.featured{
  transform:translateY(-10px);
  background:linear-gradient(180deg,#fff 0%, #f5f1ff 100%);
}
.plan-icon{
  width:82px;height:82px;
  display:grid;place-items:center;
  margin:4px auto 14px;
  border-radius:26px;
  font-size:42px;
  background:linear-gradient(145deg,#f3f1ff,#edf7ff);
}
.dq320-school-banner{
  margin-top:26px;
  padding:30px 34px;
  border-radius:34px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  background:linear-gradient(120deg,#5f57ff 0%, #8b55ff 42%, #31baf9 100%);
  color:#fff;
  box-shadow:0 22px 46px rgba(67,78,170,.18);
  position:relative;
  overflow:hidden;
}
.dq320-school-banner:before,
.dq320-school-banner:after{
  content:"";
  position:absolute;
  border-radius:50%;
  background:rgba(255,255,255,.10);
}
.dq320-school-banner:before{width:180px;height:180px;left:-40px;top:-40px}
.dq320-school-banner:after{width:140px;height:140px;right:-24px;bottom:-30px}
.dq320-school-banner .public-kicker,
.dq320-school-banner h2,
.dq320-school-banner p{
  color:#fff;
}
.dq320-school-banner h2{
  margin:10px 0 8px;
  font-size:34px;
}
.dq320-school-banner p{
  margin:0;
  max-width:780px;
  line-height:1.7;
  opacity:.95;
}
.dq320-school-banner .btn.light{
  background:#fff;
  color:#4e4dff;
}

.dq320-price-hero{
  padding:18px 0 6px;
}
.dq320-price-hero .section-center{
  padding:34px 18px 8px;
}
.dq320-price-hero .section-center h1{
  font-size:56px;
  line-height:1.08;
}

.dq320-site .faq details{
  position:relative;
  z-index:2;
  background:rgba(255,255,255,.92);
  border:1px solid #e9edf7;
  box-shadow:0 12px 26px rgba(42,56,126,.05);
}
.public-footer{
  margin-top:28px;
}

@keyframes floaty{
  0%{transform:translateY(0)}
  50%{transform:translateY(-10px)}
  100%{transform:translateY(0)}
}
@keyframes drift{
  0%{transform:translateX(0)}
  50%{transform:translateX(12px)}
  100%{transform:translateX(0)}
}
.floating-loot,.mascot{animation:floaty 4.5s ease-in-out infinite}
.loot-star{animation-delay:.3s}
.loot-coin{animation-delay:.8s}
.loot-gift{animation-delay:1.1s}
.loot-rocket{animation-delay:.5s}
.cloud1,.cloud2,.cloud3{animation:drift 9s ease-in-out infinite}
.cloud2{animation-delay:1s}
.cloud3{animation-delay:2s}

@media (max-width:1150px){
  .dq320-hero,
  .dq320-parent-section{
    grid-template-columns:1fr;
  }
  .dq320-feature-grid,
  .dq320-gameshowcase .game-showcase,
  .dq320-avatar-section .avatar-row{
    grid-template-columns:repeat(2,1fr);
  }
  .dq320-hero-copy h1{font-size:60px}
  .dq320-hero-world{min-height:760px}
  .map-stage{position:relative!important;left:auto!important;top:auto!important;margin:0}
  .map-track{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;min-height:auto}
  .map-track:before{display:none}
  .dq320-school-banner{flex-direction:column;align-items:flex-start}
}
@media (max-width:760px){
  .dq320-landing{padding:0 16px 34px}
  .dq320-nav-shell{padding-top:10px}
  .dq320-nav{border-radius:20px}
  .dq320-hero{padding-top:8px}
  .dq320-hero-copy,
  .dq320-hero-world{
    padding:24px;
    border-radius:28px;
  }
  .dq320-hero-copy h1{
    font-size:44px;
    letter-spacing:-1.4px;
  }
  .dq320-hero-copy p,
  .dq320-section .section-center p,
  .parent-copy p{
    font-size:16px;
  }
  .dq320-mini-stats,
  .dq320-feature-grid,
  .dq320-gameshowcase .game-showcase,
  .dq320-avatar-section .avatar-row,
  .price-grid{
    grid-template-columns:1fr;
  }
  .dq320-section .section-center h2,
  .parent-copy h2,
  .dq320-price-hero .section-center h1{
    font-size:35px;
  }
  .dq320-hero-world{
    min-height:760px;
  }
  .mascot-left{left:36px;top:235px;width:90px;height:90px;font-size:52px}
  .mascot-mid{top:190px;width:120px;height:120px;font-size:68px}
  .mascot-right{right:34px;top:235px;width:90px;height:90px;font-size:52px}
  .hero-quiz-card{
    width:calc(100% - 28px);
    top:315px;
  }
  .quiz-problem{font-size:42px}
  .quiz-options span{min-height:62px;font-size:19px}
  .level-path{
    left:14px;right:14px;bottom:22px;
    overflow-x:auto;
    padding-bottom:8px;
  }
  .path-node{min-width:84px}
  .bottom-reward{font-size:17px}
  .reward-left{left:16px}
  .reward-right{right:16px}
  .dq320-school-banner{
    padding:24px 22px;
    border-radius:26px;
  }
}
