/* ========= akmovies · redirect page ========= */

:root {
  --page:     #F7F1EC;
  --card:     #FDF4EE;
  --ink:      #2C2320;
  --muted:    #948880;
  --line:     rgba(44, 35, 32, .10);

  --coral:    #F26A3E;
  --coral-2:  #E8481F;
  --mint:     #3FD3A6;

  --shadow:   0 34px 70px -34px rgba(83, 46, 28, .45),
              0 8px 22px -14px rgba(83, 46, 28, .30);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }

body {
  background: var(--page);
  color: var(--ink);
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------- background blobs ---------- */

.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}
.blob-mint {
  width: 44vmax; height: 44vmax;
  top: -20vmax; left: -15vmax;
  background: radial-gradient(circle at 62% 62%, #86EACB, #4BD6AC 52%, rgba(75, 214, 172, 0) 74%);
  opacity: .62;
  animation: float-a 16s ease-in-out infinite alternate;
}
.blob-coral {
  width: 50vmax; height: 50vmax;
  bottom: -25vmax; right: -17vmax;
  background: radial-gradient(circle at 38% 38%, #FFA97F, #F47048 50%, rgba(244, 112, 72, 0) 74%);
  opacity: .58;
  animation: float-b 20s ease-in-out infinite alternate;
}
@keyframes float-a { to { transform: translate3d(4vmax, 3vmax, 0) scale(1.08); } }
@keyframes float-b { to { transform: translate3d(-4vmax, -3vmax, 0) scale(1.06); } }

/* ---------- layout ---------- */

.stage {
  position: relative; z-index: 2;
  min-height: 100%;
  display: grid; place-items: center;
  padding: 44px 20px;
}

.card {
  position: relative;
  width: 100%;
  max-width: 540px;
  padding: 30px 46px 40px;
  text-align: center;
  background: var(--card);
  border-radius: 30px;
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: rise .65s cubic-bezier(.2, .8, .25, 1) both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(22px) scale(.985); }
  to   { opacity: 1; transform: none; }
}

/* sweeping arc through the badge */
.arc {
  position: absolute;
  top: 48px; left: 50%;
  width: 260%;
  transform: translateX(-50%);
  pointer-events: none;
}
.arc circle {
  fill: none;
  stroke: var(--coral);
  stroke-width: 1.4;
  opacity: .3;
}

/* ---------- corner wordmark ---------- */

.mark {
  position: relative; z-index: 3;
  display: inline-flex; align-items: center; gap: 7px;
  float: left;
  font-size: 13px; font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink);
}
.mark svg {
  width: 19px; height: 19px;
  fill: none; stroke: var(--ink); stroke-width: 1.7;
}
.mark svg .fill { fill: var(--coral); stroke: none; }

/* ---------- badge ---------- */

.badge {
  position: relative; z-index: 3;
  clear: both;
  width: 84px; height: 84px;
  margin: 40px auto 26px;
  display: grid; place-items: center;
  color: #fff;
  background: linear-gradient(150deg, #FF8355, var(--coral-2));
  border-radius: 50%;
  box-shadow:
    0 0 0 9px var(--card),
    0 16px 30px -12px rgba(232, 72, 31, .62);
  animation: pop .6s .12s cubic-bezier(.2, 1.3, .4, 1) both;
}
.badge svg { width: 34px; height: 34px; animation: nudge 2.6s ease-in-out infinite; }
@keyframes pop  { from { opacity: 0; transform: scale(.55); } to { opacity: 1; transform: none; } }
@keyframes nudge { 0%, 70%, 100% { transform: translateX(0); } 85% { transform: translateX(4px); } }

/* ---------- copy ---------- */

h1 {
  position: relative; z-index: 3;
  font-size: clamp(30px, 6.4vw, 40px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin-bottom: 10px;
}

.sub {
  position: relative; z-index: 3;
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 26px;
}

/* ---------- url pill ---------- */

.url-box {
  position: relative; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  max-width: 390px;
  margin: 0 auto 24px;
  padding: 11px 11px 11px 15px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--line);
  border-radius: 100px;
}
.lock { display: flex; flex-shrink: 0; color: #22A97F; }
.lock svg { width: 15px; height: 15px; }

.url-text {
  flex: 1; min-width: 0;
  font-size: 13.5px; font-weight: 500;
  color: #4A3F3A;
  text-decoration: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  text-align: left;
  transition: color .2s;
}
.url-text:hover { color: var(--coral-2); }

.copy {
  flex-shrink: 0;
  display: grid; place-items: center;
  width: 30px; height: 30px;
  color: #7C6F68;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  transition: all .2s;
}
.copy svg { width: 15px; height: 15px; }
.copy:hover { color: var(--ink); box-shadow: 0 3px 10px -3px rgba(83, 46, 28, .35); }
.copy.done { color: #fff; background: var(--mint); border-color: var(--mint); }

/* ---------- button ---------- */

.btn {
  position: relative; z-index: 3;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 32px;
  font-size: 14px; font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(140deg, #FF8355, var(--coral-2));
  border: none;
  border-radius: 100px;
  cursor: pointer;
  box-shadow: 0 12px 26px -12px rgba(232, 72, 31, .85);
  transition: transform .18s cubic-bezier(.2, .8, .25, 1), box-shadow .22s;
}
.btn:hover  { transform: translateY(-2px); box-shadow: 0 18px 32px -12px rgba(232, 72, 31, .9); }
.btn:active { transform: scale(.97); }

/* ---------- countdown line ---------- */

.hint {
  position: relative; z-index: 3;
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--muted);
  min-height: 20px;
}
.hint b { color: var(--coral-2); font-weight: 600; font-variant-numeric: tabular-nums; }

.linkbtn {
  margin-left: 8px;
  padding: 0 0 1px;
  font: inherit; font-size: 12.5px; font-weight: 600;
  color: var(--muted);
  background: none; border: none;
  border-bottom: 1px solid rgba(148, 136, 128, .5);
  cursor: pointer;
  transition: color .2s, border-color .2s;
}
.linkbtn:hover { color: var(--ink); border-color: var(--ink); }
.hint.stopped .linkbtn { display: none; }

.foot {
  position: relative; z-index: 3;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  line-height: 1.6;
  color: #A79B94;
}

/* ---------- toast ---------- */

.toast {
  position: fixed;
  left: 50%; bottom: 28px;
  transform: translate(-50%, 24px);
  z-index: 50;
  padding: 11px 22px;
  font-size: 12.5px; font-weight: 500;
  color: #fff;
  background: rgba(44, 35, 32, .94);
  border-radius: 100px;
  box-shadow: 0 16px 34px -14px rgba(44, 35, 32, .8);
  opacity: 0; pointer-events: none;
  transition: opacity .26s, transform .26s cubic-bezier(.2, .8, .25, 1);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- responsive ---------- */

@media (max-width: 540px) {
  .stage { padding: 26px 16px; }
  .card { padding: 24px 24px 32px; border-radius: 26px; }
  .arc { width: 210%; top: 38px; }
  .badge { width: 74px; height: 74px; margin: 34px auto 22px; }
  .badge svg { width: 30px; height: 30px; }
  .sub { font-size: 14px; }
  .btn { width: 100%; }
  .url-box { max-width: none; }
  .url-text { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
