:root {
  --bg: #171717;
  --bg2: #1f1f21;
  --panel: #2a2a2d;
  --panel2: #242426;
  --line: rgba(255,255,255,0.08);
  --text: #f1f5f9;
  --muted: #a3a3a3;
  --blue: #3b82f6;
  --blue2: #22c1ee;
  --green: #14b86e;
  --purple: #6d5efc;
  --pink: #d92f70;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  width: 100%;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top center, rgba(30,114,255,0.24), transparent 26%),
    linear-gradient(180deg, #1a1a1c 0%, #18181a 100%);
  color: var(--text);
  font-family: Inter, Arial, Helvetica, sans-serif;
}

body {
  min-height: 100vh;
}

img,
svg,
video,
canvas {
  max-width: 100%;
  display: block;
}

.hidden {
  display: none !important;
}

/* ================= HEADER ================= */

.topbar {
  width: 100%;
  padding: 10px 12px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(18,18,20,0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.brand-icon {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  object-fit: cover;
  display: block;
  flex: 0 0 26px;
}

.brand-text {
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* ================= LIQUID GLASS NAV ================= */

.topnav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.nav-item {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 50px;
  padding: 10px 8px;
  text-decoration: none;
  color: #eef7ff;
  text-align: center;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.04)),
    linear-gradient(180deg, rgba(71,121,255,0.10), rgba(0,0,0,0.10));
  backdrop-filter: blur(18px) saturate(155%);
  -webkit-backdrop-filter: blur(18px) saturate(155%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    inset 0 -1px 0 rgba(255,255,255,0.04),
    0 10px 24px rgba(0,0,0,0.20),
    0 0 0 1px rgba(255,255,255,0.03);
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease,
    color .25s ease;
}

/* rotating outer glow */
.nav-item::before {
  content: "";
  position: absolute;
  inset: -130%;
  z-index: -3;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 210deg,
    rgba(110, 208, 255, 0.00) 225deg,
    rgba(110, 208, 255, 0.95) 255deg,
    rgba(112, 93, 255, 0.95) 285deg,
    rgba(110, 208, 255, 0.75) 310deg,
    transparent 340deg,
    transparent 360deg
  );
  animation: liquidNavSpin 4.2s linear infinite;
  filter: blur(10px);
  opacity: 0.9;
}

/* inner glass layer */
.nav-item::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 13px;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03)),
    linear-gradient(180deg, rgba(28,32,40,0.82), rgba(20,22,28,0.88));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    inset 0 -10px 20px rgba(0,0,0,0.12);
}

/* top liquid shine */
.nav-item .nav-inline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  width: 80%;
  height: 42%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.22), rgba(255,255,255,0.02));
  filter: blur(3px);
  opacity: 0.75;
  pointer-events: none;
}

.nav-inline {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  z-index: 2;
}

.nav-inline span,
.nav-item span {
  font-size: 10px;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
  letter-spacing: -0.01em;
  text-shadow:
    0 1px 0 rgba(255,255,255,0.04),
    0 0 12px rgba(120,210,255,0.16);
}

.nav-icon {
  width: 15px;
  height: 15px;
  color: #ffffff;
  flex-shrink: 0;
  filter:
    drop-shadow(0 0 6px rgba(132,214,255,0.25))
    drop-shadow(0 1px 0 rgba(255,255,255,0.08));
}

.nav-item:hover {
  color: #ffffff;
  border-color: rgba(138,225,255,0.26);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    inset 0 -1px 0 rgba(255,255,255,0.05),
    0 16px 34px rgba(0,0,0,0.24),
    0 0 22px rgba(91,193,255,0.14);
}

.nav-item:hover::before {
  opacity: 1;
  filter: blur(12px);
}

.nav-item:active {
  transform: scale(0.985);
}

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

