* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    height: 100vh;
    background: radial-gradient(circle at top, #0f172a, #020617);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

/* Canvas background */
#bg {
    position: fixed;
    inset: 0;
    z-index: -1;
}

/* Glass card */
.glass-card {
    width: 400px;
    padding: 35px;
    border-radius: 20px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
    box-shadow:
        0 0 30px rgba(56,189,248,0.25),
        inset 0 0 30px rgba(255,255,255,0.05);
    text-align: center;
    animation: float 6s ease-in-out infinite;
    overflow: visible;
}

@keyframes float {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

h1 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #38bdf8, #22c55e);
    -webkit-background-clip: text;
    background-clip: text;               /* ✅ Added standard property */
    -webkit-text-fill-color: transparent; /* ✅ Critical for WebKit */
    color: transparent;                  /* ✅ Fallback (keep it!) */
}

p {
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 25px;
}

input {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: none;
    outline: none;
    font-size: 15px;
    margin-bottom: 15px;
    background: rgba(255,255,255,0.15);
    color: white;
}

input::placeholder {
    color: rgba(255,255,255,0.6);
}

button {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(135deg, #38bdf8, #2563eb);
    color: white;
    box-shadow: 0 0 20px rgba(56,189,248,0.6);
    transition: transform 0.2s, box-shadow 0.2s;
}

button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(56,189,248,0.9);
}

.result {
    margin-top: 25px;
}

.result img {
    width: 200px;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(34,197,94,0.6);
    margin-bottom: 15px;
}

.result a {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 10px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.fade-in {
    animation: fade 0.8s ease forwards;
}

@keyframes fade {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* ===== Signature / Watermark ===== */
.signature {
    position: fixed;
    bottom: 14px;
    right: 18px;
    font-size: 12px;
    line-height: 1.6;
    color: rgba(255,255,255,0.65);
    text-align: right;
    pointer-events: none; /* click-through */
    z-index: 999;
}

.signature span {
    color: #ef4444;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.25); }
}