/* Casino Days Quebec — light purple theme, yellow + purple CTAs (replaces template theme) */
:root{
  --page:#ffffff;
  --soft:#f5f3fb;
  --panel:#ffffff;
  --edge:#e6e2f4;
  --edge-s:#efecf8;
  --ink:#251b40;
  --head:#382567;
  --muted:#6f6690;
  --brand:#382567;
  --brand2:#544bc9;
  --accent:#544bc9;
  --cta:#ffd346;
  --cta-d:#f0c02e;
  --purple-btn:#544bc9;
  --purple-btn-d:#443aa8;
}
html,body{background:#ffffff!important;color:#251b40!important}
main,.header,.footer,.section,.cdq-games,.cdq-faq,.cdq-signin{
  background:#ffffff!important;background-image:none!important;
}
.cdq-band,.cdq-voices{
  background:#f5f3fb!important;background-image:none!important;border-color:#e6e2f4!important;
}
/* HERO = purple gradient, white text */
.cdq-stage{
  background:linear-gradient(135deg,#544bc9 0%,#42329c 55%,#382567 100%)!important;
  background-image:linear-gradient(135deg,#544bc9 0%,#42329c 55%,#382567 100%)!important;
  border-bottom:1px solid #e6e2f4!important;color:#ffffff!important;
}
.cdq-stage h1,.cdq-stage-copy>p,.cdq-stage-copy small{color:#ffffff!important}
.cdq-stage .cdq-eyebrow{color:#ffd346!important}
.cdq-stage-side{background:transparent!important;background-image:none!important}
/* light content panels/cards */
.cdq-deal,.cdq-deal-art,.cdq-merit,.reviews-grid>article,.cdq-faq details,.cdq-signin-panel,
.cdq-post .form,.cdq-tile>a,.cdq-tile img,.cdq-gcard,.cdq-facts table,.cdq-facts td,.cdq-facts th{
  background:#ffffff!important;background-image:none!important;border-color:#e6e2f4!important;
}
.cdq-deal,.cdq-merit,.reviews-grid>article,.cdq-faq details,.cdq-signin-panel,.cdq-gcard,.cdq-tile>a{
  box-shadow:0 10px 26px rgba(56,37,103,.10)!important;
}
/* headings + body text */
body,.section h2,.section h3,.cdq-post h1,.cdq-post h2,.cdq-post h3,.cdq-faq summary,
.cdq-signin-copy,.cdq-signin-panel h2,.form label,.cdq-signin-form label,
.cdq-tile-name,.cdq-voice-head h3,.cdq-longform-head h2,.cdq-longform-body h2,.cdq-longform-body h3{
  color:#382567!important;
}
.cdq-lead,.cdq-intro,.cdq-longform-lead,.cdq-longform-body p,.cdq-deal-copy p,.cdq-merit p,
.reviews-grid>article>p,.cdq-faq details p,.cdq-signin-copy p,.cdq-signin-panel p,.cdq-post p,.cdq-center-head p{
  color:#4a4068!important;
}
/* purple accent for eyebrows, links, sub-headings, tile names */
.cdq-eyebrow,.cdq-deal-copy>span,.cdq-btag,.cdq-head>a,
.reviews-grid strong,.cdq-pay-name{
  color:#544bc9!important;
}
.cdq-facts th[scope=row]{color:#544bc9!important}
/* header */
.header{background:#ffffff!important;border-color:#e6e2f4!important;box-shadow:0 1px 0 #efecf8}
.header .nav.open{background:#ffffff!important}
.nav a{color:#382567!important;font-weight:700}
.nav a:hover{color:#544bc9!important}
.brand img{width:auto!important;height:33px!important;object-fit:contain}
.footer .brand img{width:auto!important;height:30px!important}
/* primary / play / hero CTA = yellow, dark text */
.header .actions .play-btn,.primary-btn,.cdq-deal-copy .primary-btn,.cdq-bcontent .btn,
.cdq-games-foot .primary-btn,.cdq-games-foot .btn,.cdq-signin-form .primary-btn,.form>.btn,
.cdq-cats li:first-child,.cdq-cats li:hover,.review-dot.active{
  background:#ffd346!important;background-image:none!important;border-color:#ffd346!important;
  color:#382567!important;filter:none!important;box-shadow:none!important;font-weight:800!important;
}
.header .actions .play-btn:hover,.primary-btn:hover,.cdq-deal-copy .primary-btn:hover,
.form>.btn:hover,.primary-btn:focus-visible,.header .actions .play-btn:focus-visible{
  background:#f0c02e!important;border-color:#f0c02e!important;color:#382567!important;
}
/* hero Join Now CTA must be yellow (beat the core stage-cta rule on equal specificity) */
.cdq-stage-cta .primary-btn{background:#ffd346!important;background-image:none!important;border-color:#ffd346!important;color:#382567!important;font-weight:800!important}
.cdq-stage-cta .primary-btn:hover{background:#f0c02e!important;border-color:#f0c02e!important;color:#382567!important}
.cdq-stage-cta .secondary-btn{background:transparent!important;border-color:rgba(255,255,255,.7)!important;color:#ffffff!important}
.cdq-stage-cta .secondary-btn:hover{background:rgba(255,255,255,.12)!important;border-color:#ffffff!important;color:#ffffff!important}
:focus-visible{outline:2px solid #544bc9!important;outline-offset:2px}
/* Log in / sign-in = purple, white text */
.header .actions .cdq-signin-btn,.cdq-social a{
  background:#544bc9!important;background-image:none!important;border-color:#544bc9!important;color:#ffffff!important;font-weight:700!important;
}
.header .actions .cdq-signin-btn:hover{background:#443aa8!important;border-color:#443aa8!important;color:#ffffff!important}
/* secondary = white with purple border */
.secondary-btn,.menu.btn.alt,.cdq-cats li{
  background:#ffffff!important;background-image:none!important;border-color:#cdc6ee!important;color:#382567!important;font-weight:700!important;
}
.secondary-btn:hover{background:#f5f3fb!important;border-color:#544bc9!important;color:#382567!important}
.lang{width:60px;height:38px!important;padding:0 8px!important;background:#ffffff!important;border:1px solid #cdc6ee!important;color:#382567!important;box-shadow:none!important}
.menu.btn.alt{color:#382567!important}
/* fleur / province */
.cdq-prov-badge{filter:none!important}
/* studios + payments tiles = dark purple so white/colour logos read on a light page */
.cdq-studios li{background:#2e2450!important;border:1px solid #2a2048!important;box-shadow:0 8px 20px rgba(56,37,103,.14)!important}
.cdq-pays li{background:#2e2450!important;border:1px solid #2a2048!important}
.cdq-studios li{flex-direction:column;gap:10px;text-align:center}
.cdq-studios li span{display:block;width:100%;color:#ffffff!important;font-weight:800!important;font-size:.95rem;line-height:1.25}
.cdq-pays li span,.cdq-pay-name{color:#ffffff!important}
.cdq-studios img,.cdq-pays img,.cdq-merit img{filter:none!important}
.cdq-tile>a,.cdq-gcard{border-color:#e6e2f4!important}
.cdq-tile-play{background:#544bc9!important;color:#ffffff!important}
.cdq-voices-arrow,.review-dot{border-color:#cdc6ee!important;color:#544bc9!important;background:#ffffff!important}
.cdq-voice-head .cdq-avatar{background:#544bc9!important;color:#ffffff!important}
.cdq-faqgrid{align-items:start}
.cdq-faq details{align-self:start}
.cdq-geo iframe{border:1px solid #e6e2f4!important;background:#f5f3fb!important}
/* facts table */
.cdq-facts table{width:100%;border-collapse:collapse;background:#ffffff;color:#251b40}
.cdq-facts caption{padding:12px;color:#382567;font-weight:800;text-align:left}
.cdq-facts th,.cdq-facts td{padding:10px 12px;border:1px solid #e6e2f4;text-align:left;vertical-align:top}
/* registration figure */
.cdq-figure{margin:22px 0;border:1px solid #e6e2f4;border-radius:12px;overflow:hidden;background:#ffffff;box-shadow:0 10px 26px rgba(56,37,103,.12)}
.cdq-figure img{display:block;width:100%;height:auto}
.cdq-figure figcaption{padding:10px 14px;color:#6f6690;font-size:.9rem}
.cdq-signin-copy h1{font-size:clamp(1.85rem,3.2vw,2.9rem)!important;line-height:1.12!important;letter-spacing:-.025em!important;color:#382567!important}
.cdq-links{margin-top:34px}
.cdq-links a,.cdq-post a{color:#544bc9}
.cdq-post a:hover,.cdq-links a:hover{color:#382567}
/* FOOTER = deep purple, white text */
.footer,.footer.footer-home{background:#382567!important;background-image:none!important;color:#efeaf9!important}
.footer h2,.footer .cdq-eyebrow{color:#ffffff!important}
.footer .cdq-eyebrow{color:#ffd346!important}
.footer p,.cdq-foot-bottom,.footer .cdq-pay-name{color:#cfc7e8!important}
.footer strong,.footer b{color:#ffffff!important}
.footer a{color:#d7cff0!important}
.footer a:hover{color:#ffd346!important}
.cdq-paystrip{padding-bottom:52px;background:transparent!important;border-top:0!important;border-bottom:1px solid rgba(255,255,255,.14)!important}
.cdq-paystrip + .cdq-foot-grid{margin-top:52px}
.footer-home{padding-top:0!important;border-top:0!important}
.footer-home>.cdq-paystrip{border-top:0!important}
.cdq-paystrip h2{color:#ffffff}
.cdq-paystrip p{color:#cfc7e8!important}
.footer .cdq-pays li{background:#2e2450!important;border-color:#4a3d7e!important}
.cdq-foot-bottom{border-top:1px solid rgba(255,255,255,.14)}
.app-page .cdq-topact{display:flex;flex-wrap:wrap;gap:12px}
/* badges */
.cdq-badges{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:22px}
.cdq-badges>a{display:inline-flex;align-items:center;justify-content:center;width:112px;margin:0;background:transparent!important;border:0!important}
.cdq-badges img{display:block;object-fit:contain;background:transparent!important}
.cdq-social a{display:inline-flex!important;align-items:center;justify-content:center;width:42px;height:42px;margin:8px 8px 0 0!important;border-radius:8px}
.cdq-social img{width:20px;height:20px}
/* header robustness — long French labels never push buttons to a second line */
.header .row{flex-wrap:nowrap!important}
.header .actions{flex:0 0 auto!important;flex-wrap:nowrap!important}
.header .nav{flex-wrap:nowrap!important}
.nav a{white-space:nowrap}
.header .actions .btn{white-space:nowrap!important}
@media(min-width:701px){
  .cdq-stage-cta{flex-wrap:nowrap!important}
  .cdq-stage-cta .btn{white-space:nowrap!important;padding:0 18px!important}
}
@media(max-width:1200px){
  .header .nav:not(.open){display:none!important}
  .header .menu{display:inline-flex!important;margin-left:auto}
}
@media(max-width:700px){
  .brand img{height:29px!important;width:auto!important}
  .footer .brand img{height:27px!important;width:auto!important}
}
@media(max-width:560px){
  .cdq-signin-copy h1{font-size:clamp(1.7rem,8vw,2.25rem)!important}
  .header .lang{display:block!important;width:54px;height:36px!important}
  .header .actions{gap:6px}
  .header .actions .play-btn{padding:0 10px!important}
}