/* mobile */
@media (max-width: 480px) {
  .topnav {
    gap: 8px;
  }

  .nav-item {
    min-height: 46px;
    padding: 9px 6px;
    border-radius: 13px;
  }

  .nav-item::after {
    border-radius: 12px;
  }

  .nav-inline {
    gap: 5px;
  }

  .nav-inline span,
  .nav-item span {
    font-size: 10px;
  }

  .nav-icon {
    width: 14px;
    height: 14px;
  }
}

/* desktop */
@media (min-width: 768px) {
  .topnav {
    display: flex;
    width: auto;
    gap: 12px;
  }

  .nav-item {
    min-height: 42px;
    padding: 10px 15px;
    border-radius: 999px;
  }

  .nav-item::after {
    border-radius: 999px;
  }

  .nav-inline span,
  .nav-item span {
    font-size: 12px;
    white-space: nowrap;
  }

  .nav-icon {
    width: 17px;
    height: 17px;
  }
}
/* ================= PAGE ================= */

.page {
  width: 100%;
  padding: 24px 14px 60px;
}

.hero {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.hero-logo-wrap {
  display: flex;
  justify-content: center;
  margin: 6px 0 14px;
}

.hero-logo {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow:
    0 0 30px rgba(47,151,255,0.28),
    0 12px 30px rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.08);
}

/* TYPEWRITER H1 + FIXED CHARACTER WIDTH */

.hero h1{
  margin:16px auto 10px;
  width:25ch;              /* area hanya 25 karakter */
  max-width:100%;
  overflow:hidden;
  white-space:nowrap;

  font-size:24px;
  line-height:1.15;
  font-weight:900;
  letter-spacing:-0.01em;
  color:#ffffff;

  font-family:Consolas, Monaco, "Courier New", monospace;

  border-right:3px solid #49b8ff;
  text-shadow:0 0 12px rgba(73,184,255,.18);

  animation:
    typingPause 13s steps(25,end) infinite,
    cursorBlink .8s step-end infinite;
}

.hero h1 span{
  color:#49b8ff;
  text-shadow:
    0 0 10px rgba(73,184,255,.45),
    0 0 22px rgba(73,184,255,.22);
}

/* type then pause */
@keyframes typingPause{
  0%{
    width:0;
  }

  23%{
    width:25ch;
  }

  100%{
    width:25ch;
  }
}

@keyframes cursorBlink{
  50%{
    border-color:transparent;
  }
}

@media (max-width:480px){
  .hero h1{
    width:25ch;
    font-size:20px;
    border-right:2px solid #49b8ff;
  }
}

/* HERO DESCRIPTION - CLEAN PREMIUM CHIP */

.hero-desc{
  max-width:640px;
  margin:0 auto 24px;
  padding:14px 18px;

  color:#eef4ff;
  font-size:14px;
  line-height:1.75;
  font-weight:600;
  text-align:center;

  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);

  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02)),
    linear-gradient(135deg, rgba(36,42,56,.92), rgba(22,25,34,.96));

  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 14px 28px rgba(0,0,0,.24),
    0 0 22px rgba(73,184,255,.06);

  position:relative;
  overflow:hidden;
}

/* top shine */
.hero-desc::before{
  content:"";
  position:absolute;
  top:0;
  left:12%;
  width:76%;
  height:46%;
  border-radius:999px;

  background:linear-gradient(
    180deg,
    rgba(255,255,255,.14),
    rgba(255,255,255,0)
  );

  filter:blur(8px);
  pointer-events:none;
}

/* subtle blue glow bottom */
.hero-desc::after{
  content:"";
  position:absolute;
  left:15%;
  right:15%;
  bottom:-18px;
  height:40px;

  background:radial-gradient(circle, rgba(73,184,255,.16), transparent 70%);
  filter:blur(14px);
  pointer-events:none;
}

.hero-desc strong{
  color:#ffffff;
  font-weight:800;
}

.hero-desc a{
  color:#7fdcff;
  text-decoration:none;
  font-weight:700;
}

