/*!
 * swerte77slot.click layout
 * Prefix: g456-
 * Palette: #BF360C | #F0F0F0 | #1C2833 | #FFCCCB
 * Mobile-first (max 430px primary). Root font 62.5% -> 1rem = 10px.
 */
:root {
  --g456-primary: #BF360C;
  --g456-primary-dark: #8a2706;
  --g456-primary-light: #e75933;
  --g456-bg: #1C2833;
  --g456-bg-soft: #243441;
  --g456-bg-card: #2b3c4b;
  --g456-text: #F0F0F0;
  --g456-text-muted: #c8d2db;
  --g456-pink: #FFCCCB;
  --g456-gold: #ffd66b;
  --g456-line: rgba(240, 240, 240, 0.08);
  --g456-radius: 1.2rem;
  --g456-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--g456-bg);
  color: var(--g456-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--g456-gold); text-decoration: none; }
a:hover { color: var(--g456-primary-light); }
h1, h2, h3, h4 { line-height: 1.9rem; margin: 0 0 0.8rem; font-weight: 700; }
h1 { font-size: 2.2rem; }
h2 { font-size: 2rem; color: var(--g456-gold); }
h3 { font-size: 1.7rem; }
p { margin: 0 0 1rem; }

.g456-wrapper { max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.g456-hidden { display: none !important; }

/* ===== Header ===== */
.g456-header {
  position: sticky; top: 0; z-index: 1000;
  background: linear-gradient(135deg, var(--g456-bg-soft) 0%, var(--g456-bg) 100%);
  border-bottom: 2px solid var(--g456-primary);
  box-shadow: var(--g456-shadow);
}
.g456-header-inner {
  max-width: 430px; margin: 0 auto; padding: 0.6rem 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 0.6rem;
}
.g456-brand { display: flex; align-items: center; gap: 0.5rem; min-width: 0; }
.g456-brand img { width: 2.8rem; height: 2.8rem; border-radius: 50%; }
.g456-brand-name { font-size: 1.5rem; font-weight: 800; color: var(--g456-gold); white-space: nowrap; }
.g456-brand-name span { color: var(--g456-primary-light); }
.g456-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.g456-icon-btn {
  background: transparent; border: 0; color: var(--g456-text);
  font-size: 1.9rem; width: 3.2rem; height: 3.2rem; border-radius: 0.8rem;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.g456-icon-btn:active { transform: scale(0.92); background: rgba(255,255,255,0.06); }

.g456-btn {
  border: 0; border-radius: 1rem; padding: 0.8rem 1.4rem;
  font-size: 1.3rem; font-weight: 700; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  min-height: 3.6rem; transition: transform 0.15s ease, filter 0.15s ease;
  text-decoration: none;
}
.g456-btn:active { transform: scale(0.95); }
.g456-btn-primary { background: linear-gradient(135deg, var(--g456-primary) 0%, var(--g456-primary-light) 100%); color: #fff; }
.g456-btn-ghost { background: rgba(240, 240, 240, 0.08); color: var(--g456-text); border: 1px solid var(--g456-line); }
.g456-btn-gold { background: linear-gradient(135deg, var(--g456-gold) 0%, #f5a623 100%); color: #1C2833; }
.g456-btn-block { width: 100%; display: flex; }

/* ===== Mobile expandable menu ===== */
.g456-mobile-menu {
  position: fixed; top: 0; right: -100%; width: 80%; max-width: 320px;
  height: 100vh; background: var(--g456-bg-soft); z-index: 9999;
  padding: 7rem 1.5rem 2rem; transition: right 0.25s ease;
  box-shadow: -4px 0 20px rgba(0,0,0,0.4); overflow-y: auto;
}
.g456-mobile-menu.g456-menu-open { right: 0; }
.g456-mobile-menu h3 { color: var(--g456-gold); margin-top: 1.5rem; }
.g456-mobile-menu a {
  display: block; padding: 0.9rem 0.6rem; border-bottom: 1px solid var(--g456-line);
  color: var(--g456-text); font-size: 1.4rem;
}
.g456-menu-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 9998;
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
}
.g456-menu-overlay.g456-menu-open { opacity: 1; pointer-events: auto; }
.g456-menu-close { position: absolute; top: 1rem; right: 1rem; font-size: 2.4rem; background: transparent; color: #fff; border: 0; cursor: pointer; }

/* ===== Hero carousel ===== */
.g456-carousel { position: relative; border-radius: var(--g456-radius); overflow: hidden; margin: 1rem 0; box-shadow: var(--g456-shadow); }
.g456-carousel-track { display: flex; transition: transform 0.5s ease; }
.g456-carousel-slide {
  min-width: 100%; position: relative; cursor: pointer;
}
.g456-carousel-slide img { width: 100%; height: auto; display: block; }
.g456-carousel-caption {
  position: absolute; left: 1rem; bottom: 1rem; right: 1rem;
  background: rgba(28, 40, 51, 0.82); border-radius: 1rem; padding: 0.8rem 1rem;
}
.g456-carousel-caption h3 { color: var(--g456-gold); margin: 0 0 0.3rem; font-size: 1.6rem; }
.g456-carousel-caption p { margin: 0; font-size: 1.2rem; }
.g456-carousel-dots { display: flex; justify-content: center; gap: 0.5rem; padding: 0.6rem 0; }
.g456-carousel-dot { width: 0.9rem; height: 0.9rem; border-radius: 50%; background: rgba(240,240,240,0.35); border: 0; cursor: pointer; }
.g456-carousel-dot.g456-active { background: var(--g456-primary); }
.g456-carousel-slide { display: none; }
.g456-carousel-slide.g456-active { display: block; }

/* ===== Section heading ===== */
.g456-section { margin: 2.2rem 0; }
.g456-section-title {
  display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem;
  padding-bottom: 0.6rem; border-bottom: 2px solid var(--g456-primary);
}
.g456-section-title i { color: var(--g456-primary-light); font-size: 2rem; }
.g456-section-title h2 { margin: 0; }

/* ===== Category tabs ===== */
.g456-cat-tabs { display: flex; gap: 0.5rem; overflow-x: auto; padding: 0.5rem 0; margin-bottom: 1rem; -webkit-overflow-scrolling: touch; }
.g456-cat-tab {
  flex: 0 0 auto; padding: 0.7rem 1.2rem; border-radius: 2rem; cursor: pointer;
  background: rgba(240,240,240,0.07); color: var(--g456-text); font-size: 1.3rem;
  border: 1px solid var(--g456-line); white-space: nowrap;
}
.g456-cat-tab.g456-tab-active { background: var(--g456-primary); color: #fff; border-color: var(--g456-primary); }

/* ===== Game grid ===== */
.g456-game-group { margin-bottom: 1.6rem; }
.g456-game-group h3 { color: var(--g456-gold); margin-bottom: 0.8rem; }
.g456-game-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem;
}
.g456-game-card {
  background: var(--g456-bg-card); border-radius: 0.9rem; overflow: hidden; cursor: pointer;
  border: 1px solid var(--g456-line); transition: transform 0.15s ease;
}
.g456-game-card:active { transform: scale(0.96); border-color: var(--g456-primary-light); }
.g456-game-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #0f1820; }
.g456-game-name { padding: 0.5rem 0.4rem; font-size: 1.1rem; text-align: center; color: var(--g456-text); line-height: 1.3rem; min-height: 3.2rem; display: flex; align-items: center; justify-content: center; }

/* ===== Info cards ===== */
.g456-card {
  background: var(--g456-bg-card); border-radius: var(--g456-radius); padding: 1.4rem;
  margin-bottom: 1.2rem; border: 1px solid var(--g456-line); box-shadow: var(--g456-shadow);
}
.g456-card h3 { color: var(--g456-gold); margin-top: 0; }
.g456-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.g456-feature { background: rgba(240,240,240,0.05); border-radius: 0.9rem; padding: 1rem; }
.g456-feature i { color: var(--g456-primary-light); font-size: 2.2rem; }
.g456-feature h4 { margin: 0.5rem 0 0.3rem; color: var(--g456-text); }
.g456-feature p { margin: 0; font-size: 1.2rem; color: var(--g456-text-muted); }

/* ===== RTP / stats ===== */
.g456-stat-row { display: flex; justify-content: space-between; padding: 0.6rem 0; border-bottom: 1px solid var(--g456-line); font-size: 1.3rem; }
.g456-stat-row:last-child { border-bottom: 0; }
.g456-stat-row span:last-child { color: var(--g456-gold); font-weight: 700; }

/* ===== Testimonial ===== */
.g456-testimonial { background: var(--g456-bg-card); border-left: 3px solid var(--g456-primary); padding: 1rem 1.2rem; border-radius: 0.6rem; margin-bottom: 0.8rem; }
.g456-testimonial p { margin: 0 0 0.4rem; font-size: 1.3rem; }
.g456-testimonial small { color: var(--g456-gold); }

/* ===== Payment icons row ===== */
.g456-payment-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.g456-payment-row .g456-chip {
  background: rgba(240,240,240,0.08); border: 1px solid var(--g456-line);
  padding: 0.6rem 0.9rem; border-radius: 0.8rem; font-size: 1.2rem; color: var(--g456-text-muted);
  display: inline-flex; align-items: center; gap: 0.4rem;
}

/* ===== FAQ accordion ===== */
.g456-faq-item { background: var(--g456-bg-card); border-radius: 0.8rem; margin-bottom: 0.7rem; overflow: hidden; border: 1px solid var(--g456-line); }
.g456-faq-q { width: 100%; text-align: left; background: transparent; border: 0; color: var(--g456-text); padding: 1rem 1.2rem; font-size: 1.4rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
.g456-faq-q i { color: var(--g456-primary-light); transition: transform 0.2s; }
.g456-faq-item.g456-faq-open .g456-faq-q i { transform: rotate(180deg); }
.g456-faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; padding: 0 1.2rem; color: var(--g456-text-muted); font-size: 1.3rem; }
.g456-faq-item.g456-faq-open .g456-faq-a { max-height: 600px; padding: 0 1.2rem 1rem; }

/* ===== Winners showcase ===== */
.g456-winner { display: flex; justify-content: space-between; padding: 0.6rem 0; border-bottom: 1px dashed var(--g456-line); font-size: 1.3rem; }
.g456-winner:last-child { border-bottom: 0; }
.g456-winner b { color: var(--g456-gold); }

/* ===== Footer ===== */
.g456-footer { background: var(--g456-bg-soft); padding: 2rem 1.2rem 8rem; margin-top: 2rem; border-top: 2px solid var(--g456-primary); }
.g456-footer-inner { max-width: 430px; margin: 0 auto; }
.g456-footer h4 { color: var(--g456-gold); margin: 1.2rem 0 0.6rem; }
.g456-footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem 0.8rem; }
.g456-footer-links a { color: var(--g456-text-muted); font-size: 1.2rem; }
.g456-footer-promos { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0; }
.g456-footer-promos button, .g456-footer-promos a {
  flex: 1 1 calc(50% - 0.5rem); min-width: 12rem;
}
.g456-copyright { text-align: center; color: var(--g456-text-muted); font-size: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--g456-line); }

/* ===== Mobile bottom navigation ===== */
.g456-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; height: 6.2rem;
  background: linear-gradient(180deg, var(--g456-bg-soft) 0%, var(--g456-bg) 100%);
  border-top: 2px solid var(--g456-primary);
  display: flex; justify-content: space-around; align-items: center;
  z-index: 1000; padding: 0.3rem 0;
}
.g456-bottom-nav-btn {
  background: transparent; border: 0; color: var(--g456-text-muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 6rem; min-height: 5.6rem; cursor: pointer; font-size: 1.1rem;
  padding: 0.4rem; border-radius: 0.8rem; transition: transform 0.15s ease, color 0.15s ease;
  text-decoration: none; gap: 0.2rem;
}
.g456-bottom-nav-btn:active { transform: scale(0.9); }
.g456-bottom-nav-btn i { font-size: 2.2rem; }
.g456-bottom-nav-btn.g456-nav-current, .g456-bottom-nav-btn.g456-nav-promo { color: var(--g456-gold); }
.g456-bottom-nav-btn.g456-nav-promo i {
  background: linear-gradient(135deg, var(--g456-primary) 0%, var(--g456-primary-light) 100%);
  color: #fff; width: 3.4rem; height: 3.4rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.9rem;
  box-shadow: 0 2px 8px rgba(191, 54, 12, 0.6);
}

/* ===== Desktop adjustments ===== */
@media (min-width: 769px) {
  .g456-bottom-nav { display: none; }
  .g456-footer { padding-bottom: 2rem; }
  .g456-wrapper { max-width: 760px; }
  .g456-game-grid { grid-template-columns: repeat(6, 1fr); }
  .g456-grid-2 { grid-template-columns: repeat(4, 1fr); }
  .g456-header-inner { max-width: 760px; }
  .g456-footer-inner { max-width: 760px; }
}

/* Mobile bottom clearance so content isn't hidden under fixed nav */
@media (max-width: 768px) {
  main.g456-main { padding-bottom: 8rem; }
}

/* Utility */
.g456-text-center { text-align: center; }
.g456-mt-1 { margin-top: 0.6rem; }
.g456-mt-2 { margin-top: 1.2rem; }
.g456-pink-text { color: var(--g456-pink); font-weight: 700; }
.g456-gold-text { color: var(--g456-gold); font-weight: 700; }
.g456-promo-inline { color: var(--g456-gold); font-weight: 700; text-decoration: underline; cursor: pointer; }
