/* Napuhanci Fun for kids - One pager
   Playful + professional, responsive, accessible
*/

:root{
  /* Light theme (pastel) */
  --bg: #f6f7ff;
  --surface: rgba(255,255,255,.78);
  --surface-2: rgba(255,255,255,.94);
  --text: #1c2433;
  --muted: #4b5568;
  --line: rgba(28,36,51,.14);

  --pink: #ff4fb7;
  --yellow: #ffd43b;
  --green: #3dff9f;
  --blue: #4dd7ff;
  --purple: #b57bff;

  --shadow: 0 16px 45px rgba(17,24,39,.16);
  --shadow-soft: 0 10px 25px rgba(17,24,39,.12);

  --radius: 22px;
  --radius-sm: 16px;

  --container: 1100px;

  --font-head: "Fredoka", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(900px 650px at 8% 6%, rgba(255,79,183,.18), transparent 60%),
    radial-gradient(900px 650px at 90% 12%, rgba(77,215,255,.18), transparent 60%),
    radial-gradient(900px 650px at 70% 88%, rgba(61,255,159,.16), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f5f7ff 55%, #f1fbff 100%);
  overflow-x: hidden;
}

img{ max-width: 100%; display: block; }

a{
  color: inherit;
  text-decoration: none;
}
a:hover{ text-decoration: underline; text-underline-offset: .22em; }

.container{
  width: min(var(--container), calc(100% - 2*18px));
  margin-inline: auto;
}

.skip-link{
  position: absolute;
  left: 12px;
  top: 12px;
  background: #fff;
  color: #111;
  padding: 10px 12px;
  border-radius: 10px;
  transform: translateY(-200%);
  transition: transform .2s ease;
  z-index: 9999;
}
.skip-link:focus{ transform: translateY(0); }

#confetti{
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.78);
  /*border-bottom: 1px solid var(--line);*/
  /*box-shadow: 0 8px 24px rgba(17,24,39,.06);*/
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
}

.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
}
.brand-mark{
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,79,183,.9), rgba(77,215,255,.55));
  box-shadow: var(--shadow-soft);
  transform: rotate(-8deg);
}
.brand-text{ display: grid; line-height: 1.1; }
.brand-name{
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: .2px;
}
.brand-sub{
  font-size: 12px;
  color: var(--muted);
}
.accent{
  background: linear-gradient(90deg, var(--pink), var(--yellow), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav{
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav a{
  font-weight: 700;
  font-size: 14px;
  color: rgba(28,36,51,.88);
  padding: 8px 10px;
  border-radius: 12px;
}
.nav a:hover{
  background: rgba(28,36,51,.06);
  text-decoration: none;
}

.nav-toggle{
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  color: var(--text);
  border-radius: 14px;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after{
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: #000;
  border-radius: 2px;
  position: relative;
  content: "";
}
.nav-toggle span::before{ position: absolute; top: -6px; left: 0; }
.nav-toggle span::after{ position: absolute; top: 6px; left: 0; }

/* Buttons */
.btn{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.07);
  color: var(--text);
  border-radius: 16px;
  padding: 16px 20px;
  font-weight: 800;
  letter-spacing: .2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.10);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
}
.btn:active{ transform: translateY(0); }

.btn-primary{
  /*border-color: rgba(255,79,183,.45);*/
  border: none;
  background: linear-gradient(135deg, rgba(255,79,183,.95), rgba(77,215,255,.6));
}
.btn-primary:hover{ background: linear-gradient(135deg, rgba(255,79,183,1), rgba(77,215,255,.75)); }

.btn-ghost{
  background: rgba(255,255,255,.04);
}
.btn-sm{
  padding: 9px 12px;
  font-size: 13px;
  border-radius: 14px;
}

/* Hero */
.hero{
  position: relative;
  z-index: 1;
  padding: 56px 0 0;
}
.hero-grid{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
  align-items: center;
}

.badge{
  display: inline-flex;
  align-items: center;
  gap: 10px;
/*  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.92);*/
  color: rgba(28,36,51,.86);
  font-weight: 900;
  width: fit-content;
}

.hero h1{
  font-family: var(--font-head);
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.02;
  margin: 12px 0 12px;
  letter-spacing: .2px;
}
.headline-accent{
  background: linear-gradient(90deg, var(--yellow), var(--pink), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead{
  color: rgba(28,36,51,.82);
  font-size: 18px;
  line-height: 1.55;
  margin: 0 0 18px;
}

.hero-cta{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 16px;
}

.hero-quick{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}
.quick-card{
  display: flex;
  gap: 10px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  min-height: 62px;
  align-items: center;
  transition: transform .18s ease, background .18s ease;
}
.quick-card:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.10);
  text-decoration: none;
}
.quick-ico{
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 559955px;
  background: rgba(255,255,255,.88);
  /*border: 1px solid var(--line);*/
}
.quick-card strong{ display: block; font-weight: 900; }
.quick-card small{ display: block; color: var(--muted); font-weight: 700; font-size: 12px; }

.hero-stats{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.stat{
  padding: 10px 12px;
  border-radius: 18px;
  border: 1px dashed rgba(28,36,51,.20);
  background: rgba(255,255,255,.03);
  min-width: 120px;
}
.stat strong{
  display: block;
  font-family: var(--font-head);
  font-size: 22px;
}
.stat span{ color: var(--muted); font-weight: 700; font-size: 12px; }

.hero-art{
  position: relative;
  min-height: 420px;
}
.hero-card{
  position: relative;
  margin-left: auto;
  width: min(420px, 100%);
  border-radius: 26px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.78));
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: rotate(1deg);
}
.hero-card::before{
  content: "";
  position: absolute;
  inset: -60px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,79,183,.35), transparent 55%),
    radial-gradient(circle at 80% 30%, rgba(77,215,255,.25), transparent 55%),
    radial-gradient(circle at 40% 80%, rgba(61,255,159,.18), transparent 55%);
  filter: blur(14px);
  opacity: .9;
}

