/* ===== BL88 homepage – dark red gold theme ===== */
.page-index{background:#B71C1C;color:#FFF5E1;font-family:'Segoe UI',Roboto,Arial,sans-serif;line-height:1.6;max-width:100%;overflow-x:hidden}
.page-index img{display:block;max-width:100%;height:auto}
.page-index a{color:#F4D34D;text-decoration:none}
.page-index h1,.page-index h2,.page-index h3{color:#FFF5E1;margin:0 0 12px;line-height:1.3}
/* 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%);background:rgba(0,0,0,.55);color:#FFD86A;border:1px solid #F2B544;width:44px;height:44px;border-radius:50%;font-size:24px;line-height:1;cursor:pointer;z-index:3}
.page-index__hero-prev{left:12px}
.page-index__hero-next{right:12px}
.page-index__hero-dots{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);display:flex;gap:8px;z-index:3}
.page-index__hero-dots button{width:10px;height:10px;border-radius:50%;border:1px solid #FFD86A;background:transparent;cursor:pointer;padding:0}
.page-index__hero-dots button.is-active{background:#FFD86A}
/* BANNER THUMBS */
.page-index__banner-section{max-width:1200px;margin:12px auto;padding:0 16px;box-sizing:border-box;width:100%}
.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:8px;overflow:hidden;background:#D32F2F}
.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:32px 16px;box-sizing:border-box;width:100%}
.page-index__intro-title{color:#FFD86A;font-weight:800;line-height:1.25;letter-spacing:.2px;max-width:900px}
.page-index__intro-lead{font-size:1.05rem;color:#FFF5E1;background:#7A0E0E;border-left:4px solid #F2B544;padding:14px 16px;border-radius:8px;margin:0 0 24px}
.page-index__offer-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:24px 0}
.page-index__offer-card{background:#D32F2F;border:1px solid #F2B544;border-radius:12px;padding:20px 16px;text-align:center;box-shadow:0 4px 14px rgba(0,0,0,.25)}
.page-index__offer-number{display:block;font-size:1.4rem;font-weight:800;color:#FFCC66;margin-bottom:6px}
.page-index__offer-label{display:block;font-size:.95rem;color:#FFF5E1}
.page-index__category-list{list-style:none;display:flex;flex-wrap:wrap;gap:10px;margin:0 0 28px;padding:0}
.page-index__category-item a{display:inline-block;background:#7A0E0E;color:#FFD86A;border:1px solid #F2B544;border-radius:20px;padding:8px 16px;font-size:.95rem;transition:background .2s,color .2s}
.page-index__category-item a:hover{background:#F2B544;color:#7A0E0E}
.page-index__intro-heading{margin-top:8px;color:#FFD86A}
.page-index__intro-text{margin:0 0 16px;color:#FFF5E1}
/* SECTION TITLE */
.page-index__section-title{color:#FFD86A;text-align:center;margin-bottom:20px;font-weight:800}
/* POSTS */
.page-index__posts-section{max-width:1200px;margin:0 auto;padding:32px 16px;box-sizing:border-box;width:100%}
.page-index__posts-wrap{position:relative;width:100%}
.page-index__posts-track{display:flex;gap:16px;overflow-x:auto;scroll-behavior:smooth;padding-bottom:8px}
.page-index__posts-track::-webkit-scrollbar{height:6px}
.page-index__posts-track::-webkit-scrollbar-thumb{background:#F2B544;border-radius:3px}
.page-index__post-card{flex:0 0 280px;background:#D32F2F;border:1px solid #F2B544;border-radius:12px;overflow:hidden}
.page-index__post-link{display:block;color:#FFF5E1}
.page-index__post-link img{width:100%;height:auto;aspect-ratio:2/1;object-fit:cover}
.page-index__post-date{display:block;font-size:.82rem;color:#FFCC66;padding:10px 12px 0}
.page-index__post-title{font-size:1rem;padding:6px 12px 4px;margin:0;color:#FFF5E1}
.page-index__post-more{display:inline-block;padding:0 12px 14px;color:#FFCC66;font-weight:600;font-size:.9rem}
.page-index__posts-prev,.page-index__posts-next{position:absolute;top:40%;transform:translateY(-50%);background:rgba(0,0,0,.55);color:#FFD86A;border:1px solid #F2B544;width:38px;height:38px;border-radius:50%;font-size:20px;line-height:1;cursor:pointer;z-index:3}
.page-index__posts-prev{left:-6px}
.page-index__posts-next{right:-6px}
.page-index__posts-archive{text-align:center;margin-top:20px}
.page-index__archive-link{display:inline-block;padding:10px 22px;border-radius:24px;background:linear-gradient(180deg,#FFD86A 0%,#E6B800 100%);color:#5A0808;font-weight:700}
/* PROMO */
.page-index__promo-section{max-width:1200px;margin:0 auto;padding:32px 16px;box-sizing:border-box;width:100%;text-align:center}
.page-index__promo-desc{max-width:820px;margin:0 auto 20px;color:#FFF5E1}
.page-index__promo-media{max-width:640px;margin:0 auto;border:2px solid #F2B544;border-radius:16px;overflow:hidden;background:#D32F2F}
.page-index__promo-media img{width:100%;height:auto;display:block}
.page-index__promo-action{margin-top:20px}
.page-index__promo-link{display:inline-block;padding:12px 26px;border-radius:26px;background:linear-gradient(180deg,#FFD86A 0%,#E6B800 100%);color:#5A0808;font-weight:800;box-shadow:0 0 16px rgba(255,204,102,.5)}
/* LIST */
.page-index__list-section{max-width:1200px;margin:0 auto;padding:32px 16px;box-sizing:border-box;width:100%}
.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}
.page-index__list-link{display:block;color:#FFF5E1;height:100%}
.page-index__list-link img{width:100%;height:auto;aspect-ratio:1/1;object-fit:cover}
.page-index__list-title{font-size:1.05rem;padding:12px 14px 4px;margin:0;color:#FFD86A}
.page-index__list-excerpt{font-size:.92rem;padding:0 14px 16px;margin:0;color:#FFF5E1}
/* FAQ */
.page-index__faq-section{max-width:1000px;margin:0 auto;padding:32px 16px;box-sizing:border-box;width:100%}
.page-index__faq-item{background:#D32F2F;border:1px solid #F2B544;border-radius:10px;margin-bottom:12px;overflow:hidden}
.page-index__faq-question{cursor:pointer;padding:14px 18px;font-weight:700;color:#FFD86A;list-style:none;position:relative}
.page-index__faq-question::-webkit-details-marker{display:none}
.page-index__faq-question::after{content:'+';position:absolute;right:16px;top:50%;transform:translateY(-50%);color:#F2B544;font-size:20px}
.page-index__faq-item[open] .page-index__faq-question::after{content:'–'}
.page-index__faq-answer{padding:0 18px 16px;color:#FFF5E1}
.page-index__faq-answer p{margin:0}
/* OVERLAY */
.page-index__overlay-section{position:relative;width:100%;min-height:280px;display:flex;align-items:center;justify-content:center;text-align:center;overflow:hidden;margin:24px 0}
.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(90,8,8,.7);z-index:1}
.page-index__overlay-content{position:relative;z-index:2;padding:32px 20px;max-width:820px}
.page-index__overlay-title{color:#FFD86A;font-weight:800}
.page-index__overlay-text{color:#FFF5E1;margin:0}
/* CTA */
.page-index__cta-section{position:relative;width:100%;overflow:hidden;margin-bottom:24px}
.page-index__cta-bg{width:100%;height:auto;display:block}
.page-index__cta-overlay{position:absolute;inset:0;background:rgba(90,8,8,.65);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px;z-index:2}
.page-index__cta-title{color:#FFD86A;font-weight:800;margin-bottom:18px;text-shadow:0 0 14px rgba(255,204,102,.6)}
.page-index__cta-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;width:100%;max-width:100%;box-sizing:border-box}
.page-index__cta-btn{display:inline-block;padding:12px 24px;border-radius:28px;font-weight:800;text-align:center;max-width:100%;box-sizing:border-box;white-space:normal;word-wrap:break-word}
.page-index__cta-btn--register{background:linear-gradient(180deg,#FFD86A 0%,#E6B800 100%);color:#5A0808;box-shadow:0 0 18px rgba(255,204,102,.55)}
.page-index__cta-btn--login{background:#7A0E0E;color:#FFD86A;border:2px solid #F2B544}
.page-index__cta-btn--login:hover{background:#F2B544;color:#7A0E0E}
/* MOBILE */
@media (max-width:768px){
  .page-index__banner-thumbs{grid-template-columns:repeat(2,1fr)}
  .page-index__offer-grid{grid-template-columns:repeat(2,1fr);gap:12px}
  .page-index__list-grid{grid-template-columns:1fr}
  .page-index__post-card{flex:0 0 78%}
  .page-index__hero-prev,.page-index__hero-next{width:36px;height:36px;font-size:20px}
  .page-index__posts-prev,.page-index__posts-next{display:none}
  .page-index__intro-title{font-size:clamp(1.25rem,5vw,1.6rem)}
  .page-index__cta-actions{flex-direction:column;align-items:stretch}
  .page-index__cta-btn{width:100%}
  .page-index img{max-width:100%!important;height:auto!important}
  .page-index{overflow-x:hidden;max-width:100%}
}