/*!
 * ok laro - core stylesheet
 * Brand palette: #228B22 (primary green) | #1C2833 (dark base)
 *                #87CEFA (sky accent)    | #8FBC8F (sage highlight)
 * All custom classes use the w519a- prefix to avoid collisions.
 * Comments are in English per project convention.
 */

:root {
  --w519a-primary: #228B22;
  --w519a-primary-dark: #176117;
  --w519a-bg: #1C2833;
  --w519a-bg-soft: #243447;
  --w519a-card: #2A3B4F;
  --w519a-text: #F4F9F4;
  --w519a-text-muted: #B8C7C8;
  --w519a-sky: #87CEFA;
  --w519a-sage: #8FBC8F;
  --w519a-gold: #F4C430;
  --w519a-danger: #E74C3C;
  --w519a-radius: 12px;
  --w519a-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  --w519a-shadow-soft: 0 3px 10px rgba(0, 0, 0, 0.25);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 62.5%; /* 1rem = 10px */
  -webkit-text-size-adjust: 100%;
}

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

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

a {
  color: var(--w519a-sky);
  text-decoration: none;
}

.w519a-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--w519a-sky);
  color: #04223f;
  padding: 8px 14px;
  z-index: 9999;
}
.w519a-skip-link:focus {
  left: 8px;
}

/* ============ Layout container ============ */
.w519a-wrapper {
  max-width: 430px;
  margin: 0 auto;
  padding: 0;
}

.w519a-container {
  width: 100%;
  padding: 0 14px;
}

/* ============ Header ============ */
.w519a-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #1b3a1b 0%, #11281a 100%);
  border-bottom: 2px solid var(--w519a-primary);
  box-shadow: var(--w519a-shadow);
}

.w519a-header-inner {
  max-width: 430px;
  margin: 0 auto;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.w519a-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--w519a-text);
  font-weight: 700;
}

.w519a-logo img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.w519a-logo .w519a-logo-text {
  font-size: 1.7rem;
  letter-spacing: 0.4px;
}

.w519a-logo .w519a-logo-accent {
  color: var(--w519a-sage);
}

.w519a-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.w519a-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 36px;
  padding: 0 14px;
  border: none;
  border-radius: 20px;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none;
  line-height: 1.2;
}

.w519a-btn:active {
  transform: scale(0.96);
}

.w519a-btn-register {
  background: linear-gradient(135deg, var(--w519a-gold), #ff9d2f);
  color: #2a1500;
  box-shadow: 0 3px 0 #b97311;
}

.w519a-btn-login {
  background: linear-gradient(135deg, var(--w519a-primary), var(--w519a-primary-dark));
  color: #fff;
  box-shadow: 0 3px 0 #0d4a0d;
}

.w519a-btn-ghost {
  background: transparent;
  color: var(--w519a-text);
  border: 1px solid rgba(255, 255, 255, 0.18);
  min-width: 40px;
  padding: 0 10px;
}

.w519a-cta {
  background: linear-gradient(135deg, var(--w519a-gold), #ff7a18);
  color: #22100a;
  padding: 12px 22px;
  font-size: 1.6rem;
  font-weight: 800;
  border-radius: 26px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 6px 18px rgba(244, 196, 48, 0.35);
}

/* ============ Mobile menu ============ */
.w519a-mobile-menu {
  display: none;
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  background: var(--w519a-bg-soft);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 9999;
  padding: 10px 14px 18px;
}

.w519a-mobile-menu.w519a-menu-open {
  display: block;
  animation: w519a-fade-down 0.18s ease both;
}

@keyframes w519a-fade-down {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.w519a-mobile-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--w519a-text);
  font-size: 1.4rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}

.w519a-mobile-menu a:hover,
.w519a-mobile-menu a:focus {
  background: rgba(135, 206, 250, 0.12);
  color: var(--w519a-sky);
}

.w519a-menu-toggle {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--w519a-text);
  border-radius: 8px;
  width: 40px;
  height: 36px;
  font-size: 1.8rem;
  cursor: pointer;
}

/* ============ Main sections ============ */
.w519a-main {
  padding-top: 60px;
}

