body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(-45deg, #0059ff, #4360e2, #0059ff, #0066ff);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes borderBreath {
    0% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12),
                    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    }
    50% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12),
                    inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    }
    100% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12),
                    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    }
}

@keyframes buttonBreath {
    0% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15),
                    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15),
                    inset 0 0 0 1px rgba(255, 255, 255, 0.25);
    }
    100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15),
                    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    }
}

@keyframes neonBreath {
    0% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12),
                    0 0 5px rgba(255, 255, 255, 0.1),
                    0 0 15px rgba(255, 0, 200, 0.2),
                    0 0 30px rgba(255, 0, 200, 0.1);
    }
    50% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12),
                    0 0 10px rgba(255, 255, 255, 0.2),
                    0 0 30px rgba(0, 255, 255, 0.3),
                    0 0 50px rgba(0, 255, 255, 0.2);
    }
    100% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12),
                    0 0 5px rgba(255, 255, 255, 0.1),
                    0 0 15px rgba(255, 0, 200, 0.2),
                    0 0 30px rgba(255, 0, 200, 0.1);
    }
}

@keyframes neonButtonBreath {
    0% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15),
                    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
                    0 0 5px rgba(255, 255, 255, 0.1),
                    0 0 15px rgba(0, 255, 255, 0.2);
    }
    50% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15),
                    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
                    0 0 10px rgba(255, 255, 255, 0.2),
                    0 0 30px rgba(255, 0, 200, 0.3);
    }
    100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15),
                    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
                    0 0 5px rgba(255, 255, 255, 0.1),
                    0 0 15px rgba(0, 255, 255, 0.2);
    }
}

.container {
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 1;
    margin-top: -120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 3.5rem 4rem;
    border-radius: 30px;
    width: 90%;
    max-width: 900px;
    text-align: center;
    z-index: 2;
    margin: 0 auto;
    position: relative;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: cardFloat 3s ease-in-out infinite;
}

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.search-container::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 30px;
    padding: 2px;
    background: linear-gradient(
        135deg,
        rgba(255, 0, 200, 0.5),
        rgba(0, 255, 255, 0.5)
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.3;
}

.search-container::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 30px;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.3), 
        rgba(255, 255, 255, 0.1)
    );
    z-index: -1;
    filter: blur(1px);
}

.search-box {
    width: 100%;
    max-width: 850px;
    margin: 25px auto;
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    width: 100%;
    padding: 18px 35px;
    border: none;
    border-radius: 20px;
    font-size: 17px;
    outline: none;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.1),
        inset 0 2px 4px rgba(255, 255, 255, 0.5);
}

.search-input:focus {
    background: white;
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.15),
        inset 0 2px 4px rgba(255, 255, 255, 0.5);
}

.search-button {
    position: absolute;
    right: 8px;
    padding: 12px 32px;
    border: none;
    border-radius: 18px;
    background: linear-gradient(135deg, #2196f3, #1976d2);
    color: white;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.search-button:hover {
    background: linear-gradient(135deg, #1e88e5, #1565c0);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

.weather-container {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 20px;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 3;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15),
                inset 0 0 0 1px rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
}

.weather-container::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 20px;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.2), 
        rgba(255, 255, 255, 0.05)
    );
    z-index: -1;
    filter: blur(1px);
}

.weather-container:hover {
    transform: scale(1.05);
    background: rgba(0, 0, 0, 0.25);
}

.city-select {
    position: fixed;
    top: 90px;
    right: 20px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    padding: 15px;
    border-radius: 15px;
    color: white;
    z-index: 3;
    display: none;
    flex-direction: column;
    gap: 10px;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15),
                inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.city-select.show {
    display: flex;
}

