.release-notice {
    position: fixed;
    inset: 0;
    z-index: 1200;

    display: grid;
    align-items: center;
    justify-items: center;
    padding: 20px;

    background: rgba(4, 7, 12, 0.7);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    transition:
        opacity 220ms ease,
        visibility 220ms ease;
}

.release-notice.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.release-notice-card {
    position: relative;

    width: min(440px, 100%);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 24px;

    border: 1px solid rgba(139, 92, 246, 0.48);
    border-radius: 20px;

    background:
        radial-gradient(
            circle at 16% 4%,
            rgba(139, 92, 246, 0.2),
            transparent 34%
        ),
        rgba(22, 27, 34, 0.98);
    box-shadow:
        0 28px 80px rgba(0, 0, 0, 0.52),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);

    opacity: 0;
    transform: translateY(24px) scale(0.94);

    transition:
        opacity 220ms ease,
        transform 360ms cubic-bezier(0.2, 0.85, 0.25, 1.12);
}

.release-notice.is-open .release-notice-card {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.release-notice-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;
    padding: 0;

    border: 1px solid var(--border, #30363d);
    border-radius: 11px;

    background: rgba(13, 17, 23, 0.72);
    color: var(--muted, #9da7b4);

    font: inherit;
    font-size: 1.3rem;
    line-height: 1;

    cursor: pointer;

    transition:
        border-color 160ms ease,
        background 160ms ease,
        color 160ms ease,
        transform 160ms ease;
}

.release-notice-close:hover {
    border-color: rgba(139, 92, 246, 0.64);
    background: rgba(139, 92, 246, 0.12);
    color: var(--text, #e6edf3);
    transform: rotate(5deg);
}

.release-notice-close:focus-visible,
.release-notice-confirm:focus-visible {
    outline: 2px solid var(--accent-secondary, #a78bfa);
    outline-offset: 3px;
}

.release-notice-visual {
    position: relative;

    display: grid;
    place-items: center;

    width: 112px;
    height: 112px;
    margin: 4px auto 22px;
}

.release-notice-orbit {
    position: absolute;
    inset: 0;

    border: 1px solid rgba(167, 139, 250, 0.22);
    border-radius: 50%;

    animation: release-orbit 7s linear infinite;
}

.release-notice-orbit::after {
    position: absolute;
    top: 7px;
    left: 17px;

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--accent-secondary, #a78bfa);
    box-shadow: 0 0 16px rgba(167, 139, 250, 0.82);
    content: "";
}

.release-notice-clock {
    position: relative;
    z-index: 1;

    width: 72px;
    height: 72px;

    border: 2px solid rgba(196, 181, 253, 0.68);
    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(139, 92, 246, 0.28),
            rgba(13, 17, 23, 0.92) 67%
        );
    box-shadow:
        0 0 0 9px rgba(139, 92, 246, 0.08),
        0 12px 30px rgba(0, 0, 0, 0.32);
}

.release-notice-clock::before,
.release-notice-clock::after {
    position: absolute;
    left: 50%;
    bottom: 50%;

    border-radius: 4px;
    background: var(--accent-bright, #c4b5fd);
    content: "";
    transform-origin: 50% 100%;
}

.release-notice-clock::before {
    width: 3px;
    height: 22px;
    transform: translateX(-50%) rotate(24deg);
}

.release-notice-clock::after {
    width: 3px;
    height: 28px;
    transform: translateX(-50%) rotate(132deg);
}

.release-notice-platform {
    display: block;
    width: fit-content;
    margin: 0 auto 12px;
    padding: 6px 10px;

    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 999px;

    background: rgba(139, 92, 246, 0.1);
    color: var(--accent-bright, #c4b5fd);

    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.release-notice-title {
    margin: 0;

    color: var(--text, #e6edf3);

    font-size: clamp(1.65rem, 6vw, 2.2rem);
    line-height: 1.08;
    text-align: center;
}

.release-notice-description {
    margin: 15px 0 22px;

    color: var(--muted, #9da7b4);

    font-size: 0.94rem;
    line-height: 1.65;
    text-align: center;
}

.release-notice-confirm {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 46px;
    padding: 10px 16px;

    border: 1px solid rgba(139, 92, 246, 0.62);
    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            rgba(139, 92, 246, 0.3),
            rgba(139, 92, 246, 0.14)
        );
    color: var(--accent-bright, #c4b5fd);

    font: inherit;
    font-size: 0.88rem;
    font-weight: 850;

    cursor: pointer;

    transition:
        border-color 160ms ease,
        background 160ms ease,
        transform 160ms ease;
}

.release-notice-confirm:hover {
    border-color: rgba(167, 139, 250, 0.88);
    background: rgba(139, 92, 246, 0.26);
    transform: translateY(-1px);
}

@keyframes release-orbit {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 520px) {
    .release-notice {
        align-items: end;
        padding: 10px;
    }

    .release-notice-card {
        width: 100%;
        max-height: calc(100vh - 20px);
        padding: 22px 18px 18px;
        border-radius: 18px;
        transform: translateY(28px) scale(0.98);
    }

    .release-notice-visual {
        width: 96px;
        height: 96px;
        margin-bottom: 18px;
    }

    .release-notice-clock {
        width: 64px;
        height: 64px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .release-notice,
    .release-notice-card,
    .release-notice-close,
    .release-notice-confirm {
        transition: none;
    }

    .release-notice-orbit {
        animation: none;
    }
}