@media (max-width:480px){
  .hero-desc{
    max-width:100%;
    margin:0 auto 20px;
    padding:13px 14px;
    font-size:13px;
    line-height:1.7;
    border-radius:16px;
  }
}

.glow-wrap {
  position: relative;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
}

.glow-wrap::before {
  content: "";
  position: absolute;
  inset: 10% 6%;
  background: radial-gradient(circle, rgba(43,127,255,0.28), transparent 58%);
  filter: blur(28px);
  z-index: 0;
}

.main-card,
.result-card{
  position:relative;
  z-index:1;
  width:100%;
  padding:16px;
  border-radius:20px;
  overflow:visible;

  background:linear-gradient(180deg,#2a2a2d,#232325);
  border:1px solid rgba(255,255,255,.08);

  box-shadow:
    0 20px 40px rgba(0,0,0,.30),
    inset 0 1px 0 rgba(255,255,255,.04);
}

/* OUTER GLOW */
.main-card::before,
.result-card::before{
  content:"";
  position:absolute;
  inset:-8px;
  border-radius:28px;
  z-index:-2;
  background:
    radial-gradient(circle at top left, rgba(73,184,255,.28), transparent 38%),
    radial-gradient(circle at top right, rgba(120,90,255,.22), transparent 38%),
    radial-gradient(circle at bottom center, rgba(0,255,220,.18), transparent 42%);
  filter:blur(18px);
  opacity:.95;
}

/* BORDER LIGHT */
.main-card::after,
.result-card::after{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius:22px;
  z-index:-1;
  padding:1px;
  background:linear-gradient(
    135deg,
    rgba(255,255,255,.14),
    rgba(73,184,255,.20),
    rgba(255,255,255,.05),
    rgba(120,90,255,.18)
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
          mask-composite:exclude;
}

@media (max-width:480px){
  .main-card,
  .result-card{
    padding:14px;
    border-radius:18px;
  }

  .main-card::before,
  .result-card::before{
    inset:-6px;
    border-radius:24px;
  }

  .main-card::after,
  .result-card::after{
    border-radius:20px;
  }
}

/* ================= FORM ================= */

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  max-width: 100%;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, #10b981, #0f996b);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  margin-bottom: 12px;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #d1fae5;
  flex: 0 0 9px;
}

.input-box {
  width: 100%;
  background: #303033;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 10px 12px;
}

textarea {
  width: 100%;
  min-height: 88px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  resize: vertical;
  font-size: 15px;
  line-height: 1.45;
  font-family: inherit;
}

textarea::placeholder {
  color: #8f949f;
}

.bypass-btn{
  position:relative;
  width:100%;
  margin-top:14px;
  height:56px;
  border:0;
  outline:0;
  cursor:pointer;
  overflow:hidden;
  border-radius:14px;

  font-size:17px;
  font-weight:900;
  letter-spacing:.02em;
  color:#ffffff;

  background:
    linear-gradient(135deg,#4d6dff 0%, #2f8dff 42%, #16c4ff 100%);

  box-shadow:
    0 14px 28px rgba(27,120,255,.28),
    0 0 22px rgba(34,190,255,.12),
    inset 0 1px 0 rgba(255,255,255,.22);

  transition:
    transform .22s ease,
    box-shadow .22s ease,
    filter .22s ease;
}

/* glossy top shine */
.bypass-btn::before{
  content:"";
  position:absolute;
  top:0;
  left:8%;
  width:84%;
  height:48%;
  border-radius:999px;
  background:linear-gradient(
    180deg,
    rgba(255,255,255,.30),
    rgba(255,255,255,.04)
  );
  filter:blur(6px);
  pointer-events:none;
}

/* moving light sweep */
.bypass-btn::after{
  content:"";
  position:absolute;
  top:-30%;
  left:-35%;
  width:36%;
  height:160%;
  background:linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.45),
    transparent
  );
  transform:rotate(18deg);
  animation:btnSweep 3s linear infinite;
  pointer-events:none;
}

