/**
 * cb6.css - Core styles for cb6.click
 * All classes prefixed with s9e3- to avoid conflicts
 */

/* CSS Variables */
:root {
  --s9e3-primary: #A0522D;
  --s9e3-bg: #273746;
  --s9e3-bg-dark: #1C2A35;
  --s9e3-bg-light: #2E4452;
  --s9e3-text: #FDF5E6;
  --s9e3-white: #FAFAFA;
  --s9e3-accent: #BDB76B;
  --s9e3-highlight: #FFDEAD;
  --s9e3-border: #3D5A6E;
  --s9e3-shadow: rgba(0,0,0,0.3);
  --s9e3-radius: 8px;
  --s9e3-radius-lg: 12px;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: 'Hind Siliguri', sans-serif;
  background: var(--s9e3-bg);
  color: var(--s9e3-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  min-height: 100vh;
  -webkit-text-size-adjust: 100%;
}

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

/* Header */
.s9e3-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--s9e3-bg-dark);
  border-bottom: 1px solid var(--s9e3-border);
  height: 5.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
}
.s9e3-logo-area {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.s9e3-logo-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}
.s9e3-logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--s9e3-highlight);
  letter-spacing: 0.5px;
}
.s9e3-header-btns {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.s9e3-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border-radius: var(--s9e3-radius);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-decoration: none;
  font-family: inherit;
}
.s9e3-btn-register {
  background: var(--s9e3-primary);
  color: var(--s9e3-white);
}
.s9e3-btn-register:hover {
  background: #B8622E;
  transform: scale(1.03);
}
.s9e3-btn-login {
  background: transparent;
  color: var(--s9e3-highlight);
  border: 1px solid var(--s9e3-highlight);
}
.s9e3-btn-login:hover {
  background: rgba(255,222,173,0.1);
}
.s9e3-menu-btn {
  background: none;
  border: none;
  color: var(--s9e3-text);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 0.4rem;
  line-height: 1;
}

/* Mobile Menu */
.s9e3-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.s9e3-overlay-active {
  opacity: 1;
  visibility: visible;
}
.s9e3-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: var(--s9e3-bg-dark);
  z-index: 9999;
  transition: right 0.3s ease;
  overflow-y: auto;
  padding: 2rem 1.5rem;
}
.s9e3-menu-open {
  right: 0;
}
.s9e3-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--s9e3-border);
}
.s9e3-menu-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--s9e3-highlight);
}
.s9e3-menu-close {
  background: none;
  border: none;
  color: var(--s9e3-text);
  font-size: 2rem;
  cursor: pointer;
}
.s9e3-menu-links {
  list-style: none;
}
.s9e3-menu-links li {
  margin-bottom: 0.5rem;
}
.s9e3-menu-links a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
  color: var(--s9e3-text);
  text-decoration: none;
  border-radius: var(--s9e3-radius);
  font-size: 1.3rem;
  transition: background 0.2s ease;
}
.s9e3-menu-links a:hover {
  background: var(--s9e3-bg-light);
  color: var(--s9e3-highlight);
}
.s9e3-menu-links .material-icons {
  font-size: 2rem;
  color: var(--s9e3-accent);
}

/* Main Content */
.s9e3-main {
  padding-top: 5.2rem;
}
@media (max-width: 768px) {
  .s9e3-main {
    padding-bottom: 7rem;
  }
}

/* Carousel */
.s9e3-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--s9e3-radius-lg);
  margin: 1rem 0;
}
.s9e3-slides-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/7;
}
.s9e3-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  cursor: pointer;
}
.s9e3-slide-active {
  opacity: 1;
}
.s9e3-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--s9e3-radius-lg);
}
.s9e3-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  padding: 0.8rem;
  cursor: pointer;
  font-size: 1.6rem;
  border-radius: 50%;
  z-index: 2;
  transition: background 0.2s ease;
}
.s9e3-carousel-btn:hover {
  background: rgba(0,0,0,0.6);
}
.s9e3-carousel-prev { left: 0.5rem; }
.s9e3-carousel-next { right: 0.5rem; }
.s9e3-dots {
  position: absolute;
  bottom: 0.8rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}
