/**
 * Casino Plus Apps - Core CSS Stylesheet
 * Class prefix: sb15-
 * Colors: #FF7F50 (coral), #E0E0E0 (light), #1E1E1E (dark), #CD853F (peru)
 * Mobile-first responsive design, max-width 430px
 */

/* CSS Variables */
:root {
  --sb15-primary: #FF7F50;
  --sb15-secondary: #CD853F;
  --sb15-bg: #1E1E1E;
  --sb15-bg-dark: #141414;
  --sb15-bg-card: #2A2A2A;
  --sb15-text: #E0E0E0;
  --sb15-text-muted: #999999;
  --sb15-accent: #FF7F50;
  --sb15-gold: #CD853F;
  --sb15-border: #3A3A3A;
  --sb15-radius: 8px;
  --sb15-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  --sb15-font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: var(--sb15-font);
  background: var(--sb15-bg);
  color: var(--sb15-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--sb15-primary); text-decoration: none; }
a:hover { color: var(--sb15-gold); }
img { max-width: 100%; height: auto; display: block; }

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

/* ============ HEADER ============ */
.sb15-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--sb15-bg-dark);
  border-bottom: 1px solid var(--sb15-border);
  height: 56px;
}
.sb15-header-inner {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  height: 56px;
}
.sb15-logo-area {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.sb15-logo-area img {
  width: 30px;
  height: 30px;
  border-radius: 4px;
}
.sb15-logo-area span {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--sb15-primary);
  white-space: nowrap;
}
.sb15-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.sb15-btn-register {
  background: var(--sb15-primary);
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--sb15-radius);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.sb15-btn-register:hover {
  background: #e56a3a;
  transform: scale(1.03);
}
.sb15-btn-login {
  background: transparent;
  color: var(--sb15-primary);
  border: 1.5px solid var(--sb15-primary);
  padding: 0.45rem 0.9rem;
  border-radius: var(--sb15-radius);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.sb15-btn-login:hover {
  background: rgba(255, 127, 80, 0.1);
}
.sb15-menu-btn {
  background: none;
  border: none;
  color: var(--sb15-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
}

/* ============ MOBILE MENU ============ */
.sb15-menu-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
}
.sb15-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 260px;
  height: 100%;
  background: var(--sb15-bg-dark);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}
.sb15-mobile-menu-close {
  background: none;
  border: none;
  color: var(--sb15-text);
  font-size: 2.2rem;
  cursor: pointer;
  position: absolute;
  top: 1rem;
  right: 1rem;
}
.sb15-mobile-menu h3 {
  color: var(--sb15-primary);
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  padding-top: 1rem;
}
.sb15-mobile-menu ul {
  list-style: none;
}
.sb15-mobile-menu ul li {
  margin-bottom: 0.8rem;
}
.sb15-mobile-menu ul li a {
  color: var(--sb15-text);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--sb15-border);
  transition: color 0.2s;
}
.sb15-mobile-menu ul li a:hover {
  color: var(--sb15-primary);
}

/* ============ CAROUSEL ============ */
.sb15-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--sb15-radius);
  margin-top: 0.5rem;
}
.sb15-carousel-slide {
  display: none;
  width: 100%;
  cursor: pointer;
}
.sb15-carousel-slide img {
  width: 100%;
  height: auto;
  border-radius: var(--sb15-radius);
}
.sb15-carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.sb15-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.3s;
}
.sb15-carousel-dot-active {
  background: var(--sb15-primary);
}

/* ============ MAIN CONTENT ============ */
.sb15-main {
  padding-top: 60px;
}
@media (max-width: 768px) {
  .sb15-main {
    padding-bottom: 80px;
  }
}

/* ============ SECTIONS ============ */
.sb15-section {
  padding: 2rem 0;
}
.sb15-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--sb15-primary);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.sb15-section-title i,
.sb15-section-title .material-icons {
  font-size: 2rem;
}

