/* S5 Casino - Main Stylesheet */
/* Prefix: s036- */

:root {
  --s036-primary: #9400D3;
  --s036-accent: #20B2AA;
  --s036-light: #F5F5F5;
  --s036-purple: #800080;
  --s036-dark: #1A1A1A;
  --s036-indigo: #4B0082;
  --s036-text: #E8E8E8;
  --s036-text-muted: #AAAAAA;
  --s036-card-bg: #2A2A2A;
  --s036-border: #3A3A3A;
  --s036-radius: 8px;
  --s036-transition: 0.3s ease;
}

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

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--s036-dark);
  color: var(--s036-text);
  line-height: 1.6;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--s036-accent);
  text-decoration: none;
  transition: color var(--s036-transition);
}

a:hover {
  color: var(--s036-primary);
}

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

/* ===== HEADER ===== */
.s036-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  max-width: 430px;
  margin: 0 auto;
  height: 56px;
  background: linear-gradient(135deg, var(--s036-indigo), var(--s036-primary));
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.s036-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.s036-header-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.s036-header-name {
  font-size: 1.6rem;
  font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
}

.s036-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.s036-btn-register,
.s036-btn-login {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--s036-transition);
  white-space: nowrap;
}

.s036-btn-register {
  background: var(--s036-accent);
  color: #FFFFFF;
}

.s036-btn-register:hover {
  background: #1a9e96;
  transform: scale(1.05);
}

.s036-btn-login {
  background: transparent;
  color: #FFFFFF;
  border: 1.5px solid var(--s036-accent);
}

.s036-btn-login:hover {
  background: var(--s036-accent);
  color: #FFFFFF;
}

.s036-hamburger {
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 22px;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== SLIDE MENU ===== */
.s036-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all var(--s036-transition);
}

.s036-overlay-active {
  opacity: 1;
  visibility: visible;
}

.s036-slide-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: linear-gradient(180deg, var(--s036-indigo), var(--s036-dark));
  z-index: 9999;
  transition: right 0.35s ease;
  overflow-y: auto;
  padding: 20px 0;
}

.s036-menu-open {
  right: 0;
}

.s036-menu-header {
  padding: 0 20px 16px;
  border-bottom: 1px solid var(--s036-border);
  margin-bottom: 8px;
}

.s036-menu-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #FFFFFF;
}

.s036-menu-close {
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 24px;
  cursor: pointer;
  position: absolute;
  top: 16px;
  right: 16px;
}

.s036-menu-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: var(--s036-text);
  font-size: 1.4rem;
  transition: all var(--s036-transition);
  border-left: 3px solid transparent;
}

.s036-menu-link:hover {
  background: rgba(148, 0, 211, 0.15);
  border-left-color: var(--s036-accent);
  color: var(--s036-accent);
}

.s036-menu-link i,
.s036-menu-link .material-icons {
  font-size: 20px;
  width: 24px;
  text-align: center;
}

/* ===== BANNER CAROUSEL ===== */
.s036-banner {
  margin-top: 56px;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 12px 12px;
}

.s036-slides-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
}

.s036-slide {
  display: none;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.s036-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.s036-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.s036-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background var(--s036-transition);
}

.s036-dot-active {
  background: var(--s036-accent);
  transform: scale(1.2);
}

/* ===== MAIN CONTENT ===== */
.s036-main {
  padding: 16px 12px;
}

.s036-section {
  margin-bottom: 24px;
}

.s036-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--s036-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.s036-section-title i,
.s036-section-title .material-icons {
  color: var(--s036-accent);
  font-size: 20px;
}

/* ===== GAME GRID ===== */
.s036-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.s036-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--s036-radius);
  transition: all var(--s036-transition);
  background: var(--s036-card-bg);
}

.s036-game-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(148, 0, 211, 0.3);
}

.s036-game-item img {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  margin-bottom: 4px;
  object-fit: cover;
}