.s9e3-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  border: none;
  transition: background 0.3s;
}
.s9e3-dot-active {
  background: var(--s9e3-primary);
  width: 20px;
  border-radius: 4px;
}

/* Section Titles */
.s9e3-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--s9e3-highlight);
  margin: 1.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--s9e3-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.s9e3-section-title .material-icons,
.s9e3-section-title .fas,
.s9e3-section-title .bi {
  font-size: 2rem;
  color: var(--s9e3-primary);
}

/* Game Grid */
.s9e3-game-section {
  margin-bottom: 1.5rem;
}
.s9e3-cat-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--s9e3-accent);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.s9e3-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}
.s9e3-game-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease;
  border-radius: var(--s9e3-radius);
  padding: 0.4rem;
}
.s9e3-game-item:hover {
  transform: scale(1.05);
  background: var(--s9e3-bg-light);
}
.s9e3-game-icon {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--s9e3-radius);
  border: 1px solid var(--s9e3-border);
}
.s9e3-game-name {
  display: block;
  font-size: 1rem;
  color: var(--s9e3-text);
  margin-top: 0.2rem;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Content Sections */
.s9e3-content-section {
  background: var(--s9e3-bg-light);
  border-radius: var(--s9e3-radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.2rem;
  border: 1px solid var(--s9e3-border);
}
.s9e3-content-section h2 {
  font-size: 1.6rem;
  color: var(--s9e3-highlight);
  margin-bottom: 0.8rem;
}
.s9e3-content-section h3 {
  font-size: 1.4rem;
  color: var(--s9e3-accent);
  margin: 0.8rem 0 0.4rem;
}
.s9e3-content-section p {
  color: var(--s9e3-text);
  line-height: 1.6;
  margin-bottom: 0.6rem;
}

/* Highlight Box */
.s9e3-highlight-box {
  background: linear-gradient(135deg, var(--s9e3-primary), #8B4513);
  border-radius: var(--s9e3-radius-lg);
  padding: 1.2rem;
  margin: 1rem 0;
  text-align: center;
}
.s9e3-highlight-box p {
  color: var(--s9e3-white);
  font-size: 1.3rem;
}

/* Feature Cards */
.s9e3-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin: 1rem 0;
}
.s9e3-feature-card {
  background: var(--s9e3-bg-dark);
  border: 1px solid var(--s9e3-border);
  border-radius: var(--s9e3-radius);
  padding: 1rem;
  text-align: center;
  transition: border-color 0.2s;
}
.s9e3-feature-card:hover {
  border-color: var(--s9e3-primary);
}
.s9e3-feature-card .material-icons,
.s9e3-feature-card .fas,
.s9e3-feature-card .bi {
  font-size: 2.4rem;
  color: var(--s9e3-accent);
  margin-bottom: 0.4rem;
}
.s9e3-feature-card h4 {
  font-size: 1.2rem;
  color: var(--s9e3-highlight);
  margin-bottom: 0.3rem;
}
.s9e3-feature-card p {
  font-size: 1rem;
  color: var(--s9e3-text);
  line-height: 1.3;
}

/* CTA Button */
.s9e3-cta {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, var(--s9e3-primary), #8B4513);
  color: var(--s9e3-white);
  text-align: center;
  padding: 1.2rem;
  border-radius: var(--s9e3-radius-lg);
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  margin: 1.5rem 0;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  font-family: inherit;
}
.s9e3-cta:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 15px var(--s9e3-shadow);
}

/* FAQ */
.s9e3-faq-item {
  background: var(--s9e3-bg-dark);
  border-radius: var(--s9e3-radius);
  padding: 1rem 1.2rem;
  margin-bottom: 0.6rem;
  border-left: 3px solid var(--s9e3-primary);
}
.s9e3-faq-item h3 {
  font-size: 1.3rem;
  color: var(--s9e3-highlight);
  margin-bottom: 0.4rem;
}
.s9e3-faq-item p {
  font-size: 1.2rem;
  color: var(--s9e3-text);
  line-height: 1.5;
}

/* Promo link in text */
.s9e3-text-link {
  color: var(--s9e3-highlight);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s;
}
.s9e3-text-link:hover {
  color: var(--s9e3-primary);
}

/* Internal link */
.s9e3-internal-link {
  color: var(--s9e3-accent);
  text-decoration: underline;
  transition: color 0.2s;
}
.s9e3-internal-link:hover {
  color: var(--s9e3-highlight);
}

/* Footer */
.s9e3-footer {
  background: var(--s9e3-bg-dark);
  border-top: 1px solid var(--s9e3-border);
  padding: 2rem 1rem 1rem;
  margin-top: 2rem;
}
.s9e3-footer-brand {
  text-align: center;
  margin-bottom: 1.5rem;
}
.s9e3-footer-brand p {
  font-size: 1.1rem;
  color: var(--s9e3-text);
  line-height: 1.5;
  max-width: 360px;
  margin: 0.5rem auto;
}
.s9e3-footer-partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin: 1rem 0;
}
.s9e3-footer-partners span {
  font-size: 1rem;
  color: var(--s9e3-accent);
  background: var(--s9e3-bg-light);
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
}
.s9e3-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
  margin: 1rem 0;
}
.s9e3-footer-links a {
  color: var(--s9e3-text);
  font-size: 1.1rem;
  text-decoration: none;
  transition: color 0.2s;
}
.s9e3-footer-links a:hover {
  color: var(--s9e3-highlight);
}
.s9e3-footer-copyright {
  text-align: center;
  font-size: 1rem;
  color: var(--s9e3-border);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--s9e3-border);
}

