:root {
  /* Beep Beep Brand Colors - Light Theme based on screenshot */
  --bg: #f4f6f9;
  --bg-2: #ffffff;
  --header: #ffffff;
  --panel: #ffffff;
  --panel-2: #f8f9fa;
  --line: #e0e4e8;
  --line-soft: #edf0f2;
  --text: #212529;
  --muted: #6c757d;
  --muted-2: #adb5bd;
  --yellow: #fcd535; /* Beep Beep Yellow */
  --yellow-hover: #ffdf5e;
  --red: #e52b20; /* Beep Beep Red */
  --black-btn: #272727; /* Dark button color */
  --header-height: 80px;
  --ticker-height: 38px;
  --shadow: 0 8px 24px rgba(0,0,0,.08);

  --font-main: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Arial Black", "Impact", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden; color: var(--text);
  background: var(--bg); font-family: var(--font-main);
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; border: 0; background: none; }
img { max-width: 100%; }

.qorlin-skip-link { position: absolute; left: -999px; top: 0; z-index: 2000; padding: 10px 16px; background: var(--yellow); color: #000; font-weight: 800; }
.qorlin-skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.qorlin-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1400; height: var(--header-height);
  display: flex; align-items: center; padding: 0 clamp(16px, 2vw, 30px);
  background: var(--header); border-bottom: 3px solid var(--black-btn);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.qorlin-header-row {
  width: 100%; max-width: 1560px; margin: 0 auto; display: flex;
  align-items: center; justify-content: space-between; gap: 20px;
}

.qorlin-menu-btn {
  display: none; width: 42px; height: 42px; place-items: center;
  border: 1px solid var(--line); border-radius: 8px; background: var(--panel); cursor: pointer;
}
.qorlin-menu-btn svg { width: 20px; height: 20px; stroke: var(--text); }

/* Beep Beep Logo Styling (CSS approximation of the Looney Tunes style) */
.qorlin-brand {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-decoration: none; padding: 10px;
}
.qorlin-brand-badge {
  position: absolute; width: 50px; height: 50px; background: radial-gradient(circle, #fff 20%, var(--red) 21%, var(--red) 40%, #fff 41%, #fff 60%, var(--red) 61%);
  border-radius: 50%; z-index: 0; top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.qorlin-brand-word {
  position: relative; z-index: 1; font-family: var(--font-display); font-size: 22px; line-height: 0.9;
  color: var(--yellow); text-transform: uppercase; text-align: center;
  text-shadow: -1px -1px 0 #b26800, 1px -1px 0 #b26800, -1px 1px 0 #b26800, 1px 1px 0 #b26800, 2px 3px 0 #b26800;
  transform: rotate(-2deg);
}

.qorlin-nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 24px); }
.qorlin-nav a { 
  color: var(--text); font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; transition: .2s ease; 
}
.qorlin-nav a:hover { color: var(--red); }

/* Header Auth Actions based on screenshot */
.qorlin-auth { display: flex; align-items: center; gap: 16px; }

.qorlin-quicklogin { display: flex; align-items: center; gap: 12px; }
.qorlin-field { position: relative; }
.qorlin-field-input {
  border: none; border-bottom: 1px solid #ccc; background: transparent;
  padding: 8px 4px; font-size: 13px; color: var(--text); width: 140px; outline: none;
}
.qorlin-field-input::placeholder { color: var(--muted); }
.qorlin-field-input:focus { border-bottom-color: var(--black-btn); }
.qorlin-field-eye { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; fill: var(--black-btn); cursor: pointer; }

.qorlin-btn-ink, .qorlin-btn-sun {
  height: 38px; padding: 0 20px; border-radius: 20px; font-size: 12px; font-weight: 800; 
  text-transform: uppercase; cursor: pointer; transition: .15s ease; border: none;
}
/* Black pill button with shadow */
.qorlin-btn-ink {
  background: var(--black-btn); color: #fff;
  box-shadow: 0 4px 0px rgba(0,0,0,0.4);
}
.qorlin-btn-ink:active { transform: translateY(4px); box-shadow: 0 0px 0px rgba(0,0,0,0.4); }

/* Yellow pill button with shadow */
.qorlin-btn-sun {
  background: var(--yellow); color: #000;
  box-shadow: 0 4px 0px #d4a700;
}
.qorlin-btn-sun:active { transform: translateY(4px); box-shadow: 0 0px 0px #d4a700; }

.qorlin-lang-chip { width: 24px; height: 16px; background: linear-gradient(to bottom, #fff 50%, #dc143c 50%); border: 1px solid #ccc; border-radius: 2px; cursor: pointer; }

.qorlin-nav-veil { display: none; position: fixed; inset: var(--header-height) 0 0 0; z-index: 1450; background: rgba(0,0,0,.5); }
.qorlin-nav-veil.qorlin-is-open { display: block; }

.qorlin-ticker {
  position: fixed; top: var(--header-height); left: 0; right: 0; z-index: 1300;
  height: 38px; display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--red); color: #fff; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
}
.qorlin-ticker a { text-decoration: underline; color: #fff; }

.qorlin-shell { min-height: 100vh; padding-top: calc(var(--header-height) + 38px); }

/* ---------- Hero ---------- */
.qorlin-hero {
  position: relative; padding: 60px 40px; border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #ffffff 0%, #f4f6f9 100%); overflow: hidden;
}
.qorlin-hero::after {
  content: ""; position: absolute; right: -5%; top: -10%; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(252, 213, 53, 0.15) 0%, transparent 70%); border-radius: 50%;
}
.qorlin-hero-grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; position: relative; z-index: 2; }
.qorlin-kicker { color: var(--red); font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; display: block; }
.qorlin-hero-copy h1 { font-family: var(--font-display); font-size: clamp(34px, 4vw, 56px); margin: 0 0 16px; color: var(--black-btn); line-height: 1.1; letter-spacing: -1px; text-transform: uppercase; }
.qorlin-hero-copy p { font-size: 16px; color: var(--muted); margin: 0 0 24px; max-width: 500px; line-height: 1.6; font-weight: 500; }

.qorlin-hero-actions { display: flex; gap: 16px; }
.qorlin-hero-chips { display: flex; gap: 8px; margin-top: 24px; }
.qorlin-hero-chips span { padding: 4px 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: 10px; font-weight: 800; color: var(--muted); text-transform: uppercase; }

.qorlin-offer-card {
  padding: 30px; border-radius: 16px; background: var(--panel); border: 2px solid var(--yellow);
  text-align: center; box-shadow: 0 12px 30px rgba(252, 213, 53, 0.2); position: relative;
}
.qorlin-offer-tag { display: inline-block; padding: 6px 12px; background: var(--red); color: #fff; border-radius: 20px; font-size: 12px; font-weight: 900; text-transform: uppercase; margin-bottom: 10px; }
.qorlin-offer-amount { font-family: var(--font-display); font-size: 52px; color: var(--black-btn); margin: 10px 0 5px; }
.qorlin-offer-amount small { color: var(--red); font-size: 28px; }
.qorlin-offer-sub { color: var(--muted); font-size: 14px; margin-bottom: 24px; font-weight: 600; }
.qorlin-offer-card .qorlin-btn-sun { height: 48px; font-size: 16px; width: 100%; }

/* ---------- Trust bar ---------- */
.qorlin-trust { border-bottom: 1px solid var(--line); background: var(--bg-2); }
.qorlin-trust-row { max-width: 1400px; margin: 0 auto; padding: 20px clamp(16px,4vw,40px); display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.qorlin-trust-item { display: flex; align-items: center; gap: 12px; }
.qorlin-trust-item svg { width: 28px; height: 28px; stroke: var(--red); flex: 0 0 auto; }
.qorlin-trust-item strong { display: block; font-size: 14px; font-weight: 800; color: var(--black-btn); }
.qorlin-trust-item span { display: block; font-size: 12px; color: var(--muted); }

/* ---------- Category filter ---------- */
.qorlin-filters {
  position: sticky; top: calc(var(--header-height) + 38px); z-index: 900;
  padding: 15px 0; background: rgba(255,255,255,0.95); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px);
}
.qorlin-filters-row { 
  display: flex; align-items: center; justify-content: flex-start; gap: 10px; overflow-x: auto; scrollbar-width: none;
  max-width: 1400px; margin: 0 auto; padding: 0 22px;
}
.qorlin-filters-row::-webkit-scrollbar { display: none; }
.qorlin-filter-btn {
  height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 20px;
  border: 2px solid var(--line); border-radius: 21px; background: var(--panel);
  color: var(--muted); font-size: 13px; font-weight: 800; text-transform: uppercase; cursor: pointer; white-space: nowrap; transition: .2s ease;
}
.qorlin-filter-btn:hover, .qorlin-filter-btn.qorlin-is-active { color: var(--black-btn); border-color: var(--yellow); background: var(--yellow); }

.qorlin-content { max-width: 1400px; margin: 0 auto; padding: 20px 22px 80px; }

.qorlin-section-head { min-height: 70px; display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid var(--line); margin-bottom: 24px; }
.qorlin-section-head h2 { margin: 0; color: var(--black-btn); font-family: var(--font-display); font-size: 24px; text-transform: uppercase; }
.qorlin-see-all { color: var(--red); font-size: 13px; font-weight: 900; text-transform: uppercase; text-decoration: underline; }

/* ---------- Game Grids (tile grid) ---------- */
.qorlin-tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.qorlin-tile {
  position: relative; display: flex; flex-direction: column; border-radius: 12px; overflow: hidden;
  background: var(--panel); border: 1px solid var(--line); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.qorlin-tile:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); border-color: var(--yellow); }
.qorlin-tile-art { position: relative; aspect-ratio: 3/4; display: flex; align-items: center; justify-content: center; background: #eef1f5; }
.qorlin-tile-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.qorlin-tile-num { position: relative; z-index: 2; font-family: var(--font-display); font-size: 40px; color: rgba(0,0,0,0.1); }
.qorlin-tile-flag {
  position: absolute; top: 10px; left: 10px; z-index: 2; padding: 4px 10px; border-radius: 20px;
  font-size: 10px; font-weight: 900; text-transform: uppercase;
}
.qorlin-flag-hot { background: var(--red); color: #fff; }
.qorlin-flag-new { background: var(--yellow); color: #000; }
.qorlin-tile-cta {
  position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.85); opacity: 0; transition: opacity 0.2s; color: var(--black-btn); font-weight: 900; font-size: 14px; text-transform: uppercase;
}
.qorlin-tile:hover .qorlin-tile-cta { opacity: 1; }

/* ---------- Promotions ---------- */
.qorlin-promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 10px 0; }
.qorlin-promo-card { padding: 30px; border: 2px solid var(--line); border-radius: 16px; background: var(--panel); text-align: center; }
.qorlin-promo-badge { display: inline-block; padding: 6px 12px; border-radius: 20px; background: var(--line-soft); color: var(--black-btn); font-size: 11px; font-weight: 900; text-transform: uppercase; margin-bottom: 16px; }
.qorlin-promo-card h3 { margin: 0 0 12px; font-family: var(--font-display); font-size: 22px; color: var(--black-btn); }
.qorlin-promo-card p { margin: 0 0 20px; color: var(--muted); font-size: 14px; line-height: 1.5; font-weight: 500; }

/* payment strip */
.qorlin-pay-strip { padding: 40px 0 20px; text-align: center; }
.qorlin-pay-strip h3 { margin: 0 0 20px; color: var(--muted); font-size: 13px; font-weight: 900; text-transform: uppercase; }
.qorlin-pay-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.qorlin-pay-pill { padding: 10px 20px; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); color: var(--text); font-size: 12px; font-weight: 800; box-shadow: 0 2px 5px rgba(0,0,0,0.02); }

/* ---------- Article ---------- */
.qorlin-article { max-width: 920px; margin: 40px auto 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.qorlin-article>section { margin-top: 40px; }
.qorlin-article h2 { margin: 0 0 16px; color: var(--black-btn); font-family: var(--font-display); font-size: 24px; border-bottom: 2px solid var(--line); padding-bottom: 10px; }
.qorlin-article h3 { margin: 24px 0 10px; color: var(--red); font-size: 18px; font-weight: 900; }
.qorlin-article p { margin: 0 0 16px; font-weight: 500; }
.qorlin-article a { color: var(--red); font-weight: 700; }
.qorlin-article ul, .qorlin-article ol { margin: 0 0 16px; padding-left: 20px; }
.qorlin-article li { margin: 6px 0; font-weight: 500; }

/* FAQ accordion */
.qorlin-faq { border-bottom: 1px solid var(--line); }
.qorlin-faq summary { cursor: pointer; padding: 18px 0; font-weight: 800; color: var(--black-btn); list-style: none; font-size: 16px; }
.qorlin-faq summary::-webkit-details-marker { display: none; }
.qorlin-faq p { margin: 0 0 18px; color: var(--muted); }

.qorlin-closing { max-width: 920px; margin: 60px auto 0; padding: 50px 40px; text-align: center; border: 2px solid var(--yellow); border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(252,213,53,0.15); }
.qorlin-closing h2 { border: 0; margin-bottom: 16px; font-family: var(--font-display); font-size: 32px; color: var(--black-btn); }
.qorlin-cta-row { display: flex; justify-content: center; gap: 16px; margin-top: 24px; }

.qorlin-footer { padding: 60px 22px 20px; border-top: 1px solid var(--line); background: var(--bg-2); color: var(--muted); }
.qorlin-footer-grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.qorlin-footer-col h4 { margin: 0 0 20px; color: var(--black-btn); font-size: 14px; font-weight: 900; text-transform: uppercase; }
.qorlin-footer-col p, .qorlin-footer-col a { font-size: 13px; line-height: 1.6; display: block; margin-bottom: 10px; font-weight: 500; }
.qorlin-footer-col a:hover { color: var(--red); }
.qorlin-footer-bottom { max-width: 1400px; margin: 0 auto; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; }

.qorlin-sticky-cta { display: none; }

@media(max-width: 1050px) {
  .qorlin-quicklogin { display: none; } /* Hide inline inputs on smaller screens for layout */
}

@media(max-width: 930px) {
  :root { --header-height: 70px; }
  .qorlin-header-row { justify-content: space-between; }
  .qorlin-nav { display: none; }
  .qorlin-menu-btn { display: grid; }
  .qorlin-trust-row { grid-template-columns: repeat(2, 1fr); }
  .qorlin-promo-grid { grid-template-columns: 1fr; }
  .qorlin-footer-grid { grid-template-columns: 1fr 1fr; }
  .qorlin-hero-grid { grid-template-columns: 1fr; }
  .qorlin-sticky-cta {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1600;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 10px rgba(0,0,0,0.05);
  }
  .qorlin-sticky-cta .qorlin-btn-sun { width: 100%; height: 44px; font-size: 14px; }
}

/* Long-form localized article additions */
.qorlin-table-wrap { width: 100%; overflow-x: auto; margin: 18px 0 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.qorlin-article table { width: 100%; border-collapse: collapse; min-width: 620px; }
.qorlin-article th, .qorlin-article td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.qorlin-article th { color: var(--text); background: var(--panel-2); font-size: 13px; font-weight: 900; }
.qorlin-article tbody tr:last-child td { border-bottom: 0; }
.qorlin-article code { padding: 2px 6px; border: 1px solid var(--line); border-radius: 5px; background: var(--panel-2); color: var(--text); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em; }
.qorlin-article .qorlin-faq p { margin: 12px 0 0; }
@media (max-width: 700px) { .qorlin-article th, .qorlin-article td { padding: 10px 12px; } }

/* ---------- Mobile nav slide-in panel ---------- */
@media(max-width: 930px) {
  .qorlin-nav {
    position: fixed; top: var(--header-height); left: 0; z-index: 1500;
    width: min(280px, 82vw); height: calc(100vh - var(--header-height));
    flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0;
    padding: 20px; background: #fff; border-right: 1px solid var(--line);
    transform: translateX(-105%); transition: transform .22s ease;
    box-shadow: 12px 0 30px rgba(0,0,0,.12); overflow-y: auto;
  }
  .qorlin-nav.qorlin-is-open { display: flex; transform: translateX(0); }
  .qorlin-nav a { width: 100%; padding: 14px 4px; border-bottom: 1px solid var(--line-soft); }
}

/* ---------- Accessible focus states ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid var(--red); outline-offset: 2px;
}

/* ---------- Inner-page hero / breadcrumb (login / app / contact) ---------- */
.qorlin-crumbs { max-width: 920px; margin: 18px auto 0; font-size: 12px; color: var(--muted); }
.qorlin-crumbs a { color: var(--muted); text-decoration: underline; }
.qorlin-crumbs a:hover { color: var(--red); }
.qorlin-crumbs span[aria-hidden] { margin: 0 6px; }

.qorlin-page-hero { max-width: 920px; margin: 0 auto; padding: 34px 0 6px; }
.qorlin-page-hero h1 { margin: 0 0 14px; font-family: var(--font-display); color: var(--black-btn); font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; letter-spacing: -1px; text-transform: uppercase; }
.qorlin-page-lead { margin: 0; max-width: 640px; color: var(--muted); font-size: 16px; line-height: 1.7; font-weight: 500; }
.qorlin-page-hero .qorlin-cta-row { justify-content: flex-start; margin-top: 22px; }

/* ---------- Numbered steps ---------- */
ol.qorlin-steps { counter-reset: qorlin-step; list-style: none; padding-left: 0; margin: 6px 0 16px; }
ol.qorlin-steps li { position: relative; padding: 5px 0 5px 42px; margin: 8px 0; font-weight: 500; }
ol.qorlin-steps li::before {
  counter-increment: qorlin-step; content: counter(qorlin-step); position: absolute; left: 0; top: 2px;
  width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%;
  background: var(--yellow); color: #000; font-weight: 900; font-size: 12px;
}

/* ---------- Notice card (security / do-not-share warnings) ---------- */
.qorlin-notice { margin: 14px 0 18px; padding: 16px 20px 4px; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 10px; background: var(--panel-2); }
.qorlin-notice h3 { margin-top: 0; }

/* CTA buttons used as plain anchors on inner pages */
a.qorlin-btn-ink, a.qorlin-btn-sun { display: inline-flex; align-items: center; justify-content: center; }