.hero-card-top, .hero-card-mid, .hero-card-bottom{
  position: relative;
  z-index: 1;
  padding: 16px 18px;
}
.hero-card-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(28,36,51,.12);
}
.pill{
  display: inline-flex;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  border: 1px solid var(--line);
  font-weight: 900;
  font-size: 12px;
}
.spark{
  font-size: 18px;
  animation: pop 1.6s ease-in-out infinite;
}
@keyframes pop{
  0%,100%{ transform: scale(1) rotate(0deg); }
  50%{ transform: scale(1.14) rotate(8deg); }
}
.mini-title{
  font-family: var(--font-head);
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: .2px;
}
.mini-chips{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.chip{
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid var(--line);
  font-weight: 900;
  font-size: 12px;
}
.mini-text{
  margin: 0;
  color: rgba(28,36,51,.82);
  line-height: 1.5;
}

.hero-card-bottom{
  display: flex;
  gap: 10px;
  border-top: 1px solid rgba(28,36,51,.12);
}

.hero-wave{
  position: absolute;
  left: 0;
  right: 0;
  bottom: -18px;
  height: 120px;
  background:
    radial-gradient(70px 50px at 10% 30%, rgba(255,79,183,.35), transparent 60%),
    radial-gradient(90px 60px at 30% 70%, rgba(77,215,255,.30), transparent 60%),
    radial-gradient(90px 60px at 60% 50%, rgba(61,255,159,.18), transparent 60%),
    radial-gradient(110px 70px at 85% 65%, rgba(181,123,255,.25), transparent 60%);
  filter: blur(4px);
  opacity: .9;
}

.floaty{
  position: absolute;
  font-size: 26px;
  filter: drop-shadow(0 8px 10px rgba(0,0,0,.35));
  animation: float 4.5s ease-in-out infinite;
  user-select: none;
}
.f1{ top: 20px; left: 10px; animation-duration: 4.6s; }
.f2{ top: 80px; right: 0; animation-duration: 5.2s; }
.f3{ bottom: 140px; left: 28px; animation-duration: 4.2s; }
.f4{ bottom: 40px; right: 30px; animation-duration: 5.0s; }
@keyframes float{
  0%,100%{ transform: translateY(0) rotate(-2deg); }
  50%{ transform: translateY(-10px) rotate(4deg); }
}

/* Marquee */
.marquee{
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 26px;
  overflow: hidden;
  background: rgba(255,255,255,.03);
}
.marquee-track{
  display: flex;
  gap: 28px;
  padding: 10px 0;
  white-space: nowrap;
  animation: marquee 22s linear infinite;
}
.marquee-track span{
  color: rgba(28,36,51,.86);
  font-weight: 900;
}
@keyframes marquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

/* Sections */
.section{
  position: relative;
  z-index: 1;
  padding: 64px 0;

  @media (max-width: 840px) {
    padding: 32px 0;
  }
}
.section-alt{
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.00));
  border-top: 1px solid rgba(28,36,51,.06);
  border-bottom: 1px solid rgba(28,36,51,.06);
}
.section-head{
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}
.section-head h2{
  font-family: var(--font-head);
  font-size: clamp(26px, 3vw, 40px);
  margin: 0;
  letter-spacing: .2px;
}
.section-head p{
  margin: 0;
  max-width: 72ch;
  color: rgba(28,36,51,.8);
  line-height: 1.6;
  font-size: 16px;
}

