/* Portugal Casino Vault Visual System: unique qxz-* prefix only
   Fonts: Unbounded (display), Manrope (text)
   GEO: PT */

/* Base Reset */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
}
img {
  border-style: none;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  -webkit-user-drag: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
/* Reset UA quirks for form elements */
input,
textarea,
button {
  box-sizing: border-box;
  background: none;
  border: none;
  outline: none;
}
input,
textarea {
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--dv-border);
  background: var(--dv-surface);
  color: var(--dv-text);
  border-radius: 10px;
  padding: 0.9rem 1rem;
}
textarea {
  resize: none; /* prevent UA resize */
}
.qxz-input--error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.15);
}
.qxz-error {
  color: #ef4444;
  font-size: 0.875rem;
  min-height: 1.1rem;
}
label {
  display: block;
}
button.qxz-button {
  border: 0;
}
[hidden] {
  display: none;
}

:root {
  --dv-bg: #0b0f1a;
  --dv-surface: #111827;
  --dv-surface-2: #0f172a;
  --dv-primary: #7c3aed;
  --dv-primary-900: #4c1d95;
  --dv-primary-300: #a78bfa;
  --dv-accent: #22d3ee;
  --dv-text: #f8fafc;
  --dv-text-dim: #cbd5e1;
  --dv-border: #253047;
  --dv-success: #10b981;
  --dv-warning: #f59e0b;
  --dv-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 2px 6px rgba(0, 0, 0, 0.35);
  --dv-radius: 14px;
  --dv-radius-sm: 10px;
  --dv-transition: 200ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* Scrollbar */
html::-webkit-scrollbar {
  width: 10px;
  background: var(--dv-surface-2);
}
html::-webkit-scrollbar-thumb {
  background: var(--dv-primary);
  border-radius: 10px;
}

/* Typography and body */
.qxz-body {
  background: radial-gradient(
      1200px 600px at 110% -10%,
      rgba(124, 58, 237, 0.25),
      transparent 60%
    ),
    radial-gradient(
      800px 500px at -10% 110%,
      rgba(34, 211, 238, 0.18),
      transparent 50%
    ),
    var(--dv-bg);
  color: var(--dv-text);
  font-family: Manrope, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu,
    Cantarell, Noto Sans, Helvetica, Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.qxz-title-xl {
  font-family: Unbounded, system-ui, sans-serif;
  font-size: clamp(1.75rem, 2.2vw + 1rem, 3.25rem);
  line-height: 1.1;
  margin: 0 0 0.6rem;
  letter-spacing: 0.2px;
}
.qxz-title-md {
  font-family: Unbounded, system-ui, sans-serif;
  font-size: clamp(1.25rem, 0.7vw + 1rem, 2rem);
  margin: 0;
}
.qxz-lead {
  color: var(--dv-text-dim);
  margin: 0.75rem 0 0.75rem;
  font-size: clamp(0.95rem, 0.4vw + 0.8rem, 1.125rem);
}
.qxz-text {
  color: var(--dv-text-dim);
  font-size: 0.975rem;
  line-height: 1.65;
}
.qxz-note {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dv-text-dim);
}

/* Links */
.qxz-body a {
  color: var(--dv-accent);
  text-decoration: none;
  text-underline-offset: 3px;
  transition: color var(--dv-transition),
    text-decoration-color var(--dv-transition), box-shadow var(--dv-transition);
}
.qxz-body a:hover {
  color: var(--dv-primary-300);
  text-decoration: underline;
}
.qxz-body a:focus-visible {
  outline: 2px solid var(--dv-accent);
  outline-offset: 2px;
  border-radius: 6px;
}
.qxz-body a:active {
  color: var(--dv-primary);
}
.qxz-body a[href^="http"]::after {
  /* optional external link indicator disabled by default */
  content: "";
}

/* Layout helpers */
.qxz-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3%, 2rem);
}
.qxz-flex {
  display: flex;
}
.qxz-grid {
  display: grid;
}
.qxz-ai-center {
  align-items: center;
}
.qxz-jc-center {
  justify-content: center;
}

