/* === 登录页样式 === */
.tape-strip {
    display: block;
    width: 120px; 
    height: 30px;
    background: rgba(122, 165, 210, 0.3);
    position: absolute;
    top: -15px; 
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.hand-note { 
    font-size: 1.1rem; 
    line-height: 1.6; 
    margin: 20px 0; 
    color: #666;
    width: 100%;
}

.card-header {
    width: 100%;
    position: relative;
    margin-bottom: 20px;
}

.card-header h2 {
    color: var(--primary);
    font-size: 1.5rem;
}

.input-wrapper { 
    position: relative; 
    margin: 30px 0;
    min-height: 60px;
    width: 100%;
}

#cookie-input {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 1.2rem;
    padding: 10px;
    text-align: center;
    color: var(--primary);
    font-family: inherit;
    outline: none;
    border-bottom: 2px dashed #e0e0e0;
}

.pencil-line {
    height: 3px; 
    width: 0%;
    background: var(--text);
    margin: 0 auto;
    border-radius: 2px;
    transition: width 0.5s ease;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

#cookie-input:focus {
    border-bottom-color: transparent;
}

#cookie-input:focus + .pencil-line { 
    width: 100%; 
}

/* 装饰小元素 */
.decor-circle {
    position: absolute; 
    top: 10%; 
    left: 10%;
    width: 50px; 
    height: 50px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.2;
    z-index: -1;
}

.decor-star {
    position: absolute; 
    bottom: 15%; 
    right: 15%;
    font-size: 40px; 
    color: var(--primary);
    opacity: 0.2;
    z-index: -1;
}

.hint-text {
    margin-top: 20px;
    font-size: 0.85rem;
    color: #999;
    line-height: 1.5;
}

.hint-text i {
    color: var(--primary);
}


/* === 公告弹窗样式 === */
.announcement-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    animation: fadeIn 0.3s ease forwards;
}

.announcement-modal.hidden {
    display: none;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.announcement-card {
    background: #fffbf0;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0IiBoZWlnaHQ9IjQiPgo8cmVjdCB3aWR0aD0iNCIgaGVpZ2h0PSI0IiBmaWxsPSIjZmZmIi8+CjxyZWN0IHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9IiNmN2Y3ZjciLz4KPC9zdmc+');
    padding: 50px 60px;
    border-radius: 20px;
    border: 3px solid #8d6e63;
    box-shadow: 8px 8px 0 rgba(141, 110, 99, 0.2);
    max-width: 650px;
    width: 90%;
    text-align: center;
    transform: scale(0.8) rotate(-5deg);
    animation: popIn 0.4s ease forwards;
    animation-delay: 0.1s;
}

@keyframes popIn {
    to {
        transform: scale(1) rotate(0deg);
    }
}

.announcement-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    color: #8d6e63;
}

.announcement-header i {
    font-size: 1.8rem;
}

.announcement-header h3 {
    font-size: 1.5rem;
    margin: 0;
}

.announcement-content {
    text-align: left;
    color: #5d6d7e;
    font-size: 1.05rem;
    line-height: 2;
    margin-bottom: 25px;
    max-height: 400px;
    overflow-y: auto;
}

.announcement-content p {
    margin: 5px 0;
}

.announcement-content a {
    color: #7B1FA2;
    text-decoration: none;
    border-bottom: 1px dashed #7B1FA2;
    transition: all 0.2s ease;
}

.announcement-content a:hover {
    color: #4A148C;
    border-bottom-style: solid;
}

.announcement-btn {
    background: linear-gradient(135deg, #a5d6a7, #81c784);
    border: none;
    color: #fff;
    padding: 15px 45px;
    border-radius: 30px 40px 30px 40px;
    font-family: inherit;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 4px 4px 0px #5d6d7e;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.announcement-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px #5d6d7e;
}

.announcement-btn:active {
    transform: translate(2px, 2px);
    box-shadow: 0px 0px 0px #5d6d7e;
}
