/* ===== JU88 homepage — Red Gold v2 ===== */
.page-index{color:#FFF5E1;background:#B71C1C}
.page-index img{max-width:100%;height:auto;display:block;filter:none}
.page-index h1,.page-index h2,.page-index h3{color:#F4D34D;line-height:1.25;letter-spacing:0.01em}
.page-index p{color:#FFF5E1;line-height:1.75}
.page-index a{text-decoration:none}

/* Hero */
.page-index__hero-section{position:relative;width:100%;overflow:hidden;padding-top:0;margin-top:0;background:#7A0E0E}
.page-index__hero-carousel{position:relative;width:100%}
.page-index__hero-slide{display:none;width:100%}
.page-index__hero-slide.is-active{display:block}
.page-index__hero-image{width:100%;height:auto;display:block}
.page-index__hero-prev,.page-index__hero-next{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:44px;height:44px;border:1px solid #F2B544;border-radius:50%;background:rgba(122,14,14,0.75);color:#FFCC66;font-size:26px;line-height:1;cursor:pointer}
.page-index__hero-prev{left:12px}
.page-index__hero-next{right:12px}
.page-index__hero-dots{position:absolute;left:0;right:0;bottom:12px;z-index:3;display:flex;justify-content:center;gap:8px}
.page-index__hero-dot{width:10px;height:10px;border-radius:50%;border:1px solid #F2B544;background:transparent;cursor:pointer;padding:0}
.page-index__hero-dot.is-active{background:#FFCC66}

/* Banner thumbs */
.page-index__banner-section{max-width:1200px;margin:14px auto 0;padding:0 16px}
.page-index__banner-thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.page-index__banner-thumbs a{display:block;border:1px solid #F2B544;border-radius:10px;overflow:hidden;background:#D32F2F;transition:transform .2s ease,box-shadow .2s ease}
.page-index__banner-thumbs a:hover{transform:translateY(-3px);box-shadow:0 6px 18px rgba(255,204,102,0.35)}
.page-index__banner-thumbs img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;display:block}

/* Intro */
.page-index__intro-section{max-width:1200px;margin:0 auto;padding:28px 16px 8px}
.page-index__main-title{margin:0 0 14px;font-weight:800}
.page-index__lead{font-size:1.02rem;margin:0 0 22px;max-width:900px}
.page-index__offer-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:0 0 22px}
.page-index__offer-card{background:#D32F2F;border:1px solid #F2B544;border-radius:14px;padding:20px 16px;text-align:center;box-shadow:0 4px 14px rgba(0,0,0,0.25)}
.page-index__offer-number{display:block;font-size:1.22rem;font-weight:800;color:#FFCC66;margin-bottom:6px;word-break:break-word}
.page-index__offer-label{display:block;font-size:0.95rem;color:#FFF5E1}
.page-index__category-list{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 26px}
.page-index__category-pill{display:inline-block;padding:8px 16px;border-radius:999px;border:1px solid #F2B544;background:linear-gradient(180deg,#FFD86A 0%,#E6B800 100%);color:#5A0A0A;font-weight:700;font-size:0.92rem}
.page-index__section-title{font-size:1.45rem;margin:0 0 14px}
.page-index__sub-title{font-size:1.15rem;margin:20px 0 8px}
.page-index__intro-content p{margin:0 0 14px}

/* Posts */
.page-index__posts-section{max-width:1200px;margin:0 auto;padding:26px 16px}
.page-index__posts-track{display:flex;gap:16px;overflow:hidden}
.page-index__post-card{flex:0 0 calc(25% - 12px);background:#D32F2F;border:1px solid #F2B544;border-radius:12px;overflow:hidden;padding-bottom:14px;display:flex;flex-direction:column}
.page-index__post-card img{width:100%;height:auto;aspect-ratio:2/1;object-fit:cover;display:block;margin-bottom:10px}
.page-index__post-card time{display:block;font-size:0.82rem;color:#FFCC66;padding:0 12px;margin-bottom:6px}
.page-index__post-card h3{font-size:1rem;margin:0 12px 10px;line-height:1.4}
.page-index__post-card h3 a{color:#F4D34D}
.page-index__post-card h3 a:hover{color:#FFCC66}
.page-index__read-more{display:inline-block;margin:0 12px;font-size:0.88rem;color:#FFCC66;font-weight:700}
.page-index__read-more:hover{text-decoration:underline}
.page-index__posts-nav{display:flex;justify-content:center;gap:12px;margin-top:18px}
.page-index__posts-prev,.page-index__posts-next{width:42px;height:42px;border-radius:50%;border:1px solid #F2B544;background:linear-gradient(180deg,#FFD86A 0%,#E6B800 100%);color:#5A0A0A;font-size:22px;line-height:1;cursor:pointer}

/* Promo */
.page-index__promo-section{max-width:1200px;margin:0 auto;padding:28px 16px;text-align:center}
.page-index__promo-desc{max-width:820px;margin:0 auto 20px}
.page-index__promo-image{width:100%;max-width:800px;height:auto;margin:0 auto;border-radius:16px;border:1px solid #F2B544}

/* List */
.page-index__list-section{max-width:1200px;margin:0 auto;padding:20px 16px}
.page-index__list-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.page-index__list-item{background:#D32F2F;border:1px solid #F2B544;border-radius:12px;overflow:hidden;padding-bottom:16px}
.page-index__list-item img{width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;display:block;margin-bottom:12px}
.page-index__list-item h3{font-size:1.02rem;margin:0 14px 8px;line-height:1.4}
.page-index__list-item h3 a{color:#F4D34D}
.page-index__list-item p{font-size:0.92rem;margin:0 14px}

/* FAQ */
.page-index__faq-section{max-width:1200px;margin:0 auto;padding:28px 16px}
.page-index__faq-item{background:#D32F2F;border:1px solid #F2B544;border-radius:10px;padding:14px 16px;margin-bottom:12px}
.page-index__faq-item summary{cursor:pointer;font-weight:700;color:#FFCC66;font-size:1rem;list-style:none}
.page-index__faq-item summary::-webkit-details-marker{display:none}
.page-index__faq-item[open] summary{margin-bottom:10px}
.page-index__faq-item p{margin:0;font-size:0.95rem}

/* Overlay */
.page-index__overlay-section{position:relative;width:100%;overflow:hidden;min-height:280px;display:flex;align-items:center;justify-content:center;text-align:center;padding:48px 16px;box-sizing:border-box}
.page-index__overlay-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.page-index__overlay-mask{position:absolute;inset:0;background:rgba(0,0,0,0.6);z-index:1}
.page-index__overlay-content{position:relative;z-index:2;max-width:860px}
.page-index__overlay-content h2{font-size:1.6rem;margin:0 0 12px}
.page-index__overlay-content p{margin:0}

/* CTA */
.page-index__cta-section{position:relative;width:100%;overflow:hidden;min-height:300px;display:flex;align-items:center;justify-content:center;text-align:center;padding:48px 16px;box-sizing:border-box;background:#7A0E0E}
.page-index__cta-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.page-index__cta-content{position:relative;z-index:2;max-width:900px;background:rgba(122,14,14,0.82);border:1px solid #F2B544;border-radius:18px;padding:28px 22px}
.page-index__cta-title{font-size:1.5rem;margin:0 0 20px;color:#FFCC66;text-shadow:0 0 12px rgba(255,204,102,0.4)}
.page-index__cta-buttons{display:flex;flex-wrap:wrap;gap:14px;justify-content:center}
.page-index__cta-btn{display:inline-block;box-sizing:border-box;padding:14px 24px;border-radius:999px;font-weight:800;font-size:0.98rem;max-width:100%;white-space:normal;word-wrap:break-word}
.page-index__cta-btn--primary{background:linear-gradient(180deg,#FFD86A 0%,#E6B800 100%);color:#5A0A0A;border:1px solid #F2B544;box-shadow:0 0 18px rgba(255,204,102,0.55)}
.page-index__cta-btn--secondary{background:transparent;color:#FFF5E1;border:2px solid #F2B544}
.page-index__cta-btn--secondary:hover{background:rgba(255,204,102,0.15)}

/* Mobile */
@media (max-width:768px){
  .page-index{overflow-x:hidden}
  .page-index img{max-width:100% !important;height:auto !important}
  .page-index__hero-prev,.page-index__hero-next{width:36px;height:36px;font-size:20px}
  .page-index__banner-thumbs{grid-template-columns:repeat(2,1fr);gap:10px}
  .page-index__offer-grid{grid-template-columns:1fr;gap:12px}
  .page-index__post-card{flex:0 0 100%}
  .page-index__list-grid{grid-template-columns:1fr}
  .page-index__section-title{font-size:1.25rem}
  .page-index__main-title{font-size:1.35rem}
  .page-index__cta-buttons{flex-direction:column;align-items:stretch}
  .page-index__cta-btn{width:100%;text-align:center}
  .page-index__cta-content{padding:20px 16px}
  .page-index__intro-section,.page-index__posts-section,.page-index__promo-section,.page-index__list-section,.page-index__faq-section{padding-left:14px;padding-right:14px}
}

@media (max-width:480px){
  .page-index__banner-thumbs{grid-template-columns:1fr}
}