:root { --ink:#24345a; --muted:#71809c; --coral:#ff6f61; --yellow:#ffc94f; --aqua:#54c9c1; --green:#42b883; --purple:#7776df; }
      * { box-sizing: border-box; }
      body {
        margin: 0; min-height: 100vh; color: var(--ink); font-family: "Nunito", sans-serif;
        background:
          radial-gradient(circle at 4% 11%, rgba(255,201,79,.24) 0 115px, transparent 116px),
          radial-gradient(circle at 98% 24%, rgba(84,201,193,.18) 0 180px, transparent 181px),
          linear-gradient(145deg,#fff9ec,#fff4e3 53%,#f2fbf4);
        overflow-x: hidden;
      }
      .topbar { height: 74px; padding: 0 clamp(20px,6vw,86px); display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid rgba(36,52,90,.08); background:rgba(255,253,248,.82); backdrop-filter:blur(14px); }
      .brand { display:flex; align-items:center; gap:11px; }
      .brand-mark { width:42px; height:42px; display:grid; place-items:center; border-radius:14px; background:var(--coral); color:white; font-size:22px; transform:rotate(-5deg); box-shadow:0 7px 16px rgba(255,111,97,.25); }
      .brand-name { font:800 22px/1 "Baloo 2",cursive; }
      .brand-name small { display:block; font:800 9px/1.3 "Nunito"; color:var(--coral); letter-spacing:1.6px; }
      .top-actions { display:flex; align-items:center; gap:9px; }
      .safe-note { padding:8px 12px; border-radius:30px; background:white; border:1px solid #ebe7df; color:var(--muted); font-size:10px; font-weight:900; letter-spacing:.6px; text-transform:uppercase; }
      .sound-btn { width:41px; height:41px; display:grid; place-items:center; border:1px solid #e5e3dc; border-radius:13px; background:white; color:var(--ink); font-size:18px; cursor:pointer; box-shadow:0 4px 12px rgba(36,52,90,.05); transition:.18s ease; }
      .sound-btn:hover { transform:translateY(-2px); }

      main { width:min(1080px,calc(100% - 32px)); margin:0 auto; padding:58px 0 45px; }
      .hero { text-align:center; position:relative; }
      .eyebrow { margin:0 0 5px; color:var(--coral); font-size:11px; font-weight:900; letter-spacing:2px; text-transform:uppercase; }
      h1 { max-width:720px; margin:0 auto; font:800 clamp(36px,6vw,60px)/1.03 "Baloo 2",cursive; letter-spacing:-1px; }
      .hero-copy { max-width:560px; margin:11px auto 0; color:var(--muted); font-size:15px; line-height:1.55; }
      .mascot-row { height:108px; display:flex; justify-content:center; align-items:end; position:relative; z-index:2; }
      .mascot { width:118px; height:112px; position:relative; animation:peek 2.3s ease-in-out infinite alternate; }
      @keyframes peek { to { transform:translateY(-7px) rotate(1deg); } }
      .ear { position:absolute; top:15px; width:42px; height:48px; background:#b97746; border:4px solid #925b34; transform:rotate(45deg); border-radius:7px; }
      .ear.left { left:12px; } .ear.right { right:12px; }
      .face { position:absolute; left:10px; bottom:-7px; width:98px; height:88px; border:4px solid #925b34; border-radius:48% 48% 44% 44%; background:#c8834f; box-shadow:0 10px 16px rgba(108,73,45,.16); }
      .stripe { position:absolute; top:5px; left:43px; width:9px; height:25px; border-radius:10px; background:#9f633a; }
      .eye { position:absolute; top:36px; width:11px; height:15px; border-radius:50%; background:var(--ink); }
      .eye.left { left:24px; } .eye.right { right:24px; }
      .eye::after { content:""; position:absolute; top:2px; right:2px; width:4px; height:4px; border-radius:50%; background:white; }
      .nose { position:absolute; left:42px; top:54px; width:11px; height:8px; border-radius:60% 60% 50% 50%; background:#e66e73; }
      .mouth { position:absolute; left:37px; top:64px; width:23px; height:11px; border-bottom:3px solid #74472e; border-radius:50%; }
      .flower { position:absolute; right:-5px; top:19px; font-size:27px; z-index:3; transform:rotate(12deg); }
      .paw-line { height:8px; margin-top:-3px; border-radius:20px 20px 0 0; background:rgba(36,52,90,.08); }

      .game-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin-top:0; }
      .game-card { position:relative; min-height:330px; padding:28px; display:flex; flex-direction:column; overflow:hidden; border-radius:28px; color:var(--ink); text-decoration:none; transition:.22s ease; box-shadow:0 18px 45px rgba(36,52,90,.11); }
      .game-card:hover { transform:translateY(-7px); box-shadow:0 25px 55px rgba(36,52,90,.17); }
      .typing-card { background:linear-gradient(145deg,#70d8d0,#a8e9de); }
      .maths-card { background:linear-gradient(145deg,#8adb7c,#c4eca1); }
      .physics-card { background:linear-gradient(145deg,#aaaafa,#d9d9ff); }
      .drive-card { background:linear-gradient(145deg,#ffc85f,#ffe39a); }
      .card-top { display:flex; justify-content:space-between; align-items:center; position:relative; z-index:2; }
      .card-tag { padding:6px 10px; border-radius:30px; background:rgba(255,255,255,.8); font-size:9px; font-weight:900; letter-spacing:1px; text-transform:uppercase; }
      .arrow { width:40px; height:40px; display:grid; place-items:center; border-radius:50%; background:white; font-size:20px; transition:.2s; }
      .game-card:hover .arrow { transform:translateX(4px); }
      .art { height:135px; position:relative; display:grid; place-items:center; z-index:1; }
      .keyboard-art { width:min(310px,84%); padding:12px; display:grid; grid-template-columns:repeat(7,1fr); gap:5px; border-radius:16px; background:#fdfcf8; transform:rotate(-3deg); box-shadow:0 13px 20px rgba(38,87,93,.16); }
      .keyboard-art i { height:22px; border-radius:5px; background:#edf0ed; border-bottom:3px solid #d1d5d2; }
      .keyboard-art i:nth-child(4),.keyboard-art i:nth-child(11) { background:var(--coral); border-color:#d9544d; }
      .clock-art { width:133px; height:133px; position:relative; border:8px solid var(--ink); border-radius:50%; background:#fffdf7; box-shadow:0 13px 20px rgba(51,96,52,.16); }
      .clock-art::before { content:""; position:absolute; left:56px; top:22px; width:8px; height:42px; border-radius:10px; background:var(--ink); transform-origin:4px 42px; transform:rotate(35deg); }
      .clock-art::after { content:""; position:absolute; left:58px; top:55px; width:5px; height:49px; border-radius:10px; background:var(--coral); transform-origin:2.5px 5px; transform:rotate(125deg); }
      .clock-dot { position:absolute; left:53px; top:53px; width:12px; height:12px; z-index:2; border-radius:50%; background:var(--yellow); border:3px solid var(--ink); }
      .physics-art { width:180px; height:125px; position:relative; overflow:hidden; border:6px solid white; border-radius:17px; background:repeating-linear-gradient(0deg,rgba(92,105,145,.08) 0 1px,transparent 1px 18px),repeating-linear-gradient(90deg,rgba(92,105,145,.08) 0 1px,transparent 1px 18px),#f9fcff; box-shadow:0 13px 20px rgba(65,65,135,.15); transform:rotate(-2deg); }
      .physics-art::after { content:""; position:absolute; left:0; right:0; bottom:0; height:28px; background:#43506c; border-top:6px solid #ffc967; }
      .drawn-line { position:absolute; left:32px; top:32px; z-index:2; width:112px; height:38px; border-top:10px solid #6f72dc; border-left:10px solid #6f72dc; border-radius:8px 0 0 0; transform:rotate(4deg); }
      .physics-art .target { position:absolute; bottom:29px; z-index:3; width:24px; height:27px; border:3px solid #b87923; border-radius:48% 48% 44% 44% / 40% 40% 60% 60%; background:#ffd84f; }
      .physics-art .target::before { content:"••"; position:absolute; left:3px; top:-4px; color:#233456; font-style:normal; font-size:13px; letter-spacing:3px; }
      .physics-art .target::after { content:"▲ ▲"; position:absolute; left:-4px; top:-13px; z-index:-1; width:28px; color:#ef5e58; font-style:normal; font-size:10px; letter-spacing:5px; white-space:nowrap; }
      .physics-art .target.one { left:30px; }.physics-art .target.two { left:76px; }.physics-art .target.three { left:122px; }
      .road-art { width:88px; height:138px; position:relative; overflow:hidden; border:7px solid #78bf62; border-radius:15px; background:#586271; box-shadow:0 13px 20px rgba(112,73,28,.17); transform:rotate(5deg); }
      .road-art::before { content:""; position:absolute; left:38px; top:-14px; width:6px; height:170px; background:repeating-linear-gradient(to bottom,#fff 0 19px,transparent 19px 37px); opacity:.85; }
      .mini-car { position:absolute; left:16px; bottom:12px; width:48px; height:72px; border:3px solid #173f72; border-radius:15px; background:#2f78c4; box-shadow:0 5px 9px rgba(22,34,52,.25); }
      .mini-car::before,.mini-car::after { content:""; position:absolute; top:15px; width:7px; height:18px; border-radius:4px; background:#252d39; }
      .mini-car::before { left:-7px; }.mini-car::after { right:-7px; }
      .daddy-mini { width:35px; height:32px; margin:5px auto 0; border:2px solid white; border-radius:50%; background-image:url("../assets/images/daddy-doll-character-sheet-v5.png"); background-repeat:no-repeat; background-size:328px 219px; background-position:-39px -9px; }
      .road-cone { position:absolute; right:6px; top:10px; font-style:normal; font-size:24px; transform:rotate(-5deg); }
      .art-bubble { position:absolute; width:46px; height:46px; display:grid; place-items:center; border-radius:15px; background:rgba(255,255,255,.8); font-size:23px; }
      .typing-card .art-bubble { right:8%; top:12px; transform:rotate(8deg); }
      .maths-card .art-bubble { left:11%; bottom:12px; transform:rotate(-8deg); }
      .physics-card .art-bubble { right:5%; bottom:10px; transform:rotate(8deg); }
      .drive-card .art-bubble { left:9%; top:14px; transform:rotate(-8deg); }
      .card-copy { position:relative; z-index:2; margin-top:auto; }
      .card-copy h2 { margin:0; font:800 29px/1.05 "Baloo 2",cursive; }
      .card-copy p { margin:6px 0 0; max-width:390px; color:#405673; font-size:12px; font-weight:800; line-height:1.45; }
      .skills { display:flex; flex-wrap:wrap; gap:6px; margin-top:13px; }
      .skills span { padding:5px 8px; border-radius:8px; background:rgba(255,255,255,.56); font-size:9px; font-weight:900; }
      .doodle { position:absolute; font-size:100px; opacity:.09; pointer-events:none; }
      .typing-card .doodle { right:-15px; bottom:5px; transform:rotate(-17deg); }
      .maths-card .doodle { right:-10px; bottom:-5px; transform:rotate(12deg); }
      .physics-card .doodle { right:-4px; bottom:-13px; transform:rotate(-10deg); }
      .drive-card .doodle { right:-11px; bottom:-8px; transform:rotate(-9deg); }
      .footer-note { display:flex; justify-content:center; gap:25px; flex-wrap:wrap; margin-top:27px; color:var(--muted); font-size:10px; font-weight:900; text-transform:uppercase; letter-spacing:.7px; }

      @media(max-width:980px) { .game-grid{grid-template-columns:1fr 1fr} }
      @media(max-width:720px) { main{padding-top:40px}.game-grid{grid-template-columns:1fr}.mascot-row{height:98px}.game-card{min-height:300px}.safe-note{display:none} }
      @media(max-width:430px) { .topbar{padding:0 15px}.brand-name{font-size:18px}main{width:calc(100% - 18px)}.game-card{padding:22px;border-radius:23px}.hero-copy{font-size:13px}.art{height:120px} }
      @media(prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;animation-iteration-count:1!important}}
