/* JL57 Stylesheet - s263- prefix */
/* Color palette: #FFB347 | #BBBBBB | #212F3D | #FF7F50 */

:root {
  --s263-primary: #FFB347;
  --s263-secondary: #FF7F50;
  --s263-bg: #212F3D;
  --s263-bg-light: #2C3E50;
  --s263-bg-dark: #1A252F;
  --s263-text: #BBBBBB;
  --s263-text-light: #FFFFFF;
  --s263-accent: #FF7F50;
  --s263-border: #34495E;
  --s263-gold: #FFB347;
  --s263-success: #27AE60;
  --s263-danger: #E74C3C;
}

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

html {
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
}

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

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

.s263-wrapper {
  width: 100%;
  padding: 1.2rem;
}

/* Header */
.s263-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: linear-gradient(135deg, var(--s263-bg-dark), var(--s263-bg));
  border-bottom: 1px solid var(--s263-border);
  z-index: 1000;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5.2rem;
  backdrop-filter: blur(10px);
}

.s263-logo-area {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.s263-logo-area img {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.4rem;
}

.s263-logo-area span {
  color: var(--s263-gold);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.s263-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.s263-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border-radius: 0.6rem;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.2s ease;
  min-height: 3.6rem;
}

.s263-btn-register {
  background: linear-gradient(135deg, var(--s263-secondary), #FF6B4A);
  color: var(--s263-text-light);
}

.s263-btn-login {
  background: transparent;
  color: var(--s263-gold);
  border: 1.5px solid var(--s263-gold);
}

.s263-btn:hover {
  transform: scale(1.03);
  opacity: 0.92;
}

.s263-btn-promo {
  background: linear-gradient(135deg, var(--s263-primary), var(--s263-secondary));
  color: var(--s263-bg-dark);
  font-weight: 800;
  padding: 0.8rem 2rem;
  font-size: 1.4rem;
  border-radius: 0.8rem;
  width: 100%;
  margin: 0.5rem 0;
}

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

/* Mobile Menu */
.s263-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: var(--s263-bg-dark);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}

.s263-menu-active {
  right: 0;
}

.s263-mobile-menu a {
  display: block;
  padding: 1.2rem 0;
  color: var(--s263-text);
  text-decoration: none;
  font-size: 1.5rem;
  border-bottom: 1px solid var(--s263-border);
  transition: color 0.2s;
}

.s263-mobile-menu a:hover {
  color: var(--s263-gold);
}

.s263-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--s263-text);
  font-size: 2.4rem;
  cursor: pointer;
}

.s263-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
}

.s263-overlay-active {
  display: block;
}

/* Main Content */
main {
  padding-top: 5.2rem;
}

@media (max-width: 768px) {
  main {
    padding-bottom: 7rem;
  }
}

/* Carousel */
.s263-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0.8rem;
  margin-bottom: 1.2rem;
}

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

.s263-slide:first-child {
  display: block;
}

.s263-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.8rem;
}

.s263-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
}

.s263-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  border: none;
}

.s263-dot-active {
  background: var(--s263-gold);
}

/* Section Headings */
.s263-section {
  margin-bottom: 1.5rem;
}

.s263-section-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--s263-gold);
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--s263-border);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.s263-section-title .material-icons,
.s263-section-title .fas,
.s263-section-title .bi {
  font-size: 2rem;
}

/* Game Grid */
.s263-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.s263-game-card {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
}

.s263-game-card:hover {
  transform: scale(1.05);
}

.s263-game-card img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 0.6rem;
  object-fit: cover;
}

.s263-game-card p {
  font-size: 1.1rem;
  color: var(--s263-text);
  margin-top: 0.3rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Category Tabs */
.s263-category-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--s263-primary);
  margin: 1.5rem 0 0.8rem;
  padding-left: 0.4rem;
  border-left: 3px solid var(--s263-secondary);
}

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

.s263-card h3 {
  color: var(--s263-gold);
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}

.s263-card p {
  font-size: 1.3rem;
  line-height: 1.8rem;
  color: var(--s263-text);
}

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

.s263-footer-brand {
  text-align: center;
  margin-bottom: 1.5rem;
}

.s263-footer-brand p {
  font-size: 1.2rem;
  color: var(--s263-text);
  line-height: 1.6rem;
  margin-bottom: 0.4rem;
}

.s263-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin: 1rem 0;
}

.s263-footer-promos .s263-btn {
  font-size: 1.2rem;
  padding: 0.5rem 1rem;
}

.s263-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin: 1rem 0;
}

.s263-footer-links a {
  color: var(--s263-text);
  font-size: 1.2rem;
  text-decoration: none;
  transition: color 0.2s;
}

.s263-footer-links a:hover {
  color: var(--s263-gold);
}

.s263-partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin: 1rem 0;
}

.s263-partners img {
  height: 2.4rem;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.s263-partners img:hover {
  opacity: 1;
}

.s263-copyright {
  text-align: center;
  font-size: 1.1rem;
  color: #7F8C8D;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--s263-border);
}

/* Bottom Navigation */
.s263-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 6rem;
  background: linear-gradient(180deg, var(--s263-bg-dark), #111820);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  border-top: 1px solid var(--s263-border);
  box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}

@media (min-width: 769px) {
  .s263-bottom-nav {
    display: none;
  }
}

.s263-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--s263-text);
  cursor: pointer;
  min-width: 6rem;
  min-height: 5.6rem;
  padding: 0.4rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

.s263-nav-btn:hover, .s263-nav-btn:focus {
  color: var(--s263-gold);
  transform: scale(1.08);
}

.s263-nav-btn.active {
  color: var(--s263-secondary);
}

.s263-nav-btn i,
.s263-nav-btn .material-icons {
  font-size: 2.4rem;
  margin-bottom: 0.2rem;
}

.s263-nav-btn span {
  font-size: 1rem;
  font-weight: 600;
}

/* Module Styles */
.s263-faq-item {
  background: var(--s263-bg-light);
  border-radius: 0.6rem;
  padding: 1rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--s263-primary);
}

.s263-faq-item h4 {
  color: var(--s263-gold);
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

.s263-faq-item p {
  font-size: 1.2rem;
  color: var(--s263-text);
  line-height: 1.6rem;
}

.s263-rtp-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.s263-rtp-bar .s263-rtp-label {
  width: 8rem;
  font-size: 1.1rem;
  color: var(--s263-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.s263-rtp-bar .s263-rtp-track {
  flex: 1;
  height: 1.2rem;
  background: var(--s263-bg-dark);
  border-radius: 0.6rem;
  overflow: hidden;
}

.s263-rtp-bar .s263-rtp-fill {
  height: 100%;
  border-radius: 0.6rem;
  background: linear-gradient(90deg, var(--s263-secondary), var(--s263-primary));
}

.s263-rtp-bar .s263-rtp-value {
  width: 4rem;
  font-size: 1.1rem;
  color: var(--s263-gold);
  font-weight: 700;
}

/* Winner List */
.s263-winner-list {
  background: var(--s263-bg-light);
  border-radius: 0.6rem;
  padding: 0.8rem;
}

.s263-winner-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--s263-border);
  font-size: 1.2rem;
}

.s263-winner-item:last-child {
  border-bottom: none;
}

.s263-winner-name {
  color: var(--s263-text);
}

.s263-winner-game {
  color: var(--s263-gold);
  font-weight: 600;
}

.s263-winner-amount {
  color: var(--s263-secondary);
  font-weight: 700;
}

/* Testimonials */
.s263-testimonial {
  background: var(--s263-bg-light);
  border-radius: 0.8rem;
  padding: 1rem;
  margin-bottom: 0.8rem;
  border: 1px solid var(--s263-border);
}

.s263-testimonial p {
  font-size: 1.2rem;
  color: var(--s263-text);
  font-style: italic;
  margin-bottom: 0.4rem;
}

.s263-testimonial cite {
  font-size: 1.1rem;
  color: var(--s263-gold);
}

/* Payment Methods */
.s263-payment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.s263-payment-item {
  background: var(--s263-bg-light);
  border-radius: 0.6rem;
  padding: 0.8rem;
  text-align: center;
  font-size: 1.2rem;
  color: var(--s263-text);
  border: 1px solid var(--s263-border);
}

.s263-payment-item i {
  font-size: 2rem;
  color: var(--s263-gold);
  display: block;
  margin-bottom: 0.4rem;
}

/* Internal Links */
.s263-internal-link {
  color: var(--s263-secondary);
  text-decoration: underline;
  transition: color 0.2s;
}

.s263-internal-link:hover {
  color: var(--s263-gold);
}

/* Utility */
.s263-text-center {
  text-align: center;
}

.s263-mt-1 {
  margin-top: 1rem;
}

.s263-mb-1 {
  margin-bottom: 1rem;
}

.s263-highlight {
  color: var(--s263-gold);
  font-weight: 700;
}

/* H1 Page Title */
.s263-page-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--s263-text-light);
  margin: 1.5rem 0 1rem;
  text-align: center;
  line-height: 2.4rem;
}

/* Help Page Content */
.s263-help-content {
  padding: 0 0.4rem;
}

.s263-help-content h2 {
  font-size: 1.6rem;
  color: var(--s263-gold);
  margin: 1.5rem 0 0.8rem;
}

.s263-help-content h3 {
  font-size: 1.4rem;
  color: var(--s263-primary);
  margin: 1.2rem 0 0.6rem;
}

.s263-help-content p {
  font-size: 1.3rem;
  line-height: 1.8rem;
  color: var(--s263-text);
  margin-bottom: 0.8rem;
}

.s263-help-content ul {
  padding-left: 1.6rem;
  margin-bottom: 0.8rem;
}

.s263-help-content li {
  font-size: 1.3rem;
  line-height: 1.8rem;
  color: var(--s263-text);
  margin-bottom: 0.4rem;
}

/* App Download Section */
.s263-app-section {
  background: linear-gradient(135deg, var(--s263-bg-light), var(--s263-bg-dark));
  border-radius: 0.8rem;
  padding: 1.5rem;
  text-align: center;
  margin: 1rem 0;
  border: 1px solid var(--s263-primary);
}

.s263-app-section h3 {
  color: var(--s263-gold);
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
}

.s263-app-section p {
  font-size: 1.3rem;
  color: var(--s263-text);
  margin-bottom: 1rem;
}
