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

body {
    font-family: "Segoe UI", system-ui, sans-serif;
    min-height: 100vh;
    background: #f4f6fb;
    color: #1f2430;
}

.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transform: translateY(-110%);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.top-bar.show {
    transform: translateY(0);
}

.top-bar-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.4rem;
    background: linear-gradient(90deg, #6366f1, #8b5cf6 50%, #d946ef);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.35);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.badge {
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.message {
    flex: 1;
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.4;
}

.link {
    color: #ffe08a;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dashed rgba(255, 224, 138, 0.6);
}

.link:hover {
    color: #fff;
}

.dismiss {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, transform 0.25s ease;
}

.dismiss:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: rotate(90deg);
}

.content {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 1.5rem 2rem;
}

.card {
    max-width: 520px;
    text-align: center;
    background: #fff;
    border-radius: 20px;
    padding: 3rem 2.5rem;
    box-shadow: 0 20px 50px rgba(31, 36, 48, 0.12);
}

.card h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #6366f1, #d946ef);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.card p {
    color: #5a6272;
    line-height: 1.7;
    margin-bottom: 1.8rem;
}

.retry {
    border: none;
    border-radius: 12px;
    padding: 0.8rem 1.6rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.retry:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(99, 102, 241, 0.45);
}