.s036-game-name {
  font-size: 1rem;
  color: var(--s036-text);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== CONTENT CARDS ===== */
.s036-card {
  background: var(--s036-card-bg);
  border-radius: var(--s036-radius);
  padding: 16px;
  margin-bottom: 16px;
  border: 1px solid var(--s036-border);
}

.s036-card h2 {
  font-size: 1.6rem;
  color: #FFFFFF;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.s036-card h3 {
  font-size: 1.4rem;
  color: var(--s036-accent);
  margin-bottom: 8px;
}

.s036-card p {
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--s036-text-muted);
  margin-bottom: 10px;
}

/* ===== PROMO BUTTON ===== */
.s036-promo-btn {
  display: inline-block;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--s036-primary), var(--s036-indigo));
  color: #FFFFFF;
  font-size: 1.4rem;
  font-weight: 600;
  border-radius: 25px;
  cursor: pointer;
  border: none;
  transition: all var(--s036-transition);
  text-align: center;
}

.s036-promo-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(148, 0, 211, 0.5);
}

.s036-promo-btn-teal {
  background: linear-gradient(135deg, var(--s036-accent), #1a9e96);
}

.s036-promo-btn-teal:hover {
  box-shadow: 0 4px 16px rgba(32, 178, 170, 0.5);
}

/* ===== PROMO TEXT LINK ===== */
.s036-promo-link {
  color: var(--s036-accent);
  font-weight: 600;
  cursor: pointer;
  transition: color var(--s036-transition);
}

.s036-promo-link:hover {
  color: var(--s036-primary);
  text-decoration: underline;
}

/* ===== INTERNAL LINK ===== */
.s036-internal-link {
  color: var(--s036-accent);
  text-decoration: underline;
  font-weight: 500;
}

.s036-internal-link:hover {
  color: var(--s036-primary);
}

/* ===== FEATURES LIST ===== */
.s036-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.s036-feature-item {
  background: var(--s036-card-bg);
  border-radius: var(--s036-radius);
  padding: 12px;
  text-align: center;
  border: 1px solid var(--s036-border);
  transition: all var(--s036-transition);
}

.s036-feature-item:hover {
  border-color: var(--s036-primary);
}

.s036-feature-icon {
  font-size: 28px;
  color: var(--s036-accent);
  margin-bottom: 8px;
}

.s036-feature-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.s036-feature-desc {
  font-size: 1.1rem;
  color: var(--s036-text-muted);
  line-height: 1.4;
}

/* ===== FAQ ===== */
.s036-faq-item {
  background: var(--s036-card-bg);
  border-radius: var(--s036-radius);
  padding: 12px 14px;
  margin-bottom: 8px;
  border: 1px solid var(--s036-border);
}

.s036-faq-q {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--s036-accent);
  margin-bottom: 6px;
}

.s036-faq-a {
  font-size: 1.2rem;
  color: var(--s036-text-muted);
  line-height: 1.5;
}

/* ===== WINNER LIST ===== */
.s036-winner-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--s036-card-bg);
  border-radius: var(--s036-radius);
  margin-bottom: 6px;
  border-left: 3px solid var(--s036-accent);
}

.s036-winner-name {
  font-size: 1.2rem;
  color: #FFFFFF;
}

.s036-winner-game {
  font-size: 1.1rem;
  color: var(--s036-text-muted);
}

.s036-winner-amount {
  font-size: 1.3rem;
  font-weight: 700;
  color: #FFD700;
}

/* ===== PAYMENT GRID ===== */
.s036-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.s036-payment-item {
  background: var(--s036-card-bg);
  border-radius: var(--s036-radius);
  padding: 10px 16px;
  font-size: 1.2rem;
  color: var(--s036-text);
  border: 1px solid var(--s036-border);
  display: flex;
  align-items: center;
  gap: 6px;
}

.s036-payment-item i {
  color: var(--s036-accent);
}

/* ===== TESTIMONIALS ===== */
.s036-testimonial {
  background: var(--s036-card-bg);
  border-radius: var(--s036-radius);
  padding: 14px;
  margin-bottom: 10px;
  border-left: 3px solid var(--s036-primary);
}

.s036-testimonial-text {
  font-size: 1.2rem;
  color: var(--s036-text-muted);
  font-style: italic;
  margin-bottom: 8px;
  line-height: 1.5;
}