.bypass-btn:hover{
  transform:translateY(-2px) scale(1.01);
  box-shadow:
    0 18px 34px rgba(27,120,255,.34),
    0 0 30px rgba(34,190,255,.18),
    inset 0 1px 0 rgba(255,255,255,.28);
  filter:brightness(1.05);
}

.bypass-btn:active{
  transform:translateY(0) scale(.985);
}

@keyframes btnSweep{
  0%{
    left:-40%;
  }
  100%{
    left:120%;
  }
}

@media (max-width:480px){
  .bypass-btn{
    height:54px;
    font-size:16px;
    border-radius:13px;
  }
}

.tool-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 14px;
  flex-wrap: wrap;
}

.mini-action {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid rgba(90,169,255,0.24);
  background: transparent;
  color: #6ec3ff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.mini-action.muted {
  color: #b5bbc8;
  border-color: rgba(255,255,255,0.08);
}

/* ================= INFO ================= */

.info-card{
  margin-top:18px;
  padding:18px 16px;
  border-radius:16px;
  background:linear-gradient(180deg, rgba(33,37,45,.96), rgba(21,24,30,.96));
  border:1px solid rgba(255,255,255,.08);
  box-shadow:
    0 10px 30px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.04);
  text-align:left;
}

.info-card h2{
  margin:0 0 14px;
  font-size:18px;
  font-weight:800;
  color:#ffffff;
  letter-spacing:-0.02em;
  display:flex;
  align-items:center;
  gap:10px;
}

.info-card h2::before{
  content:"";
  width:10px;
  height:10px;
  border-radius:50%;
  background:#4fc3ff;
  box-shadow:
    0 0 10px rgba(79,195,255,.5),
    0 0 18px rgba(79,195,255,.25);
  flex:0 0 10px;
}

.info-card p{
  margin:0;
  color:#d8e0ea;
  font-size:14px;
  line-height:1.9;
}

.info-card strong{
  color:#7ddcff;
  font-weight:800;
}

@media (max-width:480px){
  .info-card{
    padding:16px 14px;
    border-radius:14px;
  }

  .info-card h2{
    font-size:17px;
    margin-bottom:12px;
  }

  .info-card p{
    font-size:13px;
    line-height:1.8;
  }
}

/* ================= RESULT ================= */

/* ================= PREMIUM RESULT SECTION ================= */

.result-card{
  position:relative;
  text-align:left;
  border-radius:24px;
  overflow:hidden;
  padding:0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02)),
    linear-gradient(135deg, #2b2d34 0%, #23262d 45%, #1b1d23 100%);
  border:1px solid rgba(255,255,255,.09);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 22px 50px rgba(0,0,0,.32),
    0 0 30px rgba(88,170,255,.05);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}

.result-card::before{
  content:"";
  position:absolute;
  top:-80px;
  right:-60px;
  width:220px;
  height:220px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(104,255,170,.12), transparent 70%);
  filter:blur(16px);
  pointer-events:none;
}


.result-card{
  position:relative;
  text-align:left;
  border-radius:24px;
  overflow:hidden;
  padding:16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02)),
    linear-gradient(135deg, #2b2d34 0%, #23262d 45%, #1b1d23 100%);
  border:1px solid rgba(255,255,255,.09);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 22px 50px rgba(0,0,0,.32),
    0 0 30px rgba(88,170,255,.05);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}

.result-card::before{
  content:"";
  position:absolute;
  top:-80px;
  right:-60px;
  width:220px;
  height:220px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(104,255,170,.12), transparent 70%);
  filter:blur(16px);
  pointer-events:none;
}

.result-card::after{
  content:"";
  position:absolute;
  left:-70px;
  bottom:-90px;
  width:220px;
  height:220px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(92,156,255,.10), transparent 70%);
  filter:blur(18px);
  pointer-events:none;
}

.result-status-bar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  margin-bottom:16px;
  position:relative;
  z-index:2;
}

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

