/**
 * 7000bat Main Stylesheet
 * Class prefix: w538c-
 * Color palette: #0C0C0C (bg) | #FDF5E6 (text) | #FFDEAD (accent)
 * Mobile-first design, max-width 430px
 */

:root {
  --w538c-bg: #0C0C0C;
  --w538c-text: #FDF5E6;
  --w538c-accent: #FFDEAD;
  --w538c-primary: #FFDEAD;
  --w538c-secondary: #1a1a1a;
  --w538c-card-bg: #141414;
  --w538c-border: #2a2a2a;
  --w538c-hover: #FFDEAD;
  --w538c-shadow: rgba(255, 222, 173, 0.15);
  --w538c-gold: #FFD700;
  --w538c-dark-gold: #B8860B;
}

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(--w538c-bg);
  color: var(--w538c-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

a { color: var(--w538c-accent); text-decoration: none; }
a:hover { color: var(--w538c-gold); }

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

/* ===== HEADER ===== */
.w538c-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 5.6rem;
  background: linear-gradient(135deg, #0C0C0C 0%, #1a1a1a 100%);
  border-bottom: 1px solid var(--w538c-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.w538c-logo-area {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
}

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

.w538c-logo-area span {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--w538c-accent);
  letter-spacing: 0.5px;
}

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

.w538c-btn-register {
  background: linear-gradient(135deg, var(--w538c-gold), var(--w538c-dark-gold));
  color: #0C0C0C;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 2rem;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 3.6rem;
  min-width: 4.4rem;
}

.w538c-btn-register:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px var(--w538c-shadow);
}

.w538c-btn-login {
  background: transparent;
  color: var(--w538c-accent);
  border: 1px solid var(--w538c-accent);
  padding: 0.6rem 1.2rem;
  border-radius: 2rem;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 3.6rem;
  min-width: 4.4rem;
}

.w538c-btn-login:hover {
  background: rgba(255,222,173,0.1);
}

.w538c-menu-btn {
  background: none;
  border: none;
  color: var(--w538c-accent);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
}

/* ===== MOBILE MENU ===== */
.w538c-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 9998;
}

.w538c-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 75%;
  max-width: 300px;
  height: 100%;
  background: linear-gradient(180deg, #111 0%, #0C0C0C 100%);
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  padding: 2rem 0;
  overflow-y: auto;
}

.w538c-mobile-menu-title {
  color: var(--w538c-accent);
  font-size: 1.8rem;
  font-weight: 700;
  padding: 0 1.5rem 1.5rem;
  border-bottom: 1px solid var(--w538c-border);
}

.w538c-mobile-menu a {
  display: block;
  color: var(--w538c-text);
  padding: 1.2rem 1.5rem;
  font-size: 1.4rem;
  border-bottom: 1px solid var(--w538c-border);
  transition: background 0.2s ease;
}

.w538c-mobile-menu a:hover {
  background: rgba(255,222,173,0.08);
  color: var(--w538c-accent);
}

/* ===== CAROUSEL ===== */
.w538c-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 5.6rem;
  border-radius: 0 0 1rem 1rem;
}

.w538c-carousel-track {
  position: relative;
  width: 100%;
  height: 20rem;
}

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

.w538c-carousel-slide.proc96-active {
  opacity: 1;
}

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

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

.w538c-carousel-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: rgba(253,245,230,0.4);
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}

.w538c-carousel-dot.proc96-active,
.w538c-carousel-dot:hover {
  background: var(--w538c-accent);
  transform: scale(1.2);
}

/* ===== MAIN CONTENT ===== */
.w538c-main {
  padding: 1.2rem;
  padding-bottom: 8rem;
}

.w538c-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 0.5rem;
}

.w538c-section {
  margin-bottom: 2rem;
}

.w538c-section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--w538c-accent);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--w538c-border);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.w538c-section-title i,
.w538c-section-title .material-icons {
  font-size: 2rem;
}

/* ===== GAME GRID ===== */
.w538c-category-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--w538c-accent);
  margin: 1.5rem 0 0.8rem;
  padding-left: 0.5rem;
  border-left: 3px solid var(--w538c-gold);
}

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

.w538c-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s ease;
  text-align: center;
}

.w538c-game-item:hover {
  transform: scale(1.05);
}

