/**
 * beetel.sbs - Core Stylesheet
 * Prefix: s61c-
 * Palette: #1B263B | #F0F8FF | #999999 | #4682B4 | #FFB347 | #87CEFA
 * Root font: 62.5% (1rem = 10px)
 */

:root {
  --s61c-primary: #4682B4;
  --s61c-bg: #1B263B;
  --s61c-bg-light: #243447;
  --s61c-text: #F0F8FF;
  --s61c-muted: #999999;
  --s61c-accent: #FFB347;
  --s61c-highlight: #87CEFA;
  --s61c-card-bg: #1e2d42;
  --s61c-border: #2a3f5a;
  --s61c-radius: 1.2rem;
  --s61c-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--s61c-bg);
  color: var(--s61c-text);
  font-size: 1.5rem;
  line-height: 1.5;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--s61c-highlight); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ========== HEADER ========== */
.s61c-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--s61c-bg);
  border-bottom: 1px solid var(--s61c-border);
  max-width: 430px; margin: 0 auto;
  height: 5.6rem;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.2rem;
}
.s61c-logo-area {
  display: flex; align-items: center; gap: 0.8rem;
}
.s61c-logo-area img { width: 2.8rem; height: 2.8rem; }
.s61c-logo-area span { font-size: 1.8rem; font-weight: 700; color: var(--s61c-accent); }
.s61c-header-btns { display: flex; gap: 0.6rem; align-items: center; }
.s61c-btn-register, .s61c-btn-login {
  padding: 0.6rem 1.4rem; border-radius: 2rem; font-size: 1.2rem;
  font-weight: 600; cursor: pointer; border: none;
}
.s61c-btn-register {
  background: linear-gradient(135deg, var(--s61c-accent), #e09830);
  color: #1B263B;
}
.s61c-btn-login {
  background: transparent; color: var(--s61c-highlight);
  border: 1px solid var(--s61c-highlight);
}
.s61c-menu-toggle {
  background: none; border: none; color: var(--s61c-text);
  font-size: 2.2rem; cursor: pointer; padding: 0.4rem;
}

/* ========== MOBILE MENU ========== */
.s61c-menu-overlay {
  display: none; position: fixed; inset: 0; z-index: 9998;
  background: rgba(0,0,0,0.5);
}
.s61c-mobile-menu {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 9999;
  width: 75%; max-width: 300px;
  background: var(--s61c-bg-light);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  padding: 2rem 1.5rem;
}
.s61c-mobile-menu-close {
  background: none; border: none; color: var(--s61c-text);
  font-size: 2.4rem; cursor: pointer; position: absolute; top: 1rem; right: 1rem;
}
.s61c-mobile-menu a {
  display: block; padding: 1.2rem 0; color: var(--s61c-text);
  font-size: 1.5rem; border-bottom: 1px solid var(--s61c-border);
}
.s61c-mobile-menu a:hover { color: var(--s61c-accent); }

/* ========== BOTTOM NAV ========== */
.s61c-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--s61c-bg-light);
  border-top: 1px solid var(--s61c-border);
  max-width: 430px; margin: 0 auto;
  height: 6rem;
  display: flex; justify-content: space-around; align-items: center;
}
.s61c-bottom-nav-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 6rem; min-height: 5.2rem;
  background: none; border: none; color: var(--s61c-muted);
  cursor: pointer; transition: all 0.2s;
  font-size: 1rem; gap: 0.2rem;
}
.s61c-bottom-nav-item i, .s61c-bottom-nav-item .material-icons {
  font-size: 2.4rem;
}
.s61c-bottom-nav-item:hover, .s61c-bottom-active {
  color: var(--s61c-accent);
  transform: scale(1.08);
}
.s61c-bottom-nav-item span { font-size: 1rem; }

/* ========== MAIN CONTENT ========== */
.s61c-main {
  padding-top: 5.6rem;
  padding-bottom: 2rem;
  min-height: 100vh;
}
@media (max-width: 768px) {
  .s61c-main { padding-bottom: 8rem; }
}

