/* FAZGAME 2.7 — Home storefront redesign. UI-only overrides for index.html.
   Preserve all content, CTAs, existing JS behaviors and original branding. */
:root{--fg-home-max:1320px;--fg-home-radius:22px;--fg-home-gold:#ffd84d}
html{scroll-padding-top:110px}
body.fg-home-v27{background-color:var(--bg);-webkit-font-smoothing:antialiased}
.fg-home-v27 main{overflow:clip}
.fg-home-v27 .section-title{font-size:clamp(26px,3.2vw,42px);letter-spacing:-.035em;line-height:1.08;margin-bottom:14px;font-weight:800}
.fg-home-v27 .section-subtitle,.fg-home-v27 .section-note{font-size:12px;line-height:1.65;letter-spacing:.015em;text-transform:none;opacity:1;margin-bottom:24px;color:var(--muted)}
.fg-home-v27 .section-note{margin-top:0}
.fg-home-v27 .section-note strong{color:var(--accent)}
.fg-home-v27 #hot,.fg-home-v27 #preorder-console,.fg-home-v27 #gallery,.fg-home-v27 #payment,.fg-home-v27 #faq{
  width:min(var(--fg-home-max),100%);max-width:var(--fg-home-max);margin-inline:auto;
  padding:clamp(48px,6vw,88px) clamp(16px,3.5vw,42px)!important;
}
.fg-home-v27 #gallery{overflow:hidden}
.fg-home-v27 #hot,.fg-home-v27 #preorder-console,.fg-home-v27 #gallery,.fg-home-v27 #payment,.fg-home-v27 #faq{position:relative}
.fg-home-v27 #hot::before,.fg-home-v27 #preorder-console::before,.fg-home-v27 #gallery::before,.fg-home-v27 #faq::before,.fg-home-v27 #payment::before{
  content:"";position:absolute;left:clamp(16px,3.5vw,42px);right:clamp(16px,3.5vw,42px);top:0;height:1px;
  background:linear-gradient(90deg,var(--accent),rgba(255,255,255,.11) 18%,rgba(255,255,255,.055) 80%,transparent);
}
/* Editorial hero. Keep original imagery, stats, destinations and social links. */
.fg-home-v27 .banner{min-height:0;padding:0;overflow:visible;background:transparent;isolation:isolate}
.fg-home-v27 .banner::after{opacity:.075}
.fg-home-v27 .banner-bg .shape{opacity:.16;filter:blur(105px)}
.fg-home-v27 .shape-1{background:#ffd84d}
.fg-home-v27 .shape-2{background:#5c3baf}
.fg-home-v27 .banner-container{max-width:var(--fg-home-max);grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr);gap:clamp(25px,3.8vw,65px);min-height:clamp(570px,47vw,690px);padding:clamp(54px,6vw,88px) clamp(16px,3.5vw,42px) clamp(35px,4vw,58px)}
.fg-home-v27 .banner-content{max-width:690px;min-width:0;position:relative}
.fg-home-v27 .banner-content::before{content:"FAZGAME / GAMING OUTLET";display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:8px;border:1px solid rgba(255,216,77,.26);background:rgba(255,216,77,.07);color:var(--accent);font-size:10px;font-weight:800;letter-spacing:.17em;margin-bottom:22px}
.fg-home-v27 .hero-title{font-size:clamp(48px,5.65vw,88px);line-height:.99;letter-spacing:-.065em;margin-bottom:22px;text-wrap:balance}
.fg-home-v27 .hero-title span{text-shadow:none}
.fg-home-v27 .hero-desc{font-size:clamp(15px,1.5vw,18px);line-height:1.7;max-width:500px;margin-bottom:26px}
.fg-home-v27 .service-chips{gap:9px;margin-bottom:26px}
.fg-home-v27 .chip{padding:11px 15px;min-height:41px;min-width:0;border-radius:11px;font-size:12px;font-weight:650;background:var(--glass-bg);border:1px solid var(--border-color);box-shadow:none;transition:background .2s,border-color .2s,transform .2s}
.fg-home-v27 .chip.primary{background:var(--accent);border-color:var(--accent);color:#101116}
.fg-home-v27 .chip:hover{transform:translateY(-2px);box-shadow:none;background:var(--accent);color:#111}
.fg-home-v27 .hero-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:24px 0 20px;border:1px solid var(--border-color);border-radius:16px;background:var(--glass-bg);overflow:hidden}
.fg-home-v27 .stat-item{min-width:0;padding:16px 11px}
.fg-home-v27 .stat-item+.stat-item{border-left:1px solid var(--border-color)}
.fg-home-v27 .stat-item h3{font-size:clamp(24px,2.2vw,34px);line-height:1.2;color:var(--accent);margin-bottom:3px}
.fg-home-v27 .stat-item p{font-size:9px;line-height:1.4;letter-spacing:.06em;overflow-wrap:anywhere}
.fg-home-v27 .social-row{gap:9px}
.fg-home-v27 .social-link{width:42px;height:42px;border-radius:12px;border:1px solid var(--border-color);background:var(--glass-bg);box-shadow:none}
.fg-home-v27 .social-link:hover{transform:translateY(-2px)}
.fg-home-v27 .banner-visual{order:0;min-height:430px;border-radius:30px;isolation:isolate;background:radial-gradient(circle at 50% 50%,rgba(255,216,77,.08),transparent 58%)}
.fg-home-v27 .banner-visual::before{content:"";position:absolute;inset:8% 6%;border:1px solid rgba(255,216,77,.12);border-radius:34px;transform:rotate(-5deg);z-index:0;pointer-events:none}
.fg-home-v27 .floating-image{width:min(100%,570px);max-width:570px;object-fit:contain;filter:drop-shadow(0 22px 32px rgba(0,0,0,.38));animation:levitate 8s ease-in-out infinite;position:relative}
.fg-home-v27 .orb{opacity:.2}
/* Keep WhatsApp rectangular full-width and original hover-lift behavior. */
.fg-home-v27 .sticky-cta{width:100%;max-width:none;margin:0;padding:0;top:var(--header-h);background:transparent;z-index:900}
.fg-home-v27 .sticky-cta .btn-primary{width:100%;min-height:55px;max-width:none;border-radius:0;background:var(--accent);border:0;box-shadow:none;font-size:14px;font-weight:850;letter-spacing:.025em;transition:transform .22s ease,background-color .22s ease}
.fg-home-v27 .sticky-cta .btn-primary:hover{transform:translateY(-3px);background:var(--accent-dark);box-shadow:none}
.fg-home-v27 .sticky-cta .btn-primary:active{transform:translateY(-1px)}
/* Product collection grid and cards unchanged in content and interactions. */
.fg-home-v27 #hot #hotGrid{max-width:none;gap:clamp(13px,2.1vw,24px);grid-template-columns:repeat(3,minmax(0,1fr))}
.fg-home-v27 #hot .fg-v24-card{border-radius:19px!important;box-shadow:0 15px 32px rgba(0,0,0,.18)!important}
.fg-home-v27 #hot .fg-v24-card:hover{box-shadow:0 24px 50px rgba(0,0,0,.32),0 0 0 1px rgba(255,216,77,.12)!important}
.fg-home-v27 #hot .fg-v24-badge{font-size:9px}
/* Offers */
.fg-home-v27 #promo-banner{max-width:var(--fg-home-max);padding:0 clamp(16px,3.5vw,42px);margin:10px auto 0}
.fg-home-v27 #promo-banner .promo-container{padding:clamp(22px,3vw,36px);border-radius:22px;background:linear-gradient(135deg,rgba(255,216,77,.06),rgba(255,255,255,.015) 55%),var(--bg-secondary);border:1px solid var(--border-color);box-shadow:0 18px 45px rgba(0,0,0,.12)}
.fg-home-v27 .promo-header h3{font-size:clamp(20px,2.6vw,32px);letter-spacing:-.03em}
.fg-home-v27 .promo-desc{font-size:12px;line-height:1.65;margin:9px 0 20px}
.fg-home-v27 .promo-grid{gap:10px}
.fg-home-v27 .promo-item{padding:14px 15px;min-height:77px;border-radius:13px;background:var(--glass-bg);border:1px solid var(--border-color);gap:12px}
.fg-home-v27 .promo-item .item-name{font-size:12px}
.fg-home-v27 .promo-item .item-spec{font-size:11px;margin-top:3px}
.fg-home-v27 .promo-item .item-price{font-size:15px}
.fg-home-v27 .btn-claim{min-height:38px;padding:9px 14px;border-radius:9px;font-size:11px}
.fg-home-v27 .btn-claim:hover{transform:translateY(-2px)}
/* Console gallery */
.fg-home-v27 #preorder-console .hot-grid{gap:clamp(9px,1.5vw,17px)}
.fg-home-v27 #preorder-console .hot-card{border-radius:16px;border:1px solid var(--border-color);box-shadow:0 12px 25px rgba(0,0,0,.14)}
.fg-home-v27 #preorder-console .hot-card:hover{border-color:rgba(255,216,77,.55)}
.fg-home-v27 #gallery .swiper{padding:24px 0 63px}
.fg-home-v27 #gallery .swiper-slide{border-radius:18px}
.fg-home-v27 #gallery .slide-caption{line-height:1.4}
.fg-home-v27 #gallery .fg-series-hint{font-size:11px;line-height:1.6;color:var(--muted);text-align:center;margin:2px auto 0;max-width:680px}
/* Trade-in editorial CTA */
.fg-home-v27 #trade-section{width:calc(100% - 32px);max-width:calc(var(--fg-home-max) - 84px);padding:clamp(45px,6vw,76px) clamp(20px,4vw,55px);margin:10px auto clamp(20px,3vw,45px);border-radius:22px;border:1px solid rgba(255,255,255,.14);background-position:center}
.fg-home-v27 #trade-section::before{border-radius:22px;background:linear-gradient(95deg,rgba(0,0,0,.9),rgba(0,0,0,.49))}
.fg-home-v27 .trade-title{font-family:'Clash Display','Inter',sans-serif;font-size:clamp(27px,3.6vw,44px);letter-spacing:-.04em;margin-bottom:12px}
.fg-home-v27 .trade-desc{font-size:clamp(13px,1.5vw,17px);margin-bottom:24px}
.fg-home-v27 .trade-btn{min-height:48px;padding:12px 25px;font-size:14px;border-radius:11px;box-shadow:none}
/* FAQ and payment */
.fg-home-v27 #faq{max-width:var(--fg-home-max)}
.fg-home-v27 #faq .faq-list{max-width:860px;margin:22px auto 0}
.fg-home-v27 #faq .faq-item{padding:0;border-bottom:1px solid var(--border-color)}
.fg-home-v27 #faq .faq-question{min-height:66px;padding:17px 15px;font-size:15px;font-weight:650;gap:20px;border-radius:10px}
.fg-home-v27 #faq .faq-question:hover{background:var(--glass-bg)}
.fg-home-v27 #faq .faq-answer{padding-left:15px;padding-right:15px}
.fg-home-v27 #faq .faq-answer.open{padding-top:5px;padding-bottom:19px}
.fg-home-v27 #payment .trust-badges{margin:25px 0 30px;gap:12px}
.fg-home-v27 #payment .trust-badge{padding:11px 14px;border:1px solid var(--border-color);border-radius:11px;background:var(--glass-bg);font-size:12px}
.fg-home-v27 #payment .payment-group{margin-top:25px}
.fg-home-v27 #payment .payment-icons{gap:11px}
.fg-home-v27 #payment .payment-item{border-radius:11px;padding:11px 17px;box-shadow:none}
.fg-home-v27 footer{padding:28px 20px 35px}
/* Light mode: original theme behavior retained; readable foreground. */
.fg-home-v27.light-mode #promo-banner .promo-container{background:linear-gradient(135deg,rgba(234,179,8,.06),rgba(255,255,255,.83));box-shadow:0 10px 35px rgba(15,23,42,.05)}
.fg-home-v27.light-mode .hero-stats,.fg-home-v27.light-mode .service-chips .chip:not(.primary){background:rgba(255,255,255,.72)}
.fg-home-v27.light-mode #trade-section{color:#fff}
/* Tablet and phone layouts */
@media(max-width:1090px){
 .fg-home-v27 .banner-container{grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr);gap:10px}
 .fg-home-v27 .hero-title{font-size:clamp(43px,6vw,70px)}
 .fg-home-v27 #hot #hotGrid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .fg-home-v27 #preorder-console .hot-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:780px){
 html{scroll-padding-top:100px}
 .fg-home-v27 .banner-container{display:flex;flex-direction:column;min-height:0;padding:35px 18px 23px;gap:6px}
 .fg-home-v27 .banner-content{order:0;max-width:100%;width:100%}
 .fg-home-v27 .banner-content::before{font-size:9px;margin-bottom:17px}
 .fg-home-v27 .hero-title{font-size:clamp(44px,10.5vw,64px);line-height:1;letter-spacing:-.05em;margin-bottom:14px}
 .fg-home-v27 .hero-desc{font-size:14px;line-height:1.6;margin-bottom:20px}
 .fg-home-v27 .service-chips{gap:7px;margin-bottom:19px}
 .fg-home-v27 .chip{padding:9px 11px;min-height:38px;border-radius:9px;font-size:11px}
 .fg-home-v27 .hero-stats{margin:17px 0 17px}
 .fg-home-v27 .stat-item{padding:13px 8px}
 .fg-home-v27 .stat-item h3{font-size:26px}
 .fg-home-v27 .stat-item p{font-size:8px}
 .fg-home-v27 .banner-visual{order:1;min-height:0;width:100%;max-height:360px;aspect-ratio:1.6;margin-top:8px}
 .fg-home-v27 .banner-visual::before{inset:5% 10%}
 .fg-home-v27 .floating-image{max-width:320px;max-height:360px;object-fit:contain}
 .fg-home-v27 .sticky-cta{top:0}
 .fg-home-v27 .sticky-cta .btn-primary{min-height:49px;font-size:13px}
 .fg-home-v27 #hot,.fg-home-v27 #preorder-console,.fg-home-v27 #gallery,.fg-home-v27 #faq,.fg-home-v27 #payment{padding:50px 16px!important}
 .fg-home-v27 #hot #hotGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
 .fg-home-v27 #preorder-console .hot-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
 .fg-home-v27 .promo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .fg-home-v27 #gallery .swiper{padding:17px 0 56px}
 .fg-home-v27 #trade-section{margin-top:6px}
}
@media(max-width:520px){
 .fg-home-v27 .section-title{font-size:27px;margin-bottom:10px}
 .fg-home-v27 .section-subtitle,.fg-home-v27 .section-note{font-size:11px;line-height:1.55;margin-bottom:18px}
 .fg-home-v27 .banner-container{padding:29px 16px 16px}
 .fg-home-v27 .banner-content::before{padding:7px 10px;letter-spacing:.12em}
 .fg-home-v27 .hero-title{font-size:clamp(39px,10.2vw,57px)}
 .fg-home-v27 .hero-desc{max-width:340px}
 .fg-home-v27 .service-chips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
 .fg-home-v27 .chip{min-height:38px;padding:8px 6px;font-size:10px;text-align:center;line-height:1.25}
 .fg-home-v27 .banner-visual{max-height:290px;aspect-ratio:1.45}
 .fg-home-v27 .floating-image{max-width:290px;max-height:290px}
 .fg-home-v27 .social-row{gap:8px}
 .fg-home-v27 .social-link{width:39px;height:39px}
 .fg-home-v27 #hot,.fg-home-v27 #preorder-console,.fg-home-v27 #gallery,.fg-home-v27 #faq,.fg-home-v27 #payment{padding:43px 13px!important}
 .fg-home-v27 #hot::before,.fg-home-v27 #preorder-console::before,.fg-home-v27 #gallery::before,.fg-home-v27 #faq::before,.fg-home-v27 #payment::before{left:13px;right:13px}
 .fg-home-v27 #hot #hotGrid{gap:10px}
 .fg-home-v27 #hot .fg-v24-badge{font-size:7px}
 .fg-home-v27 #promo-banner{padding:0 13px}
 .fg-home-v27 #promo-banner .promo-container{padding:17px 14px;border-radius:17px}
 .fg-home-v27 .promo-grid{grid-template-columns:1fr;gap:8px}
 .fg-home-v27 .promo-item{padding:11px 12px;min-height:62px}
 .fg-home-v27 .btn-claim{min-height:35px}
 .fg-home-v27 #preorder-console .hot-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .fg-home-v27 #trade-section{width:calc(100% - 26px);padding:43px 18px;border-radius:17px}
 .fg-home-v27 #faq .faq-question{min-height:60px;padding:13px 9px;font-size:13px}
 .fg-home-v27 #payment .trust-badges{gap:9px}
 .fg-home-v27 #payment .trust-badge{font-size:11px;padding:9px 10px}
 .fg-home-v27 #payment .payment-item{padding:10px 12px;font-size:12px}
}
@media(max-width:360px){.fg-home-v27 .nav-link{font-size:10px}.fg-home-v27 .hero-title{font-size:38px}.fg-home-v27 .chip{font-size:9px}.fg-home-v27 #hot #hotGrid{gap:8px}}
@media(prefers-reduced-motion:reduce){.fg-home-v27 .floating-image{animation:none!important}}

/* V2.7.1: The original V2.6.6 header is now authoritative again.
   Mobile hero is intentionally image-first: PC > LEVEL UP YOUR GAMING > content. */
@media(max-width:767px){
  .fg-home-v27 .banner-container{display:flex;flex-direction:column;align-items:stretch;gap:4px}
  .fg-home-v27 .banner-visual{order:-1;width:100%;margin:0 auto 9px;min-height:0;max-height:290px;aspect-ratio:1.48;display:flex;justify-content:center;align-items:center}
  .fg-home-v27 .banner-content{order:0;width:100%;max-width:100%}
  .fg-home-v27 .floating-image{display:block;width:100%;max-width:min(82vw,330px);max-height:290px;object-fit:contain}
  .fg-home-v27 .hero-title{margin-top:4px}
}
@media(max-width:380px){
  .fg-home-v27 .banner-visual{max-height:245px;aspect-ratio:1.5}
  .fg-home-v27 .floating-image{max-height:245px;max-width:min(80vw,280px)}
}

/* V2.7.14 — restore original two-line headline flow and give GAMING legible tracking.
   Remove retired V2.7.10 / V2.7.11 display:flex headline rules. */
.fg-home-v27 .hero-title{
  display:block;
  position:static;
  width:auto;
  max-width:100%;
  padding:0;
  margin:0 0 22px;
  font-family:'Clash Display','Inter',Arial,sans-serif;
  font-weight:700;
  font-size:clamp(40px,4.7vw,70px);
  line-height:1.16;
  letter-spacing:.012em;
  word-spacing:.045em;
  text-transform:none;
  text-wrap:initial;
  white-space:normal;
}
.fg-home-v27 .hero-title::after{content:none;display:none}
.fg-home-v27 .hero-title span{
  display:inline-block;
  color:var(--accent);
  letter-spacing:.034em;
  margin-left:.055em;
  text-shadow:none;
}
@media (max-width:1090px){
  .fg-home-v27 .hero-title{font-size:clamp(36px,4.5vw,56px)}
}
@media (max-width:780px){
  .fg-home-v27 .hero-title{font-size:clamp(34px,7.3vw,48px);margin-bottom:16px}
}
@media (max-width:520px){
  .fg-home-v27 .hero-title{font-size:clamp(29px,7.7vw,38px);line-height:1.2;letter-spacing:.01em;margin-bottom:15px}
  .fg-home-v27 .hero-title span{letter-spacing:.026em;margin-left:.04em}
}
@media (max-width:360px){
  .fg-home-v27 .hero-title{font-size:29px}
}