/* Features */
.feature-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.feature{
  padding: 16px 16px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.feature:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.08);
  box-shadow: var(--shadow-soft);
}
.feature-ico{
  width: 44px;
  height: 44px;
/*  border-radius: 16px;*/
  display: grid;
  place-items: center;
/*  background: rgba(255,255,255,.88);
  border: 1px solid var(--line);*/
  margin-bottom: 10px;
  font-size: 20px;
}
.feature h3{
  font-family: var(--font-head);
  margin: 0 0 6px;
}
.feature p{
  margin: 0;
  color: rgba(28,36,51,.78);
  line-height: 1.55;
}

/* Cards */
.cards{
  display: grid;
  gap: 16px;
  margin-top: 18px;
}
.card{
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 0;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.card-media{
  position: relative;
  background: rgba(0,0,0,.03);
  overflow: hidden;
}
.card-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .5s ease;
}
.card:hover .card-media img{ transform: scale(1.06); }

.tag{
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 8px 10px;
  border-radius: 999px;
  font-weight: 900;
  border: 1px solid rgba(255,255,255,.15);
  background: #fff;
  backdrop-filter: blur(8px);
}
.tag-pink{ box-shadow: 0 0 0 2px rgba(255,79,183,.15) inset; }
.tag-yellow{ box-shadow: 0 0 0 2px rgba(255,212,59,.14) inset; }
.tag-green{ box-shadow: 0 0 0 2px rgba(61,255,159,.13) inset; }

.card-body{
  padding: 80px 10px;
  display: grid;
  gap: 12px;
  align-items: flex-start;
  max-width: 440px;
  margin: auto;

  @media (max-width: 840px) {
    padding: 18px 18px 18px;
    max-width: initial;
  }
}
.card-body h3{
  font-family: var(--font-head);
  font-size: 28px;
  margin: 0;
}
.card-lead{
  margin: 0;
  color: rgba(28,36,51,.82);
  line-height: 1.6;
}

.specs{
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
  display: grid;
  /*gap: 8px;*/
}
.specs li{
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.86);
}
.specs li:last-child {
  border-bottom: none;
}
.specs span{ color: var(--muted); font-weight: 800; }
.specs strong{ font-weight: 950; }

.card-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Note */
.note{
  margin-top: 16px;
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: 22px;
  border: 1px dashed rgba(28,36,51,.22);
  background: rgba(255,255,255,.03);
  color: rgba(28,36,51,.82);
  line-height: 1.55;
}
.note-ico{
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.88);
  border: 1px solid var(--line);
  flex: 0 0 auto;
}

/* Steps */
.steps{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.step{
  padding: 16px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.step:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.08);
  box-shadow: var(--shadow-soft);
}
.step-num{
  width: 40px;
  height: 40px;
  border-radius: 1666px;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  background: rgba(255,255,255,.88);
  border: 1px solid var(--line);
  margin-bottom: 10px;
}
.step h3{
  font-family: var(--font-head);
  margin: 0 0 6px;
}
.step p{
  margin: 0;
  color: rgba(28,36,51,.78);
  line-height: 1.55;
}

/* CTA Banner */
.cta-banner{
  margin-top: 18px;
  padding: 18px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255,79,183,.14), rgba(77,215,255,.10), rgba(61,255,159,.07));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--shadow-soft);
}
.cta-banner h3{
  font-family: var(--font-head);
  margin: 0;
}
.cta-banner p{
  margin: 6px 0 0;
  color: rgba(28,36,51,.82);
}
.cta-banner a{ text-decoration: underline; text-underline-offset: .22em; }

