/**
 * labourday.click - Core Stylesheet
 * Class prefix: sb4c-
 * Colors: #212F3D (bg), #CED4DA (text), #3CB371 (accent)
 */

:root {
  --sb4c-primary: #3CB371;
  --sb4c-bg: #212F3D;
  --sb4c-bg-dark: #1a2530;
  --sb4c-bg-card: #2a3d52;
  --sb4c-text: #CED4DA;
  --sb4c-text-muted: #8a9bae;
  --sb4c-accent: #3CB371;
  --sb4c-accent-hover: #2e9a5e;
  --sb4c-border: #3a5068;
  --sb4c-shadow: rgba(0, 0, 0, 0.3);
  --sb4c-radius: 0.8rem;
  --sb4c-radius-sm: 0.4rem;
  --sb4c-transition: all 0.3s ease;
}

/* Reset & Base */
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--sb4c-bg);
  color: var(--sb4c-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  min-height: 100vh;
  overflow-x: hidden;
}

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

a:hover {
  color: var(--sb4c-accent-hover);
  text-decoration: underline;
}

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

/* Container */
.sb4c-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

/* Header */
.sb4c-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 56px;
  background: var(--sb4c-bg-dark);
  border-bottom: 1px solid var(--sb4c-border);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
}

.sb4c-header-left {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.sb4c-logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.sb4c-site-name {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--sb4c-primary);
  letter-spacing: 0.5px;
}

.sb4c-header-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.sb4c-btn-register {
  background: var(--sb4c-primary);
  color: #fff;
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: var(--sb4c-radius-sm);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--sb4c-transition);
  min-height: 32px;
}

.sb4c-btn-register:hover {
  background: var(--sb4c-accent-hover);
  transform: scale(1.05);
}

.sb4c-btn-login {
  background: transparent;
  color: var(--sb4c-primary);
  border: 1.5px solid var(--sb4c-primary);
  padding: 0.5rem 1.2rem;
  border-radius: var(--sb4c-radius-sm);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--sb4c-transition);
  min-height: 32px;
}

.sb4c-btn-login:hover {
  background: var(--sb4c-primary);
  color: #fff;
}

.sb4c-menu-toggle {
  background: none;
  border: none;
  color: var(--sb4c-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Menu */
.sb4c-mobile-menu {
  position: fixed;
  top: 56px;
  left: 0;
  width: 100%;
  background: var(--sb4c-bg-dark);
  border-bottom: 2px solid var(--sb4c-primary);
  z-index: 9999;
  padding: 1.2rem;
  transition: var(--sb4c-transition);
}

.sb4c-menu-hidden {
  display: none;
  opacity: 0;
}

.sb4c-menu-active {
  display: block;
  opacity: 1;
}

.sb4c-menu-section {
  margin-bottom: 1.2rem;
}

.sb4c-menu-section-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--sb4c-primary);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--sb4c-border);
}

.sb4c-menu-link {
  display: block;
  padding: 0.6rem 0.8rem;
  color: var(--sb4c-text);
  font-size: 1.3rem;
  border-radius: var(--sb4c-radius-sm);
  transition: var(--sb4c-transition);
}

.sb4c-menu-link:hover {
  background: var(--sb4c-bg-card);
  color: var(--sb4c-primary);
  text-decoration: none;
}

/* Main Content */
.sb4c-main {
  padding-top: 56px;
  padding-bottom: 2rem;
}

/* Carousel */
.sb4c-carousel {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 0 0 var(--sb4c-radius) var(--sb4c-radius);
}

.sb4c-slides-wrapper {
  position: relative;
  width: 100%;
  padding-top: 45%;
  overflow: hidden;
}

.sb4c-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}

.sb4c-slide-active {
  opacity: 1;
}

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

.sb4c-carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.sb4c-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(206, 212, 218, 0.4);
  cursor: pointer;
  transition: var(--sb4c-transition);
}

.sb4c-dot-active {
  background: var(--sb4c-primary);
  width: 20px;
  border-radius: 4px;
}

