/**
 * wilyonaryo.click - Main Stylesheet
 * All classes prefixed with wd5a3- for namespace isolation
 * Color palette: #333333 | #CCCCCC | #FF6347 | #6495ED
 */

:root {
  --wd5a3-primary: #FF6347;
  --wd5a3-secondary: #6495ED;
  --wd5a3-bg: #333333;
  --wd5a3-bg-light: #3d3d3d;
  --wd5a3-text: #CCCCCC;
  --wd5a3-text-bright: #ffffff;
  --wd5a3-accent: #FF6347;
  --wd5a3-accent2: #6495ED;
  --wd5a3-border: #555555;
  --wd5a3-card-bg: #2e2e2e;
  --wd5a3-radius: 8px;
}

/* Reset and base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--wd5a3-bg);
  color: var(--wd5a3-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
}

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

/* ===== HEADER ===== */
.wd5a3-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #2a2a2a 0%, #1e1e1e 100%);
  border-bottom: 2px solid var(--wd5a3-primary);
  max-width: 430px;
  margin: 0 auto;
}
.wd5a3-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  max-width: 430px;
  margin: 0 auto;
}
.wd5a3-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.wd5a3-logo img { width: 28px; height: 28px; border-radius: 4px; }
.wd5a3-logo-text {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--wd5a3-primary);
  letter-spacing: 0.5px;
}
.wd5a3-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.wd5a3-btn-reg {
  background: var(--wd5a3-primary);
  color: #fff;
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.wd5a3-btn-reg:hover { background: #e5573a; transform: scale(1.05); }
.wd5a3-btn-login {
  background: transparent;
  color: var(--wd5a3-secondary);
  border: 1.5px solid var(--wd5a3-secondary);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.wd5a3-btn-login:hover { background: var(--wd5a3-secondary); color: #fff; }
.wd5a3-menu-toggle {
  background: none;
  border: none;
  color: var(--wd5a3-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== MOBILE MENU ===== */
.wd5a3-mobile-menu {
  display: none;
  position: fixed;
  top: 52px;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #1a1a1a;
  border-bottom: 2px solid var(--wd5a3-primary);
  max-width: 430px;
  margin: 0 auto;
  padding: 0.8rem 0;
}
.wd5a3-mobile-menu.wd5a3-menu-active { display: block; }
.wd5a3-menu-item {
  display: block;
  padding: 1rem 1.6rem;
  color: var(--wd5a3-text);
  text-decoration: none;
  font-size: 1.4rem;
  border-bottom: 1px solid #333;
  transition: background 0.2s;
}
.wd5a3-menu-item:hover { background: #2a2a2a; color: var(--wd5a3-primary); }

/* ===== CAROUSEL ===== */
.wd5a3-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--wd5a3-radius);
  margin-top: 56px;
}
.wd5a3-slide {
  display: none;
  width: 100%;
  cursor: pointer;
}
.wd5a3-slide img {
  width: 100%;
  height: auto;
  display: block;
}
.wd5a3-slide-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.wd5a3-slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.3s;
}
.wd5a3-dot-active { background: var(--wd5a3-primary); }

/* ===== SECTION HEADINGS ===== */
.wd5a3-section {
  padding: 1.6rem 1.2rem;
}
.wd5a3-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--wd5a3-text-bright);
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--wd5a3-primary);
}
.wd5a3-section-title .material-icons {
  font-size: 2rem;
  vertical-align: middle;
  color: var(--wd5a3-primary);
  margin-right: 0.4rem;
}

/* ===== GAME GRID ===== */
.wd5a3-cat-label {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--wd5a3-secondary);
  margin: 1.2rem 0 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.wd5a3-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}
.wd5a3-game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s;
}
.wd5a3-game-card:hover { transform: scale(1.05); }
.wd5a3-game-card img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--wd5a3-radius);
  border: 1px solid var(--wd5a3-border);
}
.wd5a3-game-card span {
  font-size: 1.1rem;
  color: var(--wd5a3-text);
  margin-top: 0.3rem;
  text-align: center;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== CONTENT BLOCKS ===== */
.wd5a3-content-block {
  background: var(--wd5a3-card-bg);
  border-radius: var(--wd5a3-radius);
  padding: 1.4rem;
  margin-bottom: 1.2rem;
  border-left: 3px solid var(--wd5a3-primary);
}
.wd5a3-content-block h2 {
  font-size: 1.6rem;
  color: var(--wd5a3-text-bright);
  margin-bottom: 0.8rem;
}
.wd5a3-content-block h3 {
  font-size: 1.4rem;
  color: var(--wd5a3-secondary);
  margin: 0.8rem 0 0.4rem;
}
.wd5a3-content-block p {
  color: var(--wd5a3-text);
  line-height: 1.6;
  margin-bottom: 0.6rem;
  font-size: 1.3rem;
}
.wd5a3-content-block ul {
  padding-left: 1.6rem;
  margin-bottom: 0.6rem;
}
.wd5a3-content-block li {
  color: var(--wd5a3-text);
  font-size: 1.3rem;
  line-height: 1.6;
  margin-bottom: 0.3rem;
}

/* ===== PROMO LINKS ===== */
.wd5a3-promo-link {
  color: var(--wd5a3-primary);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border-bottom: 1px dashed var(--wd5a3-primary);
  transition: color 0.2s;
}
.wd5a3-promo-link:hover { color: #ff8a75; }

.wd5a3-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--wd5a3-primary), #e5573a);
  color: #fff;
  padding: 0.7rem 1.6rem;
  border-radius: 20px;
  font-size: 1.3rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-align: center;
}
.wd5a3-promo-btn:hover { transform: scale(1.05); box-shadow: 0 2px 10px rgba(255,99,71,0.4); }

