/* GGE 0.5.0 — cheerful English classroom × Gayo visual heritage */
:root{
  --eg-ink:#183F57;
  --eg-body:#3D596E;
  --eg-muted:#5B7081;
  --eg-forest:#086D6F;
  --eg-forest2:#129794;
  --eg-teal:#028F98;
  --eg-mint:#CAFAE6;
  --eg-cream:#FFF0B5;
  --eg-gold:#FFC84D;
  --eg-coral:#FF7383;
  --eg-blue:#BFEFFF;
  --eg-lavender:#E3D5FF;
  --eg-radius:23px;
}
.eg-body{
  background:
    radial-gradient(circle at 7% 9%,rgba(255,197,55,.52),transparent 25%),
    radial-gradient(circle at 96% 18%,rgba(78,208,249,.38),transparent 26%),
    radial-gradient(circle at 4% 64%,rgba(255,125,175,.29),transparent 28%),
    radial-gradient(circle at 95% 85%,rgba(116,222,185,.38),transparent 28%),
    linear-gradient(160deg,#FFFAEC 0%,#EFFFFA 37%,#F5F1FF 70%,#FFF5E2 100%);
}
.eg-body::before{
  background-image:url('../img/gayo-roof.png'),url('../img/gayo-border.png'),url('../img/gge-school-doodles.svg');
  background-position:right -48px top 120px,left -70px bottom 95px,center top;
  background-size:242px auto,480px auto,780px auto;
  opacity:.21;
}
.eg-body h1,.eg-body h2,.eg-body h3{letter-spacing:-.025em}
.eg-body h1{line-height:1.13}
.eg-body .eg-pill{font-weight:850}
.eg-card{border-radius:22px;border-color:#CDE5E7;box-shadow:0 12px 28px rgba(31,91,117,.09)}
.eg-btn{font-weight:850;box-shadow:0 8px 0 rgba(15,113,106,.13),0 15px 28px rgba(24,90,101,.13)!important}
.eg-body .eg-btn{background:#0E9B99;border-color:#0E9B99}
.eg-body .eg-btn:hover{background:#067B83;transform:translateY(-2px)}
.eg-body .eg-btn--ghost{background:#fff;color:#086A7B!important;border-color:#7DD9D5;box-shadow:0 5px 0 rgba(18,130,141,.10)!important}
.eg-body .eg-btn--gold{background:#FFD460;border-color:#FFD460;color:#18475A!important;box-shadow:0 5px 0 rgba(176,123,39,.18)!important}
.eg-top{background:rgba(255,255,255,.97)}
.eg-top::after,.eg-footer::before{
  opacity:.74;
  height:9px;
  background-size:178px auto;
}
.eg-logo-copy small{letter-spacing:.13em}
.eg-logo-mark{background:#F4FFF5!important}
.eg-section-head h2{font-weight:850}
.eg-section-head .eg-overline{color:#138C87}
.eg-iconbox{box-shadow:0 5px 0 rgba(29,120,129,.05)}
/* Make the two main surfaces inviting, energetic and spacious. */
.eg-landing-hero{
  position:relative;
  background:
    radial-gradient(circle at 80% 14%,rgba(102,216,245,.62),transparent 39%),
    radial-gradient(circle at 9% 92%,rgba(255,204,69,.43),transparent 41%),
    linear-gradient(120deg,#FFFDF5 0%,#FFF2C8 47%,#D9F6FF 100%);
  border:3px solid #FFFFFF;
  border-radius:32px;
  box-shadow:0 13px 0 rgba(255,192,73,.15),0 29px 55px rgba(25,96,115,.13);
  overflow:hidden;
}
.eg-landing-hero::before{
  width:7px;background:linear-gradient(180deg,#F25E74 0 25%,#FFCF50 25% 50%,#0AAF9E 50% 75%,#7376EF 75%);opacity:1;
}
.eg-landing-hero::after{height:12px;opacity:.75;background-size:185px auto}
.eg-landing-hero .eg-hero-text h1{color:#134A67;font-weight:850;max-width:610px;text-shadow:0 2px 0 rgba(255,255,255,.65)}
.eg-landing-hero .eg-hero-text h1::first-line{color:#096F83}
.eg-landing-hero .eg-lead{color:#375C6B;font-weight:550}
.eg-body .eg-pill--eyebrow{background:#FFF6D6;color:#A15E18;border:2px solid #FFDA78;box-shadow:0 4px 0 rgba(255,192,73,.2)}
.eg-hero-benefits span{border:1px solid #D3EFDF;background:#FFFFFFE8;box-shadow:0 5px 12px rgba(27,121,119,.04)}
.eg-cheerline,.eg-student-cheer{
  display:inline-flex;flex-wrap:wrap;align-items:center;gap:7px;
  margin:16px 0 6px;padding:10px 15px;border-radius:16px;
  background:#FFE9A4;border:1px solid #FFCD5B;
  color:#8C4F14;font-size:14px;font-weight:850;
  box-shadow:0 5px 0 rgba(252,186,60,.16);
}
.eg-landing-hero .eg-hero-benefits{margin-top:18px}
.eg-hero-floating{border-radius:16px;border:2px solid #FFFFFF;box-shadow:0 8px 0 rgba(16,115,105,.10),0 16px 24px rgba(33,102,115,.12)}
.eg-hero-floating--top{background:#FFE8A3;transform:rotate(-7deg)}
.eg-hero-floating--bottom{background:#D9FDEB;transform:rotate(6deg)}
/* The new scene is a single card composition: background SVG + supplied transparent students. */
.eg-landing-hero .eg-scene.eg-joy-scene,.eg-student-hero .eg-scene.eg-joy-scene,.eg-joy-scene{
  background:#CFF7EB;border:5px solid #FFFFFF;border-radius:27px;
  box-shadow:0 11px 0 rgba(11,125,125,.13),0 19px 28px rgba(25,103,118,.13);
  isolation:isolate;overflow:hidden;
}
.eg-joy-scene .eg-scene-bg{z-index:0!important;object-fit:cover!important;filter:saturate(1.15)}
.eg-joy-scene::before{display:none!important}
.eg-joy-scene .eg-scene-students{
  left:50%!important;bottom:-5px!important;
  width:calc(100% + 24px)!important;
  height:auto!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:contain!important;object-position:center bottom!important;
  transform:translateX(-50%)!important;z-index:1!important;
  filter:drop-shadow(0 11px 10px rgba(6,75,83,.12));
}
.eg-joy-scene::after{
  z-index:3!important;height:11px!important;
  background:url('../img/gayo-border.png') center/175px auto repeat-x!important;
  opacity:.57!important;pointer-events:none;
}
.eg-joy-scene .eg-scene-sticker{
  z-index:4;right:12px;top:auto;bottom:17px;
  border:2px solid #FFFFFF;background:#FFD766;color:#804B17;
  padding:8px 13px;font-weight:900;letter-spacing:.02em;
  box-shadow:0 5px 0 rgba(174,120,36,.20),0 10px 21px rgba(0,0,0,.10);
  transform:rotate(-4deg);
}
.eg-landing-hero .eg-hero-showcase::before{width:80px;height:80px;top:-32px;right:-12px;z-index:6;opacity:.95}
/* Color rhythm across learning and achievement modules */
.eg-journey-grid .eg-step{
  position:relative;overflow:hidden;border-radius:24px;
  box-shadow:0 7px 0 rgba(29,120,129,.065),0 15px 25px rgba(29,120,129,.065);
  transform:translateY(0);transition:transform .2s ease,box-shadow .2s ease;
}
.eg-journey-grid .eg-step:hover{transform:translateY(-5px);box-shadow:0 13px 0 rgba(29,120,129,.08),0 18px 28px rgba(29,120,129,.10)}
.eg-journey-grid .eg-step:nth-child(1){background:#D7F9F3;border-color:#7EDECE}
.eg-journey-grid .eg-step:nth-child(2){background:#FFF1BF;border-color:#FFD876}
.eg-journey-grid .eg-step:nth-child(3){background:#FFE1D7;border-color:#FFB5A6}
.eg-journey-grid .eg-step:nth-child(4){background:#E7DFFF;border-color:#C2B0F9}
.eg-journey-grid .eg-step:nth-child(5){background:#DAF2FF;border-color:#A6DAFA}
.eg-journey-grid .eg-step .eg-iconbox{background:#FFFFFFC8;border:2px solid #FFFFFF;font-weight:850}
.eg-feature-main{background:linear-gradient(115deg,#087C99,#08A998);box-shadow:0 11px 0 rgba(13,131,135,.15),0 24px 34px rgba(26,116,129,.14)}
.eg-feature-cards .eg-feature-card{border-width:2px;border-radius:21px}
.eg-culture-panel{border-radius:28px;background:linear-gradient(135deg,#FFF5C8,#FFFDF3);border:3px solid #F5D57D;box-shadow:0 11px 0 rgba(248,200,73,.15)}
.eg-culture-art{background:linear-gradient(155deg,#03778D,#0D7D77)}
.eg-culture-tags span{background:#FFFFFF;border-color:#F5D98B}
.eg-trust-grid>.eg-card{border-radius:23px}
/* Student: welcoming pastel banner, playful progress, distinct colored entry points. */
.eg-student-hero{
  border:3px solid #fff!important;
  background:
    radial-gradient(circle at 96% 5%,rgba(118,217,248,.45),transparent 42%),
    radial-gradient(circle at 8% 95%,rgba(255,202,96,.36),transparent 40%),
    linear-gradient(115deg,#FFEFBC,#FFF9F1 42%,#D9F7EE 100%);
  box-shadow:0 10px 0 rgba(255,202,84,.18),0 21px 35px rgba(20,106,122,.1);
}
.eg-student-hero .eg-hero-text h1{color:#0C6E82;font-weight:850}
.eg-student-hero .eg-hero-text h1 .eg-hello-emoji{color:#FF9273}
.eg-student-hero .eg-hero-text>.eg-lead{color:#335D70;font-weight:550}
.eg-student-cheer{font-size:12px;margin:4px 0 12px;background:#FFF7D8;padding:8px 12px}
.eg-student-cheer span{color:#FF7484}
.eg-student-quicklinks a{border:2px solid #FFFFFF!important;box-shadow:0 5px 0 rgba(14,137,140,.11)!important;font-weight:850}
.eg-student-quicklinks a:nth-child(1){background:#BFF5E7!important;color:#116D6F!important}
.eg-student-quicklinks a:nth-child(2){background:#FCE2B4!important;color:#915918!important}
.eg-student-quicklinks a:nth-child(3){background:#E8D9FF!important;color:#6849A2!important}
.eg-continue-feature{border-radius:20px;box-shadow:0 8px 0 rgba(7,109,104,.2)}
.eg-student-stats .eg-card{border-width:2px;box-shadow:0 7px 0 rgba(40,120,127,.07)}
.eg-student-stat .eg-iconbox{border:2px solid #fff}
.eg-student-stat--coral{background:#FFE2E0}
.eg-student-stat--mint{background:#DDFBF0}
.eg-student-stat--gold{background:#FFF0BF}
.eg-student-stat--blue{background:#DDF1FF}
.eg-student-extras .eg-extra-card{border-width:2px}
.eg-student-journey .eg-phase{border-width:2px}
.eg-unit-progress-list li .eg-iconbox{border:1px solid #B5F0DC}
/* Teacher retains clarity and accessible overview while sharing the colorful identity. */
.eg-teacher-banner{background:linear-gradient(125deg,#137D94,#0E9D87)}
.eg-teacher-stats .eg-card{border-width:2px}
/* Gayo ribbon added carefully without crowding functional content */
.eg-footer::before,.eg-top::after{background-size:182px auto}
.eg-main{position:relative}
.eg-main::before{content:"";position:absolute;z-index:-1;top:11px;right:2%;width:82px;height:82px;background:url('../img/gayo-roof.png') center/contain no-repeat;opacity:.12;pointer-events:none}
.eg-body a:focus-visible,.eg-body button:focus-visible{outline:3px solid #D9832F;outline-offset:3px}
/* Playful bottom navigation (no hamburger, no drop-down). */
.eg-nav-art{
  display:inline-flex!important;align-items:center;justify-content:center;
  width:35px;height:35px;border-radius:13px;
  border:2px solid #FFFFFF;background:#FFF1C1;
  box-shadow:0 3px 0 rgba(57,119,131,.12);
  flex-shrink:0;transition:transform .2s ease,background .2s ease;
}
.eg-nav-art svg{display:block;width:28px!important;height:28px!important;flex:none}
.eg-nav-label{display:block;line-height:1.12;white-space:normal;text-align:center}
@media (hover:hover){
  .eg-tabbar-all a:hover .eg-nav-art,.eg-public-bottom a:hover .eg-nav-art{transform:rotate(-6deg) translateY(-3px)}
}
@media(max-width:760px){
  .eg-body{background:linear-gradient(145deg,#FFF8E0 0%,#EBFAF3 48%,#FFF0EC 100%)}
  .eg-body::before{background-position:right -58px top 112px,left -100px bottom 80px,center top;background-size:165px auto,320px auto,610px auto;opacity:.19}
  .eg-landing-hero{background:linear-gradient(145deg,#FFF1C5 0%,#FFF8E8 42%,#D8F8FF 100%);border-radius:26px;box-shadow:0 9px 0 rgba(255,195,68,.16)}
  .eg-landing-hero .eg-hero-text h1{font-size:clamp(29px,7.7vw,38px)}
  .eg-landing-hero .eg-lead{font-size:15px;line-height:1.62}
  .eg-landing-hero .eg-hero-benefits{margin-top:12px}
  .eg-landing-hero .eg-scene.eg-joy-scene{height:270px!important}
  .eg-student-hero .eg-scene.eg-joy-scene{height:248px!important}
  .eg-joy-scene .eg-scene-students{width:calc(100% + 20px)!important;bottom:-7px!important}
  .eg-joy-scene .eg-scene-sticker{bottom:10px;right:10px;font-size:10px;padding:7px 9px}
  .eg-hero-floating{display:none}
  .eg-cheerline{font-size:12px;margin-top:14px;margin-bottom:12px}
  .eg-student-cheer{font-size:11px}
  .eg-tabbar.eg-tabbar-all{
    grid-auto-rows:63px;gap:3px 5px;
    padding:7px 6px calc(9px + env(safe-area-inset-bottom));
    border-top:3px solid #FFCE79;
    background:#FFFDF7;
    box-shadow:0 -10px 30px rgba(24,92,117,.16);
  }
  .eg-tabbar.eg-tabbar-all a{
    height:63px;min-height:0;padding:4px 1px;gap:3px;
    font-size:10px;line-height:1.12;border-radius:14px;
    color:#2F6475!important;font-weight:850;
  }
  .eg-tabbar.eg-tabbar-all a:nth-child(1) .eg-nav-art{background:#FFE5B0}
  .eg-tabbar.eg-tabbar-all a:nth-child(2) .eg-nav-art{background:#C8F3E9}
  .eg-tabbar.eg-tabbar-all a:nth-child(3) .eg-nav-art{background:#E4D8FF}
  .eg-tabbar.eg-tabbar-all a:nth-child(4) .eg-nav-art{background:#C9F5D5}
  .eg-tabbar.eg-tabbar-all a:nth-child(5) .eg-nav-art{background:#FFE8A5}
  .eg-tabbar.eg-tabbar-all a:nth-child(6) .eg-nav-art{background:#FFDAE8}
  .eg-tabbar.eg-tabbar-all a:nth-child(7) .eg-nav-art{background:#CEF0FF}
  .eg-tabbar.eg-tabbar-all a.is-active{
    background:#DDF9F3;color:#067681!important;
    box-shadow:inset 0 0 0 2px #A5EBDD;
  }
  .eg-tabbar.eg-tabbar-all a.is-active .eg-nav-art{transform:translateY(-2px);border-color:#FFFFFF;box-shadow:0 4px 0 rgba(22,122,116,.14)}
  .eg-tabbar.eg-tabbar-all.is-short{grid-auto-rows:64px}
  .eg-tabbar.eg-tabbar-all.is-short a,.eg-tabbar.eg-tabbar-all.is-short a:nth-child(n+5){height:64px}
  .eg-screen-app .eg-footer{padding-bottom:calc(161px + env(safe-area-inset-bottom))}
  .eg-screen-app .eg-main{padding-bottom:45px}
  .eg-public-bottom{
    padding:7px 5px calc(9px + env(safe-area-inset-bottom));
    border-top:3px solid #FFCB77;background:#FFFDF7;
  }
  .eg-public-bottom a{min-height:66px;gap:3px;padding:4px 0;font-size:10px;font-weight:850;color:#2B6478}
  .eg-public-bottom a:nth-child(1) .eg-nav-art{background:#FFE8B4}
  .eg-public-bottom a:nth-child(2) .eg-nav-art{background:#CBF1FF}
  .eg-public-bottom a:nth-child(3) .eg-nav-art{background:#FFEDA7}
  .eg-public-bottom a:nth-child(4) .eg-nav-art{background:#CFF8E2}
  .eg-public-bottom a:nth-child(5) .eg-nav-art{background:#FFD5E2}
  .eg-public-bottom a.is-active,.eg-public-bottom a[aria-current="page"]{background:#E4FAEF;color:#087278;box-shadow:inset 0 0 0 2px #B1E9DC}
  .eg-body:has(.eg-public-bottom) .eg-footer{padding-bottom:calc(90px + env(safe-area-inset-bottom))}
  .eg-mobile-student-login{background:#FF7B71;color:#fff!important;border:2px solid white;border-radius:15px;box-shadow:0 5px 0 rgba(197,100,95,.20),0 10px 15px rgba(197,100,95,.13)}
  .eg-mobile-student-login:hover{background:#ED6F67}
  .eg-staff .eg-sidebar nav{border-top:3px solid #FFC765;background:linear-gradient(90deg,#107E8C,#137F7D)}
  .eg-staff .eg-sidebar nav a{border-radius:13px}
  .eg-staff .eg-sidebar nav a svg{padding:5px;width:31px;height:31px;border-radius:11px;background:#FFF0B2;color:#216D7C}
  .eg-staff .eg-staff-main{padding-bottom:calc(111px + env(safe-area-inset-bottom))}
}
@media(max-width:380px){
  .eg-public-bottom a{font-size:9px}
  .eg-tabbar.eg-tabbar-all a{font-size:9px}
  .eg-nav-art{width:32px;height:32px;border-radius:12px}
  .eg-nav-art svg{width:26px!important;height:26px!important}
  .eg-joy-scene .eg-scene-students{width:calc(100% + 18px)!important}
}
@media(prefers-reduced-motion:reduce){
  .eg-nav-art,.eg-journey-grid .eg-step{transition:none!important}
  .eg-tabbar-all a:hover .eg-nav-art,.eg-public-bottom a:hover .eg-nav-art{transform:none!important}
}
/* A second lightweight placement ensures the student photo is visible above
   the fold on phones; the large desktop card remains unchanged. */
.eg-mobile-showcase{display:none}
@media(max-width:760px){
  .eg-mobile-showcase{display:block;max-width:470px;margin:16px 0 18px}
  .eg-mobile-showcase .eg-joy-scene{height:205px!important;border-radius:20px}
  .eg-student-hero .eg-mobile-showcase .eg-joy-scene{height:190px!important}
  .eg-landing-hero>.eg-hero-art,.eg-student-hero>.eg-hero-art{display:none!important}
  .eg-mobile-showcase .eg-joy-scene .eg-scene-students{width:calc(100% + 5px)!important;bottom:-8px!important}
  .eg-mobile-showcase .eg-joy-scene .eg-scene-sticker{bottom:8px;right:10px}
  .eg-mobile-showcase .eg-joy-scene .eg-scene-bg{object-position:center}
  .eg-landing-hero .eg-hero-text,.eg-student-hero .eg-hero-text{min-width:0}
}
