/* Wave Quest Play — wavequestplay.com */
@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@700;800;900&family=Nunito:wght@400;500;600;700&display=swap');
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Nunito',sans-serif;color:#0d2035;background:#f0f8ff;line-height:1.7;font-size:16px}
h1,h2,h3,h4{font-family:'Exo 2',sans-serif;line-height:1.2}
a{color:#0d3b5e;text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;height:auto}
table{width:100%;border-collapse:collapse;margin:1.5rem 0}
th,td{padding:.7rem 1rem;border:1px solid #ddd;text-align:left}
th{background:#0d3b5e;color:#fff}
tr:nth-child(even) td{background:#d0e8f8}
ul,ol{padding-left:1.5rem;margin:.75rem 0}
li{margin:.35rem 0}
p{margin:.75rem 0}

/* ─── Layout ─── */
.wqp-container{max-width:1160px;margin:0 auto;padding:0 1.25rem}
.wqp-section{padding:4rem 0}
.wqp-section--alt{background:#d0e8f8}
.wqp-section--dark{background:#050f1c;color:#fff}
.wqp-section--dark h2,.wqp-section--dark h3{color:#fff}
.wqp-section--dark p{color:rgba(255,255,255,.85)}
.wqp-section--dark a{color:#1a9cd8}

/* ─── Nav ─── */
.wqp-nav{position:sticky;top:0;z-index:100;background:#050f1c;box-shadow:0 2px 12px rgba(0,0,0,.25)}
.wqp-nav-inner{max-width:1160px;margin:0 auto;padding:0 1.25rem;display:flex;align-items:center;justify-content:space-between;height:64px}
.wqp-logo{display:flex;align-items:center;gap:.6rem;font-family:'Exo 2',sans-serif;font-size:1.25rem;font-weight:900;color:#fff}
.wqp-logo-icon{font-size:1.6rem}
.wqp-logo span{color:#1a9cd8}
.wqp-nav-links{display:flex;align-items:center;gap:.25rem;list-style:none}
.wqp-nav-links a{color:rgba(255,255,255,.85);padding:.4rem .8rem;border-radius:6px;font-size:.95rem;font-weight:600;transition:all .2s}
.wqp-nav-links a:hover,.wqp-nav-links a.active{background:#0d3b5e;color:#fff;text-decoration:none}
.wqp-nav-links .wqp-nav-cta{background:#f4a261;color:#fff;border-radius:6px;padding:.4rem .9rem}
.wqp-nav-links .wqp-nav-cta:hover{background:#0d3b5e}
.wqp-age-badge{background:#f4a261;color:#fff;font-size:.75rem;font-weight:800;padding:.15rem .45rem;border-radius:4px}
.wqp-hamburger{display:none;background:none;border:none;cursor:pointer;padding:.5rem;flex-direction:column;gap:5px}
.wqp-hamburger span{display:block;width:24px;height:2px;background:#fff;border-radius:2px;transition:.3s}

/* ─── Free Notice Bar ─── */
.wqp-notice{background:#0d3b5e;color:#fff;text-align:center;font-size:.82rem;font-weight:600;padding:.5rem 1rem;letter-spacing:.02em}
.wqp-notice a{color:#f4a261;font-weight:700}

/* ─── Hero ─── */
.wqp-hero{background:linear-gradient(135deg,#050f1c 0%,#081f35 50%,#0d3b5e 100%);color:#fff;text-align:center;padding:5.5rem 1.25rem 6rem;position:relative;overflow:hidden}
.wqp-hero::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 70% 30%,#1a9cd822 0%,transparent 60%);pointer-events:none}
.wqp-hero-badge{display:inline-block;background:#f4a261;color:#fff;font-size:.8rem;font-weight:800;padding:.3rem .9rem;border-radius:20px;letter-spacing:.05em;text-transform:uppercase;margin-bottom:1.25rem}
.wqp-hero h1{font-size:clamp(2rem,5vw,3.4rem);font-weight:900;max-width:760px;margin:0 auto .75rem;text-shadow:0 2px 20px rgba(0,0,0,.3)}
.wqp-hero h1 span{color:#1a9cd8}
.wqp-hero p{font-size:1.15rem;opacity:.9;max-width:620px;margin:0 auto 2rem}
.wqp-hero-btns{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}
.wqp-hero-wave{position:absolute;bottom:-1px;left:0;width:100%;height:60px}

/* ─── Buttons ─── */
.wqp-btn{display:inline-block;padding:.75rem 1.8rem;border-radius:8px;font-weight:700;font-size:1rem;cursor:pointer;border:2px solid transparent;transition:all .2s;text-align:center}
.wqp-btn--primary{background:#f4a261;color:#fff;border-color:#f4a261}
.wqp-btn--primary:hover{background:transparent;color:#f4a261;text-decoration:none}
.wqp-btn--outline{background:transparent;color:#fff;border-color:rgba(255,255,255,.6)}
.wqp-btn--outline:hover{background:#fff;color:#0d3b5e;border-color:#fff;text-decoration:none}
.wqp-btn--solid{background:#0d3b5e;color:#fff;border-color:#0d3b5e}
.wqp-btn--solid:hover{background:#081f35;border-color:#081f35;text-decoration:none}

/* ─── Stats Bar ─── */
.wqp-stats{background:#0d3b5e;color:#fff;padding:1.5rem 0}
.wqp-stats-inner{max-width:1160px;margin:0 auto;padding:0 1.25rem;display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;text-align:center}
.wqp-stat-num{font-size:2rem;font-weight:900;font-family:'Exo 2',sans-serif}
.wqp-stat-label{font-size:.8rem;opacity:.85;text-transform:uppercase;letter-spacing:.05em}

/* ─── Section Header ─── */
.wqp-section-title{font-size:clamp(1.6rem,3.5vw,2.4rem);font-weight:900;margin-bottom:.5rem;color:#050f1c}
.wqp-section-sub{color:#3a5570;font-size:1.05rem;max-width:640px;margin-bottom:1.5rem}
.wqp-accent-line{width:56px;height:4px;background:#f4a261;border-radius:2px;margin:0 0 2.5rem}

/* ─── Game Cards Grid (on homepage/games.php) ─── */
.wqp-games-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem;margin-top:2rem}
.wqp-game-card{background:#fff;border-radius:16px;box-shadow:0 4px 24px rgba(0,0,0,.09);overflow:hidden;transition:transform .25s,box-shadow .25s;display:flex;flex-direction:column}
.wqp-game-card:hover{transform:translateY(-5px);box-shadow:0 12px 32px rgba(0,0,0,.14)}
.wqp-game-card-thumb{background:linear-gradient(135deg,#0d3b5e 0%,#1a9cd8 100%);height:140px;display:flex;align-items:center;justify-content:center;font-size:4rem}
.wqp-game-card-body{padding:1.5rem;flex:1;display:flex;flex-direction:column}
.wqp-game-card-body h3{font-size:1.25rem;font-weight:800;color:#050f1c;margin-bottom:.5rem}
.wqp-game-card-body p{color:#3a5570;font-size:.95rem;flex:1;margin-bottom:1rem}
.wqp-game-card-body .wqp-btn{align-self:flex-start}

/* ─── Features Grid ─── */
.wqp-features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.75rem;margin-top:2rem}
.wqp-feature{background:#fff;border-radius:14px;padding:1.75rem;box-shadow:0 2px 16px rgba(0,0,0,.07);border-top:4px solid #0d3b5e}
.wqp-feature-icon{font-size:2.2rem;margin-bottom:.75rem}
.wqp-feature h3{font-size:1.1rem;font-weight:800;color:#050f1c;margin-bottom:.5rem}
.wqp-feature p{color:#3a5570;font-size:.92rem;margin:0}

/* ─── How It Works ─── */
.wqp-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem;margin-top:2rem;counter-reset:step}
.wqp-step{text-align:center;padding:1.5rem;counter-increment:step}
.wqp-step-num{width:54px;height:54px;border-radius:50%;background:#0d3b5e;color:#fff;font-size:1.4rem;font-weight:900;display:flex;align-items:center;justify-content:center;margin:0 auto 1rem;font-family:'Exo 2',sans-serif}
.wqp-step h3{font-size:1.05rem;font-weight:800;color:#050f1c;margin-bottom:.4rem}
.wqp-step p{color:#3a5570;font-size:.9rem;margin:0}

/* ─── FAQ ─── */
.wqp-faq-list{max-width:760px;margin:2rem auto 0}
.wqp-faq-item{border-bottom:1px solid #e0e8f0;padding:1.1rem 0}
.wqp-faq-q{font-weight:700;font-size:1rem;color:#050f1c;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:.5rem}
.wqp-faq-q::after{content:'+';font-size:1.4rem;color:#0d3b5e;flex-shrink:0;transition:.2s}
.wqp-faq-item.open .wqp-faq-q::after{content:'−'}
.wqp-faq-a{color:#3a5570;font-size:.95rem;padding-top:.75rem;display:none}
.wqp-faq-item.open .wqp-faq-a{display:block}

/* ─── CTA Banner ─── */
.wqp-cta-banner{background:linear-gradient(135deg,#081f35 0%,#0d3b5e 100%);color:#fff;text-align:center;padding:4rem 1.25rem}
.wqp-cta-banner h2{font-size:clamp(1.6rem,3.5vw,2.4rem);margin-bottom:.75rem;color:#fff}
.wqp-cta-banner p{font-size:1.1rem;opacity:.9;max-width:600px;margin:0 auto 2rem}

/* ─── Trust badges ─── */
.wqp-trust{display:flex;flex-wrap:wrap;gap:1rem;justify-content:center;margin-top:2rem}
.wqp-trust-badge{display:flex;align-items:center;gap:.5rem;background:#fff;border-radius:8px;padding:.6rem 1.1rem;font-size:.88rem;font-weight:600;color:#050f1c;box-shadow:0 2px 8px rgba(0,0,0,.07)}
.wqp-trust-badge span{font-size:1.3rem}

/* ─── Responsible Box ─── */
.wqp-resp-box{background:#d0e8f8;border-left:4px solid #0d3b5e;border-radius:0 10px 10px 0;padding:1.25rem 1.5rem;margin:1.5rem 0}
.wqp-resp-box strong{color:#0d3b5e}

/* ─── Warn/Info box ─── */
.wqp-warn-box{background:#fff3cd;border-left:4px solid #ff9f1c;border-radius:0 8px 8px 0;padding:1rem 1.25rem;margin:1.5rem 0;font-size:.93rem}
.wqp-info-box{background:#d0e8f8;border-left:4px solid #0d3b5e;border-radius:0 8px 8px 0;padding:1rem 1.25rem;margin:1.5rem 0;font-size:.93rem}

/* ─── Game Page ─── */
.wqp-game-hero{background:linear-gradient(135deg,#050f1c 0%,#0d3b5e 100%);color:#fff;text-align:center;padding:3rem 1.25rem 3.5rem}
.wqp-game-hero h1{font-size:clamp(1.8rem,4vw,2.8rem);font-weight:900;margin-bottom:.5rem}
.wqp-game-hero h1 span{color:#f4a261}
.wqp-game-hero p{opacity:.9;max-width:560px;margin:.5rem auto 0;font-size:1.05rem}
.wqp-game-area{background:#d0e8f8;padding:2.5rem 0}
.wqp-game-board{max-width:480px;margin:0 auto;background:#fff;border-radius:16px;box-shadow:0 6px 32px rgba(0,0,0,.12);padding:2rem}
.wqp-other-games{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.5rem;margin-top:1.5rem}

/* ─── Slots ─── */
.wqp-slots-display{display:flex;gap:.75rem;justify-content:center;margin-bottom:1.25rem}
.wqp-reel{width:82px;height:82px;background:linear-gradient(135deg,#0d3b5e 0%,#1a9cd8 100%);border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:2.4rem;box-shadow:0 2px 12px rgba(0,0,0,.15)}
.wqp-slots-info{text-align:center;margin-bottom:1rem}
.wqp-coins-display{font-size:1.5rem;font-weight:900;color:#0d3b5e;font-family:'Exo 2',sans-serif}
.wqp-slots-msg{color:#3a5570;font-size:.95rem;min-height:1.4rem}
.wqp-spin-btn{width:100%;padding:.9rem;background:#f4a261;color:#fff;border:none;border-radius:10px;font-size:1.05rem;font-weight:800;cursor:pointer;margin-bottom:.75rem;transition:background .2s;font-family:'Exo 2',sans-serif}
.wqp-spin-btn:hover{background:#0d3b5e}
.wqp-spin-btn:disabled{opacity:.5;cursor:not-allowed}
.wqp-slots-legal{font-size:.75rem;color:#3a5570;text-align:center;margin-top:.5rem}

/* ─── Wheel ─── */
.wqp-wheel-wrap{position:relative;width:260px;height:260px;margin:0 auto 1.25rem}
.wqp-wheel-canvas{border-radius:50%;box-shadow:0 4px 24px rgba(0,0,0,.2)}
.wqp-wheel-pointer{position:absolute;top:-12px;left:50%;transform:translateX(-50%);font-size:1.8rem;filter:drop-shadow(0 2px 4px rgba(0,0,0,.3))}
.wqp-wheel-btn{width:100%;padding:.9rem;background:#f4a261;color:#fff;border:none;border-radius:10px;font-size:1.05rem;font-weight:800;cursor:pointer;margin-bottom:.75rem;transition:background .2s;font-family:'Exo 2',sans-serif}
.wqp-wheel-btn:hover{background:#0d3b5e}
.wqp-wheel-btn:disabled{opacity:.5;cursor:not-allowed}
.wqp-wheel-result{text-align:center;font-size:1.05rem;font-weight:700;color:#0d3b5e;min-height:1.5rem;margin-bottom:.5rem}
.wqp-wheel-legal{font-size:.75rem;color:#3a5570;text-align:center}

/* ─── Match ─── */
.wqp-match-board{display:grid;grid-template-columns:repeat(4,1fr);gap:.6rem;margin:0 auto 1rem;max-width:320px}
.wqp-match-card{aspect-ratio:1;background:#0d3b5e;border-radius:10px;cursor:pointer;font-size:1.8rem;display:flex;align-items:center;justify-content:center;transition:all .3s;box-shadow:0 2px 8px rgba(0,0,0,.12);user-select:none}
.wqp-match-card.flipped,.wqp-match-card.matched{background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.12);border:2px solid #0d3b5e}
.wqp-match-card.matched{border-color:#1a9cd8;background:#d0e8f8}
.wqp-match-card:not(.flipped):not(.matched) .wqp-card-inner{opacity:0}
.wqp-match-info{text-align:center;margin-bottom:.75rem}
.wqp-match-moves{font-size:1.2rem;font-weight:700;color:#0d3b5e;font-family:'Exo 2',sans-serif}
.wqp-match-msg{color:#3a5570;font-size:.9rem}
.wqp-match-reset{width:100%;padding:.9rem;background:#0d3b5e;color:#fff;border:none;border-radius:10px;font-size:1rem;font-weight:700;cursor:pointer;transition:background .2s;font-family:'Exo 2',sans-serif}
.wqp-match-reset:hover{background:#081f35}

/* ─── Prose / page content ─── */
.wqp-prose{max-width:760px;margin:0 auto}
.wqp-prose h2{font-size:1.7rem;font-weight:900;color:#050f1c;margin:2rem 0 .75rem}
.wqp-prose h3{font-size:1.2rem;font-weight:800;color:#0d3b5e;margin:1.5rem 0 .5rem}
.wqp-prose p{margin:.75rem 0;color:#0d2035}
.wqp-prose ul,.wqp-prose ol{margin:.75rem 0 .75rem 1.5rem}
.wqp-prose li{margin:.35rem 0}
.wqp-prose a{color:#0d3b5e;font-weight:600}

/* ─── Contact Form ─── */
.wqp-form{max-width:580px}
.wqp-form label{display:block;font-weight:600;color:#050f1c;margin-bottom:.35rem;font-size:.93rem}
.wqp-form input,.wqp-form textarea,.wqp-form select{width:100%;padding:.75rem 1rem;border:2px solid #dde5ee;border-radius:8px;font-size:.97rem;font-family:inherit;color:#0d2035;background:#fff;margin-bottom:1.25rem;transition:border-color .2s}
.wqp-form input:focus,.wqp-form textarea:focus{outline:none;border-color:#0d3b5e}
.wqp-form textarea{min-height:130px;resize:vertical}

/* ─── Footer ─── */
.wqp-footer{background:#050f1c;color:rgba(255,255,255,.75);padding:3rem 0 1.5rem}
.wqp-footer-inner{max-width:1160px;margin:0 auto;padding:0 1.25rem;display:grid;grid-template-columns:2fr 1fr 1fr;gap:2.5rem;margin-bottom:2.5rem}
.wqp-footer-brand .wqp-logo{font-size:1.1rem}
.wqp-footer-brand p{font-size:.88rem;margin-top:.75rem;opacity:.7;line-height:1.6}
.wqp-footer h4{font-size:.85rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:rgba(255,255,255,.5);margin-bottom:.75rem}
.wqp-footer ul{list-style:none}
.wqp-footer ul li{margin:.4rem 0}
.wqp-footer ul li a{color:rgba(255,255,255,.7);font-size:.88rem;transition:color .2s}
.wqp-footer ul li a:hover{color:#1a9cd8;text-decoration:none}
.wqp-footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding-top:1.25rem;display:flex;align-items:center;justify-content:space-between;flex-wrap:gap;gap:1rem;font-size:.8rem;max-width:1160px;margin:0 auto;padding-left:1.25rem;padding-right:1.25rem}
.wqp-footer-bottom .wqp-age{background:#f4a261;color:#fff;padding:.25rem .6rem;border-radius:4px;font-weight:700;font-size:.8rem}

/* ─── Page Header ─── */
.wqp-page-header{background:linear-gradient(135deg,#050f1c 0%,#0d3b5e 100%);color:#fff;padding:3rem 1.25rem;text-align:center}
.wqp-page-header h1{font-size:clamp(1.6rem,4vw,2.6rem);font-weight:900}
.wqp-page-header p{opacity:.9;max-width:560px;margin:.5rem auto 0}

/* ─── Responsive ─── */
@media(max-width:900px){
  .wqp-footer-inner{grid-template-columns:1fr 1fr}
  .wqp-stats-inner{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:640px){
  .wqp-nav-links{display:none;position:absolute;top:64px;left:0;right:0;background:#050f1c;flex-direction:column;padding:1rem;gap:.25rem}
  .wqp-nav-links.open{display:flex}
  .wqp-hamburger{display:flex}
  .wqp-footer-inner{grid-template-columns:1fr}
  .wqp-stats-inner{grid-template-columns:repeat(2,1fr)}
  .wqp-match-board{max-width:260px}
  .wqp-match-card{font-size:1.5rem}
  .wqp-wheel-wrap{width:220px;height:220px}
}