/* ===== INTERNAL LINK ===== */
.wd5a3-internal-link {
  color: var(--wd5a3-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ===== FOOTER ===== */
.wd5a3-footer {
  background: #1a1a1a;
  padding: 2rem 1.2rem 1.5rem;
  border-top: 2px solid var(--wd5a3-border);
}
.wd5a3-footer-brand {
  font-size: 1.2rem;
  color: #999;
  line-height: 1.5;
  margin-bottom: 1rem;
}
.wd5a3-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.wd5a3-footer-link {
  background: var(--wd5a3-bg-light);
  color: var(--wd5a3-text);
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 1.1rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}
.wd5a3-footer-link:hover { color: var(--wd5a3-primary); }
.wd5a3-footer-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
  justify-content: center;
}
.wd5a3-footer-partners img {
  height: 24px;
  border-radius: 3px;
  opacity: 0.7;
}
.wd5a3-footer-copy {
  text-align: center;
  font-size: 1.1rem;
  color: #666;
  border-top: 1px solid #333;
  padding-top: 0.8rem;
}

/* ===== BOTTOM NAV ===== */
.wd5a3-bnav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #2a2a2a 0%, #1e1e1e 100%);
  border-top: 2px solid var(--wd5a3-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 58px;
  max-width: 430px;
  margin: 0 auto;
}
.wd5a3-bnav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 54px;
  background: none;
  border: none;
  color: #888;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0.2rem;
}
.wd5a3-bnav-btn:hover,
.wd5a3-bnav-active {
  color: var(--wd5a3-primary);
  transform: scale(1.08);
}
.wd5a3-bnav-icon { font-size: 22px; line-height: 1; }
.wd5a3-bnav-label { font-size: 1rem; margin-top: 2px; }

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
  .wd5a3-main { padding-bottom: 75px; }
}

/* ===== DESKTOP: hide bottom nav ===== */
@media (min-width: 769px) {
  .wd5a3-bnav { display: none; }
}

/* ===== RTP TABLE ===== */
.wd5a3-rtp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.2rem;
}
.wd5a3-rtp-table th {
  background: var(--wd5a3-primary);
  color: #fff;
  padding: 0.5rem 0.6rem;
  text-align: left;
  font-size: 1.1rem;
}
.wd5a3-rtp-table td {
  padding: 0.4rem 0.6rem;
  border-bottom: 1px solid #444;
  color: var(--wd5a3-text);
}
.wd5a3-rtp-table tr:nth-child(even) td { background: #353535; }

/* ===== TESTIMONIAL ===== */
.wd5a3-testimonial {
  background: var(--wd5a3-card-bg);
  border-radius: var(--wd5a3-radius);
  padding: 1rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--wd5a3-secondary);
}
.wd5a3-testimonial-name {
  font-weight: 600;
  color: var(--wd5a3-secondary);
  font-size: 1.2rem;
}
.wd5a3-testimonial-text {
  color: var(--wd5a3-text);
  font-size: 1.2rem;
  font-style: italic;
  margin-top: 0.3rem;
}

/* ===== WINNER BADGE ===== */
.wd5a3-winner {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--wd5a3-card-bg);
  border-radius: var(--wd5a3-radius);
  padding: 0.8rem;
  margin-bottom: 0.6rem;
}
.wd5a3-winner-img { width: 36px; height: 36px; border-radius: 50%; }
.wd5a3-winner-info { flex: 1; }
.wd5a3-winner-name { color: var(--wd5a3-text-bright); font-weight: 600; font-size: 1.2rem; }
.wd5a3-winner-amount { color: var(--wd5a3-primary); font-weight: 700; font-size: 1.3rem; }

/* ===== PAYMENT ICONS ===== */
.wd5a3-payment-row {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 0;
}
.wd5a3-payment-icon {
  background: #fff;
  color: #333;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 1.1rem;
  font-weight: 600;
}

/* ===== CTA SECTION ===== */
.wd5a3-cta-box {
  background: linear-gradient(135deg, #e5573a, var(--wd5a3-secondary));
  border-radius: var(--wd5a3-radius);
  padding: 1.4rem;
  text-align: center;
}
.wd5a3-cta-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.6rem;
}
.wd5a3-cta-text {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1rem;
}

/* ===== CATEGORY HIGHLIGHT ===== */
.wd5a3-cat-highlight {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--wd5a3-card-bg);
  border-radius: var(--wd5a3-radius);
  padding: 1rem;
  margin-bottom: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
}
.wd5a3-cat-highlight:hover { transform: translateX(4px); }
.wd5a3-cat-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.wd5a3-cat-info { flex: 1; }
.wd5a3-cat-name { color: var(--wd5a3-text-bright); font-weight: 600; font-size: 1.3rem; }
.wd5a3-cat-desc { color: #999; font-size: 1.1rem; }
