/* Noon Learn website — matches the design canvas (web/*.dc.html), responsive. */
:root {
  --ink: #10303A; --muted: #4F646C; --bg: #F4F9FF; --white: #FFFFFF; --line: #E2EAF2;
  --violet: #5B43E0; --violet-2: #7A4BE6; --blue: #2F6FE4; --navy: #1B3A8C; --yellow: #F7C948; --yellow-deep: #D9A92A;
  --green: #14945A; --pink: #E0368C; --orange: #F08A24;
  --lav: #EEEAFF; --sky: #E6F0FF; --mint: #E3F7EC; --rose: #FDE6F2; --cream: #FFF4D6;
  --radius: 24px; --shadow: 0 18px 40px rgba(27, 58, 140, 0.10); --shadow-sm: 0 8px 22px rgba(27, 58, 140, 0.08);
  --fun: 'Fredoka', 'Jost', system-ui, sans-serif; --body: 'Jost', system-ui, sans-serif; --ar: 'Amiri', serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--violet); text-decoration: none; }
a:hover { color: #3F2DB0; }
h1, h2, h3, h4 { font-family: var(--fun); margin: 0; line-height: 1.12; font-weight: 600; }
p { margin: 0; }
.container { width: 100%; max-width: 1168px; margin: 0 auto; padding: 0 24px; }
.ar { font-family: var(--ar); }
.hl { color: var(--yellow); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 8px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0;
  font-family: var(--fun); font-weight: 600; font-size: 16px; cursor: pointer; text-decoration: none; transition: transform .12s ease, box-shadow .12s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-yellow { background: var(--yellow); color: #2A1E00; box-shadow: 0 5px 0 var(--yellow-deep); }
.btn-yellow:hover { color: #2A1E00; }
.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 5px 0 #0F2463; }
.btn-navy:hover { color: #fff; }
.btn-violet { background: var(--violet); color: #fff; box-shadow: 0 5px 0 #3F2DB0; }
.btn-violet:hover { color: #fff; }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, .7); }
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.btn-dark { background: var(--ink); color: #fff; min-height: 38px; padding: 0 14px; font-size: 13px; }
.btn-dark:hover { color: #fff; }
.btn-green { background: var(--green); color: #fff; min-height: 38px; padding: 0 16px; font-size: 13px; }
.btn-green:hover { color: #fff; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.play-dot { width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--violet); display: inline-flex; align-items: center; justify-content: center; }

/* ---------- Header ---------- */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 50; }
.nav { display: flex; align-items: center; gap: 24px; height: 84px; }
.logo { display: inline-flex; align-items: center; background: #fff; border-radius: 14px; padding: 6px 12px; }
.logo img { height: 34px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 4px; margin: 0 auto; list-style: none; padding: 0; }
.nav-links > li > a, .dd-btn { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 12px; color: #fff; font-weight: 500; font-size: 15px; border-radius: 10px; background: none; border: 0; font-family: var(--body); cursor: pointer; }
.nav-links > li > a:hover, .dd-btn:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.nav-links a[aria-current="page"], .dd-btn.current { box-shadow: inset 0 -3px 0 #fff; border-radius: 0; }
.dd { position: relative; }
.dd-menu { position: absolute; top: 46px; left: 0; min-width: 240px; background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 8px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu, .dd.open .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd-menu a { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; color: var(--ink); font-weight: 500; }
.dd-menu a:hover { background: #F3F0FF; color: var(--ink); }
.dd-menu small { display: block; color: var(--muted); font-weight: 400; font-size: 12px; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .login { color: #fff; font-weight: 600; padding: 0 8px; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 14px; border: 0; background: rgba(255, 255, 255, .18); color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 24px; height: 24px; }
.mobile-menu { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(160deg, var(--blue) 0%, var(--violet) 60%, var(--violet-2) 100%); padding: 120px 0 130px; }
.hero.green { background: linear-gradient(160deg, #14945A 0%, #1FAF8B 55%, #2BC2C7 100%); }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .10); pointer-events: none; }
.hero::before { width: 420px; height: 420px; right: -120px; top: -140px; }
.hero::after { width: 260px; height: 260px; left: -90px; bottom: 30px; }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.4vw, 60px); line-height: 1.04; }
.hero .lead { margin-top: 16px; font-size: 17px; color: rgba(255, 255, 255, .9); max-width: 520px; }
.hero .actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px; }
.badge svg { width: 16px; height: 16px; flex: none; }
.badge { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; background: rgba(255, 255, 255, .18); font-size: 13px; font-weight: 600; margin-bottom: 16px; }
.crumb { font-size: 13px; color: rgba(255, 255, 255, .8); margin-bottom: 12px; }
.crumb a { color: rgba(255, 255, 255, .8); }
.hero-proof { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; color: rgba(255, 255, 255, .9); }
.hero-proof b { color: #fff; }
.hero-art { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 280px; }
.wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; display: block; }
.sparkle { position: absolute; width: 26px; height: 26px; }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 72px 0; }
.section-title { text-align: center; margin-bottom: 36px; }
.section-title h2 { font-size: clamp(28px, 3.4vw, 38px); display: inline-flex; align-items: center; gap: 12px; }
.section-title h2::before, .section-title h2::after { content: "★"; color: var(--yellow); font-size: .7em; }
.section-title p { margin-top: 8px; color: var(--muted); }
.kicker { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--lav); color: var(--violet); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px; }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.g6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 24px; }
.card h3 { font-size: 20px; }
.card p { color: var(--muted); font-size: 14px; margin-top: 8px; }
.icon-chip { width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.icon-chip svg { width: 24px; height: 24px; }
.t-lav { background: var(--lav); color: var(--violet); } .t-sky { background: var(--sky); color: var(--blue); } .t-mint { background: var(--mint); color: var(--green); }
.t-rose { background: var(--rose); color: var(--pink); } .t-cream { background: var(--cream); color: #B07400; }

/* Overlapping feature strip under the hero */
.strip { margin-top: -64px; position: relative; z-index: 2; }
.strip .card { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 18px; }
.strip .item { display: flex; gap: 12px; align-items: center; padding: 6px 14px; }
.strip .item + .item { border-left: 1px solid var(--line); }
.strip .item b { display: block; font-family: var(--fun); font-size: 16px; }
.strip .item span { color: var(--muted); font-size: 13px; }

/* Program cards */
.program { border-radius: 26px; padding: 22px; text-align: center; border: 2px solid; display: flex; flex-direction: column; align-items: center; color: var(--ink); transition: transform .15s; }
.program:hover { transform: translateY(-4px); color: var(--ink); }
.program img { height: 120px; width: auto; margin-bottom: 10px; }
.program h3 { font-size: 21px; }
.program .pill { margin-top: 6px; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #fff; }
.program p { margin-top: 10px; color: var(--muted); font-size: 14px; flex: 1; }
.program .more { margin-top: 14px; font-weight: 700; font-size: 14px; }
.p-buds { background: #FFF4D6; border-color: #F7C948; } .p-buds h3, .p-buds .more { color: #C0640A; }
.p-support { background: #EEEAFF; border-color: #B9A9F5; } .p-support h3, .p-support .more { color: var(--violet); }
.p-courses { background: #FDE6F2; border-color: #F3A8CF; } .p-courses h3, .p-courses .more { color: var(--pink); }
.p-quran { background: #E3F7EC; border-color: #9EDDBA; } .p-quran h3, .p-quran .more { color: var(--green); }

/* Purple band with waves */
.band { background: linear-gradient(135deg, var(--blue), var(--violet)); color: #fff; padding: 110px 0; overflow: hidden; }
.band .wave-top, .band .wave-bottom { position: absolute; left: 0; width: 100%; height: 70px; }
.band .wave-top { top: -1px; } .band .wave-bottom { bottom: -1px; }
.band .container { display: grid; grid-template-columns: 1fr 2.2fr; gap: 32px; align-items: center; }
.band h2 { font-size: clamp(28px, 3.2vw, 36px); }
.band p { margin-top: 10px; color: rgba(255, 255, 255, .88); }
.circles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.circle { text-align: center; color: #fff; font-family: var(--fun); font-weight: 600; }
.circle .c { width: 100%; max-width: 128px; aspect-ratio: 1; border-radius: 50%; margin: 0 auto 10px; display: flex; align-items: center; justify-content: center; border: 5px solid rgba(255, 255, 255, .85); box-shadow: 0 10px 0 rgba(0, 0, 0, .12); color: #10303A; }
.circle .c svg { width: 44%; height: 44%; }
.circle:hover { color: #fff; }

/* App promo + demo form */
.promo { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; }
.app-card { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: center; }
.phone { aspect-ratio: 9 / 17; border-radius: 34px; border: 8px solid #10303A; background: linear-gradient(180deg, #7FD3FF, #FFF6DA); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 14px; }
.phone b { font-family: var(--fun); color: var(--navy); font-size: 18px; line-height: 1.1; }
.phone img { width: 70%; margin: 10px 0; }
.phone span { background: var(--yellow); border-radius: 999px; padding: 6px 14px; font-family: var(--fun); font-weight: 600; font-size: 13px; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.store { display: inline-flex; align-items: center; gap: 8px; background: #10303A; color: #fff; border-radius: 12px; padding: 8px 14px; line-height: 1.1; }
.store:hover { color: #fff; }
.store small { display: block; font-size: 10px; opacity: .85; }
.store b { font-size: 16px; }
.store svg { width: 22px; height: 22px; }
.yellow-card { background: linear-gradient(160deg, #FFE27A, var(--yellow)); border-radius: var(--radius); padding: 26px; position: relative; overflow: hidden; }
.yellow-card h3 { font-size: 26px; color: var(--navy); }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.field label { font-size: 13px; font-weight: 600; }
.input { width: 100%; min-height: 48px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; padding: 10px 14px; font: inherit; color: var(--ink); }
textarea.input { min-height: 120px; resize: vertical; }
.yellow-card .input { border-color: transparent; border-radius: 999px; }
.form-note { margin-top: 10px; font-size: 13px; color: var(--muted); }
.form-ok { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: var(--mint); color: #1E5A2C; font-weight: 600; display: none; }
.form-ok.show { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 38px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.chip[aria-pressed="true"], .chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.violet[aria-pressed="true"] { background: var(--lav); color: var(--violet); border-color: var(--violet); }

/* Benefits strip */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 18px; padding: 14px; box-shadow: var(--shadow-sm); margin-top: 24px; }
.benefits div { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; font-size: 14px; padding: 6px; }
.benefits div + div { border-left: 1px solid var(--line); }
.benefits svg { width: 20px; height: 20px; color: var(--violet); flex-shrink: 0; }

/* Yellow call-to-action */
.cta { background: linear-gradient(160deg, #FFE27A, var(--yellow)); border-radius: 32px; display: grid; grid-template-columns: 150px 1fr auto; gap: 28px; align-items: center; padding: 26px 40px; overflow: hidden; }
.cta img { height: 190px; width: auto; margin: -10px 0 -30px; }
.cta h2 { font-size: clamp(24px, 2.6vw, 30px); color: var(--navy); }
.cta p { margin-top: 8px; color: #3F3A20; }

/* Stats tiles */
.stat { background: #fff; border-radius: 20px; padding: 20px; box-shadow: var(--shadow-sm); }
.stat b { display: block; font-family: var(--fun); font-size: 34px; color: var(--violet); line-height: 1; }
.stat span { font-size: 13px; color: var(--muted); }

/* Course cards */
.course { background: #fff; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.course .banner { height: 130px; position: relative; padding: 14px; overflow: hidden; }
.course .banner::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; background: rgba(255, 255, 255, .15); right: -40px; top: -50px; }
.course .banner .glyph { position: absolute; right: 22px; bottom: 6px; font-family: var(--ar); font-size: 82px; line-height: 1.2; color: rgba(255, 255, 255, .92); z-index: 1; }
.tag { display: inline-block; position: relative; z-index: 1; background: #fff; border-radius: 999px; padding: 3px 10px; font-size: 11px; font-weight: 700; color: var(--ink); }
.course .body { padding: 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.course h3 { font-size: 18px; }
.course .meta { font-size: 13px; color: var(--muted); }
.course .row { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; }
.price { font-family: var(--fun); font-weight: 600; font-size: 20px; color: var(--violet); }
.price s { color: var(--muted); font-size: 13px; font-family: var(--body); font-weight: 400; margin-left: 4px; }
.price.free { color: var(--green); }
.step-card { position: relative; }
.step-card .num { position: absolute; right: 18px; top: 10px; font-family: var(--fun); font-size: 40px; color: #EEF2F7; font-weight: 700; }

/* Board/class/subject picker */
.picker h3 { font-size: 18px; margin: 18px 0 12px; }
.picker h3:first-child { margin-top: 0; }
.board { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 14px; border-radius: 16px; border: 2px solid var(--line); background: #fff; font: inherit; font-weight: 600; cursor: pointer; text-align: left; }
.board .b { width: 36px; height: 36px; border-radius: 10px; color: #fff; font-size: 11px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.board[aria-pressed="true"] { border-color: var(--violet); background: #F3F0FF; }
.classes { display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; }
.cls { min-height: 46px; border-radius: 14px; border: 2px solid var(--line); background: #fff; font: inherit; font-family: var(--fun); font-weight: 600; font-size: 17px; cursor: pointer; }
.cls[aria-pressed="true"] { background: var(--violet); color: #fff; border-color: var(--violet); }
.subject { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 16px; color: var(--ink); }
.subject:hover { color: var(--ink); filter: brightness(.98); }
.subject .g { width: 36px; height: 36px; border-radius: 10px; background: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--ar); font-size: 18px; }
.subject b { display: block; font-size: 14px; }
.subject small { color: var(--muted); font-size: 11px; }

/* Lists with checks */
.checks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.checks li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314945A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; margin-top: 1px; }
.checks.light li::before { background-color: rgba(255, 255, 255, .25); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E"); }

/* Week schedule tabs (Noon Buds) */
.tabs { display: flex; gap: 8px; margin: 14px 0; flex-wrap: wrap; }
.tab { flex: 1; min-width: 56px; min-height: 42px; border-radius: 14px; border: 0; background: #EEF3F8; font: inherit; font-weight: 600; cursor: pointer; }
.tab[aria-selected="true"] { background: var(--green); color: #fff; }
.slot { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 16px; margin-top: 8px; }
.slot time { font-weight: 700; font-size: 13px; width: 70px; flex-shrink: 0; }
.slot b { display: block; }
.slot small { color: var(--muted); }

/* Resources */
.layout-side { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: start; }
.side { position: sticky; top: 20px; }
.side button { width: 100%; display: flex; justify-content: space-between; align-items: center; min-height: 42px; padding: 0 12px; border: 0; border-radius: 12px; background: none; font: inherit; cursor: pointer; color: var(--ink); }
.side button[aria-pressed="true"] { background: var(--lav); color: var(--violet); font-weight: 600; }
.switch { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; }
.switch input { width: 44px; height: 24px; appearance: none; background: #D2E1E5; border-radius: 12px; position: relative; cursor: pointer; transition: background .15s; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .15s; }
.switch input:checked { background: var(--green); }
.switch input:checked::after { transform: translateX(20px); }
.res .cover { height: 120px; display: flex; align-items: center; justify-content: center; font-family: var(--ar); font-size: 54px; position: relative; }
.res .cover .tag { position: absolute; left: 10px; top: 10px; }
[hidden] { display: none !important; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: #fff; border-radius: 18px; box-shadow: var(--shadow-sm); padding: 0 18px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; min-height: 58px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; width: 28px; height: 28px; border-radius: 50%; background: #EEF3F8; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 16px; color: var(--muted); }

/* Contact */
.contact-list { display: grid; gap: 12px; }
.contact-item { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: 20px; padding: 16px; box-shadow: var(--shadow-sm); color: var(--ink); }
.contact-item:hover { color: var(--ink); }
.contact-item b { display: block; font-family: var(--fun); }
.contact-item span { font-size: 13px; color: var(--muted); }
.bubble { background: #fff; color: var(--navy); border-radius: 18px; padding: 10px 16px; font-family: var(--fun); font-weight: 600; box-shadow: var(--shadow-sm); position: absolute; top: 0; right: 0; }

/* Games page */
.games-hero { background: linear-gradient(180deg, #5B43E0 0%, #7A4BE6 55%, #8ED38A 55.1%, #6CC06B 100%); padding: 110px 0 80px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.games-hero .title { font-family: var(--fun); font-weight: 700; font-size: clamp(52px, 9vw, 104px); line-height: .95; letter-spacing: 1px; }
.games-hero .title span { display: block; -webkit-text-stroke: 3px #fff; paint-order: stroke fill; }
.games-hero .t1 { color: #FFD84D; } .games-hero .t2 { color: #FF5E7E; } .games-hero .t3 { color: #3D8BFD; }
.games-hero .pill { display: inline-block; margin-top: 18px; background: var(--violet); padding: 8px 18px; border-radius: 999px; font-weight: 600; }
.games-hero .side-art { position: absolute; bottom: 30px; width: 180px; }
.cats { margin-top: -50px; position: relative; z-index: 2; }
.cats .card { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; padding: 14px; }
.cat { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 4px; border-radius: 18px; font-weight: 600; font-size: 14px; color: var(--ink); border: 0; background: none; font-family: inherit; cursor: pointer; }
.cat .c { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 5px 0 rgba(0, 0, 0, .15); }
.cat .c svg { width: 26px; height: 26px; }
.cat[aria-pressed="true"] { background: #F1EDFF; }
.game { border-radius: 22px; padding: 14px; color: #fff; text-align: center; box-shadow: 0 7px 0 rgba(0, 0, 0, .18); display: flex; flex-direction: column; align-items: center; gap: 6px; min-height: 190px; justify-content: space-between; }
.game:hover { color: #fff; transform: translateY(-3px); }
.game img { height: 96px; width: auto; }
.game b { font-family: var(--fun); font-size: 18px; }
.game .play { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.games-side { display: grid; gap: 14px; align-content: start; }

/* About */
.team .avatar { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; font-family: var(--fun); font-size: 26px; font-weight: 600; }
.team .card { text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .85); padding: 100px 0 30px; position: relative; margin-top: 60px; }
.site-footer .wave-top { position: absolute; top: -1px; left: 0; width: 100%; height: 70px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr 120px; gap: 24px; }
.foot h4 { color: #fff; font-family: var(--body); font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14px; }
.foot a { color: rgba(255, 255, 255, .85); }
.foot a:hover { color: #fff; }
.foot .about { font-size: 14px; margin-top: 14px; max-width: 260px; }
.foot .contact li { display: flex; gap: 8px; align-items: center; }
.foot .contact svg { width: 16px; height: 16px; }
.foot-bottom { margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .15); display: flex; justify-content: space-between; gap: 16px; font-size: 13px; flex-wrap: wrap; }
.foot-bottom a { color: rgba(255, 255, 255, .85); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .g6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .circles { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
  .band .container { grid-template-columns: 1fr; text-align: center; }
  .foot { grid-template-columns: 1fr 1fr 1fr; }
  .foot .owl { display: none; }
  .classes { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 960px) {
  .nav-links, .nav-cta .login { display: none; }
  .menu-btn { display: inline-flex; }
  .nav { justify-content: space-between; }
  .mobile-menu { position: fixed; inset: 0; z-index: 100; background: rgba(11, 42, 53, .45); }
  .mobile-menu.open { display: block; }
  .mobile-menu .panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(340px, 88vw); background: #fff; padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; }
  .mobile-menu .panel a { color: var(--ink); font-weight: 600; padding: 12px 10px; border-radius: 12px; }
  .mobile-menu .panel a:hover { background: #F3F0FF; }
  .mobile-menu .panel .sub { padding-left: 24px; font-weight: 500; }
  .mobile-menu .close { align-self: flex-end; width: 44px; height: 44px; border-radius: 12px; border: 0; background: #EEF3F8; cursor: pointer; font-size: 22px; }
  .hero .container, .promo, .app-card, .layout-side { grid-template-columns: 1fr; }
  .hero { padding-top: 110px; }
  .hero-art { order: 2; }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip .card { grid-template-columns: repeat(2, 1fr); row-gap: 10px; }
  .strip .item:nth-child(3) { border-left: 0; }
  .side { position: static; }
  .cta { grid-template-columns: 1fr; text-align: center; padding: 26px; }
  .cta img { height: 150px; margin: 0 auto -10px; }
  .cta .btn { justify-self: center; }
  .app-card .phone { max-width: 200px; margin: 0 auto; }
  .benefits { grid-template-columns: repeat(2, 1fr); row-gap: 8px; }
  .benefits div:nth-child(3) { border-left: 0; }
  .cats .card { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .section { padding: 52px 0; }
  .g2, .g3, .g4, .g5 { grid-template-columns: 1fr; }
  .g6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.keep2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .circles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .strip .card { grid-template-columns: 1fr; }
  .strip .item + .item { border-left: 0; border-top: 1px solid var(--line); }
  .benefits { grid-template-columns: 1fr; }
  .benefits div + div { border-left: 0; border-top: 1px solid var(--line); }
  .classes { grid-template-columns: repeat(4, 1fr); }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > div:first-child { grid-column: 1 / -1; }
  .hero .actions .btn { flex: 1 1 auto; }
  .logo img { height: 28px; }
  .games-hero .side-art { display: none; }
  .cats .card { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Extra helpers for inner pages */
svg.big { width: 72px; height: 72px; }
.benefits.b3 { grid-template-columns: repeat(3, 1fr); }
.benefits small { font-weight: 400; color: var(--muted); font-size: 12px; }
@media (max-width: 960px) { .benefits.b3 { grid-template-columns: 1fr; } .benefits.b3 div + div { border-left: 0; border-top: 1px solid var(--line); } }
.side small { font-size: 12px; color: var(--muted); }
.res .cover span[lang] { line-height: 1.3; }
.book-stack { min-height: 300px; }
.book-stack .bk { position: absolute; top: 20px; width: 34%; aspect-ratio: 3 / 4; border-radius: 18px; color: #fff; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 10px 0 rgba(0, 0, 0, .15); }
.book-stack .bk span { font-family: var(--ar); font-size: clamp(30px, 4vw, 48px); line-height: 1.2; }
.book-stack .bk b { font-family: var(--fun); font-size: clamp(12px, 1.4vw, 15px); }
.hero.pink { background: linear-gradient(160deg, #C2378F 0%, #7A4BE6 45%, #5B43E0 100%); }
.live-card { position: relative; width: min(330px, 70%); margin-right: 22%; align-self: center; border-radius: 26px; padding: 22px; background: linear-gradient(135deg, #F7C948, #F08A24); box-shadow: 0 14px 30px rgba(0, 0, 0, .18); display: flex; flex-direction: column; gap: 6px; overflow: hidden; min-height: 170px; justify-content: flex-end; }
.live-card .glyph { position: absolute; right: 14px; top: -6px; font-family: var(--ar); font-size: 110px; line-height: 1.3; color: rgba(255, 255, 255, .9); }
.live-card b { position: relative; font-family: var(--fun); font-size: 22px; color: #fff; }
.live-card .tag { align-self: flex-start; }
.lesson-card { width: min(320px, 75%); margin-right: 20%; align-self: center; display: grid; gap: 10px; padding: 18px; color: var(--ink); }
.lesson-card b { font-family: var(--fun); color: var(--navy); }
.lesson-card span { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; font-size: 13px; font-weight: 600; }
.lesson-card svg { width: 18px; height: 18px; flex: none; }
.circles.light .circle, .circles.light .circle:hover { color: var(--ink); }
.circles.light .circle .c { border-color: #fff; }
.buds-art { min-height: 320px; align-items: center; }
.buds-art::before { content: ""; position: absolute; width: 280px; height: 280px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.float-l { position: absolute; font-family: var(--ar); font-size: 40px; font-weight: 700; }
.hero.green { background: linear-gradient(160deg, #14945A 0%, #1FB89A 55%, #3D8BFD 100%); }
@media (max-width: 960px) { .circles.light { grid-template-columns: repeat(3, 1fr) !important; } }
.promo.split { grid-template-columns: 1.6fr 1fr; }
.layout-side.games-layout { grid-template-columns: 1fr 330px; }
@media (max-width: 960px) { .promo.split, .layout-side.games-layout { grid-template-columns: 1fr; } }
.card h3 svg { width: 20px; height: 20px; flex: none; }
@media (max-width: 640px) { .tab { min-width: 0; } }