/* Header */
.qxz-header {
  position: absolute;
  inset: 0 auto auto 0;
  height: 96px;
  width: 100%;
  z-index: 10;
}
.qxz-header__inner {
  gap: 1.5rem;
  justify-content: center;
  padding-top: 1rem;
}
.qxz-brand__logo {
  max-height: 70px;
  width: auto;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.25));
  transition: transform var(--dv-transition);
}
.qxz-brand__logo:hover {
  transform: translateY(-2px) scale(1.02);
}
@media (min-width: 768px) {
  .qxz-header__inner {
    justify-content: center;
    padding-top: 1.75rem;
  }
  .qxz-brand__logo {
    max-height: 80px;
  }
}

/* Hero */
.qxz-hero {
  overflow: clip;
  position: relative;
}

.qxz-hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 60%;
  background: radial-gradient(
    closest-side,
    rgba(167, 139, 250, 0.18),
    transparent
  );
  filter: blur(20px);
  pointer-events: none;
}
.qxz-hero__grid {
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 3vw, 2rem);
  position: relative;
  align-items: center;
}
.qxz-hero__copy {
  z-index: 1;
}
.qxz-hero__visual {
  z-index: 0;
  align-self: end;
  margin-right: 15px;
}
.qxz-hero__visual img {
  width: 100%;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  border-top: 1px solid var(--dv-border);
  border-left: 1px solid var(--dv-border);
  border-right: 1px solid var(--dv-border);
}

.qxz-compare__head {
  display: none;
}
.qxz-compare__list {
  gap: 1rem;
}

.qxz-compare__row {
  background: linear-gradient(
    180deg,
    rgba(17, 24, 39, 0.96),
    rgba(17, 24, 39, 0.92)
  );
  border: 1px solid var(--dv-border);
  border-radius: var(--dv-radius);
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(4, auto);
  overflow: clip;
  padding-bottom: 0.5rem;
  position: relative;
  box-shadow: var(--dv-shadow);
}
.qxz-compare__row:nth-of-type(2) {
  border-color: var(--dv-primary);
  box-shadow: 0 12px 36px rgba(124, 58, 237, 0.25), var(--dv-shadow);
}

.qxz-compare__row > div {
  padding: 0.75rem 1rem;
}

.qxz-badge {
  background: linear-gradient(
    90deg,
    var(--dv-primary) 0%,
    var(--dv-accent) 100%
  );
  color: #000;
  font-weight: 800;
  grid-area: 1/1/2/3;
  padding: 0.6rem 1rem !important;
  width: fit-content;
  border-bottom-right-radius: 18px;
}
.qxz-badge__index {
  background: #000;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-right: 0.6rem;
  font-size: 0.9rem;
}
.qxz-badge__text {
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.qxz-logo {
  align-self: center;
  grid-area: 2/1/4/2;
  position: relative;
}
.qxz-logo img {
  margin: 0 auto;
  max-width: 360px;
  width: 100%;
  object-fit: contain;
  border-radius: 10px;
}
.qxz-logo::after {
  content: "";
  position: absolute;
  right: -0.5rem;
  top: 5%;
  width: 1px;
  height: 90%;
  background: linear-gradient(
    180deg,
    transparent,
    var(--dv-border),
    transparent
  );
}

.qxz-features {
  display: none;
  font-size: 0.85rem;
  line-height: 1.7;
}
.qxz-list {
  margin: 0;
  padding-left: 0;
}
.qxz-list li {
  list-style: none;
  position: relative;
  padding-left: 1.3rem;
  margin: 0.3rem 0;
  font-size: 0.75rem;
}
.qxz-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 4px;
  background: conic-gradient(from 45deg, var(--dv-primary), var(--dv-accent));
  box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.15);
}

.qxz-expert,
.qxz-users {
  flex-direction: column;
  gap: 0.6rem;
  text-align: center;
  font-weight: 800;
}
.qxz-score {
  font-size: 24px;
  line-height: 1;
  margin: 0;
}
.qxz-stars {
  color: var(--dv-warning);
  font-size: 20px;
  letter-spacing: 0.12em;
  text-shadow: 0 2px 6px rgba(245, 158, 11, 0.25);
}

