body {
    font-family: 'Microsoft YaHei', sans-serif;
    height: 100vh;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.intro-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #930c1b;
    z-index: 1000;
    transition: opacity 0.5s ease;
}

.login-page {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    padding-top: 83vh;
}

.hidden {
    display: none !important;
}

.login-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 430px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.4),
        rgba(255, 255, 255, 0.1)
    );
    margin-bottom: 20vh;
}

.login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff9a9e, #fad0c4);
}

.login-header {
    margin-bottom: 2rem;
}

.login-header h1 {
    color: #333;
    font-size: 1.5rem;
    margin: 0 0 0.5rem;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.login-subtitle {
    color: #666;
    font-size: 1rem;
    margin-top: 0.5rem;
}

.login-form {
    margin-top: 1.5rem;
}

.input-group {
    margin-bottom: 1rem;
    text-align: left;
}

.input-group label {
    display: block;
    color: #555;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.input-wrapper {
    position: relative;
}

input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

input:focus {
    outline: none;
    border-color: #ff9a9e;
    box-shadow: 0 0 0 2px rgba(255, 154, 158, 0.2);
}

.input-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff9a9e, #fad0c4);
    transition: width 0.3s ease;
}

input:focus + .input-border {
    width: 100%;
}

.login-btn {
    width: 100%;
    padding: 0.8rem;
    background: linear-gradient(135deg, #ff9a9e, #fad0c4);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 154, 158, 0.4);
}

.login-btn:active {
    transform: translateY(1px);
}

.login-container .message {
    margin-top: 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    display: none;
}

/* 添加复古纹理效果 */
.login-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c8TV1mAAAAG3RSTlNAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAvEOwtAAAFVklEQVR4XpWWB67c2BUFb3g557T/hRo9/WUMZHlgr4Bg8Z4qQgQJlHI4A8SzFVrapvmTF9O7dmYRFZ60YiBhJRCgh1FYhiLAmdvX0CzTOpNE77ME0Zty/nWWzchDtiqrmQDeuv3powQ5ta2eN0FY0InkqDD73lT9c9lEzwUNqgFHs9VQce3TVClFCQrSTfOiYkVJQBmpbq2L6iZavPnAPcoU0dSw0SUTqz/GtrGuXfbyyBniKykOWQWGqwwMA7QiYAxi+IlPdqo+hYHnUt5ZPfnsHJyNiDtnpJyayNBkF6cWoYGAMY92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+W/HfGadZUbfw177G7j/OGbIs8TahLyynl4X4RinF793Oz+BU0saXtUHrVBFT/DnA3ctNPoGbs4hRIjTok8i+algT1lTHi4SxFvONKNrgQFAq2/gFnWMXgwffgYMJpiKYkmW3tTg3ZQ9Jq+f8XN+A5eeUKHWvJWJ2sgJ1Sop+wwhqFVijqWaJhwtD8MNlSBeWNNWTa5Z5kPZw5+LbVT99wqTdx29lMUH4OIG/D86ruKEauBjvH5xy6um/Sfj7ei6UUVk4AIl3MyD4MSSTOFgSwsH/QJWaQ5as7ZcmgBZkzjjU1UrQ74ci1gWBCSGHtuV1H2mhSnO3Wp/3fEV5a+4wz//6qy8JxjZsmxxy5+4w9CDNJY09T072iKG0EnOS0arEYgXqYnXcYHwjTtUNAcMelOd4xpkoqiTYICWFq0JSiPfPDQdnt+4/wuqcXY47QILbgAAAABJRU5ErkJggg==');
    opacity: 0.03;
    pointer-events: none;
}

/* 添加动画相关样式 */
.intro-container.exploding {
    animation: fadeOut 0.5s forwards;
}

.intro-container .shatter-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.shatter-piece {
    position: absolute;
    background-image: url('../images/20200125200224.png');
    background-size: 100vw 100vh;
    opacity: 1;
    transform-origin: center;
    clip-path: polygon(
        calc(50% + var(--x1)) calc(0% + var(--y1)), 
        calc(100% + var(--x2)) calc(50% + var(--y2)), 
        calc(50% + var(--x3)) calc(100% + var(--y3)), 
        calc(0% + var(--x4)) calc(50% + var(--y4))
    );
}