/* Sections */
.sb4c-section {
  padding: 1.6rem 0;
}

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

.sb4c-section-title i,
.sb4c-section-title .material-icons {
  color: var(--sb4c-primary);
  font-size: 2rem;
}

/* Game Grid */
.sb4c-category-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--sb4c-primary);
  margin: 1.4rem 0 0.8rem;
  padding-left: 0.4rem;
  border-left: 3px solid var(--sb4c-primary);
}

.sb4c-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.sb4c-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: var(--sb4c-transition);
  padding: 0.4rem;
  border-radius: var(--sb4c-radius-sm);
}

.sb4c-game-item:hover {
  background: var(--sb4c-bg-card);
  transform: translateY(-2px);
}

.sb4c-game-img {
  width: 64px;
  height: 64px;
  border-radius: 0.6rem;
  object-fit: cover;
  margin-bottom: 0.3rem;
  border: 1.5px solid var(--sb4c-border);
}

.sb4c-game-name {
  font-size: 1rem;
  color: var(--sb4c-text-muted);
  text-align: center;
  line-height: 1.2rem;
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Content Cards */
.sb4c-card {
  background: var(--sb4c-bg-card);
  border-radius: var(--sb4c-radius);
  padding: 1.4rem;
  margin-bottom: 1.2rem;
  border: 1px solid var(--sb4c-border);
}

.sb4c-card-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.8rem;
}

.sb4c-card-text {
  font-size: 1.3rem;
  line-height: 1.8rem;
  color: var(--sb4c-text);
  margin-bottom: 0.8rem;
}

/* Promo Buttons */
.sb4c-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--sb4c-primary), #2e9a5e);
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 2.5rem;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--sb4c-transition);
  text-align: center;
  box-shadow: 0 4px 15px rgba(60, 179, 113, 0.3);
}

.sb4c-promo-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(60, 179, 113, 0.4);
  color: #fff;
  text-decoration: none;
}

.sb4c-promo-text {
  color: var(--sb4c-primary);
  font-weight: 700;
  cursor: pointer;
  border-bottom: 1px dashed var(--sb4c-primary);
  transition: var(--sb4c-transition);
}

.sb4c-promo-text:hover {
  color: var(--sb4c-accent-hover);
}

/* FAQ */
.sb4c-faq-item {
  margin-bottom: 1rem;
  padding: 1rem;
  background: var(--sb4c-bg-card);
  border-radius: var(--sb4c-radius-sm);
  border-left: 3px solid var(--sb4c-primary);
}

.sb4c-faq-q {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--sb4c-primary);
  margin-bottom: 0.4rem;
}

.sb4c-faq-a {
  font-size: 1.3rem;
  color: var(--sb4c-text);
  line-height: 1.6rem;
}

/* Winners Table */
.sb4c-winner-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--sb4c-border);
}

.sb4c-winner-name {
  font-weight: 600;
  color: #fff;
  font-size: 1.2rem;
}

.sb4c-winner-amount {
  color: var(--sb4c-primary);
  font-weight: 700;
  font-size: 1.3rem;
}

/* Footer */
.sb4c-footer {
  background: var(--sb4c-bg-dark);
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--sb4c-border);
  margin-top: 2rem;
}

.sb4c-footer-text {
  font-size: 1.2rem;
  color: var(--sb4c-text-muted);
  line-height: 1.6rem;
  margin-bottom: 1rem;
}

.sb4c-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
}

.sb4c-footer-link {
  color: var(--sb4c-text-muted);
  font-size: 1.2rem;
  padding: 0.3rem 0.6rem;
  border-radius: var(--sb4c-radius-sm);
  transition: var(--sb4c-transition);
}

.sb4c-footer-link:hover {
  color: var(--sb4c-primary);
  background: var(--sb4c-bg-card);
  text-decoration: none;
}

.sb4c-promo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}

.sb4c-promo-links .sb4c-promo-btn {
  padding: 0.5rem 1.2rem;
  font-size: 1.2rem;
}

