
/* Independent site adjustments for the cleaned, static frontend. */
:root{color-scheme:dark;--font-sarabun:Tahoma,Arial,sans-serif}
html{scroll-behavior:smooth;scroll-padding-top:6rem}
body{min-width:320px}
a,button,summary{touch-action:manipulation}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #ffdb55;outline-offset:3px;border-radius:.3rem}
a,button{transition:color .18s,transform .18s,opacity .18s,background-color .18s,filter .18s}
a:active,button:active{transform:scale(.975)}
[aria-current="page"]{color:#ffd95b!important;text-decoration:underline;text-underline-offset:5px}
.notice{border-color:#eebd52;background:linear-gradient(120deg,#452024,#281114)}
.notice strong{color:#ffda77}
img{max-width:100%;height:auto}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* qpluslotto brand lockup — no modifications to the base theme. */
.brand-logo-header{display:block;width:158px;max-width:100%;height:auto;max-height:54px;object-fit:contain}
.brand-logo-footer{display:block;width:210px;max-width:100%;height:auto;object-fit:contain}
@media(max-width:639px){.brand-logo-header{width:108px}.brand-logo-footer{width:182px}}


/* ==============================================================
   QPLUSLOTTO PURPLE & GOLD THEME V1
   Scope: COLORS ONLY. Keep every route, layout, logo, image, JS,
   gold CTA, responsive rule and original decorative pattern.
   Applied AFTER theme.css via the already-existing site.css.
   ============================================================= */

/* Shared source colors for all 12 static routes. */
:root {
  --background: #190c2e;
  --surface: #2a1648;
  --foreground: #f6efff;
  --brand: #55229e;
  --brand-dark: #330e65;
  --brand-deep: #21113b;
  /* Gold remains exactly as defined in theme.css. */
}

/* Header, hero and red-pattern sections retain original SVG motif. */
.brand-pattern { background-color: #24113d; background-image: linear-gradient(135deg, rgba(255,255,255,.035), transparent 48%, rgba(0,0,0,.06)); }

/* Content panels and highlighted boxes: red-brown to deep violet. */
.panel {
  background: linear-gradient(180deg, #39205d 0%, #25133f 100%);
  border-color: rgba(252,194,1,.22);
}
.plaque {
  background:
    radial-gradient(120% 90% at 50% 0, rgba(252,194,1,.11) 0%, transparent 55%),
    linear-gradient(180deg, #402365 0%, #261440 100%);
  border-color: rgba(252,194,1,.55);
  box-shadow: inset 0 0 0 3px rgba(25,12,46,.92),
              inset 0 0 0 4px rgba(252,194,1,.32),
              0 4px 16px rgba(0,0,0,.40);
}

/* Fixed/mobile dock; gold active-state and icons remain untouched. */
.quick-dock {
  background:
    radial-gradient(90% 140% at 50% -30%, rgba(252,194,1,.16) 0%, transparent 45%),
    linear-gradient(180deg, rgba(55,29,89,.985) 0%, rgba(24,10,46,.99) 100%);
}

/* Existing notice component in site.css, without changing its markup. */
.notice {
  border-color: #c49bff;
  background: linear-gradient(120deg, #3b205e, #211139);
}
.notice strong { color: #ffda77; }

/* Tailwind bracket utilities saved in the original HTML snapshots.
   These specific class-token overrides recolor only existing red tones;
   black overlays, white icon chips and gold remain as originally set. */
[class~="bg-[#200d0f]"] { background-color: #24113d; }
[class~="bg-[#1e0c0e]"] { background-color: #1b0d30; }
[class~="bg-[#220d10]/95"] { background-color: rgba(30,13,54,.95); }
[class~="bg-[#4a191e]"] { background-color: #442475; }

/* Background gradient stops for the sticky mobile navigation and cards. */
[class~="from-[#160709]"] { --tw-gradient-from: #140921; }
[class~="via-[#160709]/88"] { --tw-gradient-via: rgba(20,9,33,.88); }
[class~="from-[#3b151a]"] { --tw-gradient-from: #3b205c; }
[class~="to-[#2a0f13]"] { --tw-gradient-to: #21113d; }
[class~="ring-[#220d10]"] { --tw-ring-color: #23113b; }

/* Purple shadow for the single legacy red-glow utility. */
[class~="shadow-[0_4px_20px_rgba(183,28,28,0.45)]"] {
  box-shadow: 0 4px 20px rgba(91,42,155,.45);
}

/* QPLUS_BACKGROUND_BALANCE_V2
   Body background only. Existing brand components remain unchanged.
*/
body {
    background-color: #190c2e;
    background-image:
        radial-gradient(
            ellipse at 50% 0%,
            rgba(85, 34, 158, 0.20) 0%,
            transparent 48%
        ),
        radial-gradient(
            ellipse at 0% 55%,
            rgba(85, 34, 158, 0.10) 0%,
            transparent 45%
        ),
        linear-gradient(
            180deg,
            #190c2e 0%,
            #21113b 50%,
            #190c2e 100%
        );
    background-attachment: fixed;
}

/* QPLUSLOTTO_PINK_RULED_BG_V2_MAIN
   Header and Hero retain their original .brand-pattern rules.
*/
body {
  background-color: #FBF3F8;
  background-image: repeating-linear-gradient(
    to bottom,
    #FBF3F8 0px,
    #FBF3F8 23px,
    #E8CADF 23px,
    #E8CADF 24px,
    #FBF3F8 24px,
    #FBF3F8 28px
  );
  background-size: 100% 28px;
  background-position: 0 0;
  background-repeat: repeat;
  background-attachment: scroll;
}
