/*!
 * xx98.lol - Core stylesheet
 * Mobile-first casino/gaming portal, max-width 430px
 * CSS class prefix: w0185-
 * Palette: #CD5C5C | #A0522D | #999999 | #1A1A1A | #FF0000
 * Dark backgrounds, light text, high contrast for mobile readability
 * Root font 62.5% => 1rem = 10px
 */

:root {
  --w0185-primary: #CD5C5C;
  --w0185-accent: #FF0000;
  --w0185-secondary: #A0522D;
  --w0185-muted: #999999;
  --w0185-bg: #1A1A1A;
  --w0185-bg-soft: #232323;
  --w0185-bg-card: #2a2422;
  --w0185-text: #f5e9e6;
  --w0185-text-dim: #c9bdb9;
  --w0185-border: rgba(205, 92, 92, 0.28);
  --w0185-gold: #e8b86b;
  --w0185-radius: 1.2rem;
  --w0185-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

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

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

body {
  font-family: 'Segoe UI', 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--w0185-bg);
  color: var(--w0185-text);
  line-height: 1.5;
  font-size: 1.5rem;
  overflow-x: hidden;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
}

img { max-width: 100%; display: block; }
a { color: var(--w0185-primary); text-decoration: none; }
a:hover { color: var(--w0185-accent); }

.w0185-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.w0185-wrapper { padding: 1.6rem 1.2rem; }

/* ===== Header ===== */
.w0185-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(26,26,26,0.98) 0%, rgba(26,26,26,0.92) 100%);
  border-bottom: 1px solid var(--w0185-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.2rem;
  height: 6rem;
}

.w0185-brand { display: flex; align-items: center; gap: 0.7rem; min-width: 0; }
.w0185-brand img { width: 3rem; height: 3rem; border-radius: 0.6rem; }
.w0185-brand-text { font-size: 1.8rem; font-weight: 800; color: var(--w0185-primary); letter-spacing: 0.5px; }
.w0185-brand-text span { color: var(--w0185-gold); }

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

.w0185-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3.8rem;
  padding: 0 1.2rem;
  border-radius: 2rem;
  font-size: 1.3rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-align: center;
}
.w0185-btn:active { transform: scale(0.94); }

.w0185-btn-register {
  background: linear-gradient(135deg, var(--w0185-accent), var(--w0185-primary));
  color: #fff;
  box-shadow: 0 3px 10px rgba(255, 0, 0, 0.35);
}
.w0185-btn-login {
  background: transparent;
  color: var(--w0185-text);
  border: 1px solid var(--w0185-primary);
}

.w0185-menu-btn {
  background: transparent;
  border: 1px solid var(--w0185-border);
  color: var(--w0185-text);
  width: 3.8rem; height: 3.8rem;
  border-radius: 0.8rem;
  cursor: pointer;
  font-size: 1.6rem;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ===== Mobile menu ===== */
.w0185-mobile-menu {
  position: fixed;
  top: 6rem; left: 0; right: 0;
  max-width: 430px; margin: 0 auto;
  background: var(--w0185-bg-soft);
  border-bottom: 1px solid var(--w0185-border);
  padding: 1rem 1.2rem 1.4rem;
  z-index: 9999;
  transform: translateY(-130%);
  transition: transform 0.28s ease;
  max-height: 75vh;
  overflow-y: auto;
}
.w0185-mobile-menu.w0185-menu-open { transform: translateY(0); }
.w0185-mobile-menu a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1rem;
  color: var(--w0185-text);
  border-radius: 0.8rem;
  font-size: 1.4rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(205,92,92,0.10);
}
.w0185-mobile-menu a:active { background: rgba(205,92,92,0.12); }
.w0185-mobile-menu a i { color: var(--w0185-primary); width: 2.2rem; text-align: center; }

/* ===== Main ===== */
.w0185-main { padding-top: 6rem; }
@media (max-width: 768px) {
  .w0185-main { padding-bottom: 8rem; }
}