.qxz-cta {
  grid-area: 4/1/5/3;
}
.qxz-button {
  --_bg: var(--dv-primary);
  --_bg2: var(--dv-accent);
  --_txt: #0b0f1a;
  display: block;
  gap: 0.75rem;
  text-align: center;
  font-weight: 900;
  line-height: 1;
  padding: 1rem 1.35rem;
  color: var(--_txt) !important;
  background: linear-gradient(135deg, var(--_bg), var(--_bg2));
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: transform var(--dv-transition), box-shadow var(--dv-transition),
    filter var(--dv-transition);
  box-shadow: 0 10px 24px rgba(34, 211, 238, 0.18),
    0 10px 24px rgba(124, 58, 237, 0.18);
  position: relative;
  overflow: hidden;
}
.qxz-button svg {
  transform: translateX(0);
  transition: transform var(--dv-transition);
}
.qxz-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(34, 211, 238, 0.22),
    0 14px 30px rgba(124, 58, 237, 0.22);
}
.qxz-button:hover svg {
  transform: translateX(4px);
}
.qxz-button:active {
  transform: translateY(0);
  filter: saturate(1.1);
}

/* Desktop exact 5-column layout */
@media (min-width: 1280px) {
  .qxz-compare__head {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    padding: 1rem;
    font-weight: 800;
    background: var(--dv-surface);
    border-radius: var(--dv-radius);
    text-align: center;
  }

  /* 5 columns: Logo | Features | Experts | Users | CTA */
  .qxz-compare__row {
    align-items: center;
    gap: 1rem;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    padding: 1rem;
  }

  .qxz-badge {
    grid-area: unset;
    position: absolute;
    top: 0;
    left: 0;
    height: auto;
  }

  .qxz-logo {
    grid-area: 1/1/2/2;
    position: relative;
  }
  .qxz-features {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    grid-area: 1/2/2/3;
  }
  .qxz-expert {
    grid-area: 1/3/2/4;
    position: relative;
  }
  .qxz-users {
    grid-area: 1/4/2/5;
    position: relative;
  }
  .qxz-cta {
    grid-area: 1/5/2/6;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 1rem;
  }

  /* Vertical separators */
  .qxz-logo::after,
  .qxz-features::after,
  .qxz-expert::after,
  .qxz-users::after {
    content: "";
    position: absolute;
    right: -0.5rem;
    top: 5%;
    width: 1px;
    height: 90%;
    background: linear-gradient(
      180deg,
      transparent,
      var(--dv-border),
      transparent
    );
  }
}

/* 1024px–1279px intermediate layout (as original) */
@media (min-width: 1024px) and (max-width: 1279.98px) {
  .qxz-compare__row {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, auto);
  }
  .qxz-badge {
    grid-area: 1/1/2/5;
  }
  .qxz-logo {
    grid-area: 2/1/3/3;
  }
  .qxz-expert {
    grid-area: 2/3/3/4;
    position: relative;
  }
  .qxz-users {
    grid-area: 2/4/3/5;
  }
  .qxz-cta {
    grid-area: 3/1/4/5;
  }
}

/* Steps */
.qxz-steps {
  background: linear-gradient(
    180deg,
    transparent,
    rgba(124, 58, 237, 0.08) 30%,
    transparent 70%
  );
  padding: 3rem 0;
}
.qxz-card {
  background: var(--dv-surface);
  border: 1px solid var(--dv-border);
  border-radius: 20px;
  box-shadow: var(--dv-shadow);
}
.qxz-steps__wrap {
  padding: 2rem 0;
}
.qxz-section-head {
  text-align: center;
  margin-bottom: 1.5rem;
}
.qxz-sub {
  color: var(--dv-text-dim);
  margin: 0.75rem auto 0;
  max-width: 720px;
  font-size: 0.95rem;
}

.qxz-steps__grid {
  gap: 1.5rem;
}
.qxz-step {
  gap: 1rem;
  padding: 1rem;
  text-align: left;
}
.qxz-step__number {
  width: 2.2em;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  color: #000;
  font-family: Unbounded, system-ui, sans-serif;
  font-size: 2rem;
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.08);
}
@media (min-width: 768px) {
  .qxz-steps__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Highlights */
.qxz-highlights {
  padding: 3rem 0;
}
.qxz-highlight__grid {
  gap: 1.25rem;
}
.qxz-highlight {
  padding: 1rem;
  border-radius: var(--dv-radius-sm);
  background: linear-gradient(
    180deg,
    rgba(17, 24, 39, 0.92),
    rgba(17, 24, 39, 0.86)
  );
  border: 1px solid var(--dv-border);
  transition: transform var(--dv-transition), box-shadow var(--dv-transition);
}
.qxz-highlight:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(124, 58, 237, 0.22), var(--dv-shadow);
}
.qxz-highlight__head {
  gap: 1rem;
  margin-bottom: 1rem;
  font-weight: 800;
}
.qxz-highlight__head img,
.qxz-highlight__icon {
  height: 65px;
  width: 65px;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.35));
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.qxz-highlight__icon {
  font-size: 42px;
  line-height: 1;
}
@media (min-width: 768px) {
  .qxz-highlight__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .qxz-highlight {
    padding: 1.4rem 1.6rem;
  }
}

