/*!
 * jiliko-casino.click base stylesheet
 * Mobile-first layout. All custom classes use the w3a8e- prefix.
 * Color palette: #0D1117 bg | #C71585 / #DB7093 accents | #B0E0E6 / #5F9EA0 / #A9A9A9 lights
 */

:root {
  --w3a8e-bg: #0D1117;
  --w3a8e-bg-alt: #141b24;
  --w3a8e-bg-card: #1b2430;
  --w3a8e-primary: #C71585;
  --w3a8e-secondary: #DB7093;
  --w3a8e-tertiary: #5F9EA0;
  --w3a8e-light: #B0E0E6;
  --w3a8e-muted: #A9A9A9;
  --w3a8e-text: #f5f7fa;
  --w3a8e-border: rgba(176, 224, 230, 0.12);
  --w3a8e-radius: 14px;
  --w3a8e-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  --w3a8e-header-h: 60px;
  --w3a8e-bottomnav-h: 62px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--w3a8e-bg);
  color: var(--w3a8e-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--w3a8e-light);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--w3a8e-secondary);
}

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

.w3a8e-wrapper {
  padding-top: var(--w3a8e-header-h);
  padding-bottom: calc(var(--w3a8e-bottomnav-h) + 1.5rem);
}

/* ===== Header ===== */
.w3a8e-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #0D1117 0%, #1a0814 100%);
  border-bottom: 1px solid var(--w3a8e-border);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.55);
}

.w3a8e-header-inner {
  max-width: 430px;
  margin: 0 auto;
  height: var(--w3a8e-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
}

.w3a8e-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--w3a8e-text);
  font-weight: 700;
  font-size: 1.7rem;
}

.w3a8e-logo img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.w3a8e-logo .w3a8e-logo-accent {
  color: var(--w3a8e-primary);
}

.w3a8e-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.w3a8e-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 38px;
  padding: 0 1.2rem;
  border: none;
  border-radius: 999px;
  font-size: 1.35rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  color: #fff;
  background: linear-gradient(135deg, var(--w3a8e-primary), var(--w3a8e-secondary));
  box-shadow: 0 4px 12px rgba(199, 21, 133, 0.35);
}

.w3a8e-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(199, 21, 133, 0.5);
}

.w3a8e-btn-outline {
  background: transparent;
  border: 1px solid var(--w3a8e-light);
  color: var(--w3a8e-light);
  box-shadow: none;
}

.w3a8e-btn-outline:hover {
  background: rgba(176, 224, 230, 0.12);
  color: #fff;
}

.w3a8e-menu-toggle {
  background: transparent;
  border: none;
  color: var(--w3a8e-light);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
}

/* ===== Expandable Nav ===== */
.w3a8e-nav {
  position: fixed;
  top: var(--w3a8e-header-h);
  left: 0;
  right: 0;
  max-height: 0;
  overflow: hidden;
  background: var(--w3a8e-bg-alt);
  z-index: 999;
  transition: max-height 0.3s ease;
  border-bottom: 1px solid var(--w3a8e-border);
}

.w3a8e-nav-open {
  max-height: 480px;
}

.w3a8e-nav-list {
  list-style: none;
  margin: 0;
  padding: 0.6rem 1rem;
}

.w3a8e-nav-list li {
  border-bottom: 1px solid var(--w3a8e-border);
}

.w3a8e-nav-list li:last-child {
  border-bottom: none;
}

.w3a8e-nav-list a {
  display: block;
  padding: 1.1rem 0.6rem;
  color: var(--w3a8e-text);
  font-size: 1.45rem;
}

.w3a8e-nav-list a:hover {
  color: var(--w3a8e-secondary);
}

/* ===== Carousel ===== */
.w3a8e-carousel {
  position: relative;
  border-radius: var(--w3a8e-radius);
  overflow: hidden;
  margin: 1.2rem 0;
  box-shadow: var(--w3a8e-shadow);
}

.w3a8e-slide {
  display: none;
  position: relative;
  cursor: pointer;
}

.w3a8e-slide-active {
  display: block;
}

.w3a8e-slide img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.w3a8e-slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
  font-size: 1.4rem;
  font-weight: 600;
}

.w3a8e-dots {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.w3a8e-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  cursor: pointer;
}

.w3a8e-dot-active {
  background: var(--w3a8e-primary);
  width: 20px;
  border-radius: 4px;
}

/* ===== Sections ===== */
.w3a8e-section {
  margin: 2rem 0;
}

.w3a8e-section-title {
  font-size: 1.9rem;
  font-weight: 700;
  margin: 0 0 1rem;
  padding-left: 0.8rem;
  border-left: 4px solid var(--w3a8e-primary);
  color: var(--w3a8e-text);
}

.w3a8e-section-title em {
  color: var(--w3a8e-secondary);
  font-style: normal;
}

.w3a8e-lead {
  font-size: 1.5rem;
  color: var(--w3a8e-muted);
  margin-bottom: 1.2rem;
}

.w3a8e-card {
  background: var(--w3a8e-bg-card);
  border-radius: var(--w3a8e-radius);
  padding: 1.4rem;
  margin-bottom: 1.2rem;
  border: 1px solid var(--w3a8e-border);
}

.w3a8e-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.6rem;
  color: var(--w3a8e-light);
}