.sb4c-copyright {
  font-size: 1.1rem;
  color: var(--sb4c-text-muted);
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid var(--sb4c-border);
}

/* Bottom Navigation */
.sb4c-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: var(--sb4c-bg-dark);
  border-top: 2px solid var(--sb4c-primary);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 0.4rem;
}

.sb4c-bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 52px;
  background: none;
  border: none;
  color: var(--sb4c-text-muted);
  cursor: pointer;
  transition: var(--sb4c-transition);
  padding: 0.3rem;
  border-radius: 0.6rem;
}

.sb4c-bottom-btn:hover,
.sb4c-bottom-btn:focus {
  color: var(--sb4c-primary);
  background: rgba(60, 179, 113, 0.1);
  transform: scale(1.08);
}

.sb4c-bottom-btn i,
.sb4c-bottom-btn .material-icons,
.sb4c-bottom-btn ion-icon,
.sb4c-bottom-btn bi {
  font-size: 2.2rem;
  margin-bottom: 0.2rem;
}

.sb4c-bottom-btn span {
  font-size: 1rem;
  line-height: 1.2rem;
}

.sb4c-bottom-btn-active {
  color: var(--sb4c-primary) !important;
}

.sb4c-bottom-btn-active::after {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--sb4c-primary);
  border-radius: 1px;
  margin-top: 0.2rem;
}

/* Desktop: hide bottom nav */
@media (min-width: 769px) {
  .sb4c-bottom-nav {
    display: none;
  }
}

/* Mobile: add bottom padding */
@media (max-width: 768px) {
  .sb4c-main {
    padding-bottom: 80px;
  }
  .sb4c-footer {
    padding-bottom: 80px;
  }
}

/* Utility */
.sb4c-text-center { text-align: center; }
.sb4c-text-accent { color: var(--sb4c-primary); }
.sb4c-mt-1 { margin-top: 0.8rem; }
.sb4c-mt-2 { margin-top: 1.6rem; }
.sb4c-mb-1 { margin-bottom: 0.8rem; }
.sb4c-mb-2 { margin-bottom: 1.6rem; }
.sb4c-p-1 { padding: 0.8rem; }

/* Highlight badge */
.sb4c-badge {
  display: inline-block;
  background: var(--sb4c-primary);
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: 1rem;
  font-size: 1rem;
  font-weight: 600;
}

/* Divider */
.sb4c-divider {
  border: none;
  border-top: 1px solid var(--sb4c-border);
  margin: 1.4rem 0;
}

/* Feature list */
.sb4c-feature-list {
  list-style: none;
  padding: 0;
}

.sb4c-feature-list li {
  padding: 0.5rem 0;
  padding-left: 1.8rem;
  position: relative;
  font-size: 1.3rem;
  line-height: 1.6rem;
}

.sb4c-feature-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--sb4c-primary);
  font-size: 1.2rem;
}

/* Testimonial card */
.sb4c-testimonial {
  background: var(--sb4c-bg-card);
  border-radius: var(--sb4c-radius);
  padding: 1.2rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--sb4c-primary);
}

.sb4c-testimonial-text {
  font-size: 1.3rem;
  color: var(--sb4c-text);
  font-style: italic;
  line-height: 1.6rem;
  margin-bottom: 0.6rem;
}

.sb4c-testimonial-author {
  font-size: 1.2rem;
  color: var(--sb4c-primary);
  font-weight: 600;
}

/* Payment icons row */
.sb4c-payment-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.sb4c-payment-item {
  background: var(--sb4c-bg-card);
  border-radius: var(--sb4c-radius-sm);
  padding: 0.6rem 1rem;
  font-size: 1.2rem;
  color: var(--sb4c-text);
  border: 1px solid var(--sb4c-border);
}

/* Scroll animation helper */
.sb4c-fade-in {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.sb4c-fade-in.sb4c-visible {
  opacity: 1;
  transform: translateY(0);
}
