@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@property --angle-err {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@property --angle-gift {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

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

:root {
  --bg: #000000;
  --card: #111214;
  --line: #2a2a2a;
  --txt: #f2f2f2;
  --muted: #666;
  --yellow: #F6D464;
  --yellow-dim: #E2BC3E;
  --yellow-glow: rgba(246,212,100,.25);
  --yellow-bright: #FFE899;
}

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--txt);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  min-height: 100vh;
  background: #000000;
}

.card-glow {
  width: 100%;
  max-width: 420px;
  padding: 2px;
  border-radius: 30px;
  background: conic-gradient(
    from var(--angle),
    rgba(246,212,100,.3) 0%,
    #fff                1.5%,
    var(--yellow-bright) 4%,
    rgba(246,212,100,.3) 9%,
    rgba(246,212,100,.25) 100%
  );
  animation: border-spin 3s linear infinite;
  box-shadow: 0 24px 60px rgba(0,0,0,.7);
}

.card-glow.card--error,
.card-glow.card--blocked {
  background: conic-gradient(
    from var(--angle-err),
    rgba(237,66,69,.3) 0%,
    #fff               1.5%,
    #ff8a8a            4%,
    rgba(237,66,69,.3) 9%,
    rgba(237,66,69,.25) 100%
  );
  animation: border-spin-err 3s linear infinite;
}

.card {
  width: 100%;
  background: #000000;
  border-radius: 28px;
  padding: 32px 26px 28px;
}

@keyframes border-spin     { to { --angle: 360deg; } }
@keyframes border-spin-err { to { --angle-err: 360deg; } }

.view { display: block; }
.view[hidden] { display: none !important; }

.view-anim > * {
  animation: child-pop .42s cubic-bezier(.175,.885,.32,1.275) both;
}
.view-anim > *:nth-child(1)  { animation-delay: 0s; }
.view-anim > *:nth-child(2)  { animation-delay: .05s; }
.view-anim > *:nth-child(3)  { animation-delay: .1s; }
.view-anim > *:nth-child(4)  { animation-delay: .15s; }
.view-anim > *:nth-child(5)  { animation-delay: .2s; }
.view-anim > *:nth-child(6)  { animation-delay: .25s; }
.view-anim > *:nth-child(7)  { animation-delay: .3s; }
.view-anim > *:nth-child(8)  { animation-delay: .35s; }
.view-anim > *:nth-child(9)  { animation-delay: .4s; }
.view-anim > *:nth-child(10) { animation-delay: .45s; }
.view-anim > *:nth-child(11) { animation-delay: .5s; }
.view-anim > *:nth-child(12) { animation-delay: .55s; }
.view-anim > *:nth-child(13) { animation-delay: .6s; }
.view-anim > *:nth-child(14) { animation-delay: .65s; }
.view-anim > *:nth-child(15) { animation-delay: .7s; }

@keyframes child-pop {
  0%   { opacity: 0; transform: scale(.88) translateY(16px); filter: blur(5px); }
  60%  { filter: blur(0); }
  100% { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); }
}

.view-exit {
  animation: page-exit .22s ease forwards;
  pointer-events: none;
}
@keyframes page-exit {
  to { opacity: 0; transform: translateY(-12px) scale(.95); filter: blur(6px); }
}

.card-switch {
  animation: card-breath .38s cubic-bezier(.25,.1,.25,1);
}
@keyframes card-breath {
  0%   { transform: scale(1); }
  35%  { transform: scale(.975); }
  100% { transform: scale(1); }
}

.logo {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.logo img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(246,212,100,.5));
}

h1 {
  text-align: center;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.2px;
  margin-bottom: 4px;
  background: linear-gradient(135deg, #fff 30%, var(--yellow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--txt);
  margin-bottom: 6px;
  opacity: .85;
}

.sub {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 24px;
  letter-spacing: .2px;
}

.field-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin: 16px 2px 7px;
  text-transform: uppercase;
}

.c-wrapper {
  position: relative;
}

.c-select-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #000000;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 14px;
  height: 50px;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
  user-select: none;
}

.c-select-wrap:hover,
.c-select-wrap.open {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px var(--yellow-glow);
}

.c-name {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  color: var(--txt);
}

.c-arrow {
  color: var(--muted);
  font-size: 12px;
  transition: transform .2s;
}

.c-select-wrap.open .c-arrow { transform: rotate(180deg); }

