/* Afterglow v10 — IP geo currency + selector + wide checkout */

:root{
  --brand: #eade8e;
  --brandDark: #302e2e;

  --bg0: #0b0a0a;
  --bg1: #070606;

  --text: #f6f4ef;
  --muted: rgba(246,244,239,.78);
  --muted2: rgba(246,244,239,.58);

  --stroke: rgba(255,255,255,.12);
  --stroke2: rgba(255,255,255,.07);

  --radius: 22px;
  --radiusSm: 18px;

  --shadow: 0 22px 70px rgba(0,0,0,.55);
  --shadow2: 0 12px 36px rgba(0,0,0,.40);

  --wrap: 1480px;
  --wrapWide: 1680px;
  --hero-max: calc(100svh - 140px);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background: linear-gradient(180deg, var(--bg0), var(--bg1));
  overflow-x:hidden;
}

a{ color:inherit; text-decoration:none; }

/* ===== Animated BG ===== */
.bg{
  position: fixed;
  inset: -35%;
  z-index: -3;
  pointer-events:none;
  filter: blur(28px) saturate(140%);
  opacity: .95;
}
.bg::before,
.bg::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(55rem 40rem at 20% 20%, rgba(234,222,142,.30), transparent 62%),
    radial-gradient(45rem 36rem at 85% 20%, rgba(234,222,142,.22), transparent 66%),
    radial-gradient(55rem 44rem at 55% 90%, rgba(255,255,255,.10), transparent 70%),
    radial-gradient(42rem 36rem at 12% 82%, rgba(234,222,142,.18), transparent 68%);
  will-change: transform;
  transform: translate3d(0,0,0);
}
.bg::before{ animation: bgFloatA 9s ease-in-out infinite alternate; }
.bg::after{
  mix-blend-mode: screen;
  opacity: .60;
  animation: bgFloatB 12s ease-in-out infinite alternate;
}

.aurora{
  position: fixed;
  inset: -20%;
  z-index: -2;
  pointer-events:none;
  opacity: .16;
  filter: blur(18px);
  background:
    conic-gradient(from 90deg,
      rgba(234,222,142,.35),
      rgba(255,255,255,.10),
      rgba(234,222,142,.22),
      rgba(0,0,0,0),
      rgba(234,222,142,.28)
    );
  background-size: 140% 140%;
  animation: auroraSlide 7s linear infinite;
  transform: translate3d(0,0,0);
  will-change: transform;
}

@keyframes bgFloatA{
  0%   { transform: translate3d(-8%, -6%, 0) scale(1.03) rotate(-2deg); }
  50%  { transform: translate3d( 4%,  6%, 0) scale(1.08) rotate( 2deg); }
  100% { transform: translate3d(10%, -6%, 0) scale(1.05) rotate(-1deg); }
}
@keyframes bgFloatB{
  0%   { transform: translate3d( 10%,  6%, 0) scale(1.10) rotate( 2deg); }
  50%  { transform: translate3d(-6%, -4%, 0) scale(1.02) rotate(-2deg); }
  100% { transform: translate3d(-12%,  8%, 0) scale(1.06) rotate( 1deg); }
}
@keyframes auroraSlide{
  0%   { transform: translate3d(-6%, -4%, 0) rotate(0deg); }
  100% { transform: translate3d( 6%,  4%, 0) rotate(360deg); }
}

.grain{
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events:none;
  opacity: .10;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  animation: grainMove 5s linear infinite;
}
@keyframes grainMove{
  0%{ transform: translate3d(0,0,0); }
  100%{ transform: translate3d(80px,60px,0); }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .bg::before, .bg::after, .aurora, .grain{ animation:none !important; }
}

/* ===== Layout ===== */
.wrap{
  width: min(var(--wrap), 94vw);
  margin: 0 auto;
  padding: 26px 0 70px;
}
.wrap.wrap-wide{
  width: min(var(--wrapWide), 96vw);
}

/* ===== Header ===== */
.top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 6px 2px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 0;
}

.brand-logo{
  width: 46px;
  height: 46px;
  display:block;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.20);
  box-shadow: var(--shadow2);
  padding: 6px;
}

.brand-title{
  font-weight: 950;
  letter-spacing: -.02em;
  font-size: 18px;
  line-height: 1.1;
}
.brand-sub{
  margin-top: 2px;
  color: var(--muted2);
  font-size: 12.5px;
  font-weight: 650;
}

.nav{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
  color: var(--muted);
  font-size: 13px;
}
.nav a{
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.04);
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.nav a:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.22);
}

/* ===== Cards ===== */
.card{
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.05);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.card.pad{ padding: 22px; }

/* ===== Home Hero ===== */
.hero{
  margin-top: 16px;
  display:grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 16px;
  align-items:start;
}
.hero, .hero-left, .hero-right{ max-height: var(--hero-max); }

.hero-left{
  padding: 24px;
  position:relative;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  gap: 12px;
}
.hero-left::before{
  content:"";
  position:absolute; inset:-1px;
  background: radial-gradient(50rem 28rem at 30% 0%, rgba(234,222,142,.16), transparent 62%);
  pointer-events:none;
}
.hero-right{
  padding: 14px;
  display:flex;
  flex-direction:column;
  gap: 12px;
}

