/* SSC Study Dashboard — 3D control panel */
body.home{
  background:
    radial-gradient(circle at 8% 6%,rgba(31,134,255,.08),transparent 28%),
    radial-gradient(circle at 92% 18%,rgba(56,218,188,.07),transparent 26%),
    #f4f8fc;
}

/* Dashboard heading becomes a raised control-card */
body.home .entry-header{
  position:relative;
  max-width:1100px;
  margin:34px auto 22px!important;
  padding:30px 24px!important;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.18);
  border-radius:24px;
  background:
    radial-gradient(circle at 15% 0%,rgba(91,194,255,.24),transparent 30%),
    radial-gradient(circle at 90% 100%,rgba(94,234,212,.16),transparent 32%),
    linear-gradient(145deg,#07182d,#0f3157 56%,#0b2745);
  box-shadow:
    0 10px 0 #061728,
    0 24px 48px rgba(5,28,50,.24),
    inset 0 1px 0 rgba(255,255,255,.14);
  transform:translateZ(0);
}
body.home .entry-header:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
  background-size:28px 28px;
}
body.home .entry-header:after{
  content:"STUDY • PRACTICE • REVISE";
  position:relative;
  display:block;
  margin-top:10px;
  color:#8fd8ff;
  font-size:12px;
  font-weight:800;
  letter-spacing:2px;
  text-align:center;
}
body.home .entry-title{
  position:relative;
  z-index:1;
  margin:0!important;
  color:#fff!important;
  text-align:center;
  font-size:clamp(34px,6vw,62px)!important;
  line-height:1.05!important;
  font-weight:900!important;
  letter-spacing:-1.5px;
  text-shadow:
    0 2px 0 #0a2744,
    0 5px 0 rgba(2,15,29,.72),
    0 12px 24px rgba(0,0,0,.25);
}

/* Existing dashboard tool area */
body.home .ssc-hub{
  position:relative!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:20px!important;
  max-width:1100px!important;
  margin:28px auto 36px!important;
  padding:24px!important;
  border:1px solid #d8e4ef;
  border-radius:26px;
  background:
    radial-gradient(circle at 8% 0%,rgba(80,171,255,.08),transparent 26%),
    linear-gradient(145deg,#ffffff,#edf4fb);
  box-shadow:
    0 8px 0 #d6e2ee,
    0 22px 44px rgba(31,66,99,.16),
    inset 0 1px 0 #fff;
  perspective:1000px;
}
body.home .ssc-hub:before{
  content:"Quick Study Tools";
  grid-column:1/-1;
  display:block;
  margin:0 0 2px;
  color:#173752;
  font-size:15px;
  font-weight:900;
  letter-spacing:.4px;
  text-transform:uppercase;
}

/* Upgrade every existing coloured tool into a 3D tile */
body.home .ssc-hub .ssc-btn{
  position:relative!important;
  display:flex!important;
  flex-direction:column;
  justify-content:center;
  min-height:132px;
  padding:22px 18px!important;
  border:1px solid rgba(255,255,255,.46)!important;
  border-radius:20px!important;
  overflow:hidden;
  text-decoration:none!important;
  font-size:18px!important;
  font-weight:850!important;
  letter-spacing:.1px;
  box-shadow:
    0 8px 0 rgba(8,25,43,.26),
    0 16px 28px rgba(9,34,58,.18),
    inset 0 1px 0 rgba(255,255,255,.45)!important;
  transform:translateY(0) rotateX(0)!important;
  transform-style:preserve-3d;
  transition:
    transform .26s cubic-bezier(.2,.8,.2,1),
    box-shadow .26s ease,
    filter .26s ease!important;
}
body.home .ssc-hub .ssc-btn:before{
  content:""!important;
  position:absolute!important;
  top:-55%!important;
  left:-80%!important;
  width:58%!important;
  height:210%!important;
  border-radius:0!important;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.34),transparent)!important;
  transform:rotate(24deg)!important;
  transition:left .6s ease!important;
  pointer-events:none;
}
body.home .ssc-hub .ssc-btn:after{
  content:"";
  position:absolute;
  left:18px;
  right:18px;
  bottom:12px;
  height:3px;
  border-radius:99px;
  background:linear-gradient(90deg,rgba(255,255,255,.2),rgba(255,255,255,.85),rgba(255,255,255,.2));
  opacity:.55;
  box-shadow:0 0 12px rgba(255,255,255,.3);
}
body.home .ssc-hub .ssc-btn:hover{
  transform:translateY(-7px) rotateX(4deg)!important;
  filter:saturate(1.08) brightness(1.04);
  box-shadow:
    0 12px 0 rgba(8,25,43,.25),
    0 24px 38px rgba(9,34,58,.24),
    inset 0 1px 0 rgba(255,255,255,.5)!important;
}
body.home .ssc-hub .ssc-btn:hover:before{left:135%!important}
body.home .ssc-hub .ssc-btn:active{
  transform:translateY(4px)!important;
  box-shadow:
    0 3px 0 rgba(8,25,43,.24),
    0 8px 14px rgba(9,34,58,.16),
    inset 0 1px 0 rgba(255,255,255,.35)!important;
}
body.home .ssc-hub .ssc-btn span{
  position:relative;
  z-index:2;
  display:block!important;
  margin-top:8px!important;
  font-size:13px!important;
  line-height:1.4;
  opacity:.9!important;
}
body.home .ssc-hub .ssc-btn{
  color:#fff!important;
  text-shadow:0 1px 2px rgba(0,0,0,.25);
}
body.home .ssc-hub .idioms,
body.home .ssc-hub .spell{
  color:#12263a!important;
  text-shadow:none;
}

/* Give the main content itself depth */
body.home #primary{
  padding-bottom:26px;
}
body.home .ast-article-single{
  background:transparent!important;
  box-shadow:none!important;
}

@media(max-width:900px){
  body.home .entry-header{
    margin:24px 14px 20px!important;
    padding:24px 16px!important;
    border-radius:20px;
    box-shadow:
      0 7px 0 #061728,
      0 17px 30px rgba(5,28,50,.21),
      inset 0 1px 0 rgba(255,255,255,.14);
  }
  body.home .entry-title{
    font-size:clamp(34px,11vw,52px)!important;
  }
  body.home .ssc-hub{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:13px!important;
    margin:22px 12px 30px!important;
    padding:15px!important;
    border-radius:20px;
    box-shadow:
      0 6px 0 #d6e2ee,
      0 16px 30px rgba(31,66,99,.14),
      inset 0 1px 0 #fff;
  }
  body.home .ssc-hub .ssc-btn{
    min-height:118px;
    padding:16px 12px!important;
    border-radius:16px!important;
    font-size:16px!important;
    box-shadow:
      0 6px 0 rgba(8,25,43,.24),
      0 12px 20px rgba(9,34,58,.16),
      inset 0 1px 0 rgba(255,255,255,.42)!important;
  }
  body.home .ssc-hub .ssc-btn:hover{transform:none!important}
}
@media(max-width:390px){
  body.home .ssc-hub{gap:10px!important;padding:12px!important}
  body.home .ssc-hub .ssc-btn{min-height:106px;font-size:15px!important;padding:14px 9px!important}
  body.home .ssc-hub .ssc-btn span{font-size:12px!important}
}
@media(prefers-reduced-motion:reduce){
  body.home .ssc-hub .ssc-btn,
  body.home .ssc-hub .ssc-btn:before{transition:none!important}
}