.c-options {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #000000;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  z-index: 10;
  box-shadow: 0 12px 32px rgba(0,0,0,.6);
}

.c-options.open {
  display: block;
  animation: dropIn .15s ease;
}

@keyframes dropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.c-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--txt);
  cursor: pointer;
  transition: background .12s, color .12s;
}

.c-option:hover   { background: rgba(246,212,100,.08); color: var(--yellow); }
.c-option.selected { color: var(--yellow); background: rgba(246,212,100,.05); }

.c-opt-flag {
  display: inline-block;
  width: 20px;
  height: 14px;
  border-radius: 2px;
  flex-shrink: 0;
}

.c-opt-ch {
  width: 14px;
  height: 14px;
}

.c-opt-fr { background: linear-gradient(to right, #002395 33%, #fff 33% 66%, #ED2939 66%); }
.c-opt-be { background: linear-gradient(to right, #1d1d1b 33%, #f9d616 33% 66%, #e42518 66%); }
.c-opt-ch { background: #ff0000; position: relative; }
.c-opt-ch::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(#fff,#fff) 50% 50% / 25% 55% no-repeat,
    linear-gradient(#fff,#fff) 50% 50% / 55% 25% no-repeat;
}

.c-flag { display: flex; align-items: center; }

.phone-wrap, .user-wrap {
  display: flex;
  align-items: center;
  background: #000000;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 14px;
  height: 50px;
  transition: border-color .2s, box-shadow .2s;
}

.phone-wrap:focus-within,
.user-wrap:focus-within {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px var(--yellow-glow);
}

.flag { font-size: 18px; margin-right: 10px; line-height: 1; }

.phone-wrap .prefix {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--yellow);
  font-weight: 700;
  font-size: 14px;
  margin-right: 10px;
  white-space: nowrap;
}

.user-wrap .at {
  color: var(--yellow);
  font-weight: 800;
  font-size: 16px;
  margin-right: 8px;
  letter-spacing: -0.5px;
}

.phone-wrap input,
.user-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--txt);
  font-size: 15px;
  letter-spacing: .4px;
}

.phone-wrap input::placeholder,
.user-wrap input::placeholder { color: #3a3a3a; }

.operators {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 4px;
  transition: opacity .18s ease;
}

.operators.ops-exit {
  opacity: 0;
  pointer-events: none;
}

.operators .op {
  animation: op-pop .35s cubic-bezier(.175,.885,.32,1.275) both;
}

@keyframes op-pop {
  from { opacity: 0; transform: scale(.85) translateY(8px); }
  to   { opacity: 1; transform: scale(1)   translateY(0); }
}

.op {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  background: #000000;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--txt);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .18s;
  letter-spacing: .1px;
}

.op:hover {
  border-color: rgba(255,252,0,.3);
  background: rgba(255,252,0,.05);
}

.op.active {
  border-color: var(--yellow);
  background: rgba(255,252,0,.08);
  color: var(--yellow);
  box-shadow: 0 0 0 3px var(--yellow-glow);
}

.op .ico {
  display: flex;
  align-items: center;
  opacity: .85;
}

.continue {
  width: 100%;
  height: 54px;
  margin-top: 24px;
  border: none;
  border-radius: 16px;
  background: var(--yellow);
  color: #000;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .4px;
  cursor: pointer;
  transition: all .18s;
  box-shadow: 0 4px 24px rgba(246,212,100,.25);
}

.continue:hover:not(:disabled) {
  background: var(--yellow-dim);
  box-shadow: 0 6px 32px rgba(246,212,100,.35);
  transform: translateY(-1px);
}

.continue:active:not(:disabled) {
  transform: translateY(0);
}

.continue:disabled {
  background: #1c1c1c;
  color: #444;
  cursor: not-allowed;
  box-shadow: none;
}

.msg {
  text-align: center;
  font-size: 12.5px;
  margin-top: 14px;
  min-height: 16px;
  letter-spacing: .1px;
}

.msg.ok  { color: #4ade80; }
.msg.err { color: #f87171; }

#loading-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 0 6px;
  animation: fadeIn .35s ease;
}

#loading-view[hidden] { display: none !important; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

#loading-view .logo { margin-bottom: 10px; }

.l-title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .2px;
  color: var(--yellow);
  -webkit-text-fill-color: var(--yellow);
  background: none;
  margin-bottom: 18px;
}

.l-heading {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  text-align: center;
  opacity: 1;
  margin-bottom: 10px;
  letter-spacing: -.3px;
}

.l-sub {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin-bottom: 32px;
}

.l-loader {
  position: relative;
  width: 190px;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}

.l-ring-outer {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(246,212,100,.7);
  box-shadow:
    0 0 30px rgba(246,212,100,.25),
    inset 0 0 30px rgba(246,212,100,.08);
}

.l-ring-dashed {
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  border: 1px dashed rgba(246,212,100,.45);
  animation: spin 12s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.l-ring-inner {
  position: relative;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, var(--yellow-bright) 0%, var(--yellow) 55%, #c49a00 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 40px rgba(246,212,100,.45),
    0 0 80px rgba(246,212,100,.2);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1);    box-shadow: 0 0 40px rgba(246,212,100,.45), 0 0 80px rgba(246,212,100,.2); }
  50%      { transform: scale(1.04); box-shadow: 0 0 55px rgba(246,212,100,.6),  0 0 100px rgba(246,212,100,.3); }
}

.l-ring-inner svg { opacity: .9; }

.l-wait {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .3px;
  color: var(--yellow);
  text-align: center;
}

.fake-notif {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 200px;
  padding: 1.5px;
  border-radius: 6px;
  background: conic-gradient(
    from var(--angle),
    rgba(246,212,100,.3) 0%,
    #fff                1.5%,
    var(--yellow-bright) 4%,
    rgba(246,212,100,.3) 9%,
    rgba(246,212,100,.25) 100%
  );
  animation: border-spin 3s linear infinite;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transform: translateX(16px);
  transition: opacity .4s ease, transform .4s cubic-bezier(.175,.885,.32,1.275);
  box-shadow: 0 8px 28px rgba(0,0,0,.5);
}

.fake-notif.show {
  opacity: 1;
  transform: translateX(0);
}

.fake-notif-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(16,16,18,.78);
  border-radius: 5px;
  padding: 8px 10px;
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
}

.fake-notif-icon {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  flex-shrink: 0;
  overflow: hidden;
  background: #000;
}

.fake-notif-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2px;
}

.fake-notif-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.fake-notif-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.fake-notif-app {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
}

.fake-notif-time {
  font-size: 9px;
  color: rgba(255,255,255,.3);
}

.fake-notif-name {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
}

.fake-notif-desc {
  font-size: 11px;
  color: rgba(255,255,255,.4);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-16px);
  background: rgba(20,20,22,.95);
  border: 1px solid var(--yellow);
  border-radius: 14px;
  padding: 13px 22px;
  font-size: 13px;
  font-weight: 600;
  color: var(--txt);
  white-space: nowrap;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0,0,0,.6), 0 0 0 1px rgba(246,212,100,.15);
  transition: opacity .3s ease, transform .3s cubic-bezier(.175,.885,.32,1.275);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