h1{
  margin:0;
  font-size: clamp(30px, 3.4vw, 56px);
  line-height: 1.03;
  letter-spacing: -.045em;
  position:relative;
}
.sub{
  margin:0;
  color: var(--muted);
  font-size: clamp(14px, 1.05vw, 18px);
  line-height: 1.65;
  max-width: 62ch;
  position:relative;
}
.cta-row{
  margin-top: 6px;
  display:flex;
  gap: 12px;
  flex-wrap:wrap;
  align-items:center;
  position:relative;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.05);
  color: var(--text);
  font-weight: 900;
  font-size: 14px;
  cursor:pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
  user-select:none;
}
.btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.22);
}
.btn.primary{
  background: linear-gradient(135deg, rgba(234,222,142,.98), rgba(234,222,142,.72));
  border-color: rgba(255,255,255,.18);
  color: #1f1c1c;
  box-shadow: 0 18px 55px rgba(234,222,142,.18);
}
.btn.primary:hover{ transform: translateY(-1px) scale(1.01); }

/* lifestyle */
.hero-photo-bottom{
  margin-top: auto;
  display:flex;
  justify-content:center;
  align-items:center;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.hero-photo-bottom img{
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: clamp(150px, 26svh, 260px);
  display:block;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow2);
  background: rgba(0,0,0,.06);
}

/* Right compact card */
.side-compact{
  border-radius: var(--radiusSm);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
  padding: 14px;
}
.side-compact-top{
  display:flex;
  gap: 12px;
  align-items:center;
}
.thumb{
  width:68px;
  height:68px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.25);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  flex: 0 0 auto;
}
.thumb img{ max-width:100%; max-height:100%; object-fit:contain; }

.pname{
  font-weight: 950;
  letter-spacing: -.02em;
  font-size: 16px;
  line-height: 1.15;
}
.pmeta{
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.mini-list{
  margin: 12px 0 0;
  padding: 0;
  list-style:none;
  display:flex;
  flex-direction:column;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}
.mini-list li{
  display:flex;
  gap: 10px;
  align-items:flex-start;
}
.dot{
  width: 8px; height: 8px;
  border-radius: 999px;
  background: rgba(234,222,142,.9);
  margin-top: 6px;
  flex: 0 0 auto;
}

/* Home below */
.home-below{ margin-top: 14px; }
.features{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.feature{
  padding: 16px;
  border-radius: var(--radiusSm);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
}
.feature h3{ margin:0; font-size: 15px; letter-spacing: -.01em; }
.feature p{ margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* ===== Checkout (wide + aligned) ===== */
.checkout-grid{
  margin-top: 16px;
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 16px;
  align-items:start;
}

.checkout-left{ padding: 22px; }
.checkout-right{ padding: 14px; display:flex; flex-direction:column; gap: 12px; }

.checkout-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 14px;
  flex-wrap:wrap;
}
.checkout-title{
  margin: 0;
  font-size: clamp(26px, 3vw, 44px);
  letter-spacing: -.04em;
  line-height: 1.05;
}
.checkout-sub{
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}
.checkout-badge{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}
.badge-dot{
  width: 8px; height: 8px;
  border-radius: 999px;
  background: rgba(234,222,142,.9);
}

.checkout-price-row{
  margin-top: 14px;
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
}
.checkout-price-label{
  color: var(--muted2);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .01em;
}
.checkout-price{
  font-weight: 950;
  font-size: 18px;
  letter-spacing: -.01em;
}

/* PayPal: full width, never squished */
.paypal-wrap{
  margin-top: 14px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow2);
  width: 100%;
}
#paypal-container-MELTQ73PQHUF6{
  width: 100%;
  min-width: 320px;
  display:block;
}
#paypal-container-MELTQ73PQHUF6 iframe{
  width: 100% !important;
  max-width: 100% !important;
}

.checkout-links{
  margin-top: 14px;
  display:flex;
  gap: 12px;
  flex-wrap:wrap;
}

/* little help card on checkout */
.checkout-help{
  padding: 16px;
}
.checkout-help h3{
  margin:0;
  font-size: 15px;
  letter-spacing: -.01em;
}
.checkout-help p{
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

/* Footer + currency selector */
.footer{
  margin-top: 16px;
  color: var(--muted2);
  font-size: 13px;
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap: 12px;
  padding: 4px 2px;
  align-items:center;
}

.footer-right{
  display:flex;
  gap: 14px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
}

.footer-links{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
}
.footer a{
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.currency-inline{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
}
.currency-label{
  color: var(--muted2);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .02em;
}
.currency-select{
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 900;
  font-size: 12.5px;
  outline: none;
}
.currency-select:focus{
  border-color: rgba(234,222,142,.45);
  box-shadow: 0 0 0 3px rgba(234,222,142,.14);
}

.fineprint{
  margin-top: 10px;
  color: rgba(246,244,239,.55);
  font-size: 12.5px;
  line-height: 1.45;
}

/* Responsive */
@media (max-width: 980px){
  :root{ --hero-max: calc(100svh - 120px); }
  .hero{ grid-template-columns: 1fr; }
  .hero-left{ padding: 18px; }
  .hero-right{ padding: 12px; }
  .hero, .hero-left, .hero-right{ max-height: none; }

  .features{ grid-template-columns: 1fr; }
  .hero-photo-bottom img{ max-height: 240px; }

  .checkout-grid{ grid-template-columns: 1fr; }
  #paypal-container-MELTQ73PQHUF6{ min-width: 0; }
}

@media (max-width: 520px){
  .btn{ width: 100%; }
  .cta-row{ gap: 10px; }
  .checkout-links{ gap: 10px; }
}

.seo-block {
  margin-top: 3rem;
  opacity: 0.9;
  padding: 1.5rem;
}