/* Two column panels */
.two-col{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}
.panel{
  padding: 18px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.panel h3{
  font-family: var(--font-head);
  margin: 0 0 10px;
}
.checklist{
  margin: 0;
  padding-left: 18px;
  color: rgba(28,36,51,.82);
  line-height: 1.7;
}
.panel-note{
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 18px;
  border: 1px dashed rgba(28,36,51,.20);
  background: rgba(255,255,255,.86);
}
.panel-note p{ margin: 0; color: rgba(28,36,51,.82); line-height: 1.55; }

/* FAQ */
.faq{
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.faq-item{
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0;
  overflow: hidden;
}
.faq-item summary{
  cursor: pointer;
  list-style: none;
  padding: 16px 16px;
  font-weight: 900;
  outline: none;
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary::after{
  content: "+";
  float: right;
  font-family: var(--font-head);
  opacity: .9;
}
.faq-item[open] summary::after{ content: "-"; }
.faq-body{
  padding: 0 16px 16px;
  color: rgba(28,36,51,.82);
  line-height: 1.6;
}

/* Contact */
.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 14px;
  margin-top: 18px;
}
.contact-card{
  padding: 18px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.contact-card h3{
  font-family: var(--font-head);
  margin: 0 0 12px;
}
.contact-lines{
  display: grid;
  gap: 10px;
}
.contact-line{
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.86);
  align-items: center;
  transition: transform .18s ease, background .18s ease;
}
.contact-line:hover{
  transform: translateY(-2px);
  background: rgba(77, 215, 255, 0.41);
  text-decoration: none;
}
.contact-line span:nth-child(2) strong{ display: block; font-weight: 950; }
.contact-line span:nth-child(2) small{ display: block; color: var(--muted); font-weight: 800; font-size: 12px; }

.social{
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.social-btn{
  width: 44px;
  height: 44px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  display: grid;
  place-items: center;
  font-weight: 900;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}
.social-btn:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.10);
  text-decoration: none;
}

/* Form */
.form{
  padding: 18px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
  box-shadow: var(--shadow-soft);
}
.form h3{
  font-family: var(--font-head);
  margin: 0 0 12px;
}
label{
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
  font-weight: 900;
}
input, select, textarea{
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  color: var(--text);
  padding: 12px 12px;
  font: inherit;
  outline: none;
}
input::placeholder, textarea::placeholder{ color: rgba(28,36,51,.55); }
input:focus, select:focus, textarea:focus{
  border-color: rgba(77,215,255,.55);
  box-shadow: 0 0 0 4px rgba(77,215,255,.18);
}
.form-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.form-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.form-help{
  color: rgba(28,36,51,.72);
  font-size: 12px;
  line-height: 1.55;
  margin: 12px 0 0;
}

.generated{
  margin-top: 12px;
  border-radius: 22px;
  border: 1px dashed rgba(28,36,51,.22);
  background: rgba(255,255,255,.92);
  padding: 12px;
}
.generated-head{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.generated-text{
  margin: 0;
  white-space: pre-wrap;
  color: rgba(28,36,51,.86);
  line-height: 1.5;
}
.generated-actions{
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

/* Footer */
.footer{
  padding-top: 18px;
}
.footer-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(28,36,51,.08);
}
.footer-left{
  display: grid;
  gap: 2px;
}
.footer-left span{ color: var(--muted); font-weight: 800; font-size: 12px; }
.to-top{
  width: 44px;
  height: 44px;
  border-radius: 16px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.06);
  font-weight: 950;
}
.to-top:hover{ text-decoration: none; background: rgba(255,255,255,.10); }

/* Modals */
.modal{
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    radial-gradient(900px 500px at 10% 0%, rgba(255,79,183,.12), transparent 55%),
    radial-gradient(700px 450px at 90% 15%, rgba(77,215,255,.12), transparent 55%),
    rgba(255,255,255,.96);
  color: var(--text);
  box-shadow: var(--shadow);
  width: min(820px, calc(100% - 28px));
}
.modal::backdrop{
  background: rgba(17,24,39,.40);
  backdrop-filter: blur(6px);
}
.modal-inner{
  padding: 18px;
}
.modal-inner h3{
  font-family: var(--font-head);
  margin: 0 0 10px;
}
.modal-inner p{
  margin: 0 0 10px;
  color: rgba(28,36,51,.82);
  line-height: 1.6;
}
.modal-list{
  margin: 0;
  padding-left: 18px;
  color: rgba(28,36,51,.84);
  line-height: 1.7;
}
.modal-actions{
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.modal-close{
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
}

/* Toast */
.toast{
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 90;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}


/* Reveal animations */
.reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-art{ min-height: 360px; }
  .hero-quick{ grid-template-columns: 1fr; }
  .feature-grid{ grid-template-columns: repeat(2, 1fr); }
  .steps{ grid-template-columns: repeat(2, 1fr); }
  .two-col{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 720px){
  .nav-toggle{ display: inline-grid; place-items: center; }
  .nav{
    position: absolute;
    right: 18px;
    top: 62px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 10px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: #fff;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    min-width: 220px;
  }
  .nav.open{ display: flex; }
  .nav a{ padding: 10px 12px; }
  .card{ grid-template-columns: 1fr; }
  .form-row{ grid-template-columns: 1fr; }
  .feature-grid{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; }
  .cta-banner{ flex-direction: column; align-items: flex-start; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .marquee-track{ animation: none; }
  .floaty{ animation: none; }
  .spark{ animation: none; }
  .reveal{ transition: none; opacity: 1; transform: none; }
}


/* ============================
   New fun stuff: Galerija, Edukacija, Igrica + baloni na scroll
   ============================ */

/* Decorative balloons layer */
.balloon-layer{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  overflow: hidden;
}
.balloon{
  position: absolute;
  bottom: -90px;
  width: var(--size, 36px);
  height: calc(var(--size, 36px) * 1.25);
  border-radius: 50% 50% 48% 48%;
  background: radial-gradient(circle at 30% 28%, rgba(255,255,255,.95), hsla(var(--hue, 330), 90%, 60%, .95) 60%);
  filter: drop-shadow(0 14px 18px rgba(17,24,39,.14));
  opacity: var(--op, .9);
  animation: balloon-float var(--dur, 8s) ease-in forwards;
  will-change: transform, bottom;
}
.balloon::before{
  content: "";
  position: absolute;
  left: 18%;
  top: 18%;
  width: 34%;
  height: 26%;
  border-radius: 999px;
  background: rgba(255,255,255,.55);
  transform: rotate(-18deg);
}
.balloon::after{
  content: "";
  position: absolute;
  left: 50%;
  bottom: -26px;
  width: 2px;
  height: 34px;
  transform: translateX(-50%);
  background: rgba(28,36,51,.18);
  border-radius: 2px;
}
@keyframes balloon-float{
  0%{ bottom: -90px; transform: translateX(0) rotate(-2deg); }
  40%{ transform: translateX(calc(var(--drift, 18px) * .45)) rotate(2deg); }
  100%{ bottom: calc(100% + 140px); transform: translateX(var(--drift, 18px)) rotate(-2deg); }
}

/* Hero photo stack */
.hero-photo-stack{
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
  gap: 0;
}
.hero-photo-stack img{
  width: 84px;
  height: 84px;
  border-radius: 20px;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  background: #fff;
}
.hero-photo-stack img:nth-child(1){ transform: rotate(-4deg) translateX(10px); }
.hero-photo-stack img:nth-child(2){ transform: rotate(3deg); }
.hero-photo-stack img:nth-child(3){ transform: rotate(-2deg) translateX(-10px); }

/* Filters */
.filters{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  margin-bottom: 16px;
}
.filter{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  border-radius: 999px;
  padding: 10px 12px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}
.filter:hover{ transform: translateY(-1px); }
.filter.is-active{
  background: linear-gradient(90deg, rgba(255,79,183,.22), rgba(77,215,255,.22), rgba(61,255,159,.18));
  border-color: rgba(77,215,255,.35);
}

/* Masonry gallery */
.masonry{
  columns: 3 240px;
  column-gap: 16px;
}
@media (max-width: 840px){
  .masonry{ columns: 2 220px; }
}
@media (max-width: 560px){
  .masonry{ columns: 1 220px; }
}
.shot{
  break-inside: avoid;
  margin: 0 0 16px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  position: relative;
  transition: transform .18s ease;
}
.shot:hover{ transform: translateY(-2px); }
.shot img{
  width: 100%;
  height: auto;
  display: block;
}
.shot figcaption{
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  font-weight: 900;
  color: rgba(28,36,51,.88);
  box-shadow: var(--shadow-soft);
}
.shot:focus-visible{ outline: 3px solid rgba(77,215,255,.45); outline-offset: 3px; }

/* Lightbox */
.lightbox{
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 0;
  overflow: hidden;
  width: min(1000px, calc(100% - 18px));
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow);
}
.lightbox::backdrop{
  background: rgba(17,24,39,.50);
  backdrop-filter: blur(6px);
}
.lightbox-fig{ margin: 0; }
#lightbox-img{
  width: 100%;
  height: auto;
  max-height: 78vh;
  object-fit: contain;
  display: block;
  background: #fff;
}
#lightbox-cap{
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  font-weight: 900;
  color: rgba(28,36,51,.82);
}
.lightbox-close{
  position: absolute;
  right: 10px;
  top: 10px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  cursor: pointer;
  font-size: 22px;
  display: grid;
  place-items: center;
}
.lightbox-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  cursor: pointer;
  font-size: 26px;
  display: grid;
  place-items: center;
}
.lightbox-nav.prev{ left: 10px; }
.lightbox-nav.next{ right: 10px; }