#success-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px 0 8px;
}

#success-view[hidden] { display: none !important; }

.gift-border-wrap {
  border: 1.5px solid transparent;
  background:
    #000 padding-box,
    conic-gradient(
      from var(--angle-gift),
      rgba(246,212,100,.3) 0%,
      #fff               1.5%,
      var(--yellow-bright) 4%,
      rgba(246,212,100,.3) 9%,
      rgba(246,212,100,.25) 100%
    ) border-box;
  border-radius: 50%;
  margin: 0 0 14px;
  padding: 4px;
  animation: gift-border-spin 2.2s linear infinite;
}

@keyframes gift-border-spin { to { --angle-gift: 360deg; } }

.gift-wrap {
  width: 190px;
  height: 190px;
  animation:
    gift-entry .55s cubic-bezier(.175,.885,.32,1.275) both,
    gift-celebrate .55s ease 1.3s both,
    gift-float 3s ease-in-out 2s infinite;
}

.gift-wrap svg { width: 100%; height: 100%; }

@keyframes gift-entry {
  from { opacity: 0; transform: scale(.5) translateY(20px); filter: blur(8px); }
  70%  { filter: blur(0); }
  to   { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); }
}

@keyframes gift-celebrate {
  0%   { transform: rotate(0)    scale(1); }
  20%  { transform: rotate(-6deg) scale(1.06); }
  40%  { transform: rotate(6deg)  scale(1.06); }
  60%  { transform: rotate(-3deg) scale(1.03); }
  80%  { transform: rotate(3deg)  scale(1.03); }
  100% { transform: rotate(0)    scale(1); }
}

