/*!
 * plus777 link - style-0562.css
 * Mobile-first gaming website styles
 * Palette: #FF1493 (brand pink), #34495E (dark bg), #FF5722 (accent orange), #BBBBBB (muted text)
 * All custom classes use the `s056-` prefix
 */

:root {
  --s056-primary: #FF1493;
  --s056-primary-dark: #c10a6f;
  --s056-bg: #34495E;
  --s056-bg-deep: #243240;
  --s056-bg-card: #3d5266;
  --s056-accent: #FF5722;
  --s056-text: #FFFFFF;
  --s056-muted: #BBBBBB;
  --s056-gold: #FFD54F;
  --s056-radius: 12px;
  --s056-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  --s056-header-h: 56px;
  --s056-bottomnav-h: 62px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--s056-bg-deep);
  color: var(--s056-text);
  line-height: 1.5;
  font-size: 1.5rem;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--s056-primary); text-decoration: none; }

.s056-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 14px;
}

.s056-wrapper { width: 100%; }

/* ============ Header ============ */
.s056-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--s056-header-h);
  background: linear-gradient(90deg, var(--s056-bg-deep), var(--s056-bg));
  border-bottom: 2px solid var(--s056-primary);
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.45);
}

.s056-header-inner {
  max-width: 430px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
}

.s056-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--s056-text);
  font-weight: 700;
  font-size: 1.6rem;
}

.s056-brand .s056-logo {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--s056-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
}

.s056-brand .s056-brand-name b { color: var(--s056-primary); }

.s056-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.s056-menu-btn {
  background: transparent;
  border: 0;
  color: var(--s056-text);
  font-size: 2rem;
  width: 38px; height: 38px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.s056-menu-btn:hover { background: rgba(255,255,255,0.08); }

/* ============ Buttons ============ */
.s056-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 20px;
  font-weight: 700;
  font-size: 1.35rem;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.s056-btn:hover { transform: translateY(-1px); }

.s056-btn-primary {
  background: linear-gradient(90deg, var(--s056-primary), #ff4fae);
  color: #fff;
  box-shadow: 0 4px 12px rgba(255,20,147,0.45);
}

.s056-btn-accent {
  background: linear-gradient(90deg, var(--s056-accent), #ff8347);
  color: #fff;
  box-shadow: 0 4px 12px rgba(255,87,34,0.45);
}

.s056-btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--s056-text);
  border: 1px solid rgba(255,255,255,0.18);
}

.s056-btn-lg { min-height: 48px; padding: 0 26px; font-size: 1.55rem; }

.s056-link-text {
  color: var(--s056-primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============ Layout spacer ============ */
.s056-main {
  padding-top: calc(var(--s056-header-h) + 6px);
}

@media (max-width: 768px) {
  .s056-main { padding-bottom: calc(var(--s056-bottomnav-h) + 18px); }
}

/* ============ Carousel ============ */
.s056-carousel {
  position: relative;
  border-radius: var(--s056-radius);
  overflow: hidden;
  margin: 12px 0 6px;
  box-shadow: var(--s056-shadow);
}

.s056-slides { position: relative; }

.s056-slide {
  position: relative;
  display: none;
  width: 100%;
  cursor: pointer;
}

.s056-slide.s056-active { display: block; }

.s056-slide img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.s056-slide-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 14px 14px;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.78));
  font-size: 1.4rem;
  font-weight: 600;
}

.s056-slide-caption a { color: var(--s056-gold); }

.s056-dots {
  position: absolute;
  bottom: 8px; left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.s056-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  border: 0;
  padding: 0;
}

.s056-dot.s056-active { background: var(--s056-primary); }

/* ============ Section heading ============ */
.s056-section {
  margin: 22px 0;
}

.s056-section-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--s056-text);
  border-left: 4px solid var(--s056-primary);
  padding-left: 10px;
  margin: 0 0 12px;
}

.s056-section-title em {
  color: var(--s056-primary);
  font-style: normal;
}

.s056-lead {
  color: var(--s056-muted);
  font-size: 1.45rem;
  margin: 0 0 14px;
}

/* ============ Filter tabs ============ */
.s056-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 10px;
  -webkit-overflow-scrolling: touch;
}

.s056-filter-tab {
  flex: 0 0 auto;
  background: var(--s056-bg-card);
  color: var(--s056-muted);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 8px 14px;
  border-radius: 18px;
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
}

.s056-filter-tab.s056-active {
  background: var(--s056-primary);
  color: #fff;
  border-color: var(--s056-primary);
}

/* ============ Game sections ============ */
.s056-game-section { margin: 18px 0; }

.s056-game-section.s056-hidden { display: none; }

.s056-game-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.s056-game-section-head h3 {
  font-size: 1.55rem;
  margin: 0;
  color: var(--s056-text);
}

.s056-game-section-head h3 i { color: var(--s056-accent); margin-right: 6px; }

.s056-game-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 110px;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.s056-game-card {
  background: var(--s056-bg-card);
  border-radius: var(--s056-radius);
  overflow: hidden;
  scroll-snap-align: start;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.15s ease;
}

.s056-game-card:active { transform: scale(0.97); }