/* Modal grid + mini gallery */
.modal-grid{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 18px;
  align-items: start;
}
@media (max-width: 760px){
  .modal-grid{ grid-template-columns: 1fr; }
}
.modal-copy h3{ margin-top: 0; }

.mini-gallery-main{
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-soft);
}
.mini-gallery-main img{
  width: 100%;
  height: 330px;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}
@media (max-width: 520px){
  .mini-gallery-main img{ height: 280px; }
}
.mini-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 24px;
  box-shadow: var(--shadow-soft);
}
.mini-nav.prev{ left: 10px; }
.mini-nav.next{ right: 10px; }

.mini-gallery-thumbs{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 10px;
}
@media (max-width: 520px){
  .mini-gallery-thumbs{ grid-template-columns: repeat(4, 1fr); }
}
.thumb{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}
.thumb img{
  width: 100%;
  height: 58px;
  object-fit: cover;
  display: block;
}
.thumb.is-active{
  outline: 3px solid rgba(255,79,183,.30);
  outline-offset: 2px;
}

/* Edukacija */
.edu-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 14px;
}
@media (max-width: 980px){
  .edu-grid{ grid-template-columns: 1fr; }
}
.edu-card{
  border-radius: 26px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  padding: 16px;
}
.edu-ico{
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(77,215,255,.30);
  background: linear-gradient(180deg, rgba(77,215,255,.18), rgba(255,79,183,.14));
  font-size: 24px;
  margin-bottom: 10px;
}
.edu-card h3{
  font-family: var(--font-head);
  margin: 0 0 8px;
}
.edu-card p{
  margin: 0 0 12px;
  color: rgba(28,36,51,.78);
  line-height: 1.55;
}
.edu-list{
  margin: 0;
  padding-left: 18px;
  color: rgba(28,36,51,.75);
  font-weight: 800;
}
.edu-details{
  margin-top: 14px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.edu-details summary{
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 900;
  list-style: none;
}
.edu-details-body{
  padding: 0 16px 16px;
  color: rgba(28,36,51,.78);
}

/* Igrica */
.game-wrap{
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 16px;
  align-items: stretch;
  margin-top: 14px;
}
@media (max-width: 900px){
  .game-wrap{ grid-template-columns: 1fr; }
}
.game-panel{
  border-radius: 26px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  padding: 16px;
}
.scoreboard{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.score-item{
  border: 1px solid rgba(28,36,51,.14);
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  padding: 10px 12px;
}
.score-item span{
  display: block;
  font-weight: 900;
  color: rgba(28,36,51,.70);
  font-size: 12px;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.score-item strong{
  font-family: var(--font-head);
  font-size: 22px;
}
.game-controls{
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.game-hint{
  margin: 12px 0 0;
  color: rgba(28,36,51,.74);
  line-height: 1.55;
}
.game-area{
  position: relative;
  min-height: 380px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background:
    radial-gradient(900px 400px at 0% 0%, rgba(255,79,183,.12), transparent 55%),
    radial-gradient(900px 400px at 100% 15%, rgba(77,215,255,.14), transparent 55%),
    radial-gradient(900px 400px at 65% 100%, rgba(61,255,159,.12), transparent 55%),
    rgba(255,255,255,.92);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.game-balloon{
  position: absolute;
  left: 10%;
  bottom: -90px;
  width: var(--bSize, 42px);
  height: calc(var(--bSize, 42px) * 1.25);
  border-radius: 50% 50% 48% 48%;
  border: 1px solid rgba(28,36,51,.12);
  background: radial-gradient(circle at 30% 28%, rgba(255,255,255,.95), hsla(var(--hue, 330), 90%, 60%, .95) 60%);
  cursor: pointer;
  animation: game-up var(--dur, 5s) linear forwards;
  box-shadow: 0 14px 18px rgba(17,24,39,.10);
}
.game-balloon::before{
  content: "";
  position: absolute;
  left: 18%;
  top: 18%;
  width: 34%;
  height: 26%;
  border-radius: 999px;
  background: rgba(255,255,255,.55);
  transform: rotate(-18deg);
}
.game-balloon::after{
  content: "";
  position: absolute;
  left: 50%;
  bottom: -26px;
  width: 2px;
  height: 34px;
  transform: translateX(-50%);
  background: rgba(28,36,51,.18);
  border-radius: 2px;
}
.game-balloon.popped{
  opacity: 0;
  transform: scale(0);
  transition: transform .14s ease, opacity .14s ease;
}
@keyframes game-up{
  0%{ bottom: -90px; transform: translateX(0) rotate(-2deg); }
  40%{ transform: translateX(calc(var(--drift, 16px) * .45)) rotate(2deg); }
  100%{ bottom: calc(100% + 140px); transform: translateX(var(--drift, 16px)) rotate(-2deg); }
}

/* Reduced motion (additional) */
@media (prefers-reduced-motion: reduce){
  .balloon{ display: none !important; }
  .game-balloon{ animation: none !important; bottom: 20px !important; }
}

/* =========================
   FUN hover addon (dječji)
   - ne dira postojeći hover
   - dodaje balon + konfetiće
   ========================= */

.nav-link{
  position: relative;
}

/* mali "anchor" iznad teksta */
.nav-link .nav-fun{
  position: absolute;
  left: 50%;
  top: 200%;
  width: 0;
  height: 0;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-50%);
  z-index: 2;
}

/* pokaži dodatak na hover/focus */
.nav-link:hover .nav-fun,
.nav-link:focus-visible .nav-fun{
  opacity: 1;
}

/* BALON / emoji */
.nav-link .nav-fun::before{
  content: var(--nav-emoji, "🎈");
  position: absolute;
  left: 0;
  top: 0;
  font-size: 18px;
  opacity: 0;
  transform: translate(-50%, -70%) scale(.4);
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.10));
}

.nav-link:hover .nav-fun::before,
.nav-link:focus-visible .nav-fun::before{
  opacity: 1;
  animation:
          navBalloonPop 520ms cubic-bezier(.2,1.4,.3,1) both,
          navBalloonFloat 900ms ease-in-out 520ms infinite alternate;
}

@keyframes navBalloonPop{
  from { transform: translate(-50%, -70%) scale(.4); }
  to   { transform: translate(-50%, -120%) scale(1); }
}

@keyframes navBalloonFloat{
  from { transform: translate(-50%, -120%) rotate(-6deg); }
  to   { transform: translate(-50%, -145%) rotate(6deg); }
}

/* "sprinkles" konfeti (točkice) */
.nav-link .nav-fun::after{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 58px;
  height: 34px;
  transform: translate(-50%, -135%) scale(.6);
  opacity: 0;

  background:
          radial-gradient(circle, rgba(255,105,180,.65) 0 2px, transparent 3px) 10% 60%/10px 10px,
          radial-gradient(circle, rgba(255,215,0,.60)   0 2px, transparent 3px) 30% 20%/10px 10px,
          radial-gradient(circle, rgba(0,191,255,.55)   0 2px, transparent 3px) 55% 70%/10px 10px,
          radial-gradient(circle, rgba(147,112,219,.55) 0 2px, transparent 3px) 80% 35%/10px 10px,
          radial-gradient(circle, rgba(60,255,140,.50)  0 2px, transparent 3px) 95% 65%/10px 10px;

  background-repeat: no-repeat;
  filter: blur(1px);
}

.nav-link:hover .nav-fun::after,
.nav-link:focus-visible .nav-fun::after{
  opacity: 1;
  animation: navSprinkle 520ms ease-out both;
}

@keyframes navSprinkle{
  from { transform: translate(-50%, -120%) scale(.6); filter: blur(1px); }
  to   { transform: translate(-50%, -155%) scale(1); filter: blur(0); }
}

/* accessibility: ako user ne voli animacije */
@media (prefers-reduced-motion: reduce){
  .nav-link:hover .nav-fun::before,
  .nav-link:hover .nav-fun::after,
  .nav-link:focus-visible .nav-fun::before,
  .nav-link:focus-visible .nav-fun::after{
    animation: none !important;
  }
}

/* ===== Contact right widget ===== */
.contact-right { min-width: 0; }

.side-widget{
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(20, 30, 60, .08);
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(15, 30, 60, .10);
  overflow: hidden;
}

/* Tabs */
.side-tabs{
  display: flex;
  gap: 10px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.6));
  border-bottom: 1px solid rgba(20, 30, 60, .08);
}