.city-option {
    padding: 8px 15px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.city-option:hover {
    background: rgba(255, 255, 255, 0.2);
}

.city-search {
    padding: 8px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
    outline: none;
}

.signature {
    color: #5a3e2b; /* Warm brown color for better readability */
    font-family: 'Comic Sans MS', 'Marker Felt', 'Lucida Handwriting', cursive, sans-serif;
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    font-weight: 500;
    letter-spacing: 0.8px;
    line-height: 1.8;
    max-width: 800px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(135deg, #fef1b5 0%, #ffeaaa 100%); /* Gradient for depth */
    border-radius: 12px;
    padding: 25px 30px;
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.2),
        inset 0 0 15px rgba(255, 255, 255, 0.7);
    position: relative;
    transform: rotate(-1.5deg); /* Slightly more rotation for natural look */
    border: 2px dashed #e6b800; /* Dashed border for decorative effect */
}

.signature::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 25px;
    width: 35px;
    height: 35px;
    background: radial-gradient(circle at 30% 30%, #ffeb3b, #fdd835);
    border-radius: 50%;
    box-shadow: 
        inset 0 0 10px rgba(0, 0, 0, 0.1),
        0 3px 8px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.signature::after {
    content: "";
    position: absolute;
    bottom: -5px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    filter: blur(8px);
    z-index: 1;
}

.signature span {
    position: relative;
    display: inline-block;
}

.signature span::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(90, 62, 43, 0.3), transparent);
}

.signature #current-date {
    font-weight: 700;
    color: #c62828;
    background: rgba(255, 255, 255, 0.6);
    padding: 3px 10px;
    border-radius: 6px;
    margin: 0 3px;
    border: 1px solid rgba(230, 184, 0, 0.5);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.signature-line {
    display: block;
    text-align: right;
    margin-top: 15px;
    font-style: italic;
    color: #8d6e63;
    font-weight: 600;
    font-size: 1.3rem;
    position: relative;
    padding-right: 25px;
    font-family: 'Brush Script MT', 'Segoe Script', cursive;
}

.signature-line::before {
    content: "❧";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #e6b800;
    font-size: 1.8rem;
    opacity: 0.7;
}

.signature-line::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 18%;
    min-width: 85px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #c62828, transparent);
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
}

.settings-button {
    position: fixed;
    top: 25px;
    left: 25px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 32px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
}

.settings-button:hover {
    color: white;
    transform: rotate(45deg);
}

.settings-panel {
    position: fixed;
    top: 75px;
    left: 25px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 20px;
    color: white;
    display: none;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    min-width: 180px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.settings-panel h3 {
    margin: 0 0 20px 0;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
    font-weight: 500;
}

.engine-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.engine-options label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    padding: 10px 15px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
}

.engine-options label:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.engine-options input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    outline: none;
    position: relative;
    transition: all 0.3s ease;
}

.engine-options input[type="radio"]:checked {
    border-color: #2196f3;
    background: #2196f3;
    box-shadow: 0 0 10px rgba(33, 150, 243, 0.5);
}

.engine-options input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