.result-check{
  position:relative;
  width:52px;
  height:52px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 52px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.18), rgba(255,255,255,.02)),
    linear-gradient(180deg, rgba(98,255,172,.28), rgba(98,255,172,.10));
  border:1px solid rgba(142,255,189,.20);
  box-shadow:
    0 0 22px rgba(98,255,172,.14),
    inset 0 1px 0 rgba(255,255,255,.12);
}

.check-icon{
  position:relative;
  z-index:2;
  color:#90ffc0;
  font-size:24px;
  font-weight:900;
  transform:scale(.65);
  opacity:0;
  animation:checkPop .55s cubic-bezier(.2,.8,.2,1) .2s forwards;
}

.check-ring{
  position:absolute;
  inset:-2px;
  border-radius:50%;
  border:2px solid rgba(129,255,187,.45);
  opacity:0;
  transform:scale(.7);
  animation:ringPulse 1.5s ease-out infinite;
}

.success-copy{
  display:flex;
  flex-direction:column;
  min-width:0;
}

.success-copy small{
  color:#9fb2a8;
  font-size:11px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.success-copy strong{
  color:#ffffff;
  font-size:18px;
  font-weight:900;
  letter-spacing:-.02em;
}

.embed-pill{
  min-height:40px;
  max-width:100%;
  padding:0 16px;
  border-radius:999px;
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-weight:900;
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  background:
    linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.02)),
    linear-gradient(90deg, #ff4d7e, #ff7451);
  box-shadow:
    0 10px 22px rgba(255,98,130,.20),
    inset 0 1px 0 rgba(255,255,255,.16);
}

.success-pill{
  background:
    linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.02)),
    linear-gradient(90deg, #25c96f, #18a85a);
  box-shadow:
    0 10px 22px rgba(37,201,111,.18),
    inset 0 1px 0 rgba(255,255,255,.16);
}

.pill-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#d8ffe7;
  box-shadow:0 0 12px rgba(216,255,231,.8);
  animation:pillBlink 1s ease-in-out infinite;
}

.big-result-box{
  margin-top:4px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)),
    linear-gradient(180deg, #1b1d22, #14161a);
  border:1px solid rgba(255,255,255,.08);
  border-radius:22px;
  padding:18px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    0 14px 30px rgba(0,0,0,.24);
  position:relative;
  z-index:2;
}

.result-headline{
  margin-bottom:16px;
}

.result-headline h3{
  margin:0 0 8px;
  font-size:22px;
  line-height:1.1;
  font-weight:900;
  letter-spacing:-.03em;
  color:#ffffff;
  position:relative;
  display:inline-block;
  text-shadow:
    0 0 18px rgba(120,255,190,.08);
}

.result-headline h3::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:78%;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg, #7cffbc, rgba(124,255,188,0));
  box-shadow:0 0 10px rgba(124,255,188,.18);
}

.result-headline p{
  margin:0;
  color:#b8c0cd;
  font-size:14px;
  line-height:1.7;
}

.target-preview{
  border-radius:16px;
  border:1px solid rgba(255,255,255,.08);
  word-break:break-word;
  overflow-wrap:anywhere;
}

.big-target{
  min-height:96px;
  padding:16px;
  margin-bottom:16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)),
    #0f1115;
  color:#e2e8f1;
  font-size:15px;
  line-height:1.75;
  font-family:Consolas, Monaco, "Courier New", monospace;
  font-weight:700;
  letter-spacing:.02em;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    0 8px 18px rgba(0,0,0,.14);
  display:flex;
  align-items:center;
}

.big-result-actions,
.result-actions{
  display:grid;
  gap:12px;
}

.single-inside-action,
.single-action{
  grid-template-columns:1fr;
}

.result-actions{
  margin-top:14px;
}

.result-sub-btn{
  position:relative;
  width:100%;
  min-height:54px;
  border:0;
  border-radius:15px;
  font-size:15px;
  font-weight:900;
  color:#fff;
  cursor:pointer;
  overflow:hidden;
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    filter .22s ease;
}