.side-tab{
  flex: 1;
  border: 1px solid rgba(20, 30, 60, .10);
  background: rgba(255,255,255,.9);
  border-radius: 14px;
  padding: 10px 12px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.side-tab:hover{ transform: translateY(-1px); box-shadow: 0 10px 20px rgba(15, 30, 60, .10); }

.side-tab.is-active{
  background: linear-gradient(135deg, rgba(255, 208, 115, .55), rgba(255, 140, 200, .45), rgba(115, 200, 255, .40));
  border-color: rgba(20, 30, 60, .05);
}

.side-panels{ padding: 16px; }
.side-panel{ display:none; }
.side-panel.is-active{ display:block; }

.widget-head{ margin-bottom: 12px; }
.widget-title{ margin: 0 0 6px; }
.widget-sub{ margin: 0; opacity: .85; }

/* ===== Memory game ===== */
.mem-bar{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin: 12px 0 10px;
}

.mem-stat{
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(20, 30, 60, .08);
  padding: 8px 10px;
  border-radius: 12px;
  font-weight: 700;
}

.memory-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(54px, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.mem-card{
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 0;
  background: transparent;
  cursor: pointer;
  perspective: 800px;
}

.mem-card[disabled]{ cursor: default; }

.mem-inner{
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform .35s ease;
  border-radius: 16px;
}

.mem-card.is-flipped .mem-inner,
.mem-card.is-matched .mem-inner{
  transform: rotateY(180deg);
}

.mem-face{
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 16px;
  backface-visibility: hidden;
  border: 1px solid rgba(20, 30, 60, .10);
  box-shadow: 0 14px 24px rgba(15, 30, 60, .10);
}

.mem-front{
  background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(255,255,255,.70));
  font-size: 26px;
}

.mem-back{
  transform: rotateY(180deg);
  background: linear-gradient(135deg, rgba(255, 208, 115, .55), rgba(255, 140, 200, .45), rgba(115, 200, 255, .40));
  font-size: 22px;
}

.mem-card.is-matched .mem-face{
  box-shadow: 0 12px 22px rgba(15, 30, 60, .08);
  border-color: rgba(60, 200, 140, .35);
}

.mem-foot{
  margin-top: 10px;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  flex-wrap: wrap;
  opacity: .9;
}

.mem-best{ font-weight: 700; }
.mem-hint{ opacity: .85; }

/* ===== Fit checker ===== */
.fit-form{
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.fit-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.fit-label{ display: grid; gap: 6px; font-weight: 800; }
.fit-input, .fit-select{
  border-radius: 14px;
  border: 1px solid rgba(20,30,60,.12);
  padding: 10px 12px;
  background: rgba(255,255,255,.9);
  outline: none;
}

.fit-check{
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 700;
  opacity: .9;
}

.fit-result{
  margin-top: 12px;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(20, 30, 60, .10);
  background: rgba(255,255,255,.75);
}

.fit-result.ok{
  border-color: rgba(60, 200, 140, .30);
  background: rgba(60, 200, 140, .10);
}

.fit-result.no{
  border-color: rgba(255, 90, 120, .30);
  background: rgba(255, 90, 120, .10);
}

.fit-visual{ margin-top: 12px; }

.fit-legend{
  display: flex;
  gap: 14px;
  font-weight: 700;
  opacity: .85;
  margin-bottom: 8px;
}

.swatch{
  display:inline-block;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  vertical-align: -2px;
  margin-right: 6px;
}

.swatch-yard{ background: rgba(15, 30, 60, .10); border: 1px solid rgba(15,30,60,.12); }
.swatch-item{ background: rgba(255, 140, 200, .45); border: 1px solid rgba(255,140,200,.45); }

.fit-yard{
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  border: 1px dashed rgba(20, 30, 60, .20);
  background: rgba(15, 30, 60, .06);
  position: relative;
  overflow: hidden;
}

.fit-item{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 14px;
  background: rgba(255, 140, 200, .40);
  border: 1px solid rgba(255, 140, 200, .55);
  box-shadow: 0 14px 28px rgba(15, 30, 60, .12);
  width: var(--itemW, 60%);
  height: var(--itemH, 45%);
  transition: width .25s ease, height .25s ease;
}

/* Mobile tweaks */
@media (max-width: 560px){
  .fit-row{ grid-template-columns: 1fr; }
  .memory-grid{ gap: 8px; }
}
