/* 33win4.click - design-1813.css
   Mobile-first casino gaming styles. All classes use s181- prefix.
   Palette: #FFB6C1 | #34495E | #F08080 | #FF6347 | #FFFACD
   Dark background (#34495E), light text (#FFFACD), accent #FF6347. */

:root {
  --s181-primary: #FF6347;
  --s181-secondary: #FFB6C1;
  --s181-accent: #F08080;
  --s181-bg: #34495E;
  --s181-bg-deep: #2c3e50;
  --s181-bg-soft: #3d566e;
  --s181-text: #FFFACD;
  --s181-text-dim: #e8d9b0;
  --s181-light: #FFFACD;
  --s181-white: #ffffff;
  --s181-gold: #ffd36b;
  --s181-radius: 12px;
  --s181-shadow: 0 4px 14px rgba(0,0,0,0.35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 62.5%; }

body {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--s181-bg-deep);
  color: var(--s181-text);
  line-height: 1.5rem;
  -webkit-font-smoothing: antialiased;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  overflow-x: hidden;
}

a { color: var(--s181-secondary); text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== Header ===== */
.s181-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  background: linear-gradient(135deg, #34495E, #2c3e50);
  border-bottom: 2px solid var(--s181-primary);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  height: 56px;
}
.s181-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--s181-light);
  font-weight: 800;
  font-size: 1.6rem;
}
.s181-logo img { width: 30px; height: 30px; border-radius: 6px; }
.s181-logo span { color: var(--s181-primary); }

.s181-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.s181-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: none;
  border-radius: 20px;
  padding: 0.7rem 1.2rem;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  min-height: 36px;
}
.s181-btn:active { transform: scale(0.94); }
.s181-btn-login {
  background: transparent;
  color: var(--s181-light);
  border: 1.5px solid var(--s181-secondary);
}
.s181-btn-register {
  background: linear-gradient(135deg, #FF6347, #F08080);
  color: #fff;
  box-shadow: 0 3px 10px rgba(255,99,71,0.45);
}
.s181-menu-btn {
  background: transparent;
  border: none;
  color: var(--s181-light);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  min-width: 44px;
  min-height: 44px;
}

/* ===== Mobile expandable menu ===== */
.s181-mobile-menu {
  position: fixed;
  top: 56px; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  background: var(--s181-bg-deep);
  border-bottom: 2px solid var(--s181-primary);
  z-index: 9999;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.s181-mobile-menu.s181-open { max-height: 480px; }
.s181-mobile-menu ul { list-style: none; padding: 0.5rem 0; }
.s181-mobile-menu li a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.5rem;
  color: var(--s181-text);
  font-size: 1.3rem;
  border-bottom: 1px solid rgba(255,250,205,0.08);
}
.s181-mobile-menu li a:active { background: var(--s181-bg-soft); }
.s181-mobile-menu li a i { color: var(--s181-primary); width: 22px; }

/* ===== Main / Layout ===== */
.s181-main {
  padding-top: 56px;
  padding-bottom: 80px;
  width: 100%;
}
.s181-container { padding: 1rem 1.2rem; }
.s181-section { margin: 1.6rem 0; }
.s181-section-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--s181-light);
  margin-bottom: 0.8rem;
  padding-left: 0.8rem;
  border-left: 4px solid var(--s181-primary);
}

/* ===== Hero / Carousel ===== */
.s181-carousel {
  position: relative;
  border-radius: var(--s181-radius);
  overflow: hidden;
  box-shadow: var(--s181-shadow);
  margin: 1rem 0;
}
.s181-slide {
  display: none;
  position: relative;
}
.s181-slide.s181-active { display: block; }
.s181-slide img { width: 100%; height: 180px; object-fit: cover; }
.s181-slide-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  padding: 1rem;
  color: var(--s181-light);
  font-weight: 700;
  font-size: 1.3rem;
}
.s181-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.s181-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,250,205,0.5);
  border: none; cursor: pointer;
}
.s181-dot.s181-active { background: var(--s181-primary); }

/* ===== H1 ===== */
.s181-h1 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--s181-light);
  text-align: center;
  margin: 1.2rem 0;
  line-height: 1.3;
}
.s181-h1 span { color: var(--s181-primary); }

/* ===== Filter tabs ===== */
.s181-filter {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.5rem 0;
  margin-bottom: 0.8rem;
}
.s181-filter-tab {
  white-space: nowrap;
  padding: 0.5rem 1rem;
  border-radius: 18px;
  background: var(--s181-bg-soft);
  color: var(--s181-text);
  font-size: 1.1rem;
  border: 1px solid transparent;
  cursor: pointer;
}
.s181-filter-tab.s181-active {
  background: var(--s181-primary);
  color: #fff;
  border-color: var(--s181-primary);
}

/* ===== Game grid ===== */
.s181-game-group { margin-bottom: 1.4rem; }
.s181-group-label {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--s181-secondary);
  margin: 0.6rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.s181-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}
