:root {
    color-scheme: dark;
    --bg: #061512;
    --ink: #f2fbf6;
    --muted: #a9c9b9;
    --accent-1: #22c55e;
    --accent-2: #7c5cff;
    --accent-3: #a3e635;
    --card-bg: rgba(10, 28, 22, 0.55);
    --card-border: rgba(255, 255, 255, 0.14);
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 20% 20%, #103324 0%, var(--bg) 55%) fixed;
    color: var(--ink);
    font-family: "Segoe UI", Helvetica, Arial, sans-serif;
    overflow-x: hidden;
    position: relative;
}

#bg-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.55;
    z-index: 0;
    pointer-events: none;
    will-change: transform;
}

.blob-a {
    width: 480px;
    height: 480px;
    top: -120px;
    left: -100px;
    background: radial-gradient(circle, var(--accent-2), transparent 70%);
    animation: float-a 16s ease-in-out infinite;
}

.blob-b {
    width: 420px;
    height: 420px;
    bottom: -140px;
    right: -80px;
    background: radial-gradient(circle, var(--accent-1), transparent 70%);
    animation: float-b 20s ease-in-out infinite;
}

.blob-c {
    width: 360px;
    height: 360px;
    bottom: 10%;
    left: 8%;
    background: radial-gradient(circle, var(--accent-3), transparent 70%);
    animation: float-c 18s ease-in-out infinite;
}

@keyframes float-a {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(60px, 50px) scale(1.1); }
}

@keyframes float-b {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-50px, -40px) scale(1.15); }
}

@keyframes float-c {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -60px) scale(0.9); }
}

.wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card {
    position: relative;
    width: 100%;
    max-width: 560px;
    padding: 56px 40px;
    text-align: center;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 28px;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    --spot-x: 50%;
    --spot-y: 0%;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, var(--accent-2), var(--accent-1), var(--accent-3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.6;
    pointer-events: none;
}

.card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(320px circle at var(--spot-x) var(--spot-y), rgba(255, 255, 255, 0.14), transparent 60%);
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 28px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-3);
    box-shadow: 0 0 0 0 rgba(163, 230, 53, 0.6);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(163, 230, 53, 0.55); }
    70% { box-shadow: 0 0 0 10px rgba(163, 230, 53, 0); }
    100% { box-shadow: 0 0 0 0 rgba(163, 230, 53, 0); }
}

.title {
    margin: 0;
    font-size: clamp(2.6rem, 8vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.05;
    background: linear-gradient(90deg, #ffffff, var(--accent-3) 45%, var(--accent-1) 75%, var(--accent-2));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shine 6s linear infinite;
}

.accent {
    background: inherit;
    -webkit-background-clip: text;
    background-clip: text;
}

@keyframes shine {
    to { background-position: 200% center; }
}

.subtitle {
    margin: 18px 0 4px;
    font-size: 1.15rem;
    color: var(--ink);
    opacity: 0.92;
}

.tagline {
    margin: 0 0 32px;
    font-size: 0.95rem;
    color: var(--muted);
}

.notify-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.notify-input {
    flex: 1 1 220px;
    min-width: 0;
    padding: 14px 18px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: var(--ink);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.notify-input::placeholder {
    color: rgba(245, 243, 255, 0.4);
}

.notify-input:focus {
    border-color: var(--accent-3);
    background: rgba(255, 255, 255, 0.1);
}

.notify-button {
    flex: 0 0 auto;
    padding: 14px 26px;
    border: none;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0b0620;
    background: linear-gradient(120deg, var(--accent-3), var(--accent-1));
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.notify-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(34, 197, 94, 0.35);
}

.notify-button:active {
    transform: translateY(0);
}

.notify-message {
    min-height: 1.2em;
    margin: 16px 0 0;
    font-size: 0.88rem;
    color: var(--accent-3);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.notify-message.show {
    opacity: 1;
    transform: translateY(0);
}

.notify-message.error {
    color: var(--accent-1);
}

@media (max-width: 480px) {
    .card {
        padding: 40px 24px;
        border-radius: 22px;
    }

    .notify-form {
        flex-direction: column;
    }

    .notify-button {
        width: 100%;
    }
}