.exploding .shatter-piece {
    animation: shatterAnimation 2s cubic-bezier(0.36, 0, 0.66, -0.56) forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes shatterAnimation {
    0% {
        transform: translate(0, 0) rotate(0);
        opacity: 1;
    }
    100% {
        transform: translate(var(--tx), var(--ty)) rotate(var(--rot));
        opacity: 0;
    }
}

/* 验证码样式 */
.captcha-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.captcha-box {
    background: white;
    border-radius: 8px;
    width: 400px;
    max-width: 90%;
    overflow: hidden;
    position: relative;
}

.captcha-header {
    padding: 16px;
    background: #4285f4;
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-text {
    flex: 1;
}

.header-title {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 4px;
}

.header-desc {
    font-size: 16px;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.desc-text {
    font-weight: bold;
    display: block;
}

.desc-suffix {
    font-weight: normal;
    opacity: 0.9;
    display: block;
    font-size: 14px;
}

.captcha-header .icon {
    width: 70px;
    height: 70px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.captcha-header .icon img {
    width: 70px;
    height: 70px;
    object-fit: cover;
}

.captcha-title,
.captcha-desc {
    display: none;
}

.captcha-content {
    padding: 16px;
}

.captcha-title {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.captcha-desc {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 16px;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.captcha-image-container {
    position: relative;
    padding-bottom: 100%;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.captcha-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.2s;
}

/* 添加打钩图标样式 */
.image-overlay::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #4285f4;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-overlay::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 6px;
    border: 2px solid white;
    border-top: 0;
    border-right: 0;
    transform: translate(-50%, -70%) rotate(-45deg) scale(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.captcha-image-container.selected {
    transform: scale(0.95);
}

.captcha-image-container.selected .image-overlay {
    opacity: 1;
    background: rgba(66, 133, 244, 0.3);
    border: 2px solid #4285f4;
}

/* 添加选中时的动画效果 */
.captcha-image-container.selected .image-overlay::before {
    transform: translate(-50%, -50%) scale(1);
}

.captcha-image-container.selected .image-overlay::after {
    transform: translate(-50%, -70%) rotate(-45deg) scale(1);
}

.verify-btn {
    margin-left: auto;
    background: #4285f4;
    color: white;
    border: none;
    padding: 8px 24px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
    min-width: 211px;
}

.verify-btn:hover {
    background: #3367d6;
}

.captcha-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.action-btn {
    background: none;
    border: none;
    padding: 8px;
    width: 40px;
    height: 40px;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    border-radius: 50%;
}

.action-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #4285f4;
}

.refresh-btn svg, .about-btn svg {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.refresh-btn.rotating svg {
    transform: rotate(360deg);
}

.about-btn {
    flex: 1;
}

/* 删除关闭按钮相关样式 */
.close-captcha {
    display: none;
}

/* 添加验证结果提示样式 */
.verify-result {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 0, 0, 0.95);
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
    border-radius: 8px;
}

.verify-result.show {
    opacity: 1;
    visibility: visible;
}

.verify-result .icon {
    width: 60px;
    height: 60px;
    margin-bottom: 16px;
}

.verify-result .icon svg {
    width: 100%;
    height: 100%;
    color: white;
}

.verify-result.success {
    background: rgba(76, 175, 80, 0.95);
    color: white;
}

.verify-result.error {
    background: rgba(244, 67, 54, 0.85);
    color: white;
}

.verify-result .message {
    color: white;
    font-size: 18px;
    text-align: center;
    margin: 0;
    display: block;
    padding: 0 20px;
}

/* 调整图标颜色，让它在背景上更显眼 */
.verify-result .icon svg {
    width: 100%;
    height: 100%;
    color: rgba(255, 255, 255, 0.95);
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
}
