:root {
    --bg-color: #0f0c1b;
    --card-bg: rgba(255, 255, 255, 0.05);
    --primary-color: #a855f7;
    --secondary-color: #ec4899;
    --text-color: #ffffff;
    --text-secondary: #cbd5e1;
    --success-color: #10b981;
    --warning-bg: rgba(245, 158, 11, 0.15);
    --warning-text: #fbbf24;
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    background-image:
        radial-gradient(circle at 10% 20%, rgba(168, 85, 247, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(236, 72, 153, 0.15) 0%, transparent 40%);
    color: var(--text-color);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

#balloon-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    /* Let clicks pass through to the card unless we want interactive balloons */
}

/* We want balloons to be interactive, so let's allow pointer events only where there are balloons? 
   Actually, for simplicity, pointer-events: none on canvas allows clicking the UI. 
   Interaction with balloons can be handle by event listeners on window that check coordinates.
   I'll handle interaction in JS. */
#balloon-canvas {
    z-index: 0;
    pointer-events: auto;
    /* Let's allow interaction */
}

.container {
    position: relative;
    z-index: 10;
    padding: 20px;
    width: 100%;
    max-width: 500px;
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.icon-container {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.check-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 36px;
    color: white;
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.4);
    animation: scaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s backwards;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 8px;
    background: linear-gradient(to right, #fff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.subtitle strong {
    color: var(--primary-color);
}

.info-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

.info-item,
.warning-box {
    padding: 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.2s;
}

.info-item:hover,
.warning-box:hover {
    transform: translateY(-2px);
}

.info-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.info-item i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.warning-box {
    background: var(--warning-bg);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.warning-box i {
    font-size: 1.25rem;
    color: var(--warning-text);
}

.warning-box p {
    color: #ffdca0;
    font-size: 0.95rem;
}

.info-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.info-item strong {
    color: #fff;
    font-weight: 600;
}

.action-btn {
    display: block;
    text-decoration: none;
    text-align: center;
    margin-top: 32px;
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 25px -5px rgba(168, 85, 247, 0.4);
    position: relative;
    overflow: hidden;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 35px -5px rgba(168, 85, 247, 0.5);
}

.action-btn:active {
    transform: translateY(0);
}

.action-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.action-btn:hover::after {
    opacity: 1;
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0) rotate(-180deg);
    }

    to {
        transform: scale(1) rotate(0);
    }
}

/* Responsive */
@media (max-width: 480px) {
    .card {
        padding: 30px 20px;
    }

    h1 {
        font-size: 2rem;
    }
}