.w538c-game-item img {
  width: 7rem;
  height: 7rem;
  border-radius: 0.8rem;
  border: 1px solid var(--w538c-border);
  margin-bottom: 0.3rem;
  object-fit: cover;
}

.w538c-game-item span {
  font-size: 1rem;
  color: var(--w538c-text);
  line-height: 1.2;
  max-width: 7.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===== CARDS ===== */
.w538c-card {
  background: var(--w538c-card-bg);
  border: 1px solid var(--w538c-border);
  border-radius: 1rem;
  padding: 1.2rem;
  margin-bottom: 1rem;
}

.w538c-card h3 {
  font-size: 1.4rem;
  color: var(--w538c-accent);
  margin-bottom: 0.8rem;
}

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

/* ===== PROMO CTA ===== */
.w538c-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--w538c-gold), var(--w538c-dark-gold));
  color: #0C0C0C;
  font-weight: 700;
  font-size: 1.3rem;
  padding: 1rem 2rem;
  border-radius: 2.5rem;
  cursor: pointer;
  border: none;
  text-align: center;
  transition: all 0.3s ease;
  min-height: 4.4rem;
  text-decoration: none;
}

.w538c-cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px var(--w538c-shadow);
}

.w538c-text-link {
  color: var(--w538c-accent);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.w538c-text-link:hover {
  color: var(--w538c-gold);
}

/* ===== FEATURES GRID ===== */
.w538c-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.w538c-feature-item {
  background: var(--w538c-card-bg);
  border: 1px solid var(--w538c-border);
  border-radius: 0.8rem;
  padding: 1rem;
  text-align: center;
  transition: border-color 0.3s;
}

.w538c-feature-item:hover {
  border-color: var(--w538c-accent);
}

.w538c-feature-item i,
.w538c-feature-item .material-icons {
  font-size: 2.4rem;
  color: var(--w538c-accent);
  margin-bottom: 0.5rem;
}

.w538c-feature-item h4 {
  font-size: 1.2rem;
  color: var(--w538c-text);
  margin-bottom: 0.3rem;
}

.w538c-feature-item p {
  font-size: 1rem;
  color: rgba(253,245,230,0.7);
}

/* ===== WINNERS LIST ===== */
.w538c-winners-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.w538c-winner-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  background: var(--w538c-card-bg);
  border-radius: 0.6rem;
  border-left: 3px solid var(--w538c-gold);
}

.w538c-winner-name {
  font-size: 1.2rem;
  color: var(--w538c-text);
}

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

.w538c-winner-game {
  font-size: 1rem;
  color: rgba(253,245,230,0.6);
}

/* ===== TESTIMONIALS ===== */
.w538c-testimonial {
  background: var(--w538c-card-bg);
  border: 1px solid var(--w538c-border);
  border-radius: 0.8rem;
  padding: 1rem;
  margin-bottom: 0.8rem;
}

.w538c-testimonial-text {
  font-size: 1.2rem;
  color: var(--w538c-text);
  font-style: italic;
  margin-bottom: 0.5rem;
  line-height: 1.6rem;
}

.w538c-testimonial-author {
  font-size: 1.1rem;
  color: var(--w538c-accent);
  font-weight: 600;
}