.result-sub-btn::before{
  content:"";
  position:absolute;
  top:0;
  left:12%;
  width:76%;
  height:44%;
  border-radius:999px;
  background:linear-gradient(180deg, rgba(255,255,255,.24), rgba(255,255,255,0));
  filter:blur(6px);
  pointer-events:none;
}

.result-sub-btn.purple{
  background:
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.02)),
    linear-gradient(180deg, #6a55b5, #4c3d82);
  box-shadow:
    0 14px 24px rgba(101,78,186,.18),
    inset 0 1px 0 rgba(255,255,255,.14);
}

.result-sub-btn.blue{
  background:
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.02)),
    linear-gradient(180deg, #486b90, #314c66);
  box-shadow:
    0 14px 24px rgba(66,116,177,.16),
    inset 0 1px 0 rgba(255,255,255,.14);
}

.result-sub-btn:hover{
  transform:translateY(-2px);
  filter:brightness(1.05);
}

.result-sub-btn:active{
  transform:translateY(0) scale(.985);
}

@keyframes checkPop{
  0%{
    transform:scale(.2) rotate(-20deg);
    opacity:0;
  }
  70%{
    transform:scale(1.18) rotate(6deg);
    opacity:1;
  }
  100%{
    transform:scale(1) rotate(0);
    opacity:1;
  }
}

@keyframes ringPulse{
  0%{
    opacity:.7;
    transform:scale(.72);
  }
  100%{
    opacity:0;
    transform:scale(1.3);
  }
}

@keyframes pillBlink{
  0%,100%{ opacity:1; }
  50%{ opacity:.45; }
}

@media (max-width:480px){
  .result-status-bar{
    flex-direction:column;
    align-items:flex-start;
  }

  .result-check{
    width:46px;
    height:46px;
    flex-basis:46px;
  }

  .success-copy strong{
    font-size:16px;
  }

  .embed-pill{
    min-height:36px;
    font-size:11px;
    padding:0 14px;
  }

  .big-result-box{
    padding:16px;
    border-radius:18px;
  }

  .result-headline h3{
    font-size:18px;
  }

  .result-headline p{
    font-size:13px;
  }

  .big-target{
    min-height:84px;
    padding:14px;
    font-size:14px;
  }

  .result-sub-btn{
    min-height:50px;
    font-size:14px;
    border-radius:13px;
  }
}

.big-result-box::before{
  content:"";
  position:absolute;
  top:0;
  left:10%;
  width:80%;
  height:40%;
  border-radius:999px;
  background:linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,0));
  filter:blur(10px);
  pointer-events:none;
}

.embedded-header{
  display:flex;
  gap:14px;
  align-items:flex-start;
}

.big-header{
  margin-bottom:18px;
  min-width:0;
  width:100%;
}

/* PREMIUM HEADING EFFECT */
.big-header h3{
  position:relative;
  display:inline-block;
  margin:0 0 8px;
  font-size:22px;
  line-height:1.1;
  font-weight:900;
  letter-spacing:-.03em;
  color:#ffffff;
  text-shadow:
    0 1px 0 rgba(255,255,255,.05),
    0 0 22px rgba(100,255,185,.10);
}

.big-header h3::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:72%;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg, #72ffb7, rgba(114,255,183,0));
  box-shadow:0 0 12px rgba(114,255,183,.16);
}

.big-header p{
  margin:0;
  color:#b8c0cd;
  font-size:14px;
  line-height:1.7;
}

.big-header p i{
  font-style:normal;
  color:#d5dde9;
}

.target-preview{
  border-radius:16px;
  border:1px solid rgba(255,255,255,.08);
  word-break:break-word;
  overflow-wrap:anywhere;
}

.big-target{
  min-height:96px;
  padding:16px;
  margin-bottom:16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)),
    #0f1115;
  color:#e2e8f1;
  font-size:15px;
  line-height:1.75;
  font-family:Consolas, Monaco, "Courier New", monospace;
  font-weight:700;
  letter-spacing:.02em;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    0 8px 18px rgba(0,0,0,.14);
  display:flex;
  align-items:center;
}

