/* =========================================================
   FREEIDZONE / GAME ID SHOP - Clean Sci-Fi Yellow Black Theme
   ใช้แทน styles.css เดิมได้เลย
========================================================= */
:root{
  --bg:#05060c;
  --bg2:#0b0d17;
  --surface:#10131f;
  --surface2:#15192a;
  --card:#111421;
  --text:#fff7dc;
  --muted:#c8bea3;
  --line:rgba(255,184,35,.24);
  --line-soft:rgba(255,184,35,.12);
  --yellow:#ffb21a;
  --yellow2:#ffd35a;
  --orange:#ff8a1f;
  --blue:#2f64d6;
  --red:#ff3030;
  --green:#22d27f;
  --shadow:0 18px 50px rgba(0,0,0,.38);
  --glow:0 0 18px rgba(255,178,26,.28);
  --radius-lg:28px;
  --radius-md:20px;
  --radius-sm:14px;
}

*{box-sizing:border-box;font-family:'line_seed_sans_th','IBM Plex Sans Thai',system-ui,sans-serif}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--text)!important;
  background:
    radial-gradient(circle at 20% 0%,rgba(255,178,26,.13),transparent 32%),
    radial-gradient(circle at 85% 12%,rgba(255,211,90,.08),transparent 30%),
    linear-gradient(180deg,#05060c 0%,#0a0d17 45%,#05060c 100%)!important;
  background-attachment:fixed;
  overflow-x:hidden;
  padding-bottom:0;
}
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:-1;
  opacity:.32;
  background:
    linear-gradient(rgba(255,178,26,.055) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,178,26,.045) 1px,transparent 1px);
  background-size:42px 42px;
}
a{color:inherit;text-decoration:none!important}
img,svg{display:block;max-width:100%}
button,a{-webkit-tap-highlight-color:transparent}
.container{width:min(1180px,calc(100% - 32px));margin:0 auto}
.page-shell{min-height:auto}
main{position:relative;z-index:1}