.w519a-section {
  padding: 24px 0;
}

.w519a-section-alt {
  background: linear-gradient(180deg, #21333b 0%, #1b2a32 100%);
}

.w519a-section-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--w519a-text);
  margin: 0 0 4px;
}

.w519a-section-title .w519a-accent {
  color: var(--w519a-sage);
}

.w519a-section-sub {
  color: var(--w519a-text-muted);
  font-size: 1.35rem;
  margin: 0 0 16px;
}

.w519a-eyebrow {
  display: inline-block;
  background: rgba(135, 206, 250, 0.15);
  color: var(--w519a-sky);
  font-size: 1.15rem;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* ============ Carousel / Hero ============ */
.w519a-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--w519a-radius);
  box-shadow: var(--w519a-shadow);
  margin: 12px 0 18px;
}

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

.w519a-slide.w519a-active {
  display: block;
  animation: w519a-slide-in 0.5s ease both;
}

@keyframes w519a-slide-in {
  from {
    opacity: 0;
    transform: scale(1.02);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

.w519a-slide-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  padding: 18px 12px 10px;
  color: #fff;
}

.w519a-slide-caption strong {
  font-size: 1.7rem;
  display: block;
}

.w519a-slide-caption span {
  font-size: 1.25rem;
  color: var(--w519a-sage);
}

.w519a-carousel-dots {
  position: absolute;
  bottom: 8px;
  right: 12px;
  display: flex;
  gap: 5px;
}

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

.w519a-carousel-dot.w519a-dot-active {
  background: var(--w519a-gold);
  width: 20px;
  border-radius: 4px;
}

/* ============ Game grid ============ */
.w519a-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.w519a-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.w519a-game-card {
  background: var(--w519a-card);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.w519a-game-card:hover,
.w519a-game-card:focus {
  transform: translateY(-3px);
  box-shadow: var(--w519a-shadow-soft);
}

.w519a-game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.w519a-game-name {
  font-size: 1.15rem;
  color: var(--w519a-text);
  padding: 6px 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.w519a-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.w519a-filter-chip {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(135, 206, 250, 0.3);
  background: transparent;
  color: var(--w519a-text-muted);
  font-size: 1.2rem;
  cursor: pointer;
}

.w519a-filter-chip.w519a-filter-active {
  background: var(--w519a-primary);
  color: #fff;
  border-color: var(--w519a-primary);
}

/* ============ Feature / info cards ============ */
.w519a-card {
  background: var(--w519a-card);
  border-radius: var(--w519a-radius);
  padding: 14px;
  box-shadow: var(--w519a-shadow-soft);
  margin-bottom: 12px;
}

.w519a-card h3 {
  margin: 0 0 6px;
  font-size: 1.55rem;
  color: var(--w519a-sage);
}

.w519a-card p {
  margin: 0;
  color: var(--w519a-text-muted);
  font-size: 1.3rem;
}

.w519a-pill-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.w519a-pill-list li {
  background: rgba(143, 188, 143, 0.15);
  color: var(--w519a-sage);
  font-size: 1.15rem;
  padding: 3px 10px;
  border-radius: 999px;
}

/* ============ Testimonials ============ */
.w519a-testimonial {
  background: var(--w519a-card);
  border-left: 4px solid var(--w519a-sky);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 10px;
}

.w519a-testimonial strong {
  color: var(--w519a-gold);
  font-size: 1.35rem;
}

.w519a-stars {
  color: var(--w519a-gold);
  font-size: 1.2rem;
  margin-bottom: 4px;
}

/* ============ Payment methods ============ */
.w519a-pay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.w519a-pay-item {
  background: var(--w519a-card);
  border-radius: 8px;
  padding: 10px 6px;
  text-align: center;
  font-size: 1.2rem;
  color: var(--w519a-text);
}

.w519a-pay-item .material-icons,
.w519a-pay-item i {
  font-size: 26px;
  color: var(--w519a-sky);
}

/* ============ Winners showcase ============ */
.w519a-winner-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  font-size: 1.3rem;
}

.w519a-winner-row strong {
  color: var(--w519a-gold);
}

/* ============ FAQ ============ */
.w519a-faq-item {
  background: var(--w519a-card);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 8px;
}

.w519a-faq-item h3 {
  margin: 0 0 6px;
  font-size: 1.4rem;
  color: var(--w519a-sky);
}

.w519a-faq-item p {
  margin: 0;
  font-size: 1.3rem;
  color: var(--w519a-text-muted);
}

/* ============ Footer ============ */
.w519a-footer {
  background: #0f1a24;
  padding: 24px 14px 30px;
  color: var(--w519a-text-muted);
  font-size: 1.3rem;
}

.w519a-footer h4 {
  color: var(--w519a-text);
  font-size: 1.45rem;
  margin: 14px 0 8px;
}

.w519a-footer a {
  color: var(--w519a-text-muted);
  display: inline-block;
  margin: 3px 8px 3px 0;
}

.w519a-footer a:hover {
  color: var(--w519a-sky);
}

.w519a-footer-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.w519a-footer-buttons .w519a-btn {
  flex: 1 1 calc(50% - 8px);
}

.w519a-footer-brand {
  line-height: 1.7;
  margin-bottom: 12px;
}

.w519a-copyright {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 16px;
  padding-top: 14px;
  font-size: 1.2rem;
}

/* ============ Bottom navigation (mobile only) ============ */
.w519a-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 62px;
  background: linear-gradient(180deg, #1b3a1b 0%, #0d2412 100%);
  border-top: 2px solid var(--w519a-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.4);
}

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

.w519a-nav-btn i,
.w519a-nav-btn .material-icons {
  font-size: 22px;
}

.w519a-nav-btn:active {
  transform: scale(0.92);
}

.w519a-nav-btn.w519a-nav-current,
.w519a-nav-btn:hover {
  color: var(--w519a-gold);
}

.w519a-nav-btn.w519a-nav-promo {
  color: var(--w519a-sky);
}

.w519a-nav-badge {
  position: absolute;
  top: 6px;
  right: 18px;
  background: var(--w519a-danger);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 1px 5px;
  min-width: 16px;
  text-align: center;
}

/* Desktop: hide bottom nav and widen layout */
@media (min-width: 769px) {
  .w519a-bottom-nav {
    display: none;
  }
  .w519a-wrapper,
  .w519a-header-inner,
  .w519a-footer {
    max-width: 760px;
  }
  .w519a-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* Mobile: ensure content is not hidden behind the fixed bottom nav */
@media (max-width: 768px) {
  .w519a-main {
    padding-bottom: 84px;
  }
}

/* Long-form SEO article typography */
.w519a-article {
  color: var(--w519a-text);
  font-size: 1.35rem;
  line-height: 1.65;
}

.w519a-article h2 {
  color: var(--w519a-sage);
  font-size: 1.8rem;
  margin: 18px 0 8px;
}

.w519a-article h3 {
  color: var(--w519a-sky);
  font-size: 1.5rem;
  margin: 14px 0 6px;
}

.w519a-article p {
  margin: 0 0 10px;
  color: var(--w519a-text-muted);
}

.w519a-text-link {
  color: var(--w519a-sky);
  font-weight: 600;
  text-decoration: underline;
}

.w519a-text-link:hover {
  color: var(--w519a-sage);
}

.w519a-banner {
  background: linear-gradient(135deg, var(--w519a-primary), var(--w519a-primary-dark));
  border: 1px solid rgba(135, 206, 250, 0.25);
  border-radius: var(--w519a-radius);
  padding: 16px;
  text-align: center;
  color: #fff;
  margin: 14px 0;
}

.w519a-banner strong {
  display: block;
  font-size: 1.7rem;
  margin-bottom: 4px;
}

.w519a-banner span {
  color: var(--w519a-sage);
  font-size: 1.25rem;
}

.w519a-rtp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.25rem;
  background: var(--w519a-card);
  border-radius: 8px;
  overflow: hidden;
}

.w519a-rtp-table th,
.w519a-rtp-table td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.w519a-rtp-table th {
  background: var(--w519a-primary-dark);
  color: var(--w519a-text);
}

.w519a-rtp-table td.w519a-num {
  color: var(--w519a-gold);
  font-weight: 700;
}