/* ============ GAME GRID ============ */
.sb15-category-header {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--sb15-gold);
  margin: 1.5rem 0 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--sb15-gold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.sb15-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.sb15-game-card {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  border-radius: var(--sb15-radius);
  overflow: hidden;
  background: var(--sb15-bg-card);
  padding: 0.3rem;
}
.sb15-game-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255, 127, 80, 0.15);
}
.sb15-game-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
}
.sb15-game-card span {
  display: block;
  font-size: 1rem;
  color: var(--sb15-text);
  padding: 0.3rem 0.1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

/* ============ CONTENT BLOCKS ============ */
.sb15-content-block {
  background: var(--sb15-bg-card);
  border-radius: var(--sb15-radius);
  padding: 1.5rem;
  margin-bottom: 1.2rem;
  border-left: 3px solid var(--sb15-primary);
}
.sb15-content-block h2 {
  font-size: 1.6rem;
  color: var(--sb15-primary);
  margin-bottom: 0.8rem;
}
.sb15-content-block h3 {
  font-size: 1.4rem;
  color: var(--sb15-gold);
  margin: 0.8rem 0 0.4rem;
}
.sb15-content-block p {
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--sb15-text);
  margin-bottom: 0.6rem;
}
.sb15-content-block ul {
  padding-left: 1.8rem;
  margin-bottom: 0.6rem;
}
.sb15-content-block ul li {
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--sb15-text);
  margin-bottom: 0.3rem;
}

/* ============ PROMO BUTTONS ============ */
.sb15-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--sb15-primary), var(--sb15-gold));
  color: #fff;
  font-weight: 700;
  font-size: 1.3rem;
  padding: 0.7rem 1.8rem;
  border-radius: 25px;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
  text-align: center;
}
.sb15-promo-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(255, 127, 80, 0.4);
}
.sb15-promo-btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--sb15-primary);
  font-weight: 600;
  font-size: 1.2rem;
  padding: 0.6rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  border: 2px solid var(--sb15-primary);
  transition: all 0.3s;
}
.sb15-promo-btn-outline:hover {
  background: rgba(255, 127, 80, 0.1);
}

/* ============ PROMO LINK TEXT ============ */
.sb15-promo-link {
  color: var(--sb15-primary);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s;
}
.sb15-promo-link:hover {
  color: var(--sb15-gold);
}

/* ============ TESTIMONIALS ============ */
.sb15-testimonial {
  background: var(--sb15-bg-card);
  border-radius: var(--sb15-radius);
  padding: 1.2rem;
  margin-bottom: 0.8rem;
  border: 1px solid var(--sb15-border);
}
.sb15-testimonial-name {
  color: var(--sb15-primary);
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}
.sb15-testimonial-text {
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--sb15-text-muted);
  font-style: italic;
}

/* ============ PAYMENT METHODS ============ */
.sb15-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}
.sb15-payment-item {
  background: var(--sb15-bg-card);
  border: 1px solid var(--sb15-border);
  border-radius: var(--sb15-radius);
  padding: 0.8rem 1.2rem;
  text-align: center;
  font-size: 1.2rem;
  color: var(--sb15-text);
  min-width: 80px;
}

/* ============ WINNER SHOWCASE ============ */
.sb15-winner-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--sb15-bg-card);
  border-radius: var(--sb15-radius);
  padding: 0.8rem;
  margin-bottom: 0.5rem;
}
.sb15-winner-name {
  color: var(--sb15-primary);
  font-weight: 600;
  font-size: 1.1rem;
}
.sb15-winner-amount {
  color: var(--sb15-gold);
  font-weight: 700;
  font-size: 1.3rem;
  margin-left: auto;
}
.sb15-winner-game {
  font-size: 1rem;
  color: var(--sb15-text-muted);
}

/* ============ FOOTER ============ */
.sb15-footer {
  background: var(--sb15-bg-dark);
  border-top: 1px solid var(--sb15-border);
  padding: 2rem 0 3rem;
}
.sb15-footer-brand {
  text-align: center;
  margin-bottom: 1.5rem;
}
.sb15-footer-brand p {
  font-size: 1.2rem;
  color: var(--sb15-text-muted);
  line-height: 1.5;
}
.sb15-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}
.sb15-footer-links a {
  color: var(--sb15-text);
  font-size: 1.2rem;
  padding: 0.4rem 0.8rem;
  background: var(--sb15-bg-card);
  border-radius: 20px;
  transition: all 0.2s;
}
.sb15-footer-links a:hover {
  background: var(--sb15-primary);
  color: #fff;
}
.sb15-footer-promo-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.sb15-footer-copyright {
  text-align: center;
  font-size: 1.1rem;
  color: var(--sb15-text-muted);
  padding-top: 1rem;
  border-top: 1px solid var(--sb15-border);
}

