/*
Theme Name: OnePlaceDirect Redirect Theme
Theme URI: https://oneplacedirect.com/
Author: OpenAI
Author URI: https://oneplacedirect.com/
Description: Full-screen premium branded redirect landing theme for forwarding visitors to OnePlaceDirect.com.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: oneplacedirect-redirect-theme
*/

:root {
  --bg: #040404;
  --bg-2: #0f0f0f;
  --text: #ffffff;
  --muted: rgba(255,255,255,.78);
  --muted-2: rgba(255,255,255,.55);
  --accent: #d4af37;
  --accent-2: #f4d67a;
  --line: rgba(255,255,255,.14);
  --glass: rgba(0,0,0,.28);
  --shadow: 0 30px 120px rgba(0,0,0,.48);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 14% 18%, rgba(212,175,55,.30), transparent 18%),
    radial-gradient(circle at 82% 22%, rgba(212,175,55,.12), transparent 20%),
    radial-gradient(circle at 50% 110%, rgba(255,255,255,.08), transparent 30%),
    linear-gradient(140deg, #020202 0%, #0b0b0b 50%, #111111 100%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.opd-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

.opd-noise,
.opd-grid,
.opd-glow,
.opd-glow-2,
.opd-ring,
.opd-ring-2 {
  position: absolute;
  pointer-events: none;
}

.opd-grid {
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.95));
  opacity: .22;
}

.opd-noise {
  inset: 0;
  background: radial-gradient(circle, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 12px 12px;
  opacity: .06;
}

.opd-glow {
  width: 42vw;
  height: 42vw;
  min-width: 420px;
  min-height: 420px;
  left: -12vw;
  top: -10vw;
  background: radial-gradient(circle, rgba(212,175,55,.32), transparent 62%);
  filter: blur(24px);
}

.opd-glow-2 {
  width: 38vw;
  height: 38vw;
  min-width: 360px;
  min-height: 360px;
  right: -10vw;
  bottom: -12vw;
  background: radial-gradient(circle, rgba(255,255,255,.16), transparent 66%);
  filter: blur(28px);
}

.opd-ring,
.opd-ring-2 {
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
}

.opd-ring {
  width: 58vw;
  height: 58vw;
  max-width: 920px;
  max-height: 920px;
  top: 50%;
  right: -18vw;
  transform: translateY(-50%);
}

.opd-ring-2 {
  width: 38vw;
  height: 38vw;
  max-width: 620px;
  max-height: 620px;
  top: 50%;
  right: -8vw;
  transform: translateY(-50%);
}

.opd-shell {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.opd-wrap {
  width: 100%;
  max-width: 1380px;
}

.opd-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.opd-brand,
.opd-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(12px);
}

.opd-brand-mark,
.opd-chip-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  box-shadow: 0 0 18px rgba(212,175,55,.55);
}

.opd-brand-text,
.opd-chip span {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.92);
}

.opd-main {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 24px;
  align-items: stretch;
}

.opd-left,
.opd-right {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.opd-left::before,
.opd-right::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212,175,55,.10), transparent 36%, rgba(255,255,255,.04) 70%, rgba(212,175,55,.09));
  pointer-events: none;
}

.opd-left-inner,
.opd-right-inner {
  position: relative;
  z-index: 1;
  height: 100%;
}

.opd-left-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 720px;
  padding: clamp(28px, 5vw, 64px);
}

.opd-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(212,175,55,.28);
  background: rgba(212,175,55,.08);
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.opd-kicker-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #59ff8f;
  box-shadow: 0 0 16px rgba(89,255,143,.65);
}

.opd-title {
  margin: 22px 0 18px;
  font-size: clamp(42px, 7vw, 92px);
  line-height: .92;
  letter-spacing: -.05em;
  max-width: 780px;
}

.opd-title span {
  background: linear-gradient(180deg, #ffffff 0%, #ececec 46%, #f4d67a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.opd-text {
  margin: 0;
  max-width: 700px;
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.75;
  color: var(--muted);
}

.opd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.opd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 0 24px;
  border-radius: 18px;
  font-size: 16px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.opd-btn:hover { transform: translateY(-2px); }

.opd-btn-primary {
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: #111;
  box-shadow: 0 20px 42px rgba(212,175,55,.28);
}

.opd-btn-secondary {
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
}

.opd-bottom {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.opd-stat {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
}

.opd-stat strong {
  display: block;
  font-size: 24px;
  margin-bottom: 6px;
}

.opd-stat span {
  display: block;
  color: var(--muted-2);
  line-height: 1.55;
  font-size: 14px;
}

.opd-right-inner {
  min-height: 720px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.opd-stage {
  position: relative;
  overflow: hidden;
  flex: 1;
  min-height: 430px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.09);
  background:
    linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.22)),
    radial-gradient(circle at 20% 20%, rgba(212,175,55,.22), transparent 24%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.15), transparent 18%),
    linear-gradient(135deg, #090909 0%, #101010 42%, #1a1a1a 100%);
}

.opd-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: .16;
}

.opd-window {
  position: absolute;
  inset: 22px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(16px);
}

.opd-window-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.opd-window-dots {
  display: flex;
  gap: 8px;
}

.opd-window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.32);
}

.opd-window-url {
  flex: 1;
  max-width: 260px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.22);
  color: rgba(255,255,255,.84);
  font-size: 12px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.opd-window-body {
  position: absolute;
  inset: 64px 0 0;
  padding: 28px;
}

.opd-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .10em;
}

.opd-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
}

.opd-window-title {
  margin: 18px 0 12px;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
  letter-spacing: -.04em;
}