.w3a8e-card p {
  margin: 0 0 0.6rem;
  color: var(--w3a8e-muted);
  font-size: 1.4rem;
}

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

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

.w3a8e-game:hover {
  transform: translateY(-2px);
}

.w3a8e-game img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--w3a8e-border);
  background: #0a0f15;
}

.w3a8e-game-name {
  margin-top: 0.4rem;
  font-size: 1.2rem;
  color: var(--w3a8e-text);
  line-height: 1.3rem;
  height: 2.6rem;
  overflow: hidden;
}

/* ===== Promo CTA ===== */
.w3a8e-cta {
  display: block;
  text-align: center;
  padding: 1.3rem;
  margin: 1.5rem 0;
  border-radius: var(--w3a8e-radius);
  font-weight: 700;
  font-size: 1.6rem;
  color: #fff;
  background: linear-gradient(135deg, var(--w3a8e-primary), var(--w3a8e-secondary));
  box-shadow: 0 8px 22px rgba(199, 21, 133, 0.4);
}

.w3a8e-link-text {
  color: var(--w3a8e-secondary);
  font-weight: 700;
}

/* ===== Feature / RTP lists ===== */
.w3a8e-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.w3a8e-list li {
  padding: 0.8rem 0;
  border-bottom: 1px dashed var(--w3a8e-border);
  font-size: 1.4rem;
  color: var(--w3a8e-muted);
}

.w3a8e-list li strong {
  color: var(--w3a8e-light);
}

.w3a8e-rtp-row {
  display: flex;
  justify-content: space-between;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--w3a8e-border);
  font-size: 1.4rem;
}

.w3a8e-rtp-row span:last-child {
  color: var(--w3a8e-secondary);
  font-weight: 700;
}

.w3a8e-badge {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: rgba(199, 21, 133, 0.18);
  color: var(--w3a8e-secondary);
  font-size: 1.2rem;
  font-weight: 600;
  margin-right: 0.4rem;
}

/* ===== Testimonials ===== */
.w3a8e-quote {
  border-left: 3px solid var(--w3a8e-tertiary);
  padding: 0.6rem 1rem;
  margin-bottom: 1rem;
  font-style: italic;
  color: var(--w3a8e-muted);
}

.w3a8e-quote cite {
  display: block;
  margin-top: 0.4rem;
  font-style: normal;
  color: var(--w3a8e-light);
  font-size: 1.3rem;
}

/* ===== Payment chips ===== */
.w3a8e-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.w3a8e-chip {
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: var(--w3a8e-bg-card);
  border: 1px solid var(--w3a8e-border);
  font-size: 1.3rem;
  color: var(--w3a8e-light);
}

/* ===== Footer ===== */
.w3a8e-footer {
  margin-top: 2rem;
  padding: 2rem 0 calc(var(--w3a8e-bottomnav-h) + 2rem);
  background: var(--w3a8e-bg-alt);
  border-top: 1px solid var(--w3a8e-border);
}

.w3a8e-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin: 1rem 0;
}

.w3a8e-footer-links a {
  font-size: 1.3rem;
  color: var(--w3a8e-muted);
}

.w3a8e-footer-about {
  font-size: 1.35rem;
  color: var(--w3a8e-muted);
  margin-bottom: 1rem;
}

.w3a8e-copyright {
  font-size: 1.2rem;
  color: var(--w3a8e-muted);
  margin-top: 1rem;
}

/* ===== Bottom Nav ===== */
.w3a8e-bottomnav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--w3a8e-bottomnav-h);
  background: linear-gradient(180deg, #141b24 0%, #0a0f15 100%);
  border-top: 1px solid var(--w3a8e-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.5);
}

.w3a8e-bottomnav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: transparent;
  border: none;
  color: var(--w3a8e-muted);
  font-size: 1.1rem;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.15s ease;
}

.w3a8e-bottomnav-btn i,
.w3a8e-bottomnav-btn span.icon {
  font-size: 22px;
}

.w3a8e-bottomnav-btn:hover {
  color: var(--w3a8e-light);
  transform: translateY(-1px);
}

.w3a8e-bottomnav-btn:active {
  transform: scale(0.92);
}

.w3a8e-bottomnav-active {
  color: var(--w3a8e-primary);
}

.w3a8e-bottomnav-promo {
  color: var(--w3a8e-secondary);
}

/* ===== Reveal animation ===== */
.w3a8e-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.w3a8e-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Desktop rules ===== */
@media (max-width: 768px) {
  main {
    padding-bottom: 80px;
  }
}

@media (min-width: 769px) {
  body {
    background: #05080c;
  }
  .w3a8e-container {
    max-width: 720px;
  }
  .w3a8e-header-inner {
    max-width: 720px;
  }
  .w3a8e-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  .w3a8e-bottomnav {
    display: none;
  }
  .w3a8e-footer {
    padding-bottom: 2rem;
  }
  .w3a8e-wrapper {
    padding-bottom: 2rem;
  }
}

@media (max-width: 430px) {
  .w3a8e-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
  }
  .w3a8e-game-name {
    font-size: 1.1rem;
  }
  .w3a8e-slide img {
    height: 160px;
  }
}

@media (max-width: 360px) {
  .w3a8e-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .w3a8e-btn {
    padding: 0 0.9rem;
    font-size: 1.25rem;
  }
}
