:root {
    --bg-from: #fdf4ff;
    --bg-to:   #fff7ed;
    --surface: #ffffff;
    --border:  rgba(0, 0, 0, 0.07);
    --text:    #1a0a2e;
    --muted:   #9b8aa8;
    --accent:  #c026d3;
    --accent-2:#f43f5e;
    --accent-3:#f97316;
    --radius:  28px;
    --shadow:  0 24px 64px -16px rgba(192, 38, 211, 0.15), 0 4px 16px -4px rgba(0,0,0,0.06);
}

* { 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: -apple-system, BlinkMacSystemFont, "Segoe UI", 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(145deg, var(--bg-from) 0%, #fff 50%, var(--bg-to) 100%);
}

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

.blob--1 { width: 420px; height: 420px; top: -120px; left: -100px; background: #f0abfc; opacity: 0.45; animation-delay: 0s; }
.blob--2 { width: 360px; height: 360px; bottom: -120px; right: -80px; background: #fdba74; opacity: 0.4; animation-delay: -5s; }
.blob--3 { width: 300px; height: 300px; top: 30%; left: 60%; background: #fda4af; opacity: 0.3; animation-delay: -10s; }

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

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

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

/* ---------- media ---------- */
.card__media-wrap {
    position: relative;
    width: 100%;
}

.card__media {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, #f5d0fe, #fecdd3, #fed7aa);
}

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

.card__media--fallback {
    background: linear-gradient(135deg, #f5d0fe 0%, #fecdd3 50%, #fed7aa 100%);
}

.card__status {
    position: absolute;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    letter-spacing: 0.01em;
}

.dot {
    width: 7px;
    height: 7px;
    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 7px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* ---------- body ---------- */
.card__body {
    padding: 28px 32px 32px;
}

.card__title {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;
    background: linear-gradient(130deg, var(--accent) 0%, var(--accent-2) 60%, var(--accent-3) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.card__divider {
    margin: 22px auto;
    width: 40px;
    height: 3px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--accent), var(--accent-3));
    opacity: 0.5;
}

.card__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

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

.btn--primary {
    color: #fff;
    background: linear-gradient(130deg, var(--accent), var(--accent-2), var(--accent-3));
    box-shadow: 0 12px 28px -8px rgba(192, 38, 211, 0.5);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px -8px rgba(244, 63, 94, 0.55);
    filter: brightness(1.04);
}

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

@media (max-width: 480px) {
    .card__body { padding: 22px 22px 28px; }
    .card__title { font-size: 20px; }
    .card__subtitle { font-size: 14px; }
}
