:root {
    --blue-deep:   #1a1208;
    --blue-mid:    #7a3d08;
    --blue-bright: #e8900a;
    --blue-pale:   #fef3e0;
    --white:       #ffffff;
    --slate:       #5c4228;
    --mist:        #c4956a;
}

.notice-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(26, 18, 8, 0.75);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.notice-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.notice-modal-box {
    background: var(--white);
    border-radius: 8px;
    padding: 2.8rem 2.6rem 2.4rem;
    max-width: 520px;
    width: 100%;
    position: relative;
    transform: translateY(24px);
    transition: transform 0.35s ease;
    box-shadow: 0 32px 80px rgba(8, 24, 44, 0.25);
}

.notice-modal-overlay.active .notice-modal-box {
    transform: translateY(0);
}

.notice-modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--mist);
    padding: 0.3rem;
    transition: color 0.2s;
}

.notice-modal-close:hover {
    color: var(--blue-deep);
}

.notice-modal-icon {
    width: 56px;
    height: 56px;
    background: var(--blue-pale);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-bright);
    margin-bottom: 1.4rem;
    position: relative;
}

.notice-modal-emoji {
    position: absolute;
    top: -0.55rem;
    right: -0.55rem;
    font-size: 1.15rem;
    line-height: 1;
}

.notice-modal-title {
    font-family: 'Google Sans', sans-serif;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--blue-deep);
    margin-bottom: 1rem;
}

.notice-modal-body {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 1.8rem;
}

.notice-modal-body p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--slate);
    font-weight: 300;
}

.notice-modal-submit {
    width: 100%;
    background: var(--blue-bright);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-family: 'Manrope', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.9rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}

.notice-modal-submit:hover {
    background: var(--blue-deep);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .notice-modal-box {
        padding: 2.4rem 1.6rem 1.8rem;
    }

    .notice-modal-title {
        font-size: 1.35rem;
    }
}
