.overthink-announcement {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, .45);
    backdrop-filter: blur(3px);
}

.overthink-announcement.is-visible {
    display: flex;
    animation: overthink-announcement-fade .25s ease-out;
}

.overthink-announcement__dialog {
    position: relative;
    width: min(100%, 460px);
    max-height: calc(100vh - 40px);
    overflow: auto;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .25);
    color: #0d0d10;
    animation: overthink-announcement-rise .3s cubic-bezier(.16, 1, .3, 1);
}

.overthink-announcement__close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    display: grid;
    width: 30px;
    height: 30px;
    padding: 8px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .82);
    color: #0d0d10;
    cursor: pointer;
    transition: background .15s ease, transform .15s ease;
}

.overthink-announcement__close:hover { background: #fff; transform: scale(1.05); }
.overthink-announcement__close svg { width: 14px; height: 14px; }

.overthink-announcement__hero {
    position: relative;
    display: flex;
    height: 230px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    overflow: hidden;
    background: radial-gradient(circle at 30% 20%, rgba(120, 119, 198, .35), transparent 55%), radial-gradient(circle at 75% 70%, rgba(255, 138, 61, .28), transparent 50%), linear-gradient(160deg, #0d0d10, #17171b);
}

.overthink-announcement__hero::after {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 18px 18px;
    content: "";
}

.overthink-announcement__wordmark {
    position: relative;
    z-index: 1;
    padding: 0 20px;
    background: linear-gradient(100deg, #f2f2f5 20%, #fff 45%, #d9d9e2 55%, #f2f2f5 80%);
    background-size: 220% 100%;
    background-clip: text;
    color: transparent;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-align: center;
    animation: overthink-announcement-shine 5s ease-in-out infinite;
}

.overthink-announcement__logo-wrap {
    position: relative;
    z-index: 1;
    display: grid;
    width: 76px;
    height: 76px;
    place-items: center;
}

.overthink-announcement__logo-wrap::before {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: conic-gradient(#7877c6, #ff8a3d, #7877c6);
    content: "";
    filter: blur(10px);
    opacity: .55;
    animation: overthink-announcement-spin 4s linear infinite;
}

.overthink-announcement__logo { position: relative; z-index: 1; width: 64px; height: 64px; filter: drop-shadow(0 0 20px rgba(255, 255, 255, .2)); }
.overthink-announcement__content { padding: 28px 32px 30px; }
.overthink-announcement__eyebrow { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; color: #6e6e80; font-size: 11.5px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; }
.overthink-announcement__eyebrow span { width: 6px; height: 6px; border-radius: 50%; background: linear-gradient(135deg, #7877c6, #ff8a3d); }
.overthink-announcement__content h2 { margin: 0 0 10px; color: #0d0d10; font-size: 23px; line-height: 1.25; letter-spacing: -.4px; }
.overthink-announcement__subtitle { margin: 0 0 22px; color: #4b4b57; font-size: 14.5px; line-height: 1.6; }
.overthink-announcement__features { display: flex; flex-direction: column; gap: 14px; margin-bottom: 26px; }
.overthink-announcement__feature { display: flex; align-items: flex-start; gap: 12px; }
.overthink-announcement__feature-icon { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; border-radius: 9px; background: #f4f4f6; }
.overthink-announcement__feature-icon svg { width: 17px; height: 17px; }
.overthink-announcement__feature > span:last-child { display: flex; flex-direction: column; }
.overthink-announcement__feature strong { margin-bottom: 2px; font-size: 13.5px; font-weight: 600; }
.overthink-announcement__feature small { color: #6e6e80; font-size: 12.5px; line-height: 1.5; }
.overthink-announcement__actions { display: flex; gap: 10px; }
.overthink-announcement__button { flex: 1; padding: 12px 16px; border: 0; border-radius: 10px; font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .15s ease, transform .12s ease; }
.overthink-announcement__button:active { transform: scale(.97); }
.overthink-announcement__button--primary { background: #0d0d10; color: #fff; }
.overthink-announcement__button--primary:hover { background: #26262c; }
.overthink-announcement__button--secondary { background: #f4f4f6; color: #0d0d10; }
.overthink-announcement__button--secondary:hover { background: #e8e8ec; }

@keyframes overthink-announcement-fade { from { opacity: 0; } }
@keyframes overthink-announcement-rise { from { opacity: 0; transform: translateY(24px) scale(.98); } }
@keyframes overthink-announcement-shine { from { background-position: 220% 0; } to { background-position: -20% 0; } }
@keyframes overthink-announcement-spin { to { transform: rotate(360deg); } }

@media (max-width: 520px) {
    .overthink-announcement { padding: 12px; }
    .overthink-announcement__dialog { max-height: calc(100vh - 24px); }
    .overthink-announcement__hero { height: 180px; }
    .overthink-announcement__content { padding: 24px 22px; }
}

@media (prefers-reduced-motion: reduce) {
    .overthink-announcement, .overthink-announcement__dialog, .overthink-announcement__wordmark, .overthink-announcement__logo-wrap::before { animation: none !important; }
}
