/* ============================================================
 * melvet.css - Brand styling for melvet.click
 * All custom classes use the prefix: wa63e-
 * Palette: #FF8C00 (amber) | #B22222 (red) | #B03060 (maroon)
 *          #34495E (deep slate, background base)
 * Mobile-first; main container capped at max-width: 430px.
 * ============================================================ */

/* ---------- Design tokens --------------------------------- */
:root {
  --wa63e-primary: #FF8C00;
  --wa63e-accent:  #B22222;
  --wa63e-maroon:  #B03060;
  --wa63e-deep:    #34495E;
  --wa63e-bg:      #0f1b29;
  --wa63e-bg-2:    #15243a;
  --wa63e-card:    #1b2c46;
  --wa63e-card-2:  #22385a;
  --wa63e-text:    #f3f6fb;
  --wa63e-muted:   #a7b6cb;
  --wa63e-border:  #2b3f60;
  --wa63e-gold:    #ffd479;
  --wa63e-shadow:  0 6px 20px rgba(0,0,0,.35);
  --wa63e-radius:  14px;
  --wa63e-radius-sm: 10px;
}

/* ---------- Reset ----------------------------------------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  font-size: 62.5%;           /* 1rem = 10px */
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", system-ui, Arial, sans-serif;
  background: radial-gradient(1200px 600px at 50% -10%, #1d2f4d 0%, var(--wa63e-bg) 60%);
  color: var(--wa63e-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--wa63e-primary); text-decoration: none; }
a:hover, a:focus { color: var(--wa63e-gold); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }

/* ---------- Layout primitives ----------------------------- */
.wa63e-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  background: linear-gradient(180deg, #11203a 0%, var(--wa63e-bg) 30%, var(--wa63e-bg) 100%);
  min-height: 100vh;
  box-shadow: 0 0 40px rgba(0,0,0,.45);
}
.wa63e-container { padding: 0 1.4rem; }
.wa63e-main { padding-bottom: 9rem; }   /* clearance for bottom nav */
.wa63e-hidden { display: none !important; }
.wa63e-locked { overflow: hidden; }

/* ---------- Header ---------------------------------------- */
.wa63e-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(90deg, rgba(15,27,41,.96), rgba(21,36,58,.96));
  border-bottom: 1px solid var(--wa63e-border);
  transition: box-shadow .25s ease, background .25s ease;
}
.wa63e-header--scrolled { box-shadow: 0 4px 18px rgba(0,0,0,.45); }
.wa63e-header-inner {
  max-width: 430px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: .55rem 1.1rem; min-height: 5.4rem;
}
.wa63e-brand { display: flex; align-items: center; gap: .6rem; }
.wa63e-brand img { width: 2.8rem; height: 2.8rem; border-radius: 8px; }
.wa63e-brand-name {
  font-size: 1.7rem; font-weight: 800; letter-spacing: .3px;
  background: linear-gradient(90deg, var(--wa63e-primary), var(--wa63e-gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.wa63e-brand-name span { color: var(--wa63e-muted); font-weight: 600; font-size: 1.1rem; }
.wa63e-header-actions { display: flex; align-items: center; gap: .45rem; }

/* ---------- Buttons --------------------------------------- */
.wa63e-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .45rem; min-height: 3.6rem; padding: 0 1.1rem;
  border-radius: 999px; font-weight: 700; font-size: 1.25rem;
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
  white-space: nowrap;
}
.wa63e-btn:active { transform: scale(.96); }
.wa63e-btn--primary {
  background: linear-gradient(90deg, var(--wa63e-primary), var(--wa63e-accent));
  color: #fff; box-shadow: 0 4px 14px rgba(255,140,0,.35);
}
.wa63e-btn--ghost {
  background: rgba(255,255,255,.06);
  color: var(--wa63e-text);
  border: 1px solid var(--wa63e-border);
}
.wa63e-btn--gold {
  background: linear-gradient(90deg, var(--wa63e-gold), var(--wa63e-primary));
  color: #2a1500; box-shadow: 0 4px 14px rgba(255,212,121,.35);
}
.wa63e-btn--maroon {
  background: linear-gradient(90deg, var(--wa63e-maroon), var(--wa63e-accent));
  color: #fff;
}
.wa63e-btn--sm { min-height: 3rem; padding: 0 .85rem; font-size: 1.15rem; }
.wa63e-btn--lg { min-height: 4.4rem; padding: 0 1.6rem; font-size: 1.4rem; }
.wa63e-btn--block { width: 100%; }

/* Icon button (header menu) */
.wa63e-iconbtn {
  width: 3.6rem; height: 3.6rem; border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--wa63e-border);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--wa63e-text); transition: background .2s ease;
}
.wa63e-iconbtn:hover { background: rgba(255,140,0,.18); }