/* ACTIONS */
.big-result-actions,
.result-actions{
  display:grid;
  gap:12px;
}

.single-inside-action,
.single-action{
  grid-template-columns:1fr;
}

.result-actions{
  padding:0 16px 16px;
}

.result-main-btn,
.result-sub-btn{
  position:relative;
  min-height:54px;
  border:0;
  border-radius:15px;
  font-size:15px;
  font-weight:900;
  cursor:pointer;
  overflow:hidden;
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    filter .22s ease;
}

.result-sub-btn{
  width:100%;
  color:#fff;
}

.result-sub-btn::before{
  content:"";
  position:absolute;
  top:0;
  left:12%;
  width:76%;
  height:44%;
  border-radius:999px;
  background:linear-gradient(180deg, rgba(255,255,255,.24), rgba(255,255,255,0));
  filter:blur(6px);
  pointer-events:none;
}

.result-sub-btn.purple{
  background:
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.02)),
    linear-gradient(180deg, #6a55b5, #4c3d82);
  box-shadow:
    0 14px 24px rgba(101,78,186,.18),
    inset 0 1px 0 rgba(255,255,255,.14);
}

.result-sub-btn.blue{
  background:
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.02)),
    linear-gradient(180deg, #486b90, #314c66);
  box-shadow:
    0 14px 24px rgba(66,116,177,.16),
    inset 0 1px 0 rgba(255,255,255,.14);
}

.result-sub-btn:hover{
  transform:translateY(-2px);
  filter:brightness(1.05);
}

.result-sub-btn:active{
  transform:translateY(0) scale(.985);
}

/* MOBILE */
@media (max-width:480px){
  .result-card{
    border-radius:18px;
  }

  .result-top{
    padding:14px 14px 0;
    gap:10px;
    margin-bottom:12px;
  }

  .result-check{
    width:40px;
    height:40px;
    font-size:20px;
    flex-basis:40px;
  }

  .embed-pill{
    min-height:36px;
    padding:0 14px;
    font-size:11px;
  }

  .big-result-box{
    margin:0 14px 14px;
    padding:16px;
    border-radius:17px;
  }

  .big-header h3{
    font-size:18px;
  }

  .big-header p{
    font-size:13px;
  }

  .big-target{
    min-height:84px;
    padding:14px;
    font-size:14px;
  }

  .result-actions{
    padding:0 14px 14px;
  }

  .result-main-btn,
  .result-sub-btn{
    min-height:50px;
    font-size:14px;
    border-radius:13px;
  }
}
/* ================= MODAL ================= */

.loading-overlay,
.error-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.loading-overlay::before,
.error-backdrop {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10,10,12,0.72);
  backdrop-filter: blur(8px);
}

.loading-card,
.error-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 360px;
  background: linear-gradient(180deg, #2a2a2d, #232325);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 22px 18px;
  text-align: center;
}

.loading-card h2,
.error-card h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

.loading-card p,
.error-card p {
  margin: 0;
  color: #b8bec7;
  line-height: 1.6;
}

.loader-ring {
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  border-radius: 999px;
  border: 4px solid rgba(255,255,255,0.10);
  border-top-color: #41a4ff;
  animation: spin 0.9s linear infinite;
}

.error-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 14px;
  background: rgba(239,68,68,0.18);
  color: #ff7d7d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
}