@keyframes gift-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.gift-lid-g {
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: lid-open .38s cubic-bezier(.4,0,.2,1) .1s forwards, lid-close .32s cubic-bezier(.4,0,.2,1) .95s forwards;
}

@keyframes lid-open {
  from { transform: translateY(0); }
  to   { transform: translateY(-26px); }
}

@keyframes lid-close {
  from { transform: translateY(-26px); }
  to   { transform: translateY(0); }
}

.gift-magic-g {
  opacity: 0;
  transform-box: fill-box;
  animation: magic-drop .42s cubic-bezier(.6,0,.8,1) .52s both, magic-vanish .18s ease .9s both;
}

@keyframes magic-drop {
  from { opacity: 1; transform: translateY(-38px) scale(1.4); }
  to   { opacity: 1; transform: translateY(0) scale(.7); }
}

@keyframes magic-vanish {
  to { opacity: 0; transform: scale(0); }
}

.gs { animation: star-twinkle 2.5s ease-in-out infinite; }
.gs1 { animation-delay: 0s;    animation-duration: 2.2s; }
.gs2 { animation-delay: .6s;   animation-duration: 2.8s; }
.gs3 { animation-delay: 1.1s;  animation-duration: 2.4s; }
.gs4 { animation-delay: .3s;   animation-duration: 3s; }
.gs5 { animation-delay: 1.5s;  animation-duration: 2s; }
.gs6 { animation-delay: .8s;   animation-duration: 2.6s; }

@keyframes star-twinkle {
  0%, 100% { opacity: .25; transform: scale(.6); }
  50%       { opacity: 1;   transform: scale(1); }
}

.sv-big-title {
  font-size: 26px;
  font-weight: 900;
  text-align: center;
  letter-spacing: -.4px;
  background: linear-gradient(135deg, var(--yellow-bright) 0%, var(--yellow) 60%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  animation: title-pop .6s cubic-bezier(.175,.885,.32,1.275) .35s both;
}

@keyframes title-pop {
  0%   { opacity: 0; transform: scale(.65) translateY(12px); filter: blur(6px); }
  70%  { filter: blur(0); }
  100% { opacity: 1; transform: scale(1)   translateY(0); filter: blur(0); }
}

.sv-big-desc {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 18px;
  padding: 0 4px;
  animation: fadeIn .5s ease .6s both;
}

.sv-user-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(246,212,100,.06);
  border: 1px solid rgba(246,212,100,.3);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 20px;
  animation: pill-in .5s cubic-bezier(.175,.885,.32,1.275) .75s both;
}

@keyframes pill-in {
  from { opacity: 0; transform: scale(.8) translateY(8px); }
  to   { opacity: 1; transform: scale(1)  translateY(0); }
}

.sv-features {
  list-style: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 16px;
}

.sv-feat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  background: #000;
  transition: background .15s;
  opacity: 0;
  animation: feat-slide .45s cubic-bezier(.22,.1,.25,1) forwards;
}

.sv-feat:nth-child(1) { animation-delay: .9s; }
.sv-feat:nth-child(2) { animation-delay: 1.05s; }
.sv-feat:nth-child(3) { animation-delay: 1.2s; }

@keyframes feat-slide {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}

.sv-feat + .sv-feat { border-top: 1px solid var(--line); }

.sv-feat-icon {
  width: 36px;
  height: 36px;
  background: rgba(246,212,100,.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sv-feat-icon svg { width: 18px; height: 18px; }

.sv-feat-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--txt);
  margin-bottom: 2px;
}

.sv-feat-desc {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
}

.sv-footer-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: rgba(246,212,100,.04);
  border: 1px solid rgba(246,212,100,.2);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  animation: fadeIn .5s ease 1.35s both;
}

#error-view,
#blocked-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px 0 12px;
}

#error-view[hidden],
#blocked-view[hidden] { display: none !important; }

.status-icon {
  width: 100px;
  height: 100px;
  margin: 8px 0 20px;
  filter: drop-shadow(0 0 20px rgba(237,66,69,.35));
}

#blocked-view .status-icon {
  filter: drop-shadow(0 0 20px rgba(246,212,100,.35));
}

.si-circle {
  stroke-dasharray: 226;
  stroke-dashoffset: 226;
  animation: draw-circle .5s ease .1s forwards;
}

.si-line1 {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: draw-line .25s ease .6s forwards;
}