/* ---------- Hero ------------------------------------------ */
.wa63e-hero { padding: 6.6rem 0 1.2rem; }
.wa63e-carousel { position: relative; border-radius: var(--wa63e-radius); overflow: hidden; box-shadow: var(--wa63e-shadow); }
.wa63e-carousel-track { display: flex; transition: transform .45s ease; }
.wa63e-carousel-slide { min-width: 100%; position: relative; }
.wa63e-carousel-slide img { width: 100%; height: auto; }
.wa63e-carousel-caption {
  position: absolute; left: 1rem; right: 1rem; bottom: .9rem;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.78));
  padding: 1.4rem 1rem .9rem; border-radius: 0 0 var(--wa63e-radius) var(--wa63e-radius);
}
.wa63e-carousel-caption h2 { font-size: 1.7rem; font-weight: 800; margin-bottom: .35rem; }
.wa63e-carousel-caption p { font-size: 1.2rem; color: var(--wa63e-muted); }
.wa63e-carousel-dots {
  position: absolute; bottom: .8rem; right: 1rem; display: flex; gap: .4rem; z-index: 2;
}
.wa63e-carousel-dot {
  width: .8rem; height: .8rem; border-radius: 50%;
  background: rgba(255,255,255,.45); transition: background .2s ease;
}
.wa63e-carousel-dot--active { background: var(--wa63e-primary); }
.wa63e-carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 3.2rem; height: 3.2rem; border-radius: 50%;
  background: rgba(0,0,0,.45); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  z-index: 2;
}
.wa63e-carousel-arrow--prev { left: .6rem; }
.wa63e-carousel-arrow--next { right: .6rem; }

/* ---------- Section primitives ---------------------------- */
.wa63e-section { padding: 1.6rem 0; }
.wa63e-section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1rem;
}
.wa63e-section-title {
  font-size: 1.55rem; font-weight: 800; position: relative; padding-left: 1rem;
}
.wa63e-section-title::before {
  content: ""; position: absolute; left: 0; top: 50%;
  transform: translateY(-50%); width: .35rem; height: 1.6rem;
  background: linear-gradient(180deg, var(--wa63e-primary), var(--wa63e-accent));
  border-radius: 4px;
}
.wa63e-section-title em { font-style: normal; color: var(--wa63e-primary); }
.wa63e-link-more { font-size: 1.15rem; color: var(--wa63e-primary); font-weight: 700; }

/* ---------- Chips (filter) -------------------------------- */
.wa63e-chips { display: flex; gap: .5rem; overflow-x: auto; padding: .4rem 0 1rem; }
.wa63e-chips::-webkit-scrollbar { display: none; }
.wa63e-chip {
  flex: 0 0 auto; padding: .55rem 1rem; border-radius: 999px;
  background: rgba(255,255,255,.05); border: 1px solid var(--wa63e-border);
  color: var(--wa63e-muted); font-size: 1.15rem; font-weight: 600;
  white-space: nowrap; transition: all .2s ease;
}
.wa63e-chip--active {
  background: linear-gradient(90deg, var(--wa63e-primary), var(--wa63e-accent));
  color: #fff; border-color: transparent;
}