.s036-testimonial-author {
  font-size: 1.1rem;
  color: var(--s036-accent);
  font-weight: 600;
}

/* ===== CTA SECTION ===== */
.s036-cta-box {
  background: linear-gradient(135deg, var(--s036-indigo), var(--s036-primary));
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  margin: 16px 0;
}

.s036-cta-box h2 {
  font-size: 1.8rem;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.s036-cta-box p {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 14px;
}

/* ===== FOOTER ===== */
.s036-footer {
  background: linear-gradient(180deg, var(--s036-card-bg), var(--s036-dark));
  padding: 24px 12px 80px;
  border-top: 2px solid var(--s036-primary);
}

.s036-footer-brand {
  font-size: 1.3rem;
  color: var(--s036-text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.s036-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.s036-footer-promos .s036-promo-btn {
  font-size: 1.2rem;
  padding: 8px 16px;
}

.s036-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-bottom: 16px;
}

.s036-footer-links a {
  font-size: 1.2rem;
  color: var(--s036-text-muted);
}

.s036-footer-links a:hover {
  color: var(--s036-accent);
}

.s036-footer-copy {
  font-size: 1.1rem;
  color: #666666;
  text-align: center;
  border-top: 1px solid var(--s036-border);
  padding-top: 12px;
}

/* ===== BOTTOM NAV ===== */
.s036-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 430px;
  margin: 0 auto;
  height: 60px;
  background: linear-gradient(135deg, var(--s036-indigo), #2D0052);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.5);
  border-top: 1px solid rgba(148, 0, 211, 0.3);
}

.s036-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 56px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all var(--s036-transition);
  border-radius: 8px;
  padding: 4px 8px;
}

.s036-nav-btn:hover,
.s036-nav-btn:active {
  color: var(--s036-accent);
  transform: scale(1.1);
}

.s036-nav-btn-active {
  color: var(--s036-accent);
}

.s036-nav-btn i,
.s036-nav-btn .material-icons {
  font-size: 22px;
  margin-bottom: 2px;
}

.s036-nav-label {
  font-size: 1rem;
  white-space: nowrap;
}

/* ===== DESKTOP: HIDE BOTTOM NAV ===== */
@media (min-width: 769px) {
  .s036-bottom-nav {
    display: none;
  }
  .s036-footer {
    padding-bottom: 24px;
  }
}

/* ===== MOBILE PADDING ===== */
@media (max-width: 768px) {
  .s036-main {
    padding-bottom: 80px;
  }
}

/* ===== SMALL SCREEN ADJUSTMENTS ===== */
@media (max-width: 320px) {
  .s036-game-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .s036-header-name {
    font-size: 1.4rem;
  }
  .s036-btn-register,
  .s036-btn-login {
    padding: 5px 10px;
    font-size: 1.1rem;
  }
}

/* ===== UTILITY CLASSES ===== */
.s036-text-center {
  text-align: center;
}

.s036-mt-8 {
  margin-top: 8px;
}

.s036-mb-8 {
  margin-bottom: 8px;
}

.s036-mb-16 {
  margin-bottom: 16px;
}

.s036-highlight {
  color: var(--s036-accent);
  font-weight: 600;
}

.s036-divider {
  height: 1px;
  background: var(--s036-border);
  margin: 16px 0;
}

/* ===== SAFETY PAGE ===== */
.s036-safety-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(32, 178, 170, 0.15);
  color: var(--s036-accent);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 4px;
}

/* ===== TIPS PAGE ===== */
.s036-tip-card {
  background: var(--s036-card-bg);
  border-radius: var(--s036-radius);
  padding: 14px;
  margin-bottom: 10px;
  border-left: 4px solid var(--s036-primary);
}

.s036-tip-card h3 {
  font-size: 1.3rem;
  color: var(--s036-accent);
  margin-bottom: 6px;
}

.s036-tip-card p {
  font-size: 1.2rem;
  color: var(--s036-text-muted);
  line-height: 1.5;
}

/* ===== H1 TITLE ===== */
.s036-page-title {
  font-size: 2rem;
  font-weight: 800;
  color: #FFFFFF;
  text-align: center;
  margin: 16px 0;
  line-height: 1.3;
}