/* ============ BOTTOM NAV ============ */
.sb15-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--sb15-bg-dark);
  border-top: 1px solid var(--sb15-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  padding: 0 0.3rem;
}
.sb15-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 52px;
  cursor: pointer;
  color: var(--sb15-text-muted);
  transition: all 0.25s;
  border-radius: 8px;
  padding: 0.2rem 0;
  background: none;
  border: none;
  -webkit-tap-highlight-color: transparent;
}
.sb15-bottom-nav-item:hover,
.sb15-bottom-nav-item.sb15-nav-active {
  color: var(--sb15-primary);
  background: rgba(255, 127, 80, 0.08);
}
.sb15-bottom-nav-item:active {
  transform: scale(0.92);
}
.sb15-bottom-nav-item i,
.sb15-bottom-nav-item .material-icons,
.sb15-bottom-nav-item ion-icon,
.sb15-bottom-nav-item bi {
  font-size: 22px;
  margin-bottom: 2px;
}
.sb15-bottom-nav-item span {
  font-size: 1rem;
  line-height: 1.1;
}

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

/* ============ FAQ ============ */
.sb15-faq-item {
  background: var(--sb15-bg-card);
  border-radius: var(--sb15-radius);
  margin-bottom: 0.6rem;
  overflow: hidden;
}
.sb15-faq-q {
  padding: 1rem 1.2rem;
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--sb15-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sb15-faq-a {
  padding: 0 1.2rem 1rem;
  font-size: 1.2rem;
  color: var(--sb15-text-muted);
  line-height: 1.5;
}

/* ============ FEATURES GRID ============ */
.sb15-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}
.sb15-feature-card {
  background: var(--sb15-bg-card);
  border-radius: var(--sb15-radius);
  padding: 1.2rem;
  text-align: center;
  border: 1px solid var(--sb15-border);
}
.sb15-feature-card i,
.sb15-feature-card .material-icons {
  font-size: 2.4rem;
  color: var(--sb15-primary);
  margin-bottom: 0.5rem;
}
.sb15-feature-card h4 {
  font-size: 1.2rem;
  color: var(--sb15-gold);
  margin-bottom: 0.3rem;
}
.sb15-feature-card p {
  font-size: 1.1rem;
  color: var(--sb15-text-muted);
  line-height: 1.4;
}

/* ============ DOWNLOAD CTA ============ */
.sb15-download-cta {
  background: linear-gradient(135deg, #2A1A0E, #1E1E1E);
  border: 2px solid var(--sb15-gold);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}
.sb15-download-cta h3 {
  color: var(--sb15-gold);
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}
.sb15-download-cta p {
  color: var(--sb15-text-muted);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 430px) {
  .sb15-game-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
  }
  .sb15-game-card span {
    font-size: 0.9rem;
  }
}

@media (min-width: 431px) and (max-width: 768px) {
  .sb15-game-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (min-width: 769px) {
  .sb15-container {
    max-width: 430px;
  }
  .sb15-main {
    padding-bottom: 2rem;
  }
}

/* ============ UTILITIES ============ */
.sb15-text-center { text-align: center; }
.sb15-mt-1 { margin-top: 1rem; }
.sb15-mb-1 { margin-bottom: 1rem; }
.sb15-mb-2 { margin-bottom: 2rem; }
.sb15-gap-sm { gap: 0.5rem; }
.sb15-flex { display: flex; }
.sb15-flex-center { display: flex; align-items: center; justify-content: center; }
.sb15-flex-wrap { flex-wrap: wrap; }
.sb15-hidden { display: none; }

/* Animation */
@keyframes sb15fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.sb15-fade-in {
  animation: sb15fadeIn 0.4s ease forwards;
}