/* ---------- H1 banner ------------------------------------- */
.wa63e-h1-banner {
  margin: 1.2rem 0 0; padding: 1.2rem 1.2rem;
  background: linear-gradient(135deg, rgba(255,140,0,.16), rgba(176,48,96,.16));
  border: 1px solid var(--wa63e-border); border-radius: var(--wa63e-radius);
}
.wa63e-h1-banner h1 {
  font-size: 1.85rem; font-weight: 800; line-height: 1.35;
  background: linear-gradient(90deg, var(--wa63e-gold), var(--wa63e-primary));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.wa63e-h1-banner p { color: var(--wa63e-muted); margin-top: .35rem; font-size: 1.2rem; }

/* ---------- Game grid ------------------------------------- */
.wa63e-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem;
}
.wa63e-game-card {
  background: var(--wa63e-card); border-radius: var(--wa63e-radius-sm);
  overflow: hidden; border: 1px solid var(--wa63e-border);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  transition: transform .18s ease, box-shadow .2s ease;
  position: relative;
}
.wa63e-game-card:hover, .wa63e-game-card:focus {
  transform: translateY(-3px); box-shadow: var(--wa63e-shadow);
  border-color: var(--wa63e-primary);
}
.wa63e-game-thumb { width: 100%; aspect-ratio: 1/1; background: #0c1726; }
.wa63e-game-thumb img { width: 100%; height: 100%; object-fit: cover; }
.wa63e-game-name {
  font-size: 1.05rem; font-weight: 600; color: var(--wa63e-text);
  padding: .45rem .4rem .65rem; line-height: 1.2rem;
  height: 3.4rem; display: flex; align-items: center; justify-content: center;
}
.wa63e-game-card .wa63e-tag {
  position: absolute; top: .35rem; left: .35rem;
  background: linear-gradient(90deg, var(--wa63e-accent), var(--wa63e-maroon));
  color: #fff; font-size: .95rem; font-weight: 700;
  padding: .15rem .45rem; border-radius: 6px;
}

/* ---------- Cards / panels -------------------------------- */
.wa63e-card {
  background: var(--wa63e-card); border: 1px solid var(--wa63e-border);
  border-radius: var(--wa63e-radius); padding: 1.2rem; margin-bottom: 1rem;
  box-shadow: var(--wa63e-shadow);
}
.wa63e-card h3 { font-size: 1.45rem; font-weight: 800; margin-bottom: .5rem; }
.wa63e-card p { color: var(--wa63e-muted); margin-bottom: .65rem; }
.wa63e-card ul { padding-left: 1.2rem; }
.wa63e-card ul li { list-style: disc; color: var(--wa63e-muted); margin-bottom: .35rem; }

/* ---------- Feature row ----------------------------------- */
.wa63e-feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: .8rem;
}
.wa63e-feature {
  background: var(--wa63e-card); border-radius: var(--wa63e-radius);
  padding: 1rem; border: 1px solid var(--wa63e-border);
  display: flex; flex-direction: column; gap: .35rem;
}
.wa63e-feature .wa63e-feature-ico {
  width: 3.2rem; height: 3.2rem; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--wa63e-primary), var(--wa63e-maroon));
  color: #fff;
}
.wa63e-feature h4 { font-size: 1.25rem; font-weight: 700; }
.wa63e-feature p { font-size: 1.1rem; color: var(--wa63e-muted); }

/* ---------- RTP table ------------------------------------- */
.wa63e-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.15rem; }
.wa63e-rtp-table th, .wa63e-rtp-table td {
  padding: .65rem .5rem; border-bottom: 1px solid var(--wa63e-border); text-align: left;
}
.wa63e-rtp-table th { color: var(--wa63e-muted); font-weight: 700; font-size: 1.05rem; }
.wa63e-rtp-table td.wa63e-rt-num { color: var(--wa63e-gold); font-weight: 800; text-align: right; }

/* ---------- Steps ----------------------------------------- */
.wa63e-steps { counter-reset: step; }
.wa63e-step {
  position: relative; padding: .9rem .9rem .9rem 3.4rem;
  background: var(--wa63e-card-2); border-radius: var(--wa63e-radius-sm);
  margin-bottom: .6rem; border: 1px solid var(--wa63e-border);
}
.wa63e-step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: .8rem; top: 50%; transform: translateY(-50%);
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--wa63e-primary), var(--wa63e-accent));
  color: #fff; font-weight: 800; font-size: 1.2rem;
  display: inline-flex; align-items: center; justify-content: center;
}
.wa63e-step h4 { font-size: 1.2rem; margin-bottom: .15rem; }
.wa63e-step p { color: var(--wa63e-muted); font-size: 1.1rem; }