.opd-window-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  max-width: 470px;
}

.opd-progress-wrap {
  margin-top: 28px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}

.opd-progress-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
  color: rgba(255,255,255,.88);
}

.opd-progress-bar {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
}

.opd-progress-fill {
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform-origin: left center;
  animation: opdProgress var(--opd-delay, 2s) linear forwards;
  box-shadow: 0 0 20px rgba(212,175,55,.38);
}

.opd-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.opd-mini {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
}

.opd-mini h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.opd-mini p {
  margin: 0;
  color: var(--muted-2);
  line-height: 1.65;
  font-size: 14px;
}

.opd-footer {
  margin-top: 18px;
  text-align: center;
  color: rgba(255,255,255,.42);
  font-size: 13px;
  letter-spacing: .10em;
  text-transform: uppercase;
}

@keyframes opdProgress {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

@media (max-width: 1080px) {
  .opd-main {
    grid-template-columns: 1fr;
  }

  .opd-left-inner,
  .opd-right-inner {
    min-height: auto;
  }
}

@media (max-width: 767px) {
  .opd-shell {
    padding: 14px;
  }

  .opd-topbar {
    margin-bottom: 14px;
  }

  .opd-chip {
    display: none;
  }

  .opd-left,
  .opd-right {
    border-radius: 24px;
  }

  .opd-left-inner {
    padding: 24px 20px;
  }

  .opd-title {
    margin-top: 18px;
    font-size: clamp(34px, 12vw, 54px);
  }

  .opd-text {
    font-size: 16px;
    line-height: 1.65;
  }

  .opd-actions {
    flex-direction: column;
  }

  .opd-btn {
    width: 100%;
  }

  .opd-bottom,
  .opd-mini-grid {
    grid-template-columns: 1fr;
  }

  .opd-right-inner {
    padding: 16px;
  }

  .opd-stage {
    min-height: 380px;
    border-radius: 22px;
  }

  .opd-window {
    inset: 12px;
    border-radius: 18px;
  }

  .opd-window-body {
    padding: 18px;
  }

  .opd-window-url {
    max-width: 150px;
  }
}

/* v1.2.0 branding fullscreen */
body.opd-redirect-body {
  background:
    radial-gradient(circle at 50% 20%, rgba(212,175,55,.18), transparent 28%),
    radial-gradient(circle at 20% 80%, rgba(212,175,55,.10), transparent 25%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,.08), transparent 22%),
    #000;
}

.opd-fullscreen-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.opd-fullscreen-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.42), rgba(0,0,0,.70)),
    linear-gradient(135deg, rgba(212,175,55,.05), transparent 45%, rgba(212,175,55,.08));
}

.opd-fullscreen-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(30px);
  pointer-events: none;
}

.opd-fullscreen-glow-a {
  width: 36vw;
  height: 36vw;
  min-width: 280px;
  min-height: 280px;
  top: -8vw;
  left: -8vw;
  background: radial-gradient(circle, rgba(212,175,55,.24), transparent 68%);
}

.opd-fullscreen-glow-b {
  width: 42vw;
  height: 42vw;
  min-width: 320px;
  min-height: 320px;
  right: -12vw;
  bottom: -12vw;
  background: radial-gradient(circle, rgba(255,255,255,.10), transparent 68%);
}

.opd-fullscreen-center {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.opd-brand-card {
  width: 100%;
  max-width: 760px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  backdrop-filter: blur(16px);
  box-shadow: 0 30px 120px rgba(0,0,0,.55);
  padding: clamp(24px, 4vw, 44px);
  text-align: center;
}

.opd-brand-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 18px;
}

.opd-brand-logo {
  width: min(72vw, 420px);
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 40px rgba(0,0,0,.40));
}

.opd-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(212,175,55,.24);
  background: rgba(212,175,55,.08);
  color: #f4d67a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.opd-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #5cff95;
  box-shadow: 0 0 16px rgba(92,255,149,.7);
}

.opd-brand-heading {
  margin: 22px 0 10px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: .98;
  letter-spacing: -.04em;
}

.opd-brand-text {
  margin: 0 auto 24px;
  max-width: 620px;
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.7;
  color: rgba(255,255,255,.82);
}

.opd-progress-block {
  max-width: 540px;
  margin: 0 auto 22px;
  text-align: left;
}

.opd-progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,.84);
}

.opd-progress-bar {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.08);
}

.opd-progress-fill {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #d4af37, #f4d67a, #ffffff);
  transform-origin: left center;
  animation: opdRedirectCountdown var(--opd-delay, 2s) linear forwards;
}

.opd-brand-actions {
  display: flex;
  justify-content: center;
}

.opd-enter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  padding: 16px 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f4d67a, #d4af37);
  color: #111;
  font-weight: 900;
  letter-spacing: .03em;
  box-shadow: 0 18px 44px rgba(212,175,55,.25);
}

.opd-domain-note {
  margin-top: 18px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.56);
}

@keyframes opdRedirectCountdown {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

@media (max-width: 767px) {
  .opd-fullscreen-hero { padding: 16px; }
  .opd-brand-card { border-radius: 26px; padding: 22px 18px; }
  .opd-brand-logo { width: min(84vw, 340px); }
  .opd-status-pill { font-size: 11px; letter-spacing: .08em; }
  .opd-brand-heading { font-size: clamp(28px, 9vw, 40px); }
  .opd-brand-text { font-size: 15px; line-height: 1.6; }
  .opd-enter-btn { width: 100%; min-width: 0; }
}
