/* DUBBY Partner Toolkit — site styles. Website by Neowork Studios Inc. */
@font-face { font-family: 'DubbyCode'; src: url('../overlays/_lib/fonts/Montserrat-BlackItalic.otf') format('opentype'); font-weight: 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'UI'; src: url('../overlays/_lib/fonts/Montserrat-SemiBold.otf') format('opentype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'UI'; src: url('../overlays/_lib/fonts/Montserrat-Bold.otf') format('opentype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'UI'; src: url('../overlays/_lib/fonts/Montserrat-ExtraBold.otf') format('opentype'); font-weight: 800; font-display: swap; }

:root {
  --y: #FFF500; --ink: #0B0B0E; --card: #15151B; --card2: #1C1C24; --line: rgba(255,255,255,.09);
  --txt: #F4F4F7; --sub: #A8A8B6; --mut: #70707E; --crimson: #920A2D; --violet: #392AD5; --lime: #7ED321;
  --r: 22px; --max: 1240px;
}
* { box-sizing: border-box; }
html { background: var(--ink); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--txt); font: 600 16px/1.65 UI, system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background: radial-gradient(1100px 760px at -8% -12%, rgba(146,10,45,.40), transparent 60%), radial-gradient(1000px 900px at 112% 4%, rgba(57,42,213,.28), transparent 62%), var(--ink); }
img { max-width: 100%; }
a { color: var(--y); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
b, strong { color: #fff; font-weight: 800; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.ph { display: block; overflow: visible; fill: currentColor; max-width: 100%; height: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--y); outline-offset: 3px; border-radius: 8px; }

/* credit bar — who made this site */
.credit-bar { background: #050507; border-bottom: 1px solid var(--line); color: var(--sub); font: 700 12.5px/1.4 UI; text-align: center; padding: 9px 16px; }
.credit-bar b { color: #fff; } .credit-bar a { color: var(--y); }

/* nav */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(11,11,14,.82); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 22px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand .s { width: 42px; height: 42px; border-radius: 50%; background: #fff; padding: 2.5px; flex: none; }
.brand .w { height: 28px; width: auto; }
.brand .tag { font: 800 10.5px UI; letter-spacing: .18em; text-transform: uppercase; color: var(--y); border-left: 1px solid var(--line); padding-left: 12px; margin-left: 2px; }
.nav .links { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav .links a { color: var(--sub); text-decoration: none; font: 800 12px UI; letter-spacing: .13em; text-transform: uppercase; }
.nav .links a:hover, .nav .links a[aria-current] { color: #fff; }
.nav .menu { display: none; margin-left: auto; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
@media (max-width: 860px) {
  .nav .menu { display: block; }
  .nav .links { display: none; position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; align-items: stretch; gap: 0; background: #0E0E13; border-bottom: 1px solid var(--line); padding: 8px 20px 18px; }
  .nav .links.open { display: flex; } .nav .links a { padding: 14px 4px; border-bottom: 1px solid var(--line); } .nav .links .btn { margin-top: 12px; justify-content: center; }
  .brand .tag { display: none; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 0; cursor: pointer; font: 800 13px/1 UI; letter-spacing: .05em; text-transform: uppercase; border-radius: 999px; padding: 16px 24px; background: var(--y); color: var(--ink) !important; text-decoration: none; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 26px -10px rgba(255,245,0,.7); }
.btn.ghost { background: transparent; color: var(--txt) !important; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.24); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--y); color: var(--y) !important; }
.btn.sm { padding: 10px 14px; font-size: 11.5px; }
.btn:disabled { opacity: .35; cursor: not-allowed; transform: none; box-shadow: none; }

/* sections */
section { padding: 88px 0 0; }
.eyebrow { display: block; color: var(--y); margin-bottom: 18px; }
.lead { font-size: 18.5px; color: var(--sub); max-width: 640px; margin: 22px 0 0; }
.head { margin-bottom: 34px; } .head p { color: var(--sub); max-width: 720px; margin: 14px 0 0; font-size: 17px; }
.card { background: linear-gradient(180deg, var(--card2), var(--card)); border: 1px solid var(--line); border-radius: var(--r); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; } .grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: 1fr 1fr; } } @media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } section { padding-top: 64px; } .wrap { padding: 0 16px; } }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; background: rgba(255,245,0,.12); color: var(--y); font: 800 11px UI; letter-spacing: .08em; }
code { background: rgba(255,255,255,.08); padding: 2px 7px; border-radius: 6px; font: 700 .86em ui-monospace, Menlo, monospace; color: #fff; }
pre { margin: 0; white-space: pre-wrap; word-break: break-word; background: #0E0E13; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font: 700 13.5px/1.55 ui-monospace, Menlo, monospace; color: #E8E8EE; }

/* live stream stage (1920×1080 space scaled to its box) */
.stage-16x9 { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #111; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 40px 80px -30px rgba(0,0,0,.8); }
.stage-16x9 .space { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; transform-origin: 0 0; }
.stage-16x9 iframe { position: absolute; border: 0; background: transparent; overflow: hidden; }
.stage-16x9 .live { position: absolute; left: 18px; top: 18px; z-index: 2; display: flex; align-items: center; gap: 8px; background: rgba(10,10,13,.8); border-radius: 999px; padding: 7px 12px; font: 800 11px UI; letter-spacing: .14em; color: #fff; }
.stage-16x9 .live i { width: 8px; height: 8px; border-radius: 50%; background: #FF3B4E; box-shadow: 0 0 0 0 rgba(255,59,78,.6); animation: pulse 1.6s infinite; }
@keyframes pulse { 70%, 100% { box-shadow: 0 0 0 10px rgba(255,59,78,0); } }

footer.site { margin-top: 110px; border-top: 1px solid var(--line); background: #070709; }
footer.site .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; padding-top: 44px; padding-bottom: 44px; }
footer.site p { color: var(--sub); font-size: 14px; margin: 10px 0 0; max-width: 620px; }
footer.site .made { font: 800 12px UI; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }
footer.site .made b { color: #fff; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 10px 22px; align-content: start; justify-content: flex-end; }
footer.site nav a { color: var(--sub); text-decoration: none; font: 800 12px UI; letter-spacing: .12em; text-transform: uppercase; }
footer.site nav a:hover { color: #fff; }
@media (max-width: 760px) { footer.site .wrap { grid-template-columns: 1fr; } footer.site nav { justify-content: flex-start; } }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(30px); opacity: 0; background: var(--y); color: var(--ink); font: 800 13px UI; padding: 12px 18px; border-radius: 999px; transition: .25s; pointer-events: none; z-index: 50; }
.toast.on { opacity: 1; transform: translateX(-50%); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .toast { transition: none; } }