.error-close-btn {
  width: 100%;
  margin-top: 16px;
  height: 48px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(90deg, #4464ea, #189ec7);
  color: white;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
}

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

/* ================= RESPONSIVE ================= */

@media (max-width: 480px) {
  .topbar {
    padding: 10px;
  }

  .hero-logo {
    width: 60px;
    height: 60px;
    border-radius: 16px;
  }

  .hero h1 {
    font-size: 26px;
  }

  .hero-desc {
    font-size: 13px;
  }

  .big-header h3 {
    font-size: 16px;
  }

  .big-header p {
    font-size: 13px;
  }

  .big-target {
    font-size: 14px;
    min-height: 84px;
    padding: 14px;
  }

  .embedded-header {
    gap: 10px;
  }

  .embed-icon,
  .big-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .nav-inline span,
  .nav-item span {
    font-size: 10px;
  }
}

@media (min-width: 768px) {
  .topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 18px;
  }

  .brand {
    margin-bottom: 0;
    justify-content: flex-start;
    flex: 0 0 auto;
  }

  .topnav {
    display: flex;
    width: auto;
    gap: 10px;
  }

  .nav-item {
    min-height: 40px;
    padding: 10px 14px;
    border-radius: 999px;
  }

  .nav-item::after {
    border-radius: 999px;
  }

  .nav-inline span,
  .nav-item span {
    font-size: 12px;
    white-space: nowrap;
  }

  .nav-icon {
    width: 17px;
    height: 17px;
  }

  .page {
    padding-top: 30px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-desc {
    font-size: 12px;
  }

  .main-card,
  .result-card {
    padding: 18px;
  }

  textarea {
    min-height: 72px;
  }
}

.hero-copy {
  transition: opacity .25s ease, transform .25s ease;
}

.hero-copy.hidden-copy {
  display: none;
}

/* ONLINE STATUS - CENTER */

.live-status{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  width:max-content;
  margin:0 auto 14px auto;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(18,22,28,.72);
  border:1px solid rgba(72,255,170,.18);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 8px 22px rgba(0,0,0,.22),
    0 0 18px rgba(72,255,170,.08);
}

.live-dot{
  position:relative;
  width:10px;
  height:10px;
  border-radius:50%;
  background:#36ff8c;
  box-shadow:
    0 0 8px #36ff8c,
    0 0 16px rgba(54,255,140,.7);
  animation:onlineBlink 1.2s infinite ease-in-out;
}

.live-dot::before{
  content:"";
  position:absolute;
  inset:-6px;
  border-radius:50%;
  border:2px solid rgba(54,255,140,.35);
  animation:onlinePulse 1.8s infinite ease-out;
}

.live-text{
  color:#eafff4;
  font-size:13px;
  font-weight:800;
  letter-spacing:.02em;
  text-shadow:0 0 10px rgba(54,255,140,.15);
}

@keyframes onlineBlink{
  0%,100%{
    opacity:1;
    transform:scale(1);
  }
  50%{
    opacity:.45;
    transform:scale(.85);
  }
}

@keyframes onlinePulse{
  0%{
    transform:scale(.6);
    opacity:.8;
  }
  100%{
    transform:scale(1.8);
    opacity:0;
  }
}

/* ===== SIMPLE FOOTER ===== */

.simple-footer{
  margin-top:36px;
  padding:20px 16px 26px;
  text-align:center;

  border-top:1px solid rgba(255,255,255,.08);

  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
}

.footer-links{
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:14px;
}

.footer-links a{
  color:#dbe4f3;
  text-decoration:none;
  font-size:13px;
  font-weight:700;
  padding:8px 12px;
  border-radius:999px;

  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));

  border:1px solid rgba(255,255,255,.06);

  transition:
    transform .2s ease,
    border-color .2s ease,
    color .2s ease;
}

.footer-links a:hover{
  transform:translateY(-2px);
  color:#ffffff;
  border-color:rgba(73,184,255,.20);
}

.footer-copy{
  color:#97a5ba;
  font-size:12px;
  font-weight:700;
  letter-spacing:.02em;
}

/* MOBILE */
@media (max-width:480px){

  .simple-footer{
    margin-top:28px;
    padding:18px 12px 22px;
  }

  .footer-links{
    gap:8px;
    margin-bottom:12px;
  }

  .footer-links a{
    font-size:12px;
    padding:7px 10px;
  }

  .footer-copy{
    font-size:11px;
  }
}