/* ===== Hero carousel ===== */
.w0185-hero { position: relative; margin: 1.2rem 0 0; border-radius: var(--w0185-radius); overflow: hidden; }
.w0185-slides { position: relative; height: 19rem; }
.w0185-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 0.5s ease;
  cursor: pointer;
}
.w0185-slide.w0185-slide-active { opacity: 1; }
.w0185-slide img { width: 100%; height: 100%; object-fit: cover; }
.w0185-slide-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(26,26,26,0.92) 0%, rgba(26,26,26,0) 100%);
  padding: 1.2rem 1.4rem 1.4rem;
}
.w0185-slide-overlay h2 { font-size: 1.8rem; color: #fff; margin-bottom: 0.3rem; }
.w0185-slide-overlay p { font-size: 1.25rem; color: var(--w0185-text-dim); }

.w0185-carousel-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 3.2rem; height: 3.2rem; border-radius: 50%;
  background: rgba(26,26,26,0.55); color: #fff; border: none;
  font-size: 1.4rem; cursor: pointer; display: flex;
  align-items: center; justify-content: center; z-index: 5;
}
.w0185-carousel-nav.w0185-prev { left: 0.8rem; }
.w0185-carousel-nav.w0185-next { right: 0.8rem; }

.w0185-dots { position: absolute; bottom: 0.8rem; left: 0; right: 0; text-align: center; }
.w0185-dot {
  display: inline-block; width: 0.8rem; height: 0.8rem;
  border-radius: 50%; background: rgba(255,255,255,0.4);
  margin: 0 0.3rem; cursor: pointer; transition: background 0.2s, transform 0.2s;
}
.w0185-dot.w0185-dot-active { background: var(--w0185-accent); transform: scale(1.25); }

/* ===== Section headings ===== */
.w0185-section { padding: 1.8rem 1.2rem; }
.w0185-section-title {
  font-size: 1.8rem; font-weight: 800; color: var(--w0185-text);
  margin-bottom: 1rem; display: flex; align-items: center; gap: 0.6rem;
}
.w0185-section-title i { color: var(--w0185-primary); }
.w0185-section-title::after {
  content: ''; flex: 1; height: 1px; background: var(--w0185-border); margin-left: 0.6rem;
}

/* ===== Filter chips ===== */
.w0185-chips { display: flex; gap: 0.6rem; overflow-x: auto; padding: 0.4rem 0 1rem; -webkit-overflow-scrolling: touch; }
.w0185-chips::-webkit-scrollbar { display: none; }
.w0185-chip {
  flex: 0 0 auto; padding: 0.7rem 1.4rem; border-radius: 2rem;
  background: var(--w0185-bg-soft); color: var(--w0185-text-dim);
  font-size: 1.25rem; font-weight: 600; cursor: pointer;
  border: 1px solid var(--w0185-border); white-space: nowrap;
}
.w0185-chip.w0185-chip-active {
  background: linear-gradient(135deg, var(--w0185-primary), var(--w0185-accent));
  color: #fff; border-color: transparent;
}

/* ===== Game grid ===== */
.w0185-game-group { margin-bottom: 1.4rem; }
.w0185-game-group-title {
  font-size: 1.5rem; font-weight: 700; color: var(--w0185-gold);
  margin: 0.4rem 0 0.8rem; padding-left: 0.2rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.w0185-game-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem;
}
@media (min-width: 400px) { .w0185-game-grid { grid-template-columns: repeat(4, 1fr); } }