/* Announcement top bar */
.navann{
  display:flex;align-items:center;height:35px;width:100%;position:fixed;top:0;left:0;right:0;overflow:hidden;z-index:1100;
  background:linear-gradient(90deg,#07070c 0%,#ffb21a 50%,#07070c 100%)!important;
  border-bottom:1px solid rgba(255,211,90,.35);
  box-shadow:0 0 22px rgba(255,178,26,.18);
}
.navann-text{width:100%;overflow:hidden;position:relative;height:100%;display:flex;align-items:center}
.ann-text{white-space:nowrap;animation:scroll-left 40s linear infinite;font-size:12px;font-weight:800;color:#fff;text-transform:uppercase;letter-spacing:1.2px;text-shadow:none}
@keyframes scroll-left{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}
.navann:hover .ann-text{animation-play-state:paused}

/* Header / Navbar */
.site-header{
  position:sticky;top:35px;z-index:1050;width:100%;
  background:rgba(5,7,16,.96)!important;
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
  box-shadow:0 10px 28px rgba(0,0,0,.45),inset 0 -1px 0 rgba(255,178,26,.1);
}
.nav-wrap{display:flex;align-items:center;gap:18px;min-height:74px}
.brand{display:flex;align-items:center;text-decoration:none;min-width:0;color:var(--text)!important}
.brand img{height:52px;width:auto;object-fit:contain;filter:drop-shadow(0 0 10px rgba(255,178,26,.25))}
.brand-text{font-size:1.45rem;font-weight:900;letter-spacing:.3px;color:var(--text)!important;text-shadow:0 0 12px rgba(255,178,26,.24)}
.desktop-nav{display:flex;align-items:center;gap:8px;margin-left:auto}
.desktop-nav a{color:rgba(255,247,220,.78)!important;font-size:14px;font-weight:700;padding:10px 13px;border-radius:999px;transition:.2s ease}
.desktop-nav a:hover,.desktop-nav a.active{color:#0b0b0b!important;background:linear-gradient(180deg,var(--yellow2),var(--yellow));box-shadow:var(--glow);transform:translateY(-1px)}
.menu-toggle{
  display:none;width:46px;height:46px;padding:0;flex-shrink:0;cursor:pointer;
  border-radius:16px;border:1px solid rgba(255,178,26,.48);
  background:linear-gradient(180deg,rgba(255,178,26,.12),rgba(255,178,26,.03));
  box-shadow:inset 0 0 16px rgba(255,178,26,.06),0 0 0 1px rgba(255,255,255,.03);
}
.menu-toggle span{display:block;width:27px;height:3px;margin:5px auto;border-radius:999px;background:#fff2bf;box-shadow:0 0 10px rgba(255,178,26,.55);transition:.22s ease}
.menu-toggle.is-open span:nth-child(1){transform:translateY(8px) rotate(45deg)}
.menu-toggle.is-open span:nth-child(2){opacity:0}
.menu-toggle.is-open span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}
.bell-btn{
  position:relative;display:flex;align-items:center;justify-content:center;width:46px;height:46px;flex-shrink:0;
  color:#ffe083!important;border-radius:16px;border:1px solid rgba(255,178,26,.34);
  background:rgba(255,178,26,.07);box-shadow:inset 0 0 16px rgba(255,178,26,.06);transition:.2s ease;
}
.bell-btn:hover{background:rgba(255,178,26,.16);box-shadow:var(--glow)}
.bell-dot{position:absolute;top:6px;right:7px;width:10px;height:10px;background:var(--red);border:2px solid #05060c;border-radius:50%;box-shadow:0 0 12px rgba(255,48,48,.9)}
.mobile-nav{display:none}
.mobile-nav.is-open{display:flex!important;flex-direction:column}
.mobile-nav a{display:flex;align-items:center;gap:10px;color:rgba(255,247,220,.88)!important;text-decoration:none;padding:15px 22px;border-bottom:1px solid var(--line-soft);font-size:15px;font-weight:800}
.mobile-nav a:hover,.mobile-nav a.active{color:var(--yellow)!important;background:rgba(255,178,26,.08)}

/* Hero */
.hero{padding:26px 0 0}
.hero-box{
  padding:18px;
  border-radius:var(--radius-lg);
  border:1px solid var(--line)!important;
  background:linear-gradient(180deg,rgba(255,178,26,.07),rgba(255,178,26,.025))!important;
  box-shadow:var(--shadow),inset 0 0 0 1px rgba(255,255,255,.025)!important;
}
.hero-content{
  position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:center;text-align:center;z-index:2;
  min-height:520px;padding:86px 24px 42px;border-radius:26px;color:#fff;
  background-image:
    linear-gradient(180deg,rgba(0,0,0,.5),rgba(0,0,0,.78)),
    url(https://img5.pic.in.th/file/secure-sv1/JrxStore2.jpg);
  background-size:cover;background-position:center;
  box-shadow:inset 0 0 0 1px rgba(255,178,26,.16),inset 0 -120px 180px rgba(0,0,0,.45);
}
.hero-content::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 50% 20%,rgba(255,178,26,.2),transparent 34%)}
.eyebrow,.section-badge,.product-tag,.order-status{
  display:inline-flex;align-items:center;justify-content:center;width:max-content;max-width:100%;
  padding:8px 14px;border-radius:10px;color:#070707!important;background:linear-gradient(180deg,var(--yellow2),var(--yellow))!important;
  border:1px solid rgba(255,226,120,.8)!important;box-shadow:var(--glow);font-weight:900;line-height:1.35;
}
.hero h1{position:relative;margin:18px 0 14px;font-size:clamp(2rem,4.5vw,4rem);line-height:1.15;color:#fff3bf!important;text-shadow:0 0 18px rgba(255,178,26,.32);max-width:860px}
.hero-text{position:relative;margin:0;max-width:760px;font-size:clamp(1rem,1.6vw,1.2rem);line-height:1.8;color:rgba(255,247,220,.78)!important}
.hero-actions{position:relative;display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin-top:28px}
.btn{display:inline-flex!important;align-items:center;justify-content:center;gap:7px;min-height:52px;padding:0 24px;border-radius:999px!important;border:1px solid transparent;font-weight:900!important;line-height:1;transition:.18s ease!important;text-decoration:none!important}
.btn:hover{transform:translateY(-1px)}
.btn-orange,.btn-primary{color:#fff!important;background:linear-gradient(180deg,#ff9a2d,#ff7b14)!important;box-shadow:0 14px 28px rgba(255,122,20,.22)!important;border-color:rgba(255,196,105,.55)!important}
.btn-orange:hover,.btn-primary:hover{background:linear-gradient(180deg,#ffb21a,#ff8a1f)!important;box-shadow:0 16px 34px rgba(255,178,26,.3)!important}
.btn-secondary,.btn-card,.btn-card-alt{color:#fff3bf!important;background:rgba(255,178,26,.09)!important;border:1px solid rgba(255,178,26,.3)!important;box-shadow:inset 0 0 18px rgba(255,178,26,.04)!important}

/* Blue announcement under hero - keep original idea but fit theme */
.bg-ann{background:linear-gradient(90deg,#2558cf,#3269e8,#2558cf)!important;border-radius:14px!important;padding:7px 10px!important;border:1px solid rgba(120,165,255,.38)!important;border-bottom:3px solid #214bb5!important;box-shadow:0 12px 24px rgba(47,100,214,.2)}
.bg-ann .input-group-text{background:transparent!important;border:0!important;color:#fff!important;font-size:14px!important}
.bg-ann .announcement-text{background:transparent!important;border:0!important;color:#fff!important;font-weight:700!important;box-shadow:none!important}

/* Sections and cards */
.section{padding:38px 0}.section-slim{padding:20px 0}.section-alt{background:linear-gradient(180deg,rgba(255,178,26,.035),rgba(0,0,0,.05));border-top:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft)}
.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:24px}.section-heading.centered{flex-direction:column;align-items:center;text-align:center}.section-heading.left-tight{margin-bottom:18px;align-items:flex-start;flex-direction:column}
.section-heading h2,.claim-box h2{margin:12px 0 10px;font-size:clamp(1.7rem,3vw,2.55rem);line-height:1.25;color:#fff3bf!important;text-shadow:0 0 14px rgba(255,178,26,.18)}
.section-heading p,.claim-box p{margin:0;max-width:760px;color:var(--muted)!important;line-height:1.75}
.quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.step-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.two-column{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);gap:24px;align-items:start}.claim-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.footer-grid{display:grid;grid-template-columns:1.5fr repeat(3,minmax(0,1fr));gap:28px}
.quick-card,.product-card,.step-card,.testimonial-card,.claim-card,.order-board,.faq-list details{
  position:relative;overflow:hidden;background:linear-gradient(180deg,rgba(17,20,33,.96),rgba(9,11,20,.98))!important;border:1px solid var(--line)!important;border-radius:22px!important;box-shadow:var(--shadow)!important;color:var(--text)!important;
}
.quick-card::before,.product-card::before,.step-card::before,.testimonial-card::before,.claim-card::before,.order-board::before,.faq-list details::before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(135deg,rgba(255,178,26,.09),transparent 28%);opacity:.8}
.quick-card{display:flex;align-items:center;gap:14px;padding:20px;text-decoration:none}.quick-card strong,.quick-card span{display:block;position:relative}.quick-card strong{font-size:1.05rem;color:#fff3bf}.quick-card span:last-child{margin-top:4px;color:var(--muted);font-size:.94rem}.quick-icon{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 50px;width:50px;height:50px;border-radius:16px;background:rgba(255,178,26,.1);color:var(--yellow);border:1px solid rgba(255,178,26,.22);box-shadow:inset 0 0 16px rgba(255,178,26,.05)}.quick-icon svg{width:25px;height:25px;fill:currentColor}
.product-card{display:flex;flex-direction:column;gap:18px;padding:22px}.product-top,.spec-list,.product-card .btn{position:relative}.product-top strong{display:block;margin:12px 0 12px;font-size:1.26rem;color:#fff3bf}.product-top p{margin:12px 0 0;color:var(--muted);line-height:1.7}.product-card img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:16px!important;border:1px solid rgba(255,178,26,.18)!important;background:#070911!important;padding:0!important}.spec-list{display:grid;gap:10px;list-style:none;margin:0;padding:0}.spec-list li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:14px;background:rgba(255,178,26,.055);border:1px solid rgba(255,178,26,.13)}.spec-list span{color:var(--muted);font-size:.95rem}.spec-list strong{text-align:right;color:#fff3bf;font-size:.98rem}
.step-card,.testimonial-card,.claim-card{padding:24px}.step-number{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:linear-gradient(180deg,var(--yellow2),var(--yellow));color:#0a0a0a;font-weight:900;box-shadow:var(--glow)}.step-card h3,.claim-card h3{margin:16px 0 10px;color:#fff3bf}.step-card p,.testimonial-card p,.claim-card li{color:var(--muted);line-height:1.75}.review-card-stack{display:grid;gap:18px}.stars{color:var(--yellow);letter-spacing:.08em;font-size:1.15rem;text-shadow:0 0 10px rgba(255,178,26,.55)}
.order-board{overflow:hidden}.order-row{position:relative;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;border-top:1px solid var(--line-soft)}.order-row:first-child{border-top:0}.order-user{display:flex;align-items:center;gap:14px}.order-user strong,.order-user span{display:block}.order-user span:last-child{color:var(--muted);font-size:.93rem}.avatar{width:44px;height:44px;border-radius:50%;object-fit:cover;border:1px solid rgba(255,178,26,.22)}
.faq-list{display:grid;gap:14px}.faq-list details{padding:0 20px}.faq-list summary{position:relative;cursor:pointer;list-style:none;font-weight:900;padding:19px 34px 19px 0;color:#fff3bf}.faq-list summary::-webkit-details-marker{display:none}.faq-list summary::after{content:"+";position:absolute;right:0;top:50%;transform:translateY(-50%);color:var(--yellow);font-size:1.35rem}.faq-list details[open] summary::after{content:"−"}.faq-list p{margin:0 0 18px;color:var(--muted);line-height:1.75}.claim-card.good{border-color:rgba(34,210,127,.25)!important}.claim-card.bad{border-color:rgba(255,48,48,.25)!important}.claim-card ul{margin:0;padding-left:20px}
.site-footer{margin-top:30px;padding:38px 0 110px;background:rgba(5,7,16,.96);border-top:1px solid var(--line-soft)}.site-footer h4{color:#fff3bf;margin:0 0 12px}.site-footer ul{list-style:none;margin:0;padding:0}.footer-text,.site-footer li,.site-footer a{color:var(--muted)!important;line-height:1.8}.footer-brand{margin-bottom:12px}

/* SweetAlert */
.swal2-popup,.warning-popupSwal,.success-popupSwal,.error-popupSwal{background:linear-gradient(180deg,#111421,#070911)!important;color:var(--text)!important;border:1px solid var(--line)!important;box-shadow:0 22px 60px rgba(0,0,0,.68),var(--glow)!important}.swal2-title{color:var(--yellow2)!important}.swal2-html-container{color:var(--muted)!important}.Swal-Button{color:#0b0b0b!important;background:linear-gradient(180deg,var(--yellow2),var(--yellow))!important;border:0!important;border-radius:12px!important;font-weight:900!important}.Swal-cButton{color:#fff3bf!important;background:#222!important;border-radius:12px!important}

/* Mobile bottom navigation */
.mobile-bottom-nav{display:none}
@media (max-width:1080px){.desktop-nav{display:none}.menu-toggle{display:block}.quick-grid,.product-grid,.step-grid,.claim-columns,.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.two-column{grid-template-columns:1fr}}
@media (max-width:768px){
  body{padding-bottom:calc(88px + env(safe-area-inset-bottom))}
  .container{width:min(100% - 28px,1180px)}
  .nav-wrap{min-height:72px;padding:0 4px;gap:14px}.menu-toggle{order:1}.brand{order:2;margin-right:auto}.brand img{height:42px}.bell-btn{order:3;margin-left:auto}
  .mobile-nav{position:absolute;left:12px;right:12px;top:calc(100% + 8px);z-index:1100;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:rgba(8,10,18,.98);box-shadow:0 18px 44px rgba(0,0,0,.55),var(--glow)}
  .hero{padding-top: 1px;}.hero-box{padding:12px;border-radius:22px}.hero-content{min-height:0;padding:92px 18px 32px;border-radius:20px}.eyebrow{font-size:.95rem;padding:8px 10px}.hero h1{font-size:clamp(2rem,9vw,2.7rem);line-height:1.18}.hero-text{font-size:1rem}.hero-actions{width:100%;gap:10px}.hero-actions .btn{width:100%;max-width:280px}
  .section,.section-slim{padding:28px 0}.quick-grid,.product-grid,.step-grid,.claim-columns,.footer-grid{grid-template-columns:1fr}.quick-card{padding:16px}.product-card,.step-card,.testimonial-card,.claim-card{border-radius:18px!important}.section-heading{align-items:flex-start;flex-direction:column}.order-row{flex-direction:column;align-items:flex-start}.faq-list details{padding:0 16px}
  .mobile-bottom-nav{position:fixed;left:10px;right:10px;bottom:calc(8px + env(safe-area-inset-bottom));z-index:1200;display:grid;grid-template-columns:repeat(5,1fr);align-items:center;min-height:74px;padding:7px 8px;background:rgba(8,10,18,.97);backdrop-filter:blur(16px);border:1px solid rgba(255,178,26,.28);border-radius:22px;box-shadow:0 -8px 30px rgba(0,0,0,.45),var(--glow)}
  .mobile-bottom-nav::before{content:"";position:absolute;left:18px;right:18px;top:0;height:1px;background:linear-gradient(90deg,transparent,var(--yellow),transparent)}
  .bottom-nav-item{position:relative;height:58px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:rgba(255,247,220,.58)!important;font-size:11.5px;font-weight:800;border-radius:16px;transition:.18s ease}.bottom-nav-item svg{width:24px;height:24px}.bottom-nav-item span{line-height:1;white-space:nowrap}.bottom-nav-item.active,.bottom-nav-item:hover{color:var(--yellow)!important;background:rgba(255,178,26,.1)}.bottom-nav-item.active svg,.bottom-nav-item:hover svg{filter:drop-shadow(0 0 9px rgba(255,178,26,.75))}.bottom-nav-item.active::after{content:"";position:absolute;bottom:3px;width:18px;height:3px;border-radius:999px;background:var(--yellow);box-shadow:0 0 12px rgba(255,178,26,.9)}
}
@media (min-width:769px){.mobile-bottom-nav{display:none!important}}
/* =========================================================
   Latest Boxlog Ticker
========================================================= */

.latest-log-ticker {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;

  min-height: 58px;
  padding: 8px 16px;
  border-radius: 16px;

  background:
    linear-gradient(180deg, rgba(6, 9, 18, 0.92), rgba(3, 5, 12, 0.96));
  border: 1px solid rgba(255, 176, 0, 0.18);
  box-shadow:
    inset 0 0 0 1px rgba(255, 176, 0, 0.05),
    0 0 26px rgba(0, 0, 0, 0.45),
    0 0 18px rgba(255, 176, 0, 0.08);
  overflow: hidden;
}

.latest-log-ticker::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 176, 0, 0.08), transparent 20%, transparent 80%, rgba(138, 62, 255, 0.08)),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04), transparent);
}

.latest-log-icon {
  position: relative;
  z-index: 1;

  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: #ffb000;
  font-size: 21px;
  border-radius: 12px;
  background: rgba(255, 176, 0, 0.08);
  border: 1px solid rgba(255, 176, 0, 0.18);
  box-shadow: 0 0 14px rgba(255, 176, 0, 0.22);
}

.latest-log-track {
  position: relative;
  z-index: 1;
  overflow: hidden;
  min-width: 0;
}

.latest-log-marquee {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  white-space: nowrap;
  animation: latestLogScroll 24s linear infinite;
  padding-left: 100%;
}

.latest-log-ticker:hover .latest-log-marquee {
  animation-play-state: paused;
}

.latest-log-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  color: rgba(255, 248, 223, 0.78);
  font-size: 15px;
  font-weight: 700;
}

.latest-log-item strong {
  color: #ffffff;
  font-weight: 900;
}

.latest-log-item b {
  color: #ffcc33;
  font-weight: 900;
}

.latest-log-item em {
  color: #ffb000;
  font-style: normal;
  font-weight: 900;
  text-shadow: 0 0 12px rgba(255, 176, 0, 0.55);
}

.latest-log-time {
  position: relative;
  z-index: 1;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  color: rgba(255, 248, 223, 0.58);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.latest-log-time span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #b05cff;
  box-shadow: 0 0 12px rgba(176, 92, 255, 0.9);
}

@keyframes latestLogScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

@media (max-width: 768px) {
  .latest-log-ticker {
    grid-template-columns: 40px minmax(0, 1fr);
    min-height: 54px;
    padding: 8px 12px;
    border-radius: 14px;
    gap: 10px;
  }

  .latest-log-icon {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }

  .latest-log-item {
    font-size: 13.5px;
  }

  .latest-log-time {
    display: none;
  }

  .latest-log-marquee {
    gap: 28px;
    animation-duration: 18s;
  }
}
/* =========================================================
   Home Big Carousel Banner
========================================================= */

.home-carousel-wrap {
  width: 100%;
  margin: 16px auto 22px;
}

.home-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #05060c;
  border: 1px solid rgba(255, 176, 0, 0.22);
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.5),
    0 0 22px rgba(255, 176, 0, 0.12);
}

.home-carousel-inner {
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
}

.home-carousel-image-box {
  width: 100%;
  aspect-ratio: 16 / 7;
  min-height: 260px;
  max-height: 430px;
  background:
    radial-gradient(circle at center, rgba(255, 176, 0, 0.08), transparent 45%),
    #05060c;
  overflow: hidden;
}

.home-carousel-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
}

/* ปุ่มเลื่อน */
.home-carousel-control {
  width: 48px;
  opacity: 0.85;
}

.home-carousel .carousel-control-prev-icon,
.home-carousel .carousel-control-next-icon {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background-size: 55%;
  background-color: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 176, 0, 0.25);
  box-shadow: 0 0 16px rgba(255, 176, 0, 0.18);
}

/* กัน class เก่าบีบรูป */
.home-carousel .carousel-item,
.home-carousel .home-carousel-image-box,
.home-carousel .home-carousel-image {
  min-height: unset;
}

/* Mobile */
@media (max-width: 768px) {
  .home-carousel-wrap {
    margin: 12px auto 18px;
  }

  .home-carousel {
    border-radius: 18px;
  }

  .home-carousel-inner {
    border-radius: 18px;
  }

  .home-carousel-image-box {
    aspect-ratio: 16 / 9;
    min-height: 190px;
    max-height: none;
  }

  .home-carousel-image {
    border-radius: 18px;
    object-fit: cover;
  }

  .home-carousel-control {
    width: 38px;
  }

  .home-carousel .carousel-control-prev-icon,
  .home-carousel .carousel-control-next-icon {
    width: 30px;
    height: 30px;
  }
}

/* มือถือจอเล็กมาก */
@media (max-width: 420px) {
  .home-carousel-image-box {
    aspect-ratio: 16 / 10;
    min-height: 175px;
  }
}

/* Mobile: quick links 2 items per row */
@media (max-width: 768px) {
  .quick-links .quick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px;
  }

  .quick-links .quick-card {
    min-height: 112px;
    padding: 14px 10px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 9px;
    border-radius: 18px;
  }

  .quick-links .quick-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
  }

  .quick-links .quick-icon svg {
    width: 22px;
    height: 22px;
  }

  .quick-links .quick-card strong {
    font-size: 13.5px;
    line-height: 1.25;
  }

  .quick-links .quick-card span:last-child {
    margin-top: 3px;
    font-size: 11.5px;
    line-height: 1.35;
  }
}
/* =========================================================
   CLEAN BLACK + YELLOW NAVBAR
   ใช้วางท้าย styles.css เพื่อทับ Navbar เดิม
========================================================= */

:root {
  --nav-black: #070a12;
  --nav-black-2: #0b0f19;
  --nav-yellow: #ffb31a;
  --nav-yellow-2: #ffd15c;
  --nav-white: #f5f5f5;
  --nav-muted: #8f929a;
  --nav-border: rgba(255, 255, 255, 0.08);
}

/* ปิดความรู้สึก sci-fi เฉพาะ Navbar */
.site-header,
.mobile-bottom-nav,
.mobile-nav {
  box-shadow: none !important;
}

.site-header::before,
.mobile-bottom-nav::before {
  display: none !important;
}

/* Top Navbar */
.site-header {
  position: sticky;
  top: 0 !important;
  z-index: 1050;
  width: 100%;
  background: var(--nav-black) !important;
  border-bottom: 1px solid var(--nav-border) !important;
  backdrop-filter: none !important;
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  color: var(--nav-white) !important;
  text-decoration: none !important;
}

.brand img {
  height: 54px;
  width: auto;
  object-fit: contain;
  filter: none !important;
}

.brand-text {
  color: var(--nav-white) !important;
  text-shadow: none !important;
  font-weight: 900;
}

/* Desktop Menu */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.desktop-nav a {
  color: rgba(255, 255, 255, 0.72) !important;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  transition: 0.18s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--nav-yellow) !important;
  background: rgba(255, 179, 26, 0.1) !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Menu Button */
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0 !important;
  background: transparent !important;
  border-radius: 10px;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: none !important;
}

.menu-toggle span {
  display: block;
  width: 30px;
  height: 3px;
  margin: 6px auto;
  background: #ffffff !important;
  border-radius: 999px;
  box-shadow: none !important;
  transition: 0.22s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Bell */
.bell-btn {
  position: relative;
  width: 46px;
  height: 46px;
  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #ffffff !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 10px;
  box-shadow: none !important;
  transition: 0.18s ease;
}

.bell-btn:hover {
  color: var(--nav-yellow) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  box-shadow: none !important;
}

.bell-btn svg {
  width: 30px;
  height: 30px;
}

.bell-dot {
  position: absolute;
  top: 6px;
  right: 5px;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #ff1f2d !important;
  border: 2px solid var(--nav-black);
  box-shadow: none !important;
}

/* Mobile Dropdown */
.mobile-nav {
  display: none;
  background: var(--nav-black-2) !important;
  border: 1px solid var(--nav-border) !important;
  box-shadow: none !important;
}

.mobile-nav.is-open {
  display: flex !important;
  flex-direction: column;
}

.mobile-nav a {
  color: rgba(255, 255, 255, 0.82) !important;
  padding: 15px 20px;
  border-bottom: 1px solid var(--nav-border);
  font-size: 15px;
  font-weight: 700;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--nav-yellow) !important;
  background: rgba(255, 179, 26, 0.08) !important;
}

/* Mobile Layout */
@media (max-width: 1080px) {
  .desktop-nav {
    display: none !important;
  }

  .menu-toggle {
    display: block;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
  }

  .site-header {
    top: 0 !important;
  }

  .nav-wrap {
    min-height: 78px;
    padding: 0 14px;
    gap: 16px;
  }

  .menu-toggle {
    order: 1;
  }

  .brand {
    order: 2;
    margin-right: auto;
  }

  .brand img {
    height: 50px;
  }

  .bell-btn {
    order: 3;
    margin-left: auto;
  }

  .mobile-nav {
    position: absolute;
    left: 12px;
    right: 12px;
    top: calc(100% + 8px);
    z-index: 1100;
    overflow: hidden;
    border-radius: 14px;
  }
}

/* =========================================================
   CLEAN BLACK + YELLOW BOTTOM NAV
========================================================= */

.mobile-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;

    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;

    min-height: 82px;
    padding: 8px 6px calc(8px + env(safe-area-inset-bottom));

    background: #0d1016 !important;
    border-top: 1px solid var(--nav-border) !important;
    border-radius: 0 !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
  }

  .bottom-nav-item {
    position: relative;
    height: 66px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;

    color: #8f929a !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 700;
    border-radius: 12px;
    transition: 0.18s ease;
  }

  .bottom-nav-item i {
    font-size: 28px;
    line-height: 1;
  }

  .bottom-nav-item span {
    line-height: 1;
    white-space: nowrap;
  }

  .bottom-nav-item svg {
    display: none !important;
  }

  .bottom-nav-item.active,
  .bottom-nav-item:hover {
    color: var(--nav-yellow) !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .bottom-nav-item.active i,
  .bottom-nav-item:hover i {
    color: var(--nav-yellow) !important;
    filter: none !important;
  }

  .bottom-nav-item.active::after {
    display: none !important;
  }

  .bottom-nav-item:active {
    transform: scale(0.96);
  }
}

@media (min-width: 769px) {
  .mobile-bottom-nav {
    display: none !important;
  }
}