/*
Theme Name: AnTop
Author: Cao Hữu Dũng
Description: Chủ đề đánh giá nhà cái — hero 3, header 1, thẻ bài kiểu 1, danh sách kiểu 1, hệ lớp flat.
Version: 1.0.0
Text Domain: antop
*/

*{margin:0;padding:0;box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{font-family:'IBM Plex Sans', 'Segoe UI', sans-serif;background:#0e0f1b;color:#e6e6ea;line-height:1.65;font-size:16px}
img{max-width:100%;height:auto;display:block}
a{color:#545ad4;text-decoration:none}
a:hover{color:#5cc6e0}
ul{list-style:none}
h1,h2,h3,h4{font-family:'Sora', 'Trebuchet MS', 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}
.terov-wrap{max-width:1180px;margin:0 auto;padding:0 18px}

.terov-btn{display:inline-block;padding:12px 26px;border-radius:999px;font-weight:700;color:#0b0c1e;background:linear-gradient(120deg,#545ad4,#d2664b);box-shadow:0 6px 18px rgba(0,0,0,.22);transition:transform .18s ease,filter .18s ease;text-align:center}
.terov-btn:hover{transform:translateY(-2px);filter:brightness(1.08);color:#0b0c1e}
.terov-btn-sm{padding:8px 18px;font-size:14px}
.terov-btn-lg{padding:15px 34px;font-size:17px}
.terov-btn-ghost{background:transparent;color:#e6e6ea;border:2px solid #545ad4;box-shadow:none}
.terov-chip{display:inline-block;margin:0 8px 0 0;padding:6px 15px;border:1px solid #313249;border-radius:999px;font-size:13px;color:#e6e6ea;font-weight:600}
.terov-chip:hover{border-color:#545ad4;color:#545ad4}
.terov-link{color:#e6e6ea;font-weight:600;font-size:14px}
.terov-link:hover{color:#5cc6e0}

.terov-masthead{background:#19192a;border-bottom:1px solid #313249;position:sticky;top:0;z-index:60}
.terov-masthead-row{display:flex;align-items:center;gap:18px;min-height:64px;flex-wrap:wrap}
.terov-logo{display:inline-flex;align-items:center;gap:10px}
.terov-logo-name{font-family:'Sora', 'Trebuchet MS', sans-serif;font-size:22px;color:#e6e6ea}
.terov-nav-list{display:flex;flex-wrap:wrap;gap:6px}
.terov-nav-list li a{display:inline-block;padding:8px 14px;color:#e6e6ea;font-weight:600;font-size:15px;border-radius:999px}
.terov-nav-list li a:hover{background:#1b1d3c;color:#545ad4}
.terov-burger{display:none;background:none;border:1px solid #313249;color:#e6e6ea;font-size:20px;width:42px;height:42px;border-radius:10px;cursor:pointer}

.terov-nav{flex:1;display:flex;justify-content:center}
.terov-masthead-side{display:flex;gap:10px;align-items:center}

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

.terov-hero{position:relative;overflow:hidden;padding:70px 0;background:#0e0f1b}
.terov-hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.5}
.terov-hero-shade{position:absolute;inset:0;background:linear-gradient(100deg,#0e0f1b 18%,transparent 78%)}
.terov-hero-inner{position:relative;z-index:2;max-width:640px}
.terov-hero-kicker{display:inline-block;font-size:13px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#5cc6e0;margin-bottom:14px}
.terov-hero h1{font-size:clamp(30px,4.6vw,52px);margin-bottom:14px;color:#e6e6ea}
.terov-hero h1 span{color:#545ad4}
.terov-hero-desc{color:#a7a8b4;font-size:17px;margin-bottom:22px}
.terov-hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:26px}
.terov-hero-trust{display:flex;gap:28px;flex-wrap:wrap}
.terov-hero-trust li b{display:block;font-family:'Sora', 'Trebuchet MS', sans-serif;font-size:22px;color:#545ad4}
.terov-hero-trust li span{font-size:13px;color:#a7a8b4}

.terov-hero-stack{padding-bottom:0}
.terov-hero-cards{position:relative;z-index:3;display:grid;grid-template-columns:repeat(3,1fr);gap:16px;transform:translateY(46px);margin-bottom:46px}
.terov-hero-card{background:#19192a;border:1px solid #313249;border-radius:10px;padding:18px 20px;box-shadow:0 14px 34px rgba(0,0,0,.28)}
.terov-hero-card b{display:block;font-family:'Sora', 'Trebuchet MS', sans-serif;font-size:24px;color:#545ad4}
.terov-hero-card span{font-size:13px;color:#a7a8b4}
@media(max-width:800px){.terov-hero-cards{grid-template-columns:1fr;transform:none}}

.terov-block{padding:52px 0}
.terov-block-alt{background:#222335}
.terov-block-head{text-align:center;max-width:720px;margin:0 auto 30px}
.terov-block-head-side{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;text-align:left;max-width:none}
.terov-block-head-side .terov-block-sub{margin:0}
.terov-block-title{font-size:clamp(24px,3vw,34px);margin-bottom:8px;color:#e6e6ea}
.terov-block-sub{color:#a7a8b4;margin-top:6px}

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

.terov-card{background:#19192a;border:1px solid #313249;border-radius:10px;overflow:hidden;transition:transform .18s ease,box-shadow .18s ease}
.terov-card:hover{transform:translateY(-4px);box-shadow:0 16px 34px rgba(0,0,0,.25)}
.terov-card-media{display:block;position:relative;overflow:hidden}
.terov-card-media img{width:100%;aspect-ratio:16/10;object-fit:cover;transition:transform .3s ease}
.terov-card:hover .terov-card-media img{transform:scale(1.045)}
.terov-card-body{padding:16px 18px 18px}
.terov-card-excerpt{color:#a7a8b4;font-size:14px;margin-bottom:10px}
.terov-card-more{font-weight:700;font-size:14px;color:#545ad4}

.terov-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}

.terov-pager{margin-top:30px;text-align:center}
.terov-pager .page-numbers{display:inline-block;margin:0 4px;padding:8px 14px;border:1px solid #313249;border-radius:10px;color:#e6e6ea;font-weight:600}
.terov-pager .page-numbers.current{background:#545ad4;border-color:#545ad4;color:#0b0c1e}

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

.terov-promos{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.terov-promo{background:#19192a;border:1px solid #313249;border-radius:10px;overflow:hidden;display:flex;flex-direction:column}
.terov-promo-img{width:100%;height:150px;object-fit:cover}
.terov-promo-body{padding:16px 18px 18px;display:flex;flex-direction:column;gap:8px;flex:1}
.terov-promo-title{font-size:18px;color:#d2664b}
.terov-promo-body p{color:#a7a8b4;font-size:14px;flex:1}
@media(max-width:900px){.terov-promos{grid-template-columns:1fr}}

.terov-faq{display:grid;gap:14px;max-width:860px;margin:0 auto}
.terov-faq-item{background:#19192a;border:1px solid #313249;border-radius:10px;padding:18px 20px}
.terov-faq-q{display:flex;align-items:center;gap:12px;font-size:16px;margin-bottom:8px}
.terov-faq-num{flex:none;width:32px;height:32px;display:grid;place-items:center;background:#1b1d3c;color:#545ad4;font-family:'Sora', 'Trebuchet MS', sans-serif;border-radius:50%}
.terov-faq-a{color:#a7a8b4;font-size:14px;padding-left:44px}

.terov-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.terov-stats-item{background:#19192a;border:1px solid #313249;border-radius:10px;padding:20px;text-align:center}
.terov-stats-item b{display:block;font-family:'Sora', 'Trebuchet MS', sans-serif;font-size:30px;color:#545ad4}
.terov-stats-item span{font-size:13px;color:#a7a8b4}
@media(max-width:800px){.terov-stats{grid-template-columns:repeat(2,1fr)}}

.terov-cats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.terov-cats-tile{position:relative;display:block;border-radius:10px;overflow:hidden;border:1px solid #313249}
.terov-cats-tile img{width:100%;height:150px;object-fit:cover}
.terov-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}
.terov-cats-cap b{display:block;font-size:16px}
.terov-cats-cap span{font-size:12px;opacity:.85}
@media(max-width:900px){.terov-cats{grid-template-columns:repeat(2,1fr)}}

.terov-timeline{position:relative;max-width:760px;margin:0 auto;padding-left:26px;border-left:2px solid #313249}
.terov-timeline-item{position:relative;padding:0 0 26px 18px}
.terov-timeline-item:before{content:"";position:absolute;left:-33px;top:6px;width:12px;height:12px;border-radius:50%;background:#545ad4;box-shadow:0 0 0 4px #1b1d3c}
.terov-timeline-year{display:inline-block;font-family:'Sora', 'Trebuchet MS', sans-serif;font-weight:700;color:#545ad4;font-size:19px;margin-bottom:4px}
.terov-timeline-item p{color:#a7a8b4;font-size:15px}

.terov-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.terov-steps-item{background:#19192a;border:1px solid #313249;border-radius:10px;padding:20px}
.terov-steps-tag{display:inline-block;background:#1b1d3c;color:#545ad4;font-weight:700;font-size:12px;letter-spacing:.08em;text-transform:uppercase;padding:4px 12px;border-radius:999px;margin-bottom:10px}
.terov-steps-item h3{font-size:17px;margin-bottom:6px}
.terov-steps-item p{color:#a7a8b4;font-size:14px}
.terov-steps-cta{text-align:center;margin-top:24px}
@media(max-width:800px){.terov-steps{grid-template-columns:1fr}}

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

.terov-footer{background:#090a12;border-top:1px solid #313249;margin-top:40px;padding-top:44px}
.terov-footer-cols{display:grid;gap:28px}
.terov-footer-cols-c2{grid-template-columns:repeat(2,1fr)}
.terov-footer-cols-c3{grid-template-columns:repeat(3,1fr)}
.terov-footer-cols-c4{grid-template-columns:repeat(4,1fr)}
.terov-footer-title{font-size:15px;text-transform:uppercase;letter-spacing:.08em;margin-bottom:12px;color:#e6e6ea}
.terov-footer-col ul li{margin-bottom:8px}
.terov-footer-col ul li a{color:#a7a8b4;font-size:14px}
.terov-footer-col ul li a:hover{color:#545ad4}
.terov-footer-col p{color:#a7a8b4;font-size:14px;margin-bottom:10px}
.terov-footer-tags a{display:inline-block;margin:0 6px 8px 0;padding:4px 12px;border:1px solid #313249;border-radius:999px;color:#a7a8b4;font-size:12px}
.terov-footer-ctarow{border-top:1px solid #313249;margin-top:34px;padding:16px 0;display:flex;justify-content:center}
.terov-footer-ctarow .terov-wrap{display:flex;gap:22px;flex-wrap:wrap;justify-content:center}
.terov-footer-bottom{border-top:1px solid #313249;padding:22px 0;text-align:center}
.terov-warn{max-width:760px;margin:14px auto;color:#a7a8b4;font-size:13px}
.terov-copy{color:#a7a8b4;font-size:13px;margin-top:10px}
@media(max-width:800px){.terov-footer-cols{grid-template-columns:1fr}}

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

.terov-sidebar{display:grid;gap:20px;align-content:start}
.terov-widget{background:#19192a;border:1px solid #313249;border-radius:10px;padding:18px}
.terov-wtitle{font-size:16px;margin-bottom:12px}
.terov-widget ul li{margin-bottom:8px}
.terov-widget ul li a{color:#a7a8b4;font-size:14px}
.terov-widget ul li a:hover{color:#545ad4}

.terov-search{display:flex;gap:8px}
.terov-search-input{flex:1;padding:10px 14px;border:1px solid #313249;border-radius:10px;background:#0e0f1b;color:#e6e6ea;font-family:inherit}
.terov-search-btn{padding:10px 20px}
.terov-notfound{text-align:center;padding:40px 0 60px}
.terov-notfound-code{font-size:90px;color:#545ad4;font-family:'Sora', 'Trebuchet MS', sans-serif}
.terov-notfound-msg{color:#a7a8b4;margin-bottom:18px}
.terov-notfound .terov-search{max-width:420px;margin:0 auto 18px}