/* ========== CAROUSEL ========== */
.s61c-carousel {
  position: relative; overflow: hidden; width: 100%;
  border-radius: 0 0 1.2rem 1.2rem;
}
.s61c-carousel-track {
  display: flex; transition: transform 0.5s ease;
}
.s61c-carousel-slide {
  min-width: 100%; cursor: pointer;
}
.s61c-carousel-slide img {
  width: 100%; height: 18rem; object-fit: cover;
}
.s61c-carousel-dots {
  position: absolute; bottom: 0.8rem;
  left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.6rem;
}
.s61c-carousel-dot {
  width: 0.8rem; height: 0.8rem; border-radius: 50%;
  background: rgba(240,248,255,0.4); border: none; cursor: pointer;
}
.s61c-dot-active { background: var(--s61c-accent); }
.s61c-carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.4); color: #fff; border: none;
  width: 3rem; height: 3rem; border-radius: 50%;
  font-size: 1.6rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.s61c-carousel-arrow.prev { left: 0.5rem; }
.s61c-carousel-arrow.next { right: 0.5rem; }

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

/* ========== GAME GRID ========== */
.s61c-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.s61c-game-card {
  display: flex; flex-direction: column; align-items: center;
  cursor: pointer; transition: transform 0.2s;
}
.s61c-game-card:hover { transform: translateY(-3px); }
.s61c-game-card img {
  width: 7rem; height: 7rem; border-radius: 1rem;
  object-fit: cover; margin-bottom: 0.4rem;
  border: 2px solid var(--s61c-border);
}
.s61c-game-card span {
  font-size: 1.1rem; text-align: center; color: var(--s61c-text);
  line-height: 1.3; max-width: 7rem;
  overflow: hidden; text-overflow: ellipsis;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}

/* ========== CATEGORY HEADER ========== */
.s61c-cat-header {
  display: flex; align-items: center; gap: 0.8rem;
  margin: 1.5rem 0 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--s61c-primary);
}
.s61c-cat-header span {
  font-size: 1.6rem; font-weight: 600; color: var(--s61c-highlight);
}
.s61c-cat-header i, .s61c-cat-header .material-icons {
  font-size: 2rem; color: var(--s61c-accent);
}

/* ========== CONTENT CARDS ========== */
.s61c-card {
  background: var(--s61c-card-bg);
  border-radius: var(--s61c-radius);
  padding: 1.5rem;
  margin-bottom: 1.2rem;
  border: 1px solid var(--s61c-border);
  box-shadow: var(--s61c-shadow);
}
.s61c-card h2, .s61c-card h3 {
  color: var(--s61c-accent); margin-bottom: 0.8rem;
}
.s61c-card p {
  color: var(--s61c-text); line-height: 1.6;
  font-size: 1.4rem;
}

/* ========== CTA BUTTON ========== */
.s61c-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--s61c-accent), #e09830);
  color: #1B263B; font-weight: 700; font-size: 1.5rem;
  padding: 1rem 2.4rem; border-radius: 3rem;
  cursor: pointer; border: none;
  text-align: center; transition: transform 0.2s;
  box-shadow: 0 4px 15px rgba(255,179,71,0.35);
}
.s61c-cta:hover { transform: scale(1.05); }
.s61c-cta-outline {
  display: inline-block;
  background: transparent;
  color: var(--s61c-accent); font-weight: 600; font-size: 1.3rem;
  padding: 0.8rem 2rem; border-radius: 3rem;
  cursor: pointer; border: 2px solid var(--s61c-accent);
  text-align: center; transition: all 0.2s;
}
.s61c-cta-outline:hover {
  background: var(--s61c-accent); color: #1B263B;
}

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

/* ========== FOOTER ========== */
.s61c-footer {
  background: var(--s61c-bg-light);
  padding: 2rem 1.2rem 3rem;
  border-top: 1px solid var(--s61c-border);
}
.s61c-footer-brand {
  font-size: 1.3rem; color: var(--s61c-muted);
  margin-bottom: 1.2rem; line-height: 1.6;
}
.s61c-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.8rem;
  margin-bottom: 1.5rem;
}
.s61c-footer-links a {
  color: var(--s61c-highlight); font-size: 1.2rem;
  padding: 0.4rem 0.8rem; border-radius: 0.6rem;
  background: var(--s61c-card-bg); border: 1px solid var(--s61c-border);
}
.s61c-footer-links a:hover { color: var(--s61c-accent); }
.s61c-footer-copy {
  text-align: center; font-size: 1.1rem; color: var(--s61c-muted);
  border-top: 1px solid var(--s61c-border); padding-top: 1rem;
}

