* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", sans-serif; color: #0f172a; background: radial-gradient(1200px 800px at 10% 10%, #eef2ff 0%, #f8fafc 40%, #f1f5f9 100%); }
.container { max-width: 960px; margin: 0 auto; padding: 32px; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.card { width: 100%; background: rgba(255,255,255,0.85); border: 1px solid rgba(99,102,241,0.14); border-radius: 16px; box-shadow: 0 12px 30px rgba(17, 24, 39, 0.08); padding: 28px; backdrop-filter: saturate(140%) blur(6px); }
.title { margin: 0 0 8px; font-size: 36px; line-height: 1.2; font-weight: 700; letter-spacing: 0.4px; color: #0b1220; }
.subtitle { margin: 0 0 18px; font-size: 16px; color: #475569; }
.form { display: flex; gap: 12px; align-items: center; }
.form input { flex: 1; height: 52px; padding: 0 16px; border: 1px solid #d0d5dd; border-radius: 12px; font-size: 16px; outline: none; background: #fff; }
.form input::placeholder { color: #9aa4b2; }
.form input:focus { border-color: #6366f1; box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12); }
.form button { height: 52px; padding: 0 20px; border-radius: 12px; border: none; font-size: 16px; font-weight: 700; background: linear-gradient(135deg, #6366f1 0%, #4f46e5 60%, #0ea5e9 120%); color: #fff; cursor: pointer; transition: transform .06s ease, filter .2s ease; }
.form button:hover { filter: brightness(1.06); }
.form button:active { transform: translateY(1px); }
.form button:disabled { background: #a5b4fc; cursor: not-allowed; }
.status { margin-top: 12px; min-height: 22px; color: #ef4444; font-size: 14px; font-weight: 600; }
.url { margin-top: 8px; min-height: 24px; font-size: 14px; color: #0f766e; }
/*.url::before { content: ""; color: #334155; margin-right: 6px; }*/
.frame-wrap { margin-top: 20px; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 12px 30px rgba(17, 24, 39, 0.1); animation: fadeIn .24s ease; }
.frame-wrap.hidden { display: none; }
.frame-wrap iframe { width: 100%; height: 72vh; border: 0; }
/* Fullscreen mode when site opened successfully */
.fullscreen .card { display: none; }
.fullscreen .frame-wrap { display: block; position: fixed; inset: 0; margin: 0; border-radius: 0; box-shadow: none; }
.fullscreen .frame-wrap iframe { height: 100vh; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
