/*
Theme Name: ManhLive
Author: Đỗ Hữu Mai
Description: Chủ đề đánh giá nhà cái — hero 1, header 3, thẻ bài kiểu 1, danh sách kiểu 3, hệ lớp bem.
Version: 1.0.0
Text Domain: manhlive
*/

*{margin:0;padding:0;box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{font-family:'Source Sans 3', 'Segoe UI', sans-serif;background:#1b0e14;color:#eae6e8;line-height:1.65;font-size:16px}
img{max-width:100%;height:auto;display:block}
a{color:#e14791;text-decoration:none}
a:hover{color:#9451ec}
ul{list-style:none}
h1,h2,h3,h4{font-family:'Oswald', 'Arial Narrow', sans-serif;line-height:1.18;font-weight:700;letter-spacing:.01em}
.site-logo{max-height:48px;width:auto}
.screen-reader-text{position:absolute;left:-9999px}
.gelil-wrap{max-width:1180px;margin:0 auto;padding:0 18px}

.gelil-btn{display:inline-block;padding:12px 26px;border-radius:999px;font-weight:700;color:#1e0b14;background:linear-gradient(120deg,#e14791,#9fe03e);box-shadow:0 6px 18px rgba(0,0,0,.22);transition:transform .18s ease,filter .18s ease;text-align:center}
.gelil-btn:hover{transform:translateY(-2px);filter:brightness(1.08);color:#1e0b14}
.gelil-btn--sm{padding:8px 18px;font-size:14px}
.gelil-btn--lg{padding:15px 34px;font-size:17px}
.gelil-btn--ghost{background:transparent;color:#eae6e8;border:2px solid #e14791;box-shadow:none}
.gelil-chip{display:inline-block;margin:0 8px 0 0;padding:6px 15px;border:1px solid #49313d;border-radius:999px;font-size:13px;color:#eae6e8;font-weight:600}
.gelil-chip:hover{border-color:#e14791;color:#e14791}
.gelil-link{color:#eae6e8;font-weight:600;font-size:14px}
.gelil-link:hover{color:#9451ec}

.gelil-masthead{background:#2a1921;border-bottom:1px solid #49313d;position:sticky;top:0;z-index:60}
.gelil-masthead__row{display:flex;align-items:center;gap:18px;min-height:64px;flex-wrap:wrap}
.gelil-logo{display:inline-flex;align-items:center;gap:10px}
.gelil-logo__name{font-family:'Oswald', 'Arial Narrow', sans-serif;font-size:22px;color:#eae6e8}
.gelil-nav__list{display:flex;flex-wrap:wrap;gap:6px}
.gelil-nav__list li a{display:inline-block;padding:8px 14px;color:#eae6e8;font-weight:600;font-size:15px;border-radius:999px}
.gelil-nav__list li a:hover{background:#3f182b;color:#e14791}
.gelil-burger{display:none;background:none;border:1px solid #49313d;color:#eae6e8;font-size:20px;width:42px;height:42px;border-radius:6px;cursor:pointer}

.gelil-masthead__util{background:#12090d;border-bottom:1px solid #49313d;font-size:13px}
.gelil-masthead__row--util{min-height:38px;justify-content:space-between}
.gelil-masthead__tag{color:#b4a7ad}
.gelil-masthead__utilctas .gelil-chip{padding:3px 12px;font-size:12px}
.gelil-nav{flex:1;display:flex;justify-content:center}

@media(max-width:960px){.gelil-nav{display:none;width:100%}.gelil-nav--open{display:block}.gelil-burger{display:inline-block}.gelil-masthead__row{padding:8px 0}}

.gelil-hero{position:relative;overflow:hidden;padding:70px 0;background:#1b0e14}
.gelil-hero__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.5}
.gelil-hero__shade{position:absolute;inset:0;background:linear-gradient(100deg,#1b0e14 18%,transparent 78%)}
.gelil-hero__inner{position:relative;z-index:2;max-width:640px}
.gelil-hero__kicker{display:inline-block;font-size:13px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#9451ec;margin-bottom:14px}
.gelil-hero h1{font-size:clamp(30px,4.6vw,52px);margin-bottom:14px;color:#eae6e8}
.gelil-hero h1 span{color:#e14791}
.gelil-hero__desc{color:#b4a7ad;font-size:17px;margin-bottom:22px}
.gelil-hero__actions{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:26px}
.gelil-hero__trust{display:flex;gap:28px;flex-wrap:wrap}
.gelil-hero__trust li b{display:block;font-family:'Oswald', 'Arial Narrow', sans-serif;font-size:22px;color:#e14791}
.gelil-hero__trust li span{font-size:13px;color:#b4a7ad}

.gelil-block{padding:52px 0}
.gelil-block--alt{background:#35222b}
.gelil-block__head{text-align:center;max-width:720px;margin:0 auto 30px}
.gelil-block__head--side{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;text-align:left;max-width:none}
.gelil-block__head--side .gelil-block__sub{margin:0}
.gelil-block__title{font-size:clamp(24px,3vw,34px);margin-bottom:8px;color:#eae6e8}
.gelil-block__sub{color:#b4a7ad;margin-top:6px}

.gelil-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(255px,1fr));gap:22px}
.gelil-rows{display:grid;gap:18px}
.gelil-rows .gelil-card{display:grid;grid-template-columns:250px 1fr}
.gelil-rows--zebra .gelil-card:nth-child(even) .gelil-card__media{order:2}
@media(max-width:700px){.gelil-rows .gelil-card{grid-template-columns:1fr}}

.gelil-card{background:#2a1921;border:1px solid #49313d;border-radius:6px;overflow:hidden;transition:transform .18s ease,box-shadow .18s ease}
.gelil-card:hover{transform:translateY(-4px);box-shadow:0 16px 34px rgba(0,0,0,.25)}
.gelil-card__media{display:block;position:relative;overflow:hidden}
.gelil-card__media img{width:100%;aspect-ratio:16/10;object-fit:cover;transition:transform .3s ease}
.gelil-card:hover .gelil-card__media img{transform:scale(1.045)}
.gelil-card__body{padding:16px 18px 18px}
.gelil-card__excerpt{color:#b4a7ad;font-size:14px;margin-bottom:10px}
.gelil-card__more{font-weight:700;font-size:14px;color:#e14791}

.gelil-card__cap{position:absolute;left:0;right:0;bottom:0;padding:30px 14px 12px;background:linear-gradient(transparent,rgba(0,0,0,.82));color:#fff;font-size:15px}

.gelil-pager{margin-top:30px;text-align:center}
.gelil-pager .page-numbers{display:inline-block;margin:0 4px;padding:8px 14px;border:1px solid #49313d;border-radius:6px;color:#eae6e8;font-weight:600}
.gelil-pager .page-numbers.current{background:#e14791;border-color:#e14791;color:#1e0b14}

.gelil-games{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.gelil-games__item{background:#2a1921;border:1px solid #49313d;border-radius:6px;padding:22px 16px;text-align:center}
.gelil-games__item img{width:64px;height:64px;object-fit:cover;border-radius:50%;margin:0 auto 12px}
.gelil-games__item h3{font-size:17px;margin-bottom:6px}
.gelil-games__item p{color:#b4a7ad;font-size:13px;margin-bottom:12px}
@media(max-width:900px){.gelil-games{grid-template-columns:repeat(2,1fr)}}

.gelil-promos{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.gelil-promo{background:#2a1921;border:1px solid #49313d;border-radius:6px;overflow:hidden;display:flex;flex-direction:column}
.gelil-promo__img{width:100%;height:150px;object-fit:cover}
.gelil-promo__body{padding:16px 18px 18px;display:flex;flex-direction:column;gap:8px;flex:1}
.gelil-promo__title{font-size:18px;color:#9fe03e}
.gelil-promo__body p{color:#b4a7ad;font-size:14px;flex:1}
@media(max-width:900px){.gelil-promos{grid-template-columns:1fr}}

.gelil-faq{display:grid;gap:14px;max-width:860px;margin:0 auto}
.gelil-faq__item{background:#2a1921;border:1px solid #49313d;border-radius:6px;padding:18px 20px}
.gelil-faq__q{display:flex;align-items:center;gap:12px;font-size:16px;margin-bottom:8px}
.gelil-faq__num{flex:none;width:32px;height:32px;display:grid;place-items:center;background:#3f182b;color:#e14791;font-family:'Oswald', 'Arial Narrow', sans-serif;border-radius:50%}
.gelil-faq__a{color:#b4a7ad;font-size:14px;padding-left:44px}

.gelil-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.gelil-stats__item{background:#2a1921;border:1px solid #49313d;border-radius:6px;padding:20px;text-align:center}
.gelil-stats__item b{display:block;font-family:'Oswald', 'Arial Narrow', sans-serif;font-size:30px;color:#e14791}
.gelil-stats__item span{font-size:13px;color:#b4a7ad}
@media(max-width:800px){.gelil-stats{grid-template-columns:repeat(2,1fr)}}

.gelil-cats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.gelil-cats__tile{position:relative;display:block;border-radius:6px;overflow:hidden;border:1px solid #49313d}
.gelil-cats__tile img{width:100%;height:150px;object-fit:cover}
.gelil-cats__cap{position:absolute;left:0;right:0;bottom:0;padding:26px 14px 12px;background:linear-gradient(transparent,rgba(0,0,0,.85));color:#fff}
.gelil-cats__cap b{display:block;font-size:16px}
.gelil-cats__cap span{font-size:12px;opacity:.85}
@media(max-width:900px){.gelil-cats{grid-template-columns:repeat(2,1fr)}}

.gelil-timeline{position:relative;max-width:760px;margin:0 auto;padding-left:26px;border-left:2px solid #49313d}
.gelil-timeline__item{position:relative;padding:0 0 26px 18px}
.gelil-timeline__item:before{content:"";position:absolute;left:-33px;top:6px;width:12px;height:12px;border-radius:50%;background:#e14791;box-shadow:0 0 0 4px #3f182b}
.gelil-timeline__year{display:inline-block;font-family:'Oswald', 'Arial Narrow', sans-serif;font-weight:700;color:#e14791;font-size:19px;margin-bottom:4px}
.gelil-timeline__item p{color:#b4a7ad;font-size:15px}

.gelil-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.gelil-steps__item{background:#2a1921;border:1px solid #49313d;border-radius:6px;padding:20px}
.gelil-steps__tag{display:inline-block;background:#3f182b;color:#e14791;font-weight:700;font-size:12px;letter-spacing:.08em;text-transform:uppercase;padding:4px 12px;border-radius:999px;margin-bottom:10px}
.gelil-steps__item h3{font-size:17px;margin-bottom:6px}
.gelil-steps__item p{color:#b4a7ad;font-size:14px}
.gelil-steps__cta{text-align:center;margin-top:24px}
@media(max-width:800px){.gelil-steps{grid-template-columns:1fr}}

.gelil-outro{max-width:820px;margin:0 auto;color:#b4a7ad;font-size:16px;text-align:center}

.gelil-footer{background:#12090d;border-top:1px solid #49313d;margin-top:40px;padding-top:44px}
.gelil-footer__cols{display:grid;gap:28px}
.gelil-footer__cols--c2{grid-template-columns:repeat(2,1fr)}
.gelil-footer__cols--c3{grid-template-columns:repeat(3,1fr)}
.gelil-footer__cols--c4{grid-template-columns:repeat(4,1fr)}
.gelil-footer__title{font-size:15px;text-transform:uppercase;letter-spacing:.08em;margin-bottom:12px;color:#eae6e8}
.gelil-footer__col ul li{margin-bottom:8px}
.gelil-footer__col ul li a{color:#b4a7ad;font-size:14px}
.gelil-footer__col ul li a:hover{color:#e14791}
.gelil-footer__col p{color:#b4a7ad;font-size:14px;margin-bottom:10px}
.gelil-footer__tags a{display:inline-block;margin:0 6px 8px 0;padding:4px 12px;border:1px solid #49313d;border-radius:999px;color:#b4a7ad;font-size:12px}
.gelil-footer__ctarow{border-top:1px solid #49313d;margin-top:34px;padding:16px 0;display:flex;justify-content:center}
.gelil-footer__ctarow .gelil-wrap{display:flex;gap:22px;flex-wrap:wrap;justify-content:center}
.gelil-footer__bottom{border-top:1px solid #49313d;padding:22px 0;text-align:center}
.gelil-warn{max-width:760px;margin:14px auto;color:#b4a7ad;font-size:13px}
.gelil-copy{color:#b4a7ad;font-size:13px;margin-top:10px}
@media(max-width:800px){.gelil-footer__cols{grid-template-columns:1fr}}

.gelil-layout{display:grid;gap:30px;padding:36px 0;align-items:start}
.gelil-layout--side-r{grid-template-columns:minmax(0,1fr) 320px}
.gelil-layout--side-l{grid-template-columns:320px minmax(0,1fr)}
.gelil-layout--full{grid-template-columns:minmax(0,1fr)}
.gelil-main{min-width:0}
.gelil-main--full{max-width:820px;margin:0 auto;padding:36px 0}
@media(max-width:960px){.gelil-layout--side-r,.gelil-layout--side-l{grid-template-columns:1fr}}
.gelil-ah h1{font-size:clamp(26px,3.4vw,38px);margin-bottom:12px}
.gelil-ameta{display:flex;gap:16px;flex-wrap:wrap;color:#b4a7ad;font-size:13px;margin-bottom:18px}
.gelil-cover{margin-bottom:22px;border-radius:6px;overflow:hidden}
.gelil-abody{line-height:1.8}
.gelil-abody p{margin-bottom:16px}
.gelil-abody h2{font-size:24px;margin:26px 0 12px}
.gelil-abody h3{font-size:20px;margin:22px 0 10px}
.gelil-abody img{border-radius:6px}
.gelil-abody blockquote{border-left:4px solid #e14791;padding:10px 18px;background:#35222b;border-radius:0 6px 6px 0;margin:18px 0}
.gelil-ctabox{margin:28px 0;padding:24px;background:#2a1921;border:1px solid #49313d;border-left:5px solid #e14791;border-radius:6px;text-align:center}
.gelil-ctabox h3{margin-bottom:8px}
.gelil-ctabox p{color:#b4a7ad;margin-bottom:16px}
.gelil-postnav{display:flex;justify-content:space-between;gap:18px;border-top:1px solid #49313d;padding-top:18px;margin-top:8px}
.gelil-postnav a{color:#eae6e8;font-weight:600}
.gelil-postnav small{display:block;color:#b4a7ad;font-weight:400;font-size:12px}
.gelil-postnav__next{text-align:right}

.gelil-sidebar{display:grid;gap:20px;align-content:start}
.gelil-widget{background:#2a1921;border:1px solid #49313d;border-radius:6px;padding:18px}
.gelil-wtitle{font-size:16px;margin-bottom:12px}
.gelil-widget ul li{margin-bottom:8px}
.gelil-widget ul li a{color:#b4a7ad;font-size:14px}
.gelil-widget ul li a:hover{color:#e14791}

.gelil-search{display:flex;gap:8px}
.gelil-search__input{flex:1;padding:10px 14px;border:1px solid #49313d;border-radius:6px;background:#1b0e14;color:#eae6e8;font-family:inherit}
.gelil-search__btn{padding:10px 20px}
.gelil-notfound{text-align:center;padding:40px 0 60px}
.gelil-notfound__code{font-size:90px;color:#e14791;font-family:'Oswald', 'Arial Narrow', sans-serif}
.gelil-notfound__msg{color:#b4a7ad;margin-bottom:18px}
.gelil-notfound .gelil-search{max-width:420px;margin:0 auto 18px}