/* ---------- Testimonials ---------------------------------- */
.wa63e-testi {
  background: var(--wa63e-card); border-radius: var(--wa63e-radius);
  padding: 1rem; border: 1px solid var(--wa63e-border); margin-bottom: .8rem;
}
.wa63e-testi-head { display: flex; align-items: center; gap: .6rem; margin-bottom: .4rem; }
.wa63e-testi-avatar {
  width: 3rem; height: 3rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--wa63e-primary), var(--wa63e-maroon));
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800;
}
.wa63e-testi-name { font-weight: 700; font-size: 1.15rem; }
.wa63e-testi-stars { color: var(--wa63e-gold); font-size: 1rem; }
.wa63e-testi p { color: var(--wa63e-muted); font-size: 1.1rem; }

/* ---------- Winners ticker -------------------------------- */
.wa63e-winner {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--wa63e-card-2); border: 1px solid var(--wa63e-border);
  padding: .55rem .8rem; border-radius: 10px; margin-bottom: .45rem; font-size: 1.1rem;
}
.wa63e-winner b { color: var(--wa63e-gold); }
.wa63e-winner small { color: var(--wa63e-muted); }

/* ---------- Payment methods ------------------------------- */
.wa63e-pay { display: flex; flex-wrap: wrap; gap: .55rem; }
.wa63e-pay span {
  background: rgba(255,255,255,.06); border: 1px solid var(--wa63e-border);
  border-radius: 8px; padding: .45rem .7rem; font-size: 1.05rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: .35rem;
}

/* ---------- FAQ accordion --------------------------------- */
.wa63e-faq-item {
  background: var(--wa63e-card); border: 1px solid var(--wa63e-border);
  border-radius: var(--wa63e-radius-sm); margin-bottom: .55rem; overflow: hidden;
}
.wa63e-faq-q {
  width: 100%; text-align: left; padding: .9rem 1rem;
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 700; font-size: 1.2rem; color: var(--wa63e-text);
}
.wa63e-faq-q .wa63e-faq-ico { color: var(--wa63e-primary); transition: transform .2s ease; }
.wa63e-faq-item--open .wa63e-faq-ico { transform: rotate(45deg); }
.wa63e-faq-a {
  max-height: 0; overflow: hidden; transition: max-height .25s ease;
  padding: 0 1rem; color: var(--wa63e-muted); font-size: 1.1rem;
}
.wa63e-faq-item--open .wa63e-faq-a { max-height: 320px; padding: 0 1rem .9rem; }

/* ---------- Promo CTA strip ------------------------------- */
.wa63e-cta {
  background: linear-gradient(135deg, var(--wa63e-primary), var(--wa63e-accent) 60%, var(--wa63e-maroon));
  border-radius: var(--wa63e-radius); padding: 1.2rem; color: #fff;
  display: flex; flex-direction: column; gap: .6rem; box-shadow: var(--wa63e-shadow);
}
.wa63e-cta h3 { font-size: 1.5rem; font-weight: 800; }
.wa63e-cta p { font-size: 1.15rem; color: rgba(255,255,255,.92); }

/* ---------- Text utilities -------------------------------- */
.wa63e-prose p { color: var(--wa63e-muted); margin-bottom: .65rem; font-size: 1.2rem; }
.wa63e-prose strong { color: var(--wa63e-text); }
.wa63e-prose a { color: var(--wa63e-primary); font-weight: 700; }
.wa63e-lead { font-size: 1.25rem; color: var(--wa63e-text); }
.wa63e-muted-text { color: var(--wa63e-muted); }
.wa63e-bullet { list-style: disc; padding-left: 1.3rem; color: var(--wa63e-muted); }
.wa63e-bullet li { margin-bottom: .3rem; }
.wa63e-kicker {
  font-size: 1.05rem; font-weight: 700; color: var(--wa63e-primary);
  text-transform: uppercase; letter-spacing: .12em; margin-bottom: .25rem;
}

/* ---------- Mobile slide-in menu -------------------------- */
.wa63e-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 9998;
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.wa63e-overlay--visible { opacity: 1; pointer-events: auto; }
.wa63e-mobile-menu {
  position: fixed; top: 0; right: -82%; height: 100vh; width: 78%;
  max-width: 320px; background: var(--wa63e-bg-2); z-index: 9999;
  transition: right .28s ease; padding: 1.2rem; overflow-y: auto;
  border-left: 1px solid var(--wa63e-border); box-shadow: -8px 0 30px rgba(0,0,0,.45);
}
.wa63e-menu--open { right: 0; }
.wa63e-mobile-menu .wa63e-menu-head {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem;
}
.wa63e-mobile-menu .wa63e-menu-title { font-size: 1.5rem; font-weight: 800; color: var(--wa63e-primary); }
.wa63e-mobile-menu nav a {
  display: block; padding: .8rem .6rem; border-radius: 8px;
  color: var(--wa63e-text); font-size: 1.25rem; font-weight: 600;
  border-bottom: 1px solid var(--wa63e-border);
}
.wa63e-mobile-menu nav a:hover { background: rgba(255,140,0,.12); color: var(--wa63e-primary); }
.wa63e-mobile-menu .wa63e-menu-cta { margin-top: 1rem; display: flex; flex-direction: column; gap: .55rem; }