.si-line2 {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: draw-line .25s ease .85s forwards;
}

.si-lock-body,
.si-lock-shackle,
.si-lock-dot {
  opacity: 0;
  animation: fade-in-el .4s ease .6s forwards;
}

.si-lock-shackle { animation-delay: .4s; }
.si-lock-dot     { animation-delay: .8s; }

@keyframes draw-circle { to { stroke-dashoffset: 0; } }
@keyframes draw-line   { to { stroke-dashoffset: 0; } }
@keyframes fade-in-el  { to { opacity: 1; } }

.status-title {
  font-size: 22px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -.3px;
}

.err-title { color: #ED4245; -webkit-text-fill-color: #ED4245; background: none; }
.bl-title  { color: var(--yellow); -webkit-text-fill-color: var(--yellow); background: none; }

.status-desc {
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  padding: 0 6px;
  margin-top: 4px;
}

#code-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px 0;
}

#code-view h2 { margin-bottom: 6px; }
#code-view .sub { margin-bottom: 28px; }

.code-boxes {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 28px;
}

.code-box {
  width: 52px;
  height: 62px;
  background: rgba(0,0,0,.6);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  text-align: center;
  font-size: 26px;
  font-weight: 800;
  color: var(--yellow);
  caret-color: var(--yellow);
  outline: none;
  transition: border-color .2s, box-shadow .2s, transform .15s;
  animation: box-pop .4s cubic-bezier(.175,.885,.32,1.275) both;
}

@keyframes box-pop {
  from { opacity: 0; transform: scale(.6) translateY(12px); }
  to   { opacity: 1; transform: scale(1)  translateY(0); }
}

.code-box:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px var(--yellow-glow), 0 0 20px rgba(246,212,100,.15);
  transform: scale(1.05);
}

.code-box.filled {
  border-color: rgba(246,212,100,.5);
  background: rgba(246,212,100,.06);
}

.code-timer {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin-bottom: 22px;
  letter-spacing: .2px;
}

.code-timer strong {
  color: var(--yellow);
  font-weight: 700;
}

#code-view .continue { width: 100%; }

@media (max-width: 480px) {
  .fake-notif { width: 180px; top: 10px; right: 10px; }
  .fake-notif-inner { padding: 7px 9px; gap: 7px; }
}

@media (max-width: 380px) {
  body { padding: 10px; }
  .card-glow { border-radius: 22px; }
  .card { padding: 22px 14px 18px; border-radius: 20px; }
  h1 { font-size: 18px; }
  h2 { font-size: 13px; }
  .sub { font-size: 11px; margin-bottom: 18px; }
  .field-label { font-size: 9px; margin: 12px 2px 5px; }
  .c-select-wrap, .phone-wrap, .user-wrap { height: 44px; border-radius: 12px; }
  .operators { grid-template-columns: 1fr; gap: 6px; }
  .op { height: 42px; font-size: 13px; border-radius: 12px; }
  .continue { height: 48px; font-size: 14px; margin-top: 18px; border-radius: 14px; }
  .l-heading { font-size: 18px; }
  .l-loader { width: 140px; height: 140px; margin-bottom: 24px; }
  .l-ring-inner { width: 84px; height: 84px; }
  .gift-border-wrap { padding: 3px; }
  .gift-wrap { width: 140px; height: 140px; }
  .sv-big-title { font-size: 20px; }
  .sv-big-desc { font-size: 12px; }
  .sv-user-pill { font-size: 13px; padding: 7px 14px; }
  .sv-feat { padding: 11px 12px; gap: 10px; }
  .sv-feat-icon { width: 30px; height: 30px; }
  .code-box { width: 38px; height: 50px; font-size: 20px; border-radius: 11px; }
  .code-boxes { gap: 6px; margin-bottom: 20px; }
  .fake-notif { width: 165px; top: 8px; right: 8px; }
  .fake-notif-inner { padding: 6px 8px; gap: 6px; }
  .fake-notif-icon { width: 24px; height: 24px; }
}

@media (min-width: 768px) {
  .card { max-width: 450px; padding: 38px 34px 32px; border-radius: 32px; }
  .logo img { width: 76px; height: 76px; }
  h1 { font-size: 23px; }
  h2 { font-size: 16px; }
  .select-wrap, .phone-wrap, .user-wrap { height: 54px; }
  .op { height: 52px; font-size: 14px; }
  .continue { height: 58px; font-size: 16px; }
}
