/* 33win 85 - theme.css
   All classes use prefix s666-. Mobile-first design. */

:root {
  --s666-primary: #CD853F;
  --s666-accent: #FFB347;
  --s666-teal: #20B2AA;
  --s666-bg: #2C2C2C;
  --s666-bg-deep: #1f1f1f;
  --s666-text: #FFEBCD;
  --s666-text-soft: #d8c7a3;
  --s666-card: #3a3a3a;
  --s666-border: #4a4036;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 62.5%;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', 'Roboto', 'Inter', system-ui, sans-serif;
  background: var(--s666-bg);
  color: var(--s666-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
  overflow-x: hidden;
}

a { color: var(--s666-accent); text-decoration: none; }
a:hover { color: var(--s666-teal); }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0 0 .8rem; line-height: 1.3; font-weight: 700; }
h1 { font-size: 2rem; color: var(--s666-accent); }
h2 { font-size: 1.7rem; color: var(--s666-text); }
h3 { font-size: 1.45rem; color: var(--s666-teal); }
p { margin: 0 0 1rem; }

/* Container & layout */
.s666-container {
  width: 100%;
  padding: 0 1.2rem;
}
.s666-wrapper {
  padding: 1.2rem;
}
.s666-section {
  padding: 1.6rem 1.2rem;
  border-top: 1px solid var(--s666-border);
}
.s666-section-alt {
  background: var(--s666-bg-deep);
}

/* Header */
.s666-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #1a1a1a 0%, #2C2C2C 100%);
  border-bottom: 1px solid var(--s666-primary);
  max-width: 430px;
  margin: 0 auto;
}
.s666-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .55rem .9rem;
  gap: .5rem;
}
.s666-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex: 1;
  min-width: 0;
}
.s666-logo img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  flex-shrink: 0;
}
.s666-logo-text {
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--s666-accent);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.s666-logo-text span { color: var(--s666-teal); }

.s666-header-actions {
  display: flex;
  align-items: center;
  gap: .35rem;
}

.s666-menu-toggle {
  background: transparent;
  border: 1px solid var(--s666-border);
  color: var(--s666-text);
  width: 34px;
  height: 34px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.6rem;
}

/* Buttons */
.s666-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: .6rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.25rem;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  min-height: 36px;
}
.s666-btn:hover { transform: translateY(-1px); }
.s666-btn-login {
  background: transparent;
  border: 1px solid var(--s666-teal);
  color: var(--s666-teal);
}
.s666-btn-register {
  background: linear-gradient(135deg, #FFB347, #CD853F);
  color: #1a1a1a;
  box-shadow: 0 2px 6px rgba(0,0,0,.35);
}
.s666-btn-cta {
  background: linear-gradient(135deg, var(--s666-accent), var(--s666-primary));
  color: #1a1a1a;
  padding: .9rem 1.6rem;
  font-size: 1.35rem;
  border-radius: 10px;
  display: inline-flex;
}
.s666-btn-block {
  width: 100%;
  display: flex;
}
.s666-btn-link {
  color: var(--s666-accent);
  font-weight: 700;
  text-decoration: underline;
}

/* Mobile expandable menu */
.s666-mobile-menu {
  display: none;
  background: var(--s666-bg-deep);
  border-top: 1px solid var(--s666-border);
  padding: .6rem .9rem;
}
.s666-mobile-menu.s666-menu-open {
  display: block;
}
.s666-mobile-menu a {
  display: block;
  padding: .7rem .6rem;
  color: var(--s666-text);
  border-bottom: 1px dashed var(--s666-border);
  font-size: 1.3rem;
}
.s666-mobile-menu a:last-child { border-bottom: none; }
.s666-mobile-menu a:hover { color: var(--s666-accent); }

/* Main content offset for fixed header */
.s666-main {
  padding-top: 56px;
}

/* Carousel */
.s666-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin: 1rem .2rem;
}
.s666-slide {
  display: none;
  position: relative;
}
.s666-slide.s666-slide-active { display: block; }
.s666-slide img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 10px;
}
.s666-slide-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.85));
  padding: 1.6rem 1rem .8rem;
  font-size: 1.3rem;
  color: var(--s666-text);
  font-weight: 600;
}
.s666-carousel-dots {
  position: absolute;
  bottom: 6px;
  right: 10px;
  display: flex;
  gap: 5px;
}
.s666-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,235,205,.4);
  cursor: pointer;
  border: none;
}
.s666-dot.s666-dot-active { background: var(--s666-accent); }

/* Section heading */
.s666-section-title {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1rem;
}
.s666-section-title h2 { margin: 0; flex: 1; }
.s666-section-title .s666-icon {
  color: var(--s666-accent);
  font-size: 1.5rem;
}
.s666-more {
  font-size: 1.15rem;
  color: var(--s666-teal);
  font-weight: 600;
}

/* Game grid */
.s666-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .6rem;
}
.s666-game-card {
  background: var(--s666-card);
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  border: 1px solid var(--s666-border);
  transition: transform .15s ease, border-color .15s ease;
}
.s666-game-card:hover {
  transform: translateY(-2px);
  border-color: var(--s666-accent);
}
.s666-game-card img {
  width: 100%;
  height: 70px;
  object-fit: cover;
}
.s666-game-name {
  font-size: 1.05rem;
  color: var(--s666-text);
  padding: .3rem .15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}

/* Category badge */
.s666-cat-badge {
  display: inline-block;
  background: var(--s666-primary);
  color: #1a1a1a;
  padding: .25rem .7rem;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .6rem;
}