/* Promo buttons row in footer */
.s9e3-footer-promos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem 0;
}
.s9e3-footer-promos button {
  background: var(--s9e3-primary);
  color: var(--s9e3-white);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--s9e3-radius);
  font-size: 1.1rem;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}
.s9e3-footer-promos button:hover {
  background: #B8622E;
}

/* Fixed Bottom Nav */
.s9e3-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--s9e3-bg-dark);
  border-top: 1px solid var(--s9e3-border);
  height: 60px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 0.3rem;
}
.s9e3-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 52px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--s9e3-text);
  transition: all 0.2s ease;
  padding: 0.2rem;
  font-family: inherit;
}
.s9e3-bottom-nav-btn:hover,
.s9e3-bottom-nav-btn:active {
  color: var(--s9e3-highlight);
  transform: scale(1.08);
}
.s9e3-bottom-nav-btn .material-icons,
.s9e3-bottom-nav-btn .fas,
.s9e3-bottom-nav-btn .far,
.s9e3-bottom-nav-btn .bi {
  font-size: 22px;
  margin-bottom: 1px;
}
.s9e3-bottom-nav-btn span {
  font-size: 10px;
  line-height: 1.1;
}
.s9e3-bottom-nav-active {
  color: var(--s9e3-primary);
}

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

/* Utility classes */
.s9e3-text-center { text-align: center; }
.s9e3-mt-1 { margin-top: 1rem; }
.s9e3-mb-1 { margin-bottom: 1rem; }
.s9e3-hidden { display: none; }

/* Winner showcase */
.s9e3-winner-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.s9e3-winner-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0.8rem;
  background: var(--s9e3-bg-dark);
  border-radius: var(--s9e3-radius);
  font-size: 1.1rem;
}
.s9e3-winner-name {
  color: var(--s9e3-accent);
  font-weight: 600;
}
.s9e3-winner-amount {
  color: var(--s9e3-highlight);
  font-weight: 700;
}

/* Payment methods */
.s9e3-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.s9e3-payment-item {
  background: var(--s9e3-bg-dark);
  border: 1px solid var(--s9e3-border);
  border-radius: var(--s9e3-radius);
  padding: 0.5rem 0.8rem;
  font-size: 1rem;
  color: var(--s9e3-text);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .s9e3-container { padding: 0 0.8rem; }
  .s9e3-game-grid { gap: 0.4rem; }
  .s9e3-game-name { font-size: 0.9rem; }
}
@media (min-width: 431px) {
  .s9e3-header { justify-content: center; }
  .s9e3-header .s9e3-container-inner {
    max-width: 430px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}
