:root {
    --bg-from:  #fef9f3;
    --bg-to:    #eef4ff;
    --surface:  #ffffff;
    --border:   rgba(120, 120, 160, 0.12);
    --text:     #2b2740;
    --muted:    #8b89a3;
    --accent:   #6c8cff;
    --accent-2: #ff9fb2;
    --accent-3: #ffd28a;
    --radius:   30px;
    --shadow:   0 30px 70px -24px rgba(108, 140, 255, 0.28), 0 6px 18px -6px rgba(0,0,0,0.05);
}

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

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow: hidden;
    font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg-from);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

/* ---------- background ---------- */
.bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: linear-gradient(160deg, var(--bg-from) 0%, #ffffff 48%, var(--bg-to) 100%);
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(85px);
    animation: float 16s ease-in-out infinite;
}

.blob--1 { width: 400px; height: 400px; top: -130px; left: -110px; background: #c9d6ff; opacity: 0.55; }
.blob--2 { width: 340px; height: 340px; bottom: -120px; right: -90px; background: #ffd6e0; opacity: 0.5; animation-delay: -5s; }
.blob--3 { width: 280px; height: 280px; top: 35%; left: 62%; background: #ffe9c2; opacity: 0.5; animation-delay: -10s; }

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(18px, -24px) scale(1.06); }
}

/* ---------- card ---------- */
.card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    padding: 0 0 30px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    overflow: hidden;
    animation: rise 0.6s cubic-bezier(.21,.99,.43,1) both;
}

@keyframes rise {
    from { opacity: 0; transform: translateY(22px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---------- media ---------- */
.card__media {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #c9d6ff, #ffd6e0, #ffe9c2);
}

.card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.card__media--fallback {
    background: linear-gradient(135deg, #c9d6ff 0%, #ffd6e0 50%, #ffe9c2 100%);
}

/* ---------- status pill ---------- */
.card__status {
    position: absolute;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    color: #fff;
    background: rgba(20, 20, 35, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
    70%  { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* ---------- text ---------- */
.card__title {
    margin-top: 24px;
    padding: 0 34px;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text);
}

.card__subtitle {
    margin-top: 10px;
    padding: 0 34px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--muted);
}

/* ---------- actions ---------- */
.card__actions {
    margin-top: 26px;
    padding: 0 34px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card__note {
    margin-top: 16px;
    font-size: 12.5px;
    color: var(--muted);
    letter-spacing: 0.01em;
}

/* ---------- button ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    height: 56px;
    padding: 0 24px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .25s ease, filter .2s ease;
}

.btn__icon {
    width: 21px;
    height: 21px;
    fill: currentColor;
}

.btn--primary {
    color: #fff;
    background: linear-gradient(120deg, var(--accent) 0%, #9aa9ff 50%, var(--accent-2) 100%);
    box-shadow: 0 16px 34px -10px rgba(108, 140, 255, 0.55);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 44px -10px rgba(255, 159, 178, 0.55);
    filter: brightness(1.03);
}

.btn--primary:active {
    transform: translateY(0);
    filter: brightness(0.98);
}

@media (max-width: 480px) {
    .card { padding: 0 0 26px; }
    .card__title { font-size: 22px; padding: 0 24px; }
    .card__subtitle { font-size: 14px; padding: 0 24px; }
    .card__actions { padding: 0 24px; }
}