.w0185-game-card {
  background: var(--w0185-bg-card);
  border: 1px solid var(--w0185-border);
  border-radius: 0.9rem; overflow: hidden; cursor: pointer;
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
  text-align: center;
}
.w0185-game-card:active { transform: scale(0.95); border-color: var(--w0185-primary); }
.w0185-game-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.w0185-game-card-name {
  font-size: 1.1rem; color: var(--w0185-text-dim);
  padding: 0.5rem 0.3rem; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ===== Feature / promo cards ===== */
.w0185-card {
  background: var(--w0185-bg-card);
  border: 1px solid var(--w0185-border);
  border-radius: var(--w0185-radius);
  padding: 1.4rem; margin-bottom: 1.2rem;
  box-shadow: var(--w0185-shadow);
}
.w0185-card h3 { font-size: 1.6rem; color: var(--w0185-primary); margin-bottom: 0.6rem; }
.w0185-card p { font-size: 1.3rem; color: var(--w0185-text-dim); margin-bottom: 0.8rem; line-height: 1.6; }
.w0185-card ul { list-style: none; padding: 0; }
.w0185-card li { font-size: 1.3rem; color: var(--w0185-text-dim); padding: 0.5rem 0 0.5rem 1.8rem; position: relative; line-height: 1.5; }
.w0185-card li::before {
  content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  color: var(--w0185-primary); position: absolute; left: 0; top: 0.5rem; font-size: 1.1rem;
}

.w0185-card-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.w0185-mini-card {
  background: var(--w0185-bg-soft); border-radius: 0.9rem; padding: 1rem;
  border: 1px solid var(--w0185-border); text-align: center;
}
.w0185-mini-card i { font-size: 2.4rem; color: var(--w0185-primary); margin-bottom: 0.4rem; }
.w0185-mini-card h4 { font-size: 1.35rem; color: var(--w0185-text); margin-bottom: 0.3rem; }
.w0185-mini-card p { font-size: 1.2rem; color: var(--w0185-text-dim); }

/* ===== Play Now CTA ===== */
.w0185-cta {
  display: block; width: 100%; padding: 1.4rem; margin: 1rem 0;
  background: linear-gradient(135deg, var(--w0185-accent), var(--w0185-primary));
  color: #fff; font-size: 1.6rem; font-weight: 800; text-align: center;
  border: none; border-radius: var(--w0185-radius); cursor: pointer;
  box-shadow: 0 4px 16px rgba(255,0,0,0.35);
}
.w0185-cta:active { transform: scale(0.97); }

.w0185-link-inline {
  color: var(--w0185-primary); font-weight: 700; cursor: pointer;
  border-bottom: 1px dashed var(--w0185-primary);
}

/* ===== Testimonials ===== */
.w0185-testimonial {
  background: var(--w0185-bg-card); border-left: 3px solid var(--w0185-gold);
  padding: 1rem 1.2rem; border-radius: 0.6rem; margin-bottom: 0.8rem;
}
.w0185-testimonial p { font-size: 1.25rem; color: var(--w0185-text-dim); font-style: italic; }
.w0185-testimonial .w0185-author { font-size: 1.15rem; color: var(--w0185-gold); margin-top: 0.4rem; font-weight: 700; }

/* ===== Payment / winners ===== */
.w0185-pay-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.w0185-pay-badge {
  background: var(--w0185-bg-soft); border: 1px solid var(--w0185-border);
  border-radius: 0.6rem; padding: 0.6rem 0.9rem; font-size: 1.15rem; color: var(--w0185-text-dim);
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.w0185-pay-badge i { color: var(--w0185-primary); }

.w0185-winner {
  display: flex; align-items: center; gap: 0.8rem;
  background: var(--w0185-bg-soft); border-radius: 0.6rem; padding: 0.7rem 1rem; margin-bottom: 0.6rem;
}
.w0185-winner i { color: var(--w0185-gold); font-size: 1.6rem; }
.w0185-winner .w0185-winner-name { font-size: 1.3rem; color: var(--w0185-text); font-weight: 700; flex: 1; }
.w0185-winner .w0185-winner-amount { font-size: 1.3rem; color: var(--w0185-accent); font-weight: 800; }

/* ===== FAQ ===== */
.w0185-faq-item {
  background: var(--w0185-bg-card); border: 1px solid var(--w0185-border);
  border-radius: 0.8rem; padding: 1rem 1.2rem; margin-bottom: 0.7rem;
}
.w0185-faq-item h4 { font-size: 1.35rem; color: var(--w0185-primary); margin-bottom: 0.4rem; }
.w0185-faq-item p { font-size: 1.25rem; color: var(--w0185-text-dim); line-height: 1.5; }

/* ===== RTP table ===== */
.w0185-rtp-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.7rem 0; border-bottom: 1px solid var(--w0185-border); font-size: 1.3rem;
}
.w0185-rtp-row:last-child { border-bottom: none; }
.w0185-rtp-row .w0185-rtp-name { color: var(--w0185-text); font-weight: 600; }
.w0185-rtp-row .w0185-rtp-value { color: var(--w0185-gold); font-weight: 800; }

/* ===== Footer ===== */
.w0185-footer {
  background: #141414; border-top: 1px solid var(--w0185-border);
  padding: 1.8rem 1.2rem 2rem;
}
.w0185-footer-brand { font-size: 1.3rem; color: var(--w0185-text-dim); line-height: 1.6; margin-bottom: 1.2rem; }
.w0185-footer-brand strong { color: var(--w0185-primary); }
.w0185-footer-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.2rem; }
.w0185-footer-links a {
  font-size: 1.2rem; color: var(--w0185-text-dim);
  background: var(--w0185-bg-soft); padding: 0.5rem 0.9rem; border-radius: 0.6rem;
  border: 1px solid var(--w0185-border);
}
.w0185-footer-links a:active { color: var(--w0185-primary); }
.w0185-footer-promo { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.2rem; }
.w0185-footer-promo button {
  background: linear-gradient(135deg, var(--w0185-primary), var(--w0185-accent));
  color: #fff; border: none; border-radius: 0.6rem; padding: 0.7rem 1rem;
  font-size: 1.25rem; font-weight: 700; cursor: pointer;
}
.w0185-footer-promo button:active { transform: scale(0.95); }
.w0185-copyright { font-size: 1.15rem; color: var(--w0185-muted); text-align: center; padding-top: 1rem; border-top: 1px solid rgba(205,92,92,0.10); }