.settings-panel.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .search-container {
        padding: 2.5rem 2rem;
        width: 92%;
    }

    .time {
        font-size: 4rem;
    }

    .date {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    .search-box {
        width: 100%;
    }

    .search-input {
        width: calc(100% - 100px);
        padding: 15px 20px;
        font-size: 15px;
    }

    .search-button {
        padding: 15px 20px;
        font-size: 15px;
        right: 5px;
    }

    .weather-container {
        padding: 10px 15px;
        font-size: 14px;
        top: 15px;
        right: 15px;
    }

    .settings-button {
        top: 15px;
        left: 15px;
        font-size: 20px;
    }

    .settings-panel {
        top: 55px;
        left: 15px;
        padding: 15px;
        min-width: 140px;
    }

    .settings-panel h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .engine-options label {
        font-size: 14px;
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    .search-container {
        padding: 2rem 1.5rem;
    }

    .time {
        font-size: 3.5rem;
    }

    .search-input {
        width: calc(100% - 80px);
        padding: 15px 25px;
    }

    .search-button {
        padding: 10px 24px;
        font-size: 14px;
    }
}

.bookmarks {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.add-bookmark {
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-bookmark:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.icon-select-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.icon-preview {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.preview-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
}

.icon-select {
    position: relative;
    width: 100%;
}

.selected-icon {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
    color: #333;
}

.selected-icon:hover {
    background: white;
}

.icon-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
    padding: 10px;
    z-index: 1004;
    max-height: 300px;
    overflow-y: auto;
    width: 100%;
    box-sizing: border-box;
    margin-top: 5px;
}

.icon-options.show {
    display: grid;
}

.icon-option {
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border-radius: 8px;
    color: #333;
    transition: all 0.2s ease;
}

.icon-option:hover {
    background: rgba(33, 150, 243, 0.1);
    color: #2196f3;
}

.icon-option i {
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.bookmark-list {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.bookmark-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.bookmark-item:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.bookmark-item i {
    font-size: 18px;
}

.bookmark-item span {
    font-size: 14px;
}

.bookmark-delete {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 0, 0, 0.8);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    opacity: 0;
    transition: all 0.3s ease;
}

.bookmark-item:not([data-default="true"]):hover .bookmark-delete {
    opacity: 1;
}

.bookmark-delete:hover {
    background: rgba(255, 0, 0, 1);
    transform: scale(1.1);
}

.bookmark-modal {
    display: none;
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    padding: 35px 40px;
    border-radius: 20px;
    color: white;
    z-index: 1001;
    max-width: 480px;
    width: 90%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.modal-title {
    text-align: center;
    font-size: 24px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 30px 0;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    padding: 8px;
    font-size: 18px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.modal-body {
    padding: 0 10px;
}

.input-group {
    margin-bottom: 15px;
    width: 100%;
}

.input-group:nth-child(2) {
    margin-bottom: 10px;
}

.input-group label {
    display: block;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.input-group input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.input-group input:focus {
    background: white;
    border-color: #2196f3;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.2);
}

.input-error {
    display: block;
    color: #ff4d4f;
    font-size: 12px;
    margin-top: 5px;
    min-height: 18px;
}

.modal-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.bookmark-modal-button {
    padding: 10px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.bookmark-modal-button.cancel {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.bookmark-modal-button.cancel:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.bookmark-modal-button.save {
    background: #2196f3;
    color: white;
    border: none;
}

.bookmark-modal-button.save:hover {
    background: #1976d2;
    transform: translateY(-1px);
}

@media (max-width: 480px) {
    .bookmark-modal {
        padding: 20px;
    }

    .icon-options {
        grid-template-columns: 1fr;
    }
}

/* 修改 Toast 提示样式 */
.toast-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    pointer-events: none;
}

.toast {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    color: white;
    padding: 15px 30px;
    border-radius: 15px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transform: translateY(30px);
    opacity: 0;
    animation: toastIn 0.3s forwards;
    min-width: 280px;
    justify-content: center;
    text-align: center;
    font-size: 15px;
}

.toast i {
    font-size: 18px;
}

.toast.error {
    border: 1px solid rgba(255, 77, 79, 0.3);
}

.toast.error i {
    color: #ff4d4f;
}

.toast.success {
    border: 1px solid rgba(82, 196, 26, 0.3);
}

.toast.success i {
    color: #52c41a;
}

@keyframes toastIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes toastOut {
    to {
        opacity: 0;
        transform: translateY(-30px);
    }
}

/* 公告弹窗样式美化 */
.announcement-modal {
    position: fixed;
    left: 0; top: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.45);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
}
.announcement-content {
    background: linear-gradient(135deg, #f8fafc 80%, #e3eaff 100%);
    border-radius: 16px;
    padding: 0 0 20px 0;
    box-shadow: 0 8px 40px rgba(0,0,0,0.22), 0 1.5px 8px rgba(33,150,243,0.08);
    min-width: 340px;
    max-width: 92vw;
    max-height: 80vh;
    overflow-y: auto;
    text-align: left;
    animation: popIn 0.3s;
    position: relative;
}
.announcement-content h3 {
    margin: 0;
    padding: 0 0 0 0;
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #fff;
    background: linear-gradient(90deg, #409eff 60%, #6a8dff 100%);
    border-radius: 16px 16px 0 0;
    padding: 18px 32px 14px 32px;
    box-shadow: 0 2px 8px rgba(64,158,255,0.08);
}
#announcement-text {
    margin: 24px 32px 28px 32px;
    font-size: 1.08rem;
    color: #333;
    line-height: 1.8;
    background: rgba(255,255,255,0.7);
    border-radius: 8px;
    padding: 12px 16px;
    box-shadow: 0 1px 4px rgba(64,158,255,0.04);
    white-space: pre-wrap;
}
#close-announcement {
    display: block;
    margin: 0 auto;
    background: linear-gradient(90deg, #409eff 60%, #6a8dff 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 38px;
    font-size: 1.08rem;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(64,158,255,0.08);
    transition: background 0.2s, transform 0.15s;
    letter-spacing: 1px;
}
#close-announcement:hover {
    background: linear-gradient(90deg, #3076c9 60%, #4e6bff 100%);
    transform: translateY(-2px) scale(1.04);
}
@keyframes popIn {
    0% { transform: scale(0.85); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