.s181-game-card {
  background: var(--s181-bg);
  border-radius: 10px;
  padding: 0.5rem;
  text-align: center;
  cursor: pointer;
  border: 1px solid rgba(255,250,205,0.08);
  transition: transform 0.15s, border-color 0.15s;
}
.s181-game-card:active {
  transform: scale(0.95);
  border-color: var(--s181-primary);
}
.s181-game-card img {
  width: 100%;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.3rem;
}
.s181-game-card .s181-game-name {
  font-size: 1rem;
  color: var(--s181-text);
  line-height: 1.2;
  height: 2.4rem;
  overflow: hidden;
}

/* ===== Cards / Modules ===== */
.s181-card {
  background: var(--s181-bg);
  border-radius: var(--s181-radius);
  padding: 1.2rem;
  margin: 1rem 0;
  box-shadow: var(--s181-shadow);
  border: 1px solid rgba(255,99,71,0.15);
}
.s181-card h2 {
  font-size: 1.5rem;
  color: var(--s181-light);
  margin-bottom: 0.6rem;
}
.s181-card h3 {
  font-size: 1.3rem;
  color: var(--s181-secondary);
  margin: 0.8rem 0 0.4rem;
}
.s181-card p {
  font-size: 1.2rem;
  color: var(--s181-text-dim);
  margin-bottom: 0.6rem;
}
.s181-card ul { padding-left: 1.4rem; }
.s181-card li { font-size: 1.2rem; color: var(--s181-text-dim); margin-bottom: 0.3rem; }

/* Promo link styles */
.s181-promo {
  color: var(--s181-primary);
  font-weight: 800;
  cursor: pointer;
}
.s181-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, #FF6347, #F08080);
  color: #fff;
  font-weight: 700;
  padding: 0.8rem 1.6rem;
  border-radius: 24px;
  margin: 0.6rem 0;
  font-size: 1.25rem;
  box-shadow: 0 3px 10px rgba(255,99,71,0.4);
}
.s181-link-inline {
  color: var(--s181-secondary);
  text-decoration: underline;
  font-weight: 600;
}

/* Stats grid */
.s181-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}
.s181-stat {
  background: var(--s181-bg-soft);
  border-radius: 10px;
  padding: 0.8rem;
  text-align: center;
}
.s181-stat-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--s181-primary);
}
.s181-stat-label { font-size: 1rem; color: var(--s181-text-dim); }

/* Testimonials */
.s181-testimonial {
  background: var(--s181-bg-soft);
  border-radius: 10px;
  padding: 0.9rem;
  margin-bottom: 0.7rem;
  border-left: 3px solid var(--s181-secondary);
}
.s181-testimonial p { font-size: 1.15rem; font-style: italic; }
.s181-testimonial .s181-author { font-size: 1rem; color: var(--s181-gold); margin-top: 0.3rem; }

/* Winners */
.s181-winner {
  display: flex;
  justify-content: space-between;
  background: var(--s181-bg-soft);
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}
.s181-winner .s181-amount { color: var(--s181-gold); font-weight: 800; }

/* Payment */
.s181-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.s181-pay {
  background: var(--s181-bg-soft);
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ===== Footer ===== */
.s181-footer {
  background: var(--s181-bg-deep);
  border-top: 2px solid var(--s181-primary);
  padding: 1.4rem 1.2rem 2rem;
  margin-top: 1.5rem;
}
.s181-footer-brand { font-size: 1.2rem; color: var(--s181-text-dim); margin-bottom: 1rem; line-height: 1.6; }
.s181-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.s181-footer-links a {
  font-size: 1.1rem;
  background: var(--s181-bg-soft);
  padding: 0.4rem 0.8rem;
  border-radius: 14px;
}
.s181-footer-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.8rem 0;
}
.s181-footer-promo button {
  flex: 1 1 40%;
  background: linear-gradient(135deg, #FF6347, #F08080);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.7rem;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
}
.s181-copyright {
  font-size: 1rem;
  color: var(--s181-text-dim);
  text-align: center;
  border-top: 1px solid rgba(255,250,205,0.1);
  padding-top: 0.8rem;
}

/* ===== Mobile bottom nav ===== */
.s181-bnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  background: linear-gradient(180deg, #34495E, #2c3e50);
  border-top: 2px solid var(--s181-primary);
  height: 62px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.4);
}
.s181-bnav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--s181-text-dim);
  min-width: 60px;
  min-height: 60px;
  cursor: pointer;
  transition: color 0.15s, transform 0.15s;
  gap: 2px;
}
.s181-bnav-btn:active { transform: scale(0.9); }
.s181-bnav-btn .s181-bnav-icon { font-size: 22px; line-height: 1; }
.s181-bnav-btn .s181-bnav-label { font-size: 1rem; }
.s181-bnav-btn.s181-current { color: var(--s181-primary); }
.s181-bnav-btn.s181-current .s181-bnav-icon { color: var(--s181-gold); }

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
  .s181-bnav { display: none; }
  body { max-width: 430px; }
}

/* Desktop extra padding clearance handled by 80px mobile padding */
@media (max-width: 768px) {
  .s181-main { padding-bottom: 80px; }
}
