:root{
  --red:#d9363e; --red-d:#c22a32; --teal:#2b8a86; --teal-d:#22746f;
  --ink:#1c1c24; --muted:#5b5f6b; --line:#eee4e2;
  --bg:#fffdfc; --soft:#fff6f3;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-top:90px}
body{font-family:"Be Vietnam Pro",system-ui,sans-serif;color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased;line-height:1.5}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
.wrap{max-width:1440px;margin:0 auto;padding:0 44px}
.arrow{width:20px;height:20px;flex:none}

/* Header */
header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.96);backdrop-filter:blur(6px);border-bottom:1px solid #f3eceb}
.nav{display:flex;align-items:center;height:84px;gap:24px}
.logo img{height:70px;width:auto}
.menu{display:flex;gap:42px;margin:0 auto;font-size:17px;font-weight:500;color:#2c2f38}
.menu a{position:relative;padding:8px 0;white-space:nowrap}
.menu a:hover{color:var(--red)}
.menu a.on{color:var(--red);font-weight:600}
.menu a.on::after{content:"";position:absolute;left:0;right:0;bottom:-2px;height:3px;border-radius:2px;background:var(--red)}
.btn-login{display:inline-flex;align-items:center;gap:10px;background:var(--red);color:#fff;font-weight:600;font-size:16px;padding:11px 24px;border-radius:8px;box-shadow:0 4px 12px rgba(217,54,62,.25);transition:.15s;white-space:nowrap}
.btn-login:hover{background:var(--red-d)}
.btn-login svg{width:18px;height:18px}
.burger{display:none;background:none;border:0;padding:8px;cursor:pointer}
.burger span{display:block;width:24px;height:2.5px;background:#333;margin:5px 0;border-radius:2px}

/* Hero */
.hero{position:relative;overflow:hidden;background:linear-gradient(90deg,#fff6f2 0%,#fff 45%);min-height:360px}
.hero-img{position:absolute;right:0;top:0;height:100%;width:62%;object-fit:cover;object-position:right center;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 14%);mask-image:linear-gradient(90deg,transparent 0,#000 14%)}
.hero-text{position:relative;z-index:2;padding:56px 0 50px;max-width:600px}
.hero h1{font-size:62px;line-height:1.14;font-weight:800;letter-spacing:-1.2px}
.hero h1 em{font-style:normal;color:var(--red);display:block}
.hero p{font-size:21px;color:#3d404a;margin:18px 0 30px}
 /* Banner ảnh đầu trang 1760x720 (19/10/2026) */
.hero-banner{min-height:0;background:#d9363e;line-height:0}
.banner-img{display:block;width:100%;height:auto;aspect-ratio:1760/720;object-fit:cover}
.banner-btn{position:absolute;right:7%;bottom:9%;line-height:1.2;background:#fff;color:var(--red);box-shadow:0 8px 22px rgba(0,0,0,.18)}
.banner-btn:hover{background:#fff4f2;color:var(--red-d)}
@media (max-width:700px){.hero-banner{background:#fff;text-align:center}.banner-btn{position:static;display:inline-flex;margin:16px 0 8px;background:var(--red);color:#fff;font-size:16px;padding:12px 24px}.banner-btn:hover{background:var(--red-d);color:#fff}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.btn-hero{display:inline-flex;align-items:center;gap:14px;background:var(--red);color:#fff;font-size:20px;font-weight:600;padding:16px 34px;border-radius:40px;box-shadow:0 8px 20px rgba(217,54,62,.28);transition:.15s}
.btn-hero:hover{background:var(--red-d);transform:translateY(-1px)}
.btn-hero.ghost{background:#fff;color:var(--red);border:2px solid var(--red);box-shadow:none}
.btn-hero.ghost:hover{background:var(--soft)}

/* Section chung */
section.blk{padding:56px 0}
section.blk.alt{background:var(--soft)}
.sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:26px}
.sec-head h2{font-size:34px;font-weight:700;position:relative;padding-bottom:12px;line-height:1.25}
.sec-head h2::after{content:"";position:absolute;left:0;bottom:0;width:48px;height:3px;background:var(--red);border-radius:2px}
.sec-head .more{color:var(--red);font-weight:600;font-size:16px;white-space:nowrap}
.sec-head .more:hover{text-decoration:underline}
.lead{font-size:18px;color:var(--muted);max-width:760px;margin:-10px 0 28px}

/* Thẻ khóa học */
.courses{padding:30px 0 46px}
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.card{border-radius:16px;padding:14px 14px 20px;display:flex;flex-direction:column;box-shadow:0 2px 10px rgba(80,40,30,.05);transition:.2s}
.card:hover{transform:translateY(-4px);box-shadow:0 12px 26px rgba(80,40,30,.10)}
.card .pic{border-radius:12px;overflow:hidden;aspect-ratio:315/182}
.card .pic img{width:100%;height:100%;object-fit:cover}
.card h3{font-size:23px;font-weight:700;margin:18px 12px 6px}
.card p{font-size:16px;color:var(--muted);line-height:1.45;margin:0 12px 20px;flex:1}
.go{display:inline-flex;align-items:center;justify-content:center;gap:12px;background:var(--red);color:#fff;font-weight:600;font-size:17px;padding:11px 26px;border-radius:6px;transition:.15s}
.go:hover{background:var(--red-d)}
.go.teal{background:var(--teal)}
.go.teal:hover{background:var(--teal-d)}
.card .go{align-self:flex-start;margin-left:12px;min-width:66%}
.c-pink{background:#fdeeee}.c-mint{background:#eaf5f3}.c-cream{background:#fdf4e6}.c-blue{background:#eaf2fa}

/* Giới thiệu */
.about{display:grid;grid-template-columns:1fr 1.2fr;gap:56px;align-items:center}
.about-img{border-radius:24px;background:radial-gradient(circle at 50% 55%,#ffe3df 0,#fff6f3 60%,transparent 70%);padding:10px}
.about-img img{width:80%;margin:0 auto;mix-blend-mode:multiply}
.eyebrow{display:inline-block;background:#fde8e7;color:var(--red);font-weight:600;font-size:14px;padding:6px 14px;border-radius:30px;margin-bottom:14px}
.about h2{font-size:40px;line-height:1.2;font-weight:800}
.about h2 em{font-style:normal;color:var(--red)}
.about .tag{font-size:18px;font-weight:600;color:var(--teal);margin:8px 0 16px;text-transform:uppercase;letter-spacing:.5px}
.about p{font-size:18px;color:#444852;margin-bottom:26px}
.who{display:flex;flex-wrap:wrap;gap:10px;margin:-10px 0 22px}
.who span{background:#fff;border:1px solid #f3d3d0;color:#7a2a2e;font-weight:600;font-size:15px;padding:7px 14px;border-radius:30px}
.facts{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:28px}
.facts div{background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px 16px}
.facts b{display:block;font-size:22px;color:var(--red)}
.facts span{font-size:14px;color:var(--muted)}

/* Chương trình học */
.progs{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.prog{background:#fff;border-radius:18px;overflow:hidden;border:1px solid var(--line);display:flex;flex-direction:column;transition:.2s}
.prog:hover{box-shadow:0 12px 26px rgba(80,40,30,.10);transform:translateY(-3px)}
.prog .pic{aspect-ratio:4/3;overflow:hidden;background:#f6f1ef;cursor:zoom-in}
.prog .pic img{width:100%;height:100%;object-fit:cover;object-position:top}
.prog .body{padding:18px 20px 22px}
.prog h3{font-size:21px;font-weight:700;margin-bottom:10px;color:var(--red)}
.prog ul{list-style:none;display:grid;gap:7px}
.prog li{position:relative;padding-left:26px;font-size:15.5px;color:#3d404a}
.prog li::before{content:"";position:absolute;left:0;top:3px;width:17px;height:17px;border-radius:50%;background:var(--teal) 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.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/11px no-repeat}

/* E-learning */
.elearn{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.el{background:#fff;border-radius:18px;overflow:hidden;border:1px solid var(--line);display:flex;flex-direction:column}
.el .pic{aspect-ratio:16/10;overflow:hidden}
.el .pic img{width:100%;height:100%;object-fit:cover}
.el .body{padding:18px 20px 22px;display:flex;flex-direction:column;flex:1}
.el h3{font-size:19px;font-weight:700;margin-bottom:4px}
.el .by{font-size:14px;color:var(--teal);font-weight:600;margin-bottom:8px}
.el p{font-size:15px;color:var(--muted);flex:1;margin-bottom:16px;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.el .go{align-self:flex-start;font-size:15px;padding:9px 20px}

/* Giáo viên */
.teachers{display:grid;grid-template-columns:repeat(5,1fr);gap:20px}
.tc{background:#fff;border-radius:18px;overflow:hidden;border:1px solid var(--line);cursor:zoom-in;transition:.2s}
.tc:hover{box-shadow:0 12px 26px rgba(80,40,30,.10);transform:translateY(-3px)}
.tc img{width:100%;aspect-ratio:1414/2000;object-fit:cover}
.tc .name{padding:12px 16px;font-weight:700;font-size:18px;text-align:center}
.tc .name small{display:block;font-weight:500;font-size:14px;color:var(--teal)}

/* Ảnh lớp học */
.gallery{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:220px;gap:14px;grid-auto-flow:dense}
.gallery button{border:0;padding:0;border-radius:14px;overflow:hidden;cursor:zoom-in;background:#eee}
.gallery img{width:100%;height:100%;object-fit:cover;transition:.3s}
.gallery button:hover img{transform:scale(1.04)}
.gallery .tall{grid-row:span 2}

/* Cảm nhận */
.reviews{display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:10px}
.reviews button{flex:0 0 260px;scroll-snap-align:start;border:1px solid var(--line);border-radius:16px;background:#fff;overflow:hidden;cursor:zoom-in;padding:0;height:440px}
.reviews img{width:100%;height:100%;object-fit:cover;object-position:top}
.note{font-size:14px;color:var(--muted);margin-top:8px}

/* Đăng ký tư vấn */
.cta{display:grid;grid-template-columns:1fr 1.1fr;gap:40px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden}
.cta img{width:100%;height:100%;object-fit:cover}
.cta .body{padding:36px 40px 36px 0}
.cta h2{font-size:32px;font-weight:800;line-height:1.25;margin-bottom:10px}
.cta h2 em{font-style:normal;color:var(--red)}
.cta p{color:var(--muted);font-size:17px;margin-bottom:22px}
.ways{display:grid;gap:12px}
.way{display:flex;align-items:center;gap:14px;border:1px solid var(--line);border-radius:14px;padding:12px 16px;transition:.15s}
.way:hover{border-color:var(--red);background:var(--soft)}
.way .ic{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;color:#fff;flex:none;font-weight:800;font-size:13px}
.way b{display:block;font-size:17px}
.way span{font-size:14px;color:var(--muted)}

/* Footer */
footer{position:relative;margin-top:30px;padding:40px 0 0;background:#fbfbfa;border-top:1px solid #f0ebe9;overflow:hidden}
.f-l,.f-r{position:absolute;bottom:0;height:100%;max-height:150px;width:auto;pointer-events:none;opacity:.8}
.f-l{left:0;-webkit-mask-image:linear-gradient(90deg,#000 70%,transparent);mask-image:linear-gradient(90deg,#000 70%,transparent)}
.f-r{right:0;-webkit-mask-image:linear-gradient(270deg,#000 65%,transparent);mask-image:linear-gradient(270deg,#000 65%,transparent)}
.fcols{position:relative;display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:40px}
.fcols h4{font-size:16px;font-weight:700;margin-bottom:14px;text-transform:uppercase;letter-spacing:.3px}
.fcols p,.fcols li{font-size:14.5px;color:#4b4f59;margin-bottom:8px;list-style:none}
.fcols a:hover{color:var(--red)}
.fcols .flogo{height:76px;width:auto;margin-bottom:12px}
.bct{display:inline-block;margin-top:8px;font-size:13px;font-weight:600;color:#1f5fa8;border:1.5px solid #1f5fa8;border-radius:8px;padding:6px 10px;background:#fff}
.vals{display:flex;justify-content:center;gap:44px;margin:34px 0 0;position:relative}
.vals div{font-size:13px;color:#5d616b;display:flex;flex-direction:column;align-items:center;gap:4px}
.vals svg{width:24px;height:24px}
.copy{position:relative;text-align:center;font-size:13px;color:#8a8d95;padding:18px 0 26px}

/* Lightbox */
.lb{position:fixed;inset:0;z-index:50;background:rgba(15,15,20,.9);display:none;align-items:center;justify-content:center;padding:20px}
.lb.open{display:flex}
.lb img{max-width:100%;max-height:100%;border-radius:8px;object-fit:contain}
.lb .x{position:absolute;top:14px;right:18px;background:#fff;border:0;width:42px;height:42px;border-radius:50%;font-size:24px;cursor:pointer}
.lb .nv{position:absolute;top:50%;transform:translateY(-50%);background:rgba(255,255,255,.9);border:0;width:44px;height:44px;border-radius:50%;font-size:22px;cursor:pointer}
.lb .pv{left:14px}.lb .nx{right:14px}

/* Trang văn bản (điều khoản...) */
.doc-hero{background:var(--soft);padding:42px 0 30px}
.doc-hero h1{font-size:36px;font-weight:800}
.doc-hero .crumb{font-size:14px;color:var(--muted);margin-bottom:8px}
.doc-hero .crumb a{color:var(--red)}
.doc-wrap{display:grid;grid-template-columns:240px 1fr;gap:44px;padding:40px 0 20px}
.doc-nav{position:sticky;top:110px;align-self:start;display:grid;gap:4px}
.doc-nav a{padding:10px 14px;border-radius:10px;font-size:15px;color:#3d404a}
.doc-nav a:hover{background:var(--soft)}
.doc-nav a.on{background:#fde8e7;color:var(--red);font-weight:600}
.doc{max-width:860px;font-size:16.5px;color:#30333b;line-height:1.7}
.doc h2{font-size:21px;font-weight:700;margin:30px 0 10px;color:var(--ink)}
.doc h2:first-child{margin-top:0}
.doc h3{font-size:17.5px;font-weight:700;margin:20px 0 6px}
.doc p{margin-bottom:10px}
.doc ul{margin:0 0 12px 22px}
.doc li{margin-bottom:5px}
.doc .box{background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px 20px;margin:12px 0}

@media (max-width:1180px){
  .grid,.teachers{grid-template-columns:repeat(2,1fr)}
  .progs,.elearn{grid-template-columns:repeat(2,1fr)}
  .gallery{grid-template-columns:repeat(3,1fr)}
  .hero h1{font-size:50px}
  .menu{gap:24px;font-size:16px}
}
@media (max-width:980px){
  .wrap{padding:0 16px}
  .nav{height:68px;gap:10px}
  .logo img{height:54px}
  .menu{display:none;position:absolute;top:68px;left:0;right:0;flex-direction:column;gap:0;background:#fff;border-bottom:1px solid #eee;padding:6px 16px 14px;box-shadow:0 10px 20px rgba(0,0,0,.06)}
  .menu.open{display:flex}
  .menu a{padding:12px 0;border-bottom:1px solid #f4eeee}
  .menu a.on::after{display:none}
  .burger{display:block}
  .btn-login{padding:9px 14px;font-size:14px;margin-left:auto;gap:7px}
  .btn-login svg{width:15px;height:15px}
  .hero{min-height:0;background:#fff}
  .hero-img{position:relative;width:100%;height:auto;-webkit-mask-image:none;mask-image:none;aspect-ratio:865/354}
  .hero-text{padding:24px 0 26px;max-width:none}
  .hero h1{font-size:36px;letter-spacing:-.5px}
  .hero p{font-size:17px;margin:12px 0 20px}
  .btn-hero{font-size:17px;padding:13px 26px}
  .banner-btn{font-size:14px;padding:9px 18px;gap:8px;right:4%;bottom:7%}
  section.blk{padding:40px 0}
  .sec-head h2{font-size:26px}
  .about{grid-template-columns:1fr;gap:20px}
  .about-img img{width:60%}
  .about h2{font-size:30px}
  .cta{grid-template-columns:minmax(0,1fr);gap:20px}
  .way span{word-break:break-word}
  .cta .body{padding:0 20px 26px}
  .cta img{max-height:320px}
  .fcols{grid-template-columns:1fr;gap:22px}
  .f-l,.f-r{opacity:.3}
  .vals{gap:22px}
  .doc-wrap{grid-template-columns:1fr;gap:20px;padding-top:24px}
  .doc-nav{position:static;display:flex;overflow-x:auto;gap:6px}
  .doc-nav a{white-space:nowrap;border:1px solid var(--line)}
  .doc-hero h1{font-size:28px}
}
@media (max-width:620px){
  .grid,.progs,.elearn{grid-template-columns:1fr}
  .teachers{grid-template-columns:repeat(2,1fr);gap:12px}
  .tc .name{font-size:15px;padding:10px 8px}
  .gallery{grid-template-columns:repeat(2,1fr);grid-auto-rows:150px;gap:8px}
  .card .go{min-width:0}
  .facts{grid-template-columns:repeat(3,1fr);gap:8px}
  .facts div{padding:10px}
  .facts b{font-size:18px}
  .facts span{font-size:12.5px}
  .reviews button{flex-basis:220px;height:380px}
  .btn-hero.ghost{margin-top:10px}
}

/* Trang chọn cách vào Góc học tập */
.gate{background:linear-gradient(180deg,var(--soft) 0%,#fff 70%);padding:46px 0 30px}
.gate-head{text-align:center;margin-bottom:30px}
.gate-logo{height:84px;width:auto;margin:0 auto 8px}
.gate-head h1{font-size:40px;font-weight:800}
.gate-head p{font-size:18px;color:var(--muted);margin-top:4px}
.gate-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;max-width:1100px;margin:0 auto}
.gate-card{display:flex;flex-direction:column;gap:10px;background:#fff;border:1.5px solid var(--line);border-radius:20px;padding:26px 24px;transition:.2s;color:var(--ink)}
a.gate-card:hover{border-color:var(--red);box-shadow:0 12px 26px rgba(80,40,30,.10);transform:translateY(-3px)}
.gate-card.main{border-color:var(--red);box-shadow:0 8px 22px rgba(217,54,62,.12)}
.gate-card .gi{font-size:38px;line-height:1}
.gate-card > b{font-size:22px}
.gate-card > span:not(.gi):not(.go){font-size:15.5px;color:var(--muted);line-height:1.55;flex:1}
.gate-card .go{display:inline-flex;align-items:center;gap:10px;align-self:flex-start;background:var(--red);color:#fff;font-weight:600;font-size:16px;padding:10px 20px;border-radius:8px}
.gate-card .go.ghost{background:#fff;color:var(--red);border:1.5px solid var(--red)}
.gate-ways{display:flex;gap:8px;flex-wrap:wrap}
.gate-note{text-align:center;color:var(--muted);font-size:14.5px;margin-top:22px}
@media (max-width:860px){
  .gate{padding:28px 0 20px}
  .gate-head h1{font-size:30px}
  .gate-grid{grid-template-columns:1fr;gap:14px}
  .gate-card{padding:20px 18px}
}

/* Form tư vấn */
.lh-form{display:grid;grid-template-columns:1fr 1fr;gap:12px 14px;margin-bottom:16px}
.lh-form label{display:flex;flex-direction:column;gap:5px;font-size:14px;font-weight:600;color:#3d404a}
.lh-form label.full,.lh-form .full{grid-column:1/-1}
.lh-form input,.lh-form select,.lh-form textarea{font:inherit;font-size:15.5px;font-weight:400;padding:11px 13px;border:1.5px solid #e6dcd9;border-radius:10px;background:#fff;color:var(--ink);width:100%}
.lh-form input:focus,.lh-form select:focus,.lh-form textarea:focus{outline:none;border-color:var(--red);box-shadow:0 0 0 3px rgba(217,54,62,.12)}
.lh-form textarea{resize:vertical}
.lh-trap{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.lh-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.lh-row .go{border:0;cursor:pointer;font:inherit;font-weight:600}
.lh-row .go:disabled{opacity:.6;cursor:wait}
.lh-msg{font-size:14.5px;font-weight:600}
.lh-msg.ok{color:var(--teal)}.lh-msg.bad{color:var(--red)}
.ways.mini{grid-template-columns:repeat(3,1fr);gap:8px}
.ways.mini .way{padding:9px 10px;gap:10px}
.ways.mini .ic{width:36px;height:36px;border-radius:10px;font-size:11px}
.ways.mini b{font-size:14.5px}.ways.mini span{font-size:12.5px}
@media (max-width:620px){
  .lh-form{grid-template-columns:1fr}
  .ways.mini{grid-template-columns:1fr}
}

/* Kho game (28/10/2026) */
.games-hero{background:linear-gradient(180deg,var(--soft) 0%,#fff 100%);padding:34px 0 10px}
.gh-in{display:flex;align-items:center;gap:26px}
.gh-bao{width:120px;height:auto;flex:none}
.games-hero h1{font-size:42px;font-weight:800;line-height:1.15}
.games-hero h1 em{font-style:normal;color:var(--red)}
.games-hero p{font-size:17px;color:#3d404a;margin-top:10px;max-width:760px}
.game-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.gv-strip{display:flex;align-items:center;gap:16px;background:#fff7f4;border:1.5px solid #f6d3cc;border-radius:20px;padding:16px 20px;margin-bottom:22px;flex-wrap:wrap}
.gv-strip .gv-i{font-size:34px;line-height:1}
.gv-strip .gv-t{flex:1;min-width:220px;display:flex;flex-direction:column;gap:2px}
.gv-strip .gv-t b{font-size:18px}
.gv-strip .gv-t span{color:var(--muted);font-size:15px}
.gv-strip .gv-n{display:flex;gap:10px;flex-wrap:wrap}
.gv-btn{display:inline-flex;align-items:center;gap:6px;background:var(--red);color:#fff;font-weight:700;font-size:15px;padding:10px 18px;border-radius:12px;border:1.5px solid var(--red)}
.gv-btn:hover{filter:brightness(.95)}
.gv-btn.ghost{background:#fff;color:var(--red)}
.gcard{display:flex;flex-direction:column;gap:9px;background:#fff;border:1.5px solid var(--line);border-radius:20px;padding:22px;transition:.2s;color:var(--ink);position:relative;overflow:hidden}
.gcard:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(0,0,0,.08);border-color:var(--gc)}
.gcard .gi{width:62px;height:62px;border-radius:16px;display:grid;place-items:center;font-size:34px;font-weight:700;color:#fff;background:var(--gc)}
.gcard .hz{font-family:"Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif}
.gcard > b{font-size:21px}
.gcard .gd{font-size:15px;color:var(--muted);line-height:1.55;flex:1}
.gcard .gt{font-size:12.5px;font-weight:700;color:var(--gc);background:color-mix(in srgb,var(--gc) 12%,#fff);border-radius:6px;padding:3px 9px;align-self:flex-start}
.gcard .go{display:inline-flex;align-items:center;gap:10px;align-self:flex-start;background:var(--gc);color:#fff;font-weight:600;font-size:15px;padding:9px 18px;border-radius:8px;margin-top:4px}
.g-red{--gc:#d9363e}.g-navy{--gc:#2e2a6b}.g-sky{--gc:#2f7ae5}.g-pink{--gc:#d4458c}.g-fruit{--gc:#e8572a}.g-cyan{--gc:#00897b}.g-lime{--gc:#5b8f1f}.g-teal{--gc:#2b8a86}.g-orange{--gc:#e8781f}.g-purple{--gc:#7a5af5}.g-green{--gc:#1f9d6b}
.g-soft{--gc:#d9363e;background:var(--soft)}
.g-soft .gi{background:#fff;font-size:36px}
.game-note{text-align:center;color:var(--muted);font-size:14.5px;margin-top:22px}
.home-games{background:linear-gradient(180deg,#fff 0%,var(--soft) 100%)}
.home-games .game-grid{grid-template-columns:repeat(4,1fr)}
.home-games .gcard .gd{font-size:14px}
@media (max-width:1180px){.game-grid,.home-games .game-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:620px){
  .game-grid,.home-games .game-grid{grid-template-columns:1fr}
  .gh-in{gap:14px}.gh-bao{width:76px}
  .games-hero h1{font-size:28px}.games-hero p{font-size:15.5px}
}

/* Dải Học phiên âm Pinyin ở trang chủ */
section.py-band-s{padding:34px 0 0}
.py-band{display:flex;align-items:center;gap:22px;background:linear-gradient(110deg,#fff1ec 0%,#eef8f7 100%);border:1px solid var(--line);border-radius:20px;padding:22px 28px;transition:.15s}
.py-band:hover{box-shadow:0 10px 28px rgba(60,20,20,.1);transform:translateY(-2px)}
.pb-i{flex:none;width:84px;height:84px;border-radius:18px;background:var(--red);color:#fff;font-weight:800;font-size:22px;line-height:1.05;display:flex;align-items:center;justify-content:center;text-align:center}
.pb-t{flex:1;display:flex;flex-direction:column;gap:4px}
.pb-t b{font-size:24px;font-weight:800}
.pb-t span{color:var(--muted);font-size:16px}
.pb-go{flex:none;display:inline-flex;align-items:center;gap:8px;background:var(--teal);color:#fff;font-weight:700;padding:11px 20px;border-radius:10px}
@media (max-width:760px){.py-band{flex-wrap:wrap;padding:18px}.pb-i{width:64px;height:64px;font-size:17px}.pb-t b{font-size:20px}.pb-go{width:100%;justify-content:center}}
/* Menu 7 mục (thêm Học phiên âm Pinyin 29/10): gọn lại trên màn vừa, dưới 1180px chuyển sang nút ☰ */
@media (max-width:1440px){.menu{gap:26px;font-size:16px}}
@media (min-width:981px) and (max-width:1180px){
  .menu{display:none;position:absolute;top:84px;left:0;right:0;flex-direction:column;gap:0;background:#fff;border-bottom:1px solid #eee;padding:6px 44px 14px;box-shadow:0 10px 20px rgba(0,0,0,.06)}
  .menu.open{display:flex}
  .menu a{padding:12px 0;border-bottom:1px solid #f4eeee}
  .menu a.on::after{display:none}
  .burger{display:block}
  .btn-login{margin-left:auto}
}