/* ========== PARTNERS ========== */
.s61c-partners {
  display: flex; justify-content: center; gap: 1rem;
  flex-wrap: wrap; margin: 1rem 0;
  opacity: 0.6;
}
.s61c-partners img { height: 2.4rem; width: auto; }

/* ========== UTILITY ========== */
.s61c-text-center { text-align: center; }
.s61c-text-accent { color: var(--s61c-accent); }
.s61c-text-muted { color: var(--s61c-muted); }
.s61c-mt-1 { margin-top: 0.5rem; }
.s61c-mt-2 { margin-top: 1rem; }
.s61c-mb-2 { margin-bottom: 1rem; }
.s61c-flex-center { display: flex; justify-content: center; align-items: center; }
.s61c-gap-1 { gap: 0.5rem; }

/* ========== RESPONSIVE ========== */
@media (min-width: 769px) {
  .s61c-bottom-nav { display: none; }
  .s61c-header { left: 50%; transform: translateX(-50%); }
  .s61c-footer { left: 50%; transform: translateX(-50%); }
}
@media (max-width: 768px) {
  .s61c-main { padding-bottom: 8rem; }
}

/* ========== RTP TABLE ========== */
.s61c-rtp-table {
  width: 100%; border-collapse: collapse; font-size: 1.3rem;
}
.s61c-rtp-table th {
  background: var(--s61c-primary); color: #fff;
  padding: 0.8rem; text-align: left; font-size: 1.2rem;
}
.s61c-rtp-table td {
  padding: 0.6rem 0.8rem; border-bottom: 1px solid var(--s61c-border);
}
.s61c-rtp-table tr:hover td { background: var(--s61c-bg-light); }

/* ========== TESTIMONIALS ========== */
.s61c-testimonial {
  background: var(--s61c-card-bg); border-radius: var(--s61c-radius);
  padding: 1.2rem; margin-bottom: 1rem; border-left: 3px solid var(--s61c-accent);
}
.s61c-testimonial-name {
  font-weight: 600; color: var(--s61c-accent); font-size: 1.3rem;
}
.s61c-testimonial-text {
  color: var(--s61c-text); font-size: 1.3rem; margin-top: 0.4rem;
}

/* ========== WINNER SHOWCASE ========== */
.s61c-winner-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.8rem 0; border-bottom: 1px solid var(--s61c-border);
}
.s61c-winner-item img {
  width: 4rem; height: 4rem; border-radius: 50%; object-fit: cover;
}
.s61c-winner-name { font-weight: 600; color: var(--s61c-highlight); font-size: 1.3rem; }
.s61c-winner-amount { color: var(--s61c-accent); font-weight: 700; font-size: 1.4rem; }

/* ========== HELP PAGE ========== */
.s61c-help-section { margin-bottom: 1.5rem; }
.s61c-help-section h2 { color: var(--s61c-accent); font-size: 1.7rem; margin-bottom: 0.6rem; }
.s61c-help-section p, .s61c-help-section li {
  font-size: 1.4rem; line-height: 1.6; color: var(--s61c-text);
}
.s61c-help-section ul { padding-left: 1.5rem; }
.s61c-help-section li { margin-bottom: 0.5rem; }

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

/* ========== APP DOWNLOAD ========== */
.s61c-app-cta {
  background: linear-gradient(135deg, var(--s61c-bg-light), #1B263B);
  border-radius: var(--s61c-radius); padding: 2rem;
  text-align: center; border: 1px solid var(--s61c-border);
}
.s61c-app-cta h3 { color: var(--s61c-accent); font-size: 1.8rem; margin-bottom: 0.8rem; }
