/* TWL QR Landing — Link-in-Bio Premium */
:root {
  --qr-bg: #0a0a0a;
  --qr-surface: rgba(17,17,17,0.85);
  --qr-surface-hover: rgba(26,26,26,0.9);
  --qr-border: rgba(255,255,255,0.06);
  --qr-border-hover: rgba(255,106,0,0.3);
  --qr-accent: #ff6a00;
  --qr-whatsapp: #25D366;
  --qr-radius-pill: 14px;
  --qr-container: 900px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--qr-bg);
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100dvh;
  overflow-x: hidden;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
body::-webkit-scrollbar { display: none; }

/* Video Background */
.twl-qr__bg-video-wrap {
  position: fixed; inset: 0; z-index: 0; overflow: hidden;
}
.twl-qr__bg-video {
  position: absolute; top: 50%; left: 50%;
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  transform: translate(-50%,-50%);
  object-fit: cover;
}
.twl-qr__bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10,10,10,0.85) 0%,
    rgba(10,10,10,0.7) 30%,
    rgba(10,10,10,0.8) 70%,
    rgba(10,10,10,0.95) 100%
  );
}

/* Background glow */
.twl-qr__bg {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
}
.twl-qr__bg-glow {
  position: absolute; top: -20%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,106,0,0.12) 0%, transparent 70%);
  filter: blur(80px);
  will-change: transform;
}
.twl-qr__bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Container */
.twl-qr {
  position: relative; z-index: 2;
  max-width: var(--qr-container);
  margin: 0 auto;
  padding: 48px 20px calc(32px + env(safe-area-inset-bottom, 0px));
  padding-top: calc(48px + env(safe-area-inset-top, 0px));
  display: flex; flex-direction: column; gap: 32px;
}

/* Header */
.twl-qr__header { text-align: center; }
.twl-qr__logo { width: 160px; height: auto; margin-bottom: 12px; }
.twl-qr__tagline {
  font-family: 'Conthrax Light', sans-serif;
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.twl-qr__divider {
  width: 60px; height: 1px; margin: 20px auto 0;
  background: linear-gradient(90deg, transparent, var(--qr-accent), transparent);
}

/* Section labels */
.twl-qr__label {
  font-family: 'Conthrax SemiBold', sans-serif;
  font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 12px;
}

/* Section */
.twl-qr__section { display: flex; flex-direction: column; gap: 0; }
.twl-qr__pills { display: flex; flex-direction: column; gap: 8px; }

/* Desktop 2-column layout */
.twl-qr__columns {
  display: flex; flex-direction: column; gap: 32px;
}

/* Pill */
.twl-qr__pill {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  background: var(--qr-surface);
  border: 1px solid var(--qr-border);
  border-radius: var(--qr-radius-pill);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.2s, border-color 0.3s, box-shadow 0.3s;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.twl-qr__pill:hover {
  background: var(--qr-surface-hover);
  border-color: var(--qr-border-hover);
  box-shadow: 0 0 20px rgba(255,106,0,0.08);
}
.twl-qr__pill:active { transform: scale(0.98); }
.twl-qr__pill-icon { flex-shrink: 0; width: 20px; height: 20px; color: var(--qr-accent); }
.twl-qr__pill-text { flex: 1; }
.twl-qr__pill-sub { display: block; font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 2px; }
.twl-qr__pill-arrow { color: rgba(255,255,255,0.2); flex-shrink: 0; }

/* WhatsApp pill */
.twl-qr__pill--wa { background: rgba(37,211,102,0.08); }
.twl-qr__pill--wa .twl-qr__pill-icon { color: var(--qr-whatsapp); }
.twl-qr__pill--wa:hover { background: rgba(37,211,102,0.14); border-color: rgba(37,211,102,0.3); box-shadow: 0 0 20px rgba(37,211,102,0.08); }

/* Info card */
.twl-qr__info-card {
  background: var(--qr-surface);
  border: 1px solid var(--qr-border);
  border-radius: var(--qr-radius-pill);
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.twl-qr__info-row {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 18px;
}
.twl-qr__info-row + .twl-qr__info-row { border-top: 1px solid var(--qr-border); }
.twl-qr__info-icon { flex-shrink: 0; width: 20px; height: 20px; color: var(--qr-accent); margin-top: 1px; }
.twl-qr__info-text { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,0.8); }

/* Maps button */
.twl-qr__maps-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 18px; margin-top: 8px;
  background: var(--qr-surface);
  border: 1px solid var(--qr-border);
  border-radius: var(--qr-radius-pill);
  color: #fff; text-decoration: none; font-size: 14px;
  transition: background 0.2s, border-color 0.3s;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.twl-qr__maps-btn:hover { background: var(--qr-surface-hover); border-color: var(--qr-border-hover); }
.twl-qr__maps-btn svg { color: var(--qr-accent); }

/* Save contact button */
.twl-qr__save-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 18px;
  background: var(--qr-accent);
  border: none; border-radius: var(--qr-radius-pill);
  color: #fff; font-size: 15px; font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  box-shadow: 0 4px 24px rgba(255,106,0,0.25);
}
.twl-qr__save-btn:hover { background: #e85f00; }
.twl-qr__save-btn:active { transform: scale(0.98); }

/* Footer */
.twl-qr__footer {
  text-align: center; font-size: 12px;
  color: rgba(255,255,255,0.2);
  padding-top: 8px;
}

/* Responsive — Desktop 2 columns */
@media (min-width: 768px) {
  .twl-qr { padding-top: 64px; gap: 36px; }
  .twl-qr__columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 32px;
  }
  .twl-qr__columns > .twl-qr__section--full {
    grid-column: 1 / -1;
  }
}
@media (min-width: 430px) {
  .twl-qr { padding-left: 28px; padding-right: 28px; }
}
@media (min-height: 900px) and (min-width: 768px) {
  .twl-qr { justify-content: center; min-height: 100dvh; }
}

/* Mobile ≤430px */
@media (max-width: 430px) {
  .twl-qr { padding-left: 16px; padding-right: 16px; }
  .twl-qr__logo { width: 120px; }
  .twl-qr__pill { gap: 12px; padding: 12px 14px; font-size: 13px; }
  .twl-qr__info-row { gap: 12px; padding: 12px 14px; }
  .twl-qr__bg-glow { width: 300px; height: 300px; }
}