/* ===== Mobile bottom navigation ===== */
.w0185-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  max-width: 430px; margin: 0 auto;
  height: 6rem; background: #161616;
  border-top: 1px solid var(--w0185-border);
  display: flex; justify-content: space-around; align-items: stretch;
  z-index: 1000; box-shadow: 0 -3px 14px rgba(0,0,0,0.5);
}
.w0185-navbtn {
  flex: 1; min-width: 60px; min-height: 60px;
  background: transparent; border: none; color: var(--w0185-text-dim);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.2rem; cursor: pointer; padding: 0.4rem 0; transition: color 0.15s, transform 0.15s;
}
.w0185-navbtn i { font-size: 2.2rem; }
.w0185-navbtn .w0185-nav-label { font-size: 1rem; font-weight: 600; }
.w0185-navbtn:active { transform: scale(0.9); color: var(--w0185-primary); }
.w0185-navbtn.w0185-navbtn-current { color: var(--w0185-accent); }
.w0185-navbtn.w0185-navbtn-current i { color: var(--w0185-accent); }
.w0185-navbtn-promo { color: var(--w0185-gold); }
.w0185-navbtn-promo i { color: var(--w0185-gold); }

/* ===== Desktop: hide bottom nav ===== */
@media (min-width: 769px) {
  .w0185-bottom-nav { display: none; }
  .w0185-main { padding-bottom: 2rem; }
}

/* ===== Utility ===== */
.w0185-text-center { text-align: center; }
.w0185-mt-1 { margin-top: 1rem; }
.w0185-mb-1 { margin-bottom: 1rem; }
.w0185-prose p { font-size: 1.35rem; color: var(--w0185-text-dim); line-height: 1.7; margin-bottom: 0.8rem; }
.w0185-prose strong { color: var(--w0185-primary); }
.w0185-badge-hot {
  display: inline-block; background: var(--w0185-accent); color: #fff;
  font-size: 0.95rem; font-weight: 700; padding: 0.15rem 0.5rem; border-radius: 0.4rem; margin-left: 0.4rem;
}