.s056-game-card img {
  width: 100%;
  height: 110px;
  object-fit: cover;
}

.s056-game-card .s056-game-name {
  display: block;
  text-align: center;
  padding: 6px 4px;
  font-size: 1.2rem;
  color: var(--s056-text);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============ Feature grid ============ */
.s056-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.s056-card {
  background: var(--s056-bg-card);
  border-radius: var(--s056-radius);
  padding: 14px;
  box-shadow: var(--s056-shadow);
}

.s056-card h4 {
  margin: 0 0 6px;
  font-size: 1.5rem;
  color: var(--s056-primary);
}

.s056-card p {
  margin: 0;
  font-size: 1.3rem;
  color: var(--s056-muted);
}

.s056-card .s056-card-icon {
  font-size: 1.8rem;
  color: var(--s056-accent);
  margin-bottom: 6px;
}

/* ============ Promo banner ============ */
.s056-cta {
  background: linear-gradient(120deg, var(--s056-primary), var(--s056-accent));
  border-radius: var(--s056-radius);
  padding: 18px;
  text-align: center;
  color: #fff;
  margin: 18px 0;
  box-shadow: 0 6px 18px rgba(255,20,147,0.35);
}

.s056-cta h3 { margin: 0 0 6px; font-size: 1.7rem; }
.s056-cta p { margin: 0 0 12px; font-size: 1.35rem; }

/* ============ Testimonial ============ */
.s056-testimonial {
  background: var(--s056-bg-card);
  border-left: 3px solid var(--s056-primary);
  padding: 12px 14px;
  border-radius: 8px;
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.s056-testimonial b { color: var(--s056-gold); }

/* ============ Payment row ============ */
.s056-pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.s056-pay-chip {
  background: var(--s056-bg-card);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 1.25rem;
  color: var(--s056-text);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ============ Mobile menu ============ */
.s056-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
  z-index: 9998;
}

.s056-menu-overlay.s056-is-visible {
  opacity: 1;
  visibility: visible;
}

.s056-mobile-menu {
  position: fixed;
  top: 0; right: -80%;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background: var(--s056-bg);
  padding: 18px 16px;
  transform: translateX(0);
  transition: right 0.25s ease;
  z-index: 9999;
  overflow-y: auto;
}

.s056-mobile-menu.s056-is-open { right: 0; }

.s056-mobile-menu h4 {
  color: var(--s056-primary);
  font-size: 1.5rem;
  margin: 18px 0 8px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding-bottom: 4px;
}

.s056-mobile-menu a {
  display: block;
  color: var(--s056-text);
  padding: 10px 6px;
  font-size: 1.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.s056-mobile-menu a:hover { color: var(--s056-primary); }

.s056-menu-close {
  background: transparent;
  border: 0;
  color: var(--s056-text);
  font-size: 2rem;
  float: right;
  cursor: pointer;
}

/* ============ Footer ============ */
.s056-footer {
  background: var(--s056-bg-deep);
  border-top: 2px solid var(--s056-primary);
  padding: 22px 14px 20px;
  color: var(--s056-muted);
  font-size: 1.3rem;
}

.s056-footer-inner { max-width: 430px; margin: 0 auto; }

.s056-footer h4 { color: var(--s056-text); margin: 0 0 8px; font-size: 1.45rem; }

.s056-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 14px;
}

.s056-footer-links a {
  color: var(--s056-text);
  background: var(--s056-bg-card);
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 1.2rem;
}

.s056-footer-links a:hover { background: var(--s056-primary); color: #fff; }

.s056-footer-copy {
  margin-top: 10px;
  font-size: 1.2rem;
  color: var(--s056-muted);
  text-align: center;
}

/* ============ Mobile bottom nav ============ */
.s056-bottomnav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: var(--s056-bottomnav-h);
  background: linear-gradient(180deg, var(--s056-bg), var(--s056-bg-deep));
  border-top: 2px solid var(--s056-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -3px 12px rgba(0,0,0,0.45);
}

.s056-bottomnav-btn {
  flex: 1;
  min-width: 60px;
  min-height: var(--s056-bottomnav-h);
  background: transparent;
  border: 0;
  color: var(--s056-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.12s ease, color 0.12s ease;
}

.s056-bottomnav-btn .material-icons,
.s056-bottomnav-btn i,
.s056-bottomnav-btn ion-icon {
  font-size: 24px;
}

.s056-bottomnav-btn:hover { transform: translateY(-1px); }

.s056-bottomnav-btn.s056-current,
.s056-bottomnav-btn:active {
  color: var(--s056-primary);
}

.s056-bottomnav-btn.s056-promo {
  color: var(--s056-gold);
}

.s056-bottomnav-btn.s056-promo .material-icons,
.s056-bottomnav-btn.s056-promo i { color: var(--s056-gold); }

@media (min-width: 769px) {
  .s056-bottomnav { display: none; }
  .s056-main { padding-bottom: 24px; }
}

/* ============ Helpers ============ */
.s056-hidden { display: none !important; }
.s056-text-center { text-align: center; }
.s056-mt { margin-top: 16px; }
.s056-mb { margin-bottom: 16px; }