/* ---------- Footer ---------------------------------------- */
.wa63e-footer {
  background: linear-gradient(180deg, var(--wa63e-bg-2), #0a1422);
  padding: 1.6rem 1.4rem 2rem; border-top: 1px solid var(--wa63e-border);
  margin-top: 1.5rem;
}
.wa63e-footer p { color: var(--wa63e-muted); font-size: 1.15rem; margin-bottom: .8rem; }
.wa63e-footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem .9rem; margin-bottom: 1rem; }
.wa63e-footer-grid a { color: var(--wa63e-muted); font-size: 1.1rem; }
.wa63e-footer-grid a:hover { color: var(--wa63e-primary); }
.wa63e-footer-promos { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1rem; }
.wa63e-footer-copy { font-size: 1.05rem; color: #6c7c92; border-top: 1px solid var(--wa63e-border); padding-top: .8rem; }

/* ---------- Mobile bottom navigation ---------------------- */
.wa63e-bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  display: flex; justify-content: space-around; align-items: stretch;
  background: linear-gradient(180deg, rgba(21,36,58,.97), rgba(15,27,41,.99));
  border-top: 1px solid var(--wa63e-border);
  height: 6rem; max-width: 430px; margin: 0 auto;
  box-shadow: 0 -4px 18px rgba(0,0,0,.4);
}
.wa63e-bottomnav a, .wa63e-bottomnav button {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .15rem; color: var(--wa63e-muted); font-size: 1rem; font-weight: 600;
  min-width: 6rem; min-height: 6rem; padding: .3rem; position: relative;
  transition: color .2s ease, transform .15s ease;
}
.wa63e-bottomnav a:active, .wa63e-bottomnav button:active { transform: scale(.92); }
.wa63e-bottomnav .wa63e-bn-ico { font-size: 2.2rem; line-height: 1; }
.wa63e-bottomnav .wa63e-bn-label { font-size: 1rem; line-height: 1.1; }
.wa63e-bottomnav .wa63e-bn-active { color: var(--wa63e-primary); }
.wa63e-bottomnav .wa63e-bn-active::before {
  content: ""; position: absolute; top: 0; left: 25%; right: 25%; height: 3px;
  background: linear-gradient(90deg, var(--wa63e-primary), var(--wa63e-gold));
  border-radius: 0 0 6px 6px;
}
.wa63e-bottomnav .wa63e-bn-badge {
  position: absolute; top: .55rem; right: 28%;
  background: var(--wa63e-accent); color: #fff;
  font-size: .85rem; font-weight: 800;
  padding: .05rem .35rem; border-radius: 999px;
}

/* ---------- Back to top ----------------------------------- */
.wa63e-totop {
  position: fixed; right: 1.2rem; bottom: 7rem; z-index: 900;
  width: 3.8rem; height: 3.8rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--wa63e-primary), var(--wa63e-accent));
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--wa63e-shadow); opacity: .95;
}

/* ---------- Desktop layout -------------------------------- */
@media (min-width: 769px) {
  body { background: #0a1422; }
  .wa63e-bottomnav { display: none; }
  .wa63e-main { padding-bottom: 2rem; }
  .wa63e-wrapper {
    max-width: 960px; box-shadow: 0 0 60px rgba(0,0,0,.55);
  }
  .wa63e-header-inner { max-width: 960px; }
  .wa63e-grid { grid-template-columns: repeat(6, 1fr); }
  .wa63e-feature-row { grid-template-columns: repeat(4, 1fr); }
}
/* Mobile keeps the literal 430px hard cap the brand requires */
@media (max-width: 430px) {
  .wa63e-wrapper { box-shadow: none; }
}