/* Info cards */
.s666-card {
  background: var(--s666-card);
  border-radius: 10px;
  padding: 1rem;
  border: 1px solid var(--s666-border);
  margin-bottom: .8rem;
}
.s666-card-row {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
}
.s666-card-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--s666-primary), var(--s666-accent));
  color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

/* Feature list */
.s666-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .6rem;
}
.s666-feature-item {
  background: var(--s666-card);
  border-radius: 8px;
  padding: .8rem;
  text-align: center;
  border: 1px solid var(--s666-border);
}
.s666-feature-item .s666-icon {
  font-size: 1.8rem;
  color: var(--s666-accent);
}
.s666-feature-item p {
  margin: .4rem 0 0;
  font-size: 1.15rem;
  color: var(--s666-text-soft);
}

/* RTP table */
.s666-rtp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.2rem;
  background: var(--s666-card);
  border-radius: 8px;
  overflow: hidden;
}
.s666-rtp-table th, .s666-rtp-table td {
  padding: .55rem .6rem;
  text-align: left;
  border-bottom: 1px solid var(--s666-border);
}
.s666-rtp-table th {
  background: var(--s666-bg-deep);
  color: var(--s666-accent);
}
.s666-rtp-table td.s666-rtp-high { color: var(--s666-teal); font-weight: 700; }

/* Testimonial */
.s666-testimonial {
  background: var(--s666-card);
  border-radius: 10px;
  padding: .9rem;
  margin-bottom: .7rem;
  border-left: 3px solid var(--s666-accent);
}
.s666-testimonial-name {
  font-weight: 700;
  color: var(--s666-accent);
  font-size: 1.2rem;
}
.s666-stars { color: var(--s666-accent); font-size: 1.1rem; }

/* Winner showcase */
.s666-winner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--s666-card);
  padding: .6rem .8rem;
  border-radius: 8px;
  margin-bottom: .5rem;
  border: 1px solid var(--s666-border);
}
.s666-winner-amount { color: var(--s666-teal); font-weight: 700; }

/* Payment icons */
.s666-payment-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
}
.s666-payment-chip {
  background: var(--s666-card);
  border: 1px solid var(--s666-border);
  border-radius: 20px;
  padding: .4rem .9rem;
  font-size: 1.15rem;
  color: var(--s666-text-soft);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

/* App download CTA */
.s666-app-cta {
  background: linear-gradient(135deg, #3a2a1a, var(--s666-bg-deep));
  border-radius: 12px;
  padding: 1.2rem;
  text-align: center;
  border: 1px solid var(--s666-primary);
}
.s666-app-cta .s666-app-row {
  display: flex;
  gap: .6rem;
  justify-content: center;
  margin-top: .8rem;
  flex-wrap: wrap;
}

/* Footer */
.s666-footer {
  background: var(--s666-bg-deep);
  padding: 1.4rem 1.2rem 2rem;
  border-top: 2px solid var(--s666-primary);
  font-size: 1.2rem;
  color: var(--s666-text-soft);
}
.s666-footer h3 {
  color: var(--s666-accent);
  font-size: 1.35rem;
  margin-bottom: .6rem;
}
.s666-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .9rem;
  margin: .6rem 0;
}
.s666-footer-links a {
  color: var(--s666-text-soft);
  font-size: 1.15rem;
}
.s666-footer-links a:hover { color: var(--s666-accent); }
.s666-footer-promo {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: .8rem 0;
}
.s666-footer-promo button {
  flex: 1 1 45%;
  min-width: 130px;
}
.s666-footer-copy {
  text-align: center;
  border-top: 1px dashed var(--s666-border);
  padding-top: .8rem;
  margin-top: .8rem;
  font-size: 1.1rem;
}

/* Mobile bottom navigation */
.s666-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  height: 60px;
  background: linear-gradient(180deg, #2C2C2C, #1a1a1a);
  border-top: 1px solid var(--s666-primary);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  max-width: 430px;
  margin: 0 auto;
  box-shadow: 0 -3px 10px rgba(0,0,0,.4);
}
.s666-bottomnav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--s666-text-soft);
  font-size: 1rem;
  min-width: 60px;
  min-height: 60px;
  cursor: pointer;
  gap: .15rem;
  padding: .25rem;
  transition: transform .15s ease, color .15s ease;
}
.s666-bottomnav-btn:active { transform: scale(.92); }
.s666-bottomnav-btn .s666-nav-icon {
  font-size: 22px;
  line-height: 1;
}
.s666-bottomnav-btn .s666-nav-label {
  font-size: 1rem;
  line-height: 1.1;
}
.s666-bottomnav-btn.s666-active {
  color: var(--s666-accent);
}
.s666-bottomnav-btn.s666-active .s666-nav-icon {
  color: var(--s666-accent);
}
.s666-bottomnav-btn.s666-promo {
  color: var(--s666-teal);
}
.s666-bottomnav-btn.s666-promo .s666-nav-icon {
  color: var(--s666-accent);
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
  .s666-bottomnav { display: none; }
}

/* Add bottom padding on mobile so content isn't hidden by bottom nav */
@media (max-width: 768px) {
  .s666-main { padding-bottom: 80px; }
  .s666-footer { padding-bottom: 80px; }
}

/* Utility */
.s666-text-center { text-align: center; }
.s666-mt-1 { margin-top: .5rem; }
.s666-mt-2 { margin-top: 1rem; }
.s666-hidden { display: none !important; }
.s666-breadcrumb {
  font-size: 1.1rem;
  color: var(--s666-text-soft);
  padding: .4rem 0;
}