/* FAQ */
.qxz-faq {
  padding: 3rem 0;
}
.qxz-faq__list {
  gap: 1rem;
}
.qxz-faq__q {
  width: 100%;
  background: var(--dv-surface);
  color: var(--dv-text);
  border: 1px solid var(--dv-border);
  border-radius: var(--dv-radius-sm);
  font-weight: 800;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background var(--dv-transition), border-color var(--dv-transition);
}
.qxz-faq__q:hover {
  background: #0e1627;
  border-color: var(--dv-primary);
}
.qxz-faq__control {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--dv-primary), var(--dv-accent));
  position: relative;
}
.qxz-faq__control::before {
  content: "+";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #000;
  font-size: 1.5em;
  font-weight: 900;
  transform: translateY(-2px);
}
.qxz-faq__a {
  padding: 1rem;
  color: var(--dv-text-dim);
  display: none;
}
.qxz-faq__item--active .qxz-faq__a {
  display: block;
}
.qxz-faq__item--active .qxz-faq__control::before {
  content: "−";
}

/* Copy section */
.qxz-section {
  padding: 3rem 0;
  background: var(--dv-surface-2);
}

/* Footer */
.qxz-footer {
  background: #050915;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.85rem;
}
.qxz-footer__grid {
  gap: 2rem;
}
.qxz-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1rem;
  flex-wrap: wrap;
  display: flex;
  justify-content: center;
}
/* Footer/top nav links */
.qxz-menu a {
  color: var(--dv-text);
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  transition: background var(--dv-transition), color var(--dv-transition),
    box-shadow var(--dv-transition);
}
.qxz-menu a:hover {
  background: rgba(124, 58, 237, 0.12);
  color: var(--dv-text);
  text-decoration: none;
}
.qxz-menu a:focus-visible {
  outline: 2px solid var(--dv-accent);
  outline-offset: 2px;
}
.qxz-footer__note {
  color: var(--dv-text-dim);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}
.qxz-footer__icons {
  gap: 2rem;
}
.qxz-icon {
  width: auto;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qxz-icon.bg-colored {
  background-color: var(--dv-text);
  padding: 4px;
  border-radius: 4px;
}
.qxz-icon a {
  display: block;
  height: 100%;
  width: 100%;
}
.qxz-icon img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}
.qxz-footer__copy {
  font-weight: 900;
  color: var(--dv-text);
}

/* Modal */
.qxz-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.qxz-modal-overlay.qxz-open {
  display: flex;
}
.qxz-modal {
  background: #fff;
  color: #000;
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  width: min(92vw, 460px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.qxz-modal__title {
  font-family: Unbounded, system-ui, sans-serif;
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}
.qxz-modal__text {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}
.qxz-modal__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}
.qxz-modal__close {
  background: var(--dv-primary);
  color: #0b0f1a;
  border: 0;
  border-radius: 10px;
  padding: 0.6rem 1rem;
  font-weight: 800;
  cursor: pointer;
}

/* Forms */
.qxz-form-wrap {
  max-width: 700px;
  margin: 0 auto;
}
.qxz-form {
  display: grid;
  gap: 1rem;
}
.qxz-form__feedback {
  min-height: 1.2rem;
  color: var(--dv-text-dim);
}
.qxz-form__feedback.qxz-feedback--ok {
  color: var(--dv-success);
}
.page {
  padding-top: 140px;
}
@media (max-width: 1023px) {
  .qxz-lead {
    display: none;
  }
  .qxz-title-xl {
    font-size: 1.5rem;
  }
}
@media (max-width: 550px) {
  .qxz-title-xl {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  .qxz-hero__visual {
    margin-right: 13px;
  }
  .qxz-header__brand img {
    width: 60px;
    height: 60px;
  }
  .page {
    padding-top: 100px;
  }
  .qxz-hero__visual img {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
  }
}