/* ===== PAYMENT METHODS ===== */
.w538c-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.w538c-payment-item {
  background: var(--w538c-card-bg);
  border: 1px solid var(--w538c-border);
  border-radius: 0.6rem;
  padding: 0.6rem 1rem;
  font-size: 1.1rem;
  color: var(--w538c-text);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ===== RTP TABLE ===== */
.w538c-rtp-table {
  width: 100%;
  border-collapse: collapse;
}

.w538c-rtp-table th,
.w538c-rtp-table td {
  padding: 0.6rem 0.8rem;
  text-align: left;
  font-size: 1.1rem;
  border-bottom: 1px solid var(--w538c-border);
}

.w538c-rtp-table th {
  color: var(--w538c-accent);
  font-weight: 600;
  background: var(--w538c-card-bg);
}

.w538c-rtp-table td {
  color: var(--w538c-text);
}

.w538c-rtp-high { color: #4CAF50; font-weight: 600; }
.w538c-rtp-med { color: #FFC107; font-weight: 600; }

/* ===== FOOTER ===== */
.w538c-footer {
  background: #0a0a0a;
  border-top: 1px solid var(--w538c-border);
  padding: 1.5rem 1rem 2rem;
  text-align: center;
}

.w538c-footer-desc {
  font-size: 1.2rem;
  color: rgba(253,245,230,0.7);
  margin-bottom: 1rem;
  line-height: 1.6rem;
}

.w538c-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.w538c-footer-links a {
  background: var(--w538c-card-bg);
  border: 1px solid var(--w538c-border);
  color: var(--w538c-text);
  padding: 0.5rem 0.8rem;
  border-radius: 0.4rem;
  font-size: 1rem;
  transition: all 0.2s;
}

.w538c-footer-links a:hover {
  border-color: var(--w538c-accent);
  color: var(--w538c-accent);
}

.w538c-footer-copy {
  font-size: 1rem;
  color: rgba(253,245,230,0.5);
  margin-top: 0.8rem;
}

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

.w538c-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 6rem;
  min-height: 5rem;
  background: none;
  border: none;
  color: rgba(253,245,230,0.6);
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0.3rem;
  gap: 0.2rem;
}

.w538c-bottom-nav-btn:hover,
.w538c-bottom-nav-btn:focus {
  color: var(--w538c-accent);
  transform: scale(1.1);
}

.w538c-bottom-nav-btn.proc96-active {
  color: var(--w538c-gold);
}

.w538c-bottom-nav-btn i,
.w538c-bottom-nav-btn .material-icons,
.w538c-bottom-nav-btn ion-icon,
.w538c-bottom-nav-btn bi {
  font-size: 2.2rem;
}

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

/* ===== DESKTOP: HIDE BOTTOM NAV ===== */
@media (min-width: 769px) {
  .w538c-bottom-nav { display: none; }
}

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

/* ===== HELPER CLASSES ===== */
.w538c-text-center { text-align: center; }
.w538c-mt-1 { margin-top: 0.5rem; }
.w538c-mt-2 { margin-top: 1rem; }
.w538c-mb-1 { margin-bottom: 0.5rem; }
.w538c-mb-2 { margin-bottom: 1rem; }
.w538c-hidden { display: none; }
.w538c-text-gold { color: var(--w538c-gold); }
.w538c-text-accent { color: var(--w538c-accent); }
.w538c-fw-bold { font-weight: 700; }

/* ===== APP DOWNLOAD CTA ===== */
.w538c-app-cta {
  background: linear-gradient(135deg, #1a1a1a, #0C0C0C);
  border: 2px solid var(--w538c-accent);
  border-radius: 1.2rem;
  padding: 1.5rem;
  text-align: center;
}

.w538c-app-cta h3 {
  font-size: 1.5rem;
  color: var(--w538c-accent);
  margin-bottom: 0.8rem;
}

.w538c-app-cta p {
  font-size: 1.2rem;
  color: rgba(253,245,230,0.8);
  margin-bottom: 1rem;
}

/* ===== CATEGORY HIGHLIGHT ===== */
.w538c-cat-highlight {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--w538c-card-bg);
  border: 1px solid var(--w538c-border);
  border-radius: 0.8rem;
  padding: 1rem;
  margin-bottom: 0.8rem;
  cursor: pointer;
  transition: border-color 0.3s;
}

.w538c-cat-highlight:hover {
  border-color: var(--w538c-accent);
}

.w538c-cat-highlight .material-icons,
.w538c-cat-highlight i {
  font-size: 3rem;
  color: var(--w538c-accent);
}

.w538c-cat-highlight-info h4 {
  font-size: 1.3rem;
  color: var(--w538c-accent);
  margin-bottom: 0.3rem;
}

.w538c-cat-highlight-info p {
  font-size: 1.1rem;
  color: rgba(253,245,230,0.7);
  line-height: 1.4rem;
}

/* ===== ACHIEVEMENTS ===== */
.w538c-achievement {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem;
  background: var(--w538c-card-bg);
  border-radius: 0.6rem;
  margin-bottom: 0.5rem;
  border: 1px solid var(--w538c-border);
}

.w538c-achievement .material-icons,
.w538c-achievement i {
  font-size: 2.4rem;
  color: var(--w538c-gold);
}

.w538c-achievement-info h4 {
  font-size: 1.2rem;
  color: var(--w538c-accent);
}

.w538c-achievement-info p {
  font-size: 1rem;
  color: rgba(253,245,230,0.7);
}
