* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
ul{
	list-style-type: none;
}

ul li{
	list-style-type: none;
}


body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: #0a0005;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* 背景轮播容器 */
.bg-slider {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    transform: scale(1.05);
    animation: bg-zoom 20s linear infinite;
}

.bg-slide.active {
    opacity: 1;
}

@keyframes bg-zoom {
    0% { transform: scale(1.05); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1.05); }
}

/* 暗色遮罩层 - 确保前景可读 */
.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(74, 14, 26, 0.4) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(107, 21, 37, 0.3) 0%, transparent 40%),
        linear-gradient(180deg, rgba(10, 0, 5, 0.3) 0%, rgba(5, 0, 1, 0.5) 50%, rgba(5, 0, 1, 0.7) 100%);
    pointer-events: none;
}

/* 火焰粒子效果 */
.fire-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ff6b35;
    border-radius: 50%;
    opacity: 0;
    animation: float-up linear infinite;
    box-shadow: 0 0 6px #ff6b35, 0 0 12px #ff4500;
}

@keyframes float-up {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-10vh) scale(1.5);
        opacity: 0;
    }
}

/* 裂纹纹理叠加 */
.crack-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    opacity: 0.06;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255, 69, 0, 0.1) 35px, rgba(255, 69, 0, 0.1) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(139, 0, 0, 0.1) 35px, rgba(139, 0, 0, 0.1) 70px);
}

/* 主容器 */
.main-container {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 16px 30px;
}

/* 游戏标题区域 */
.game-title {
    margin-top: 4vh;
    margin-bottom: 6vh;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 顶部装饰翅膀 */
.title-wings {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 12px;
    opacity: 0.8;
}

.wing {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff8c00);
    position: relative;
}

.wing.right {
    background: linear-gradient(90deg, #ff8c00, transparent);
}

.wing::before {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    border-top: 2px solid #ff8c00;
    border-right: 2px solid #ff8c00;
    transform: rotate(45deg);
    right: -2px;
    top: -3px;
}

.wing.right::before {
    border: none;
    border-top: 2px solid #ff8c00;
    border-left: 2px solid #ff8c00;
    right: auto;
    left: -2px;
    transform: rotate(-45deg);
}

.title-icon {
    font-size: 20px;
    color: #ff8c00;
    text-shadow: 0 0 10px rgba(255, 140, 0, 0.8);
    animation: icon-pulse 2s ease-in-out infinite;
}

@keyframes icon-pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; }
}

/* 主标题 */
.game-title h1 {
    font-size: clamp(2.8rem, 9vw, 5rem);
    font-weight: 900;
    letter-spacing: 0.2em;
    color: #ffd700;
    position: relative;
    display: inline-block;
    text-shadow:
        0 0 10px rgba(255, 140, 0, 0.8),
        0 0 20px rgba(255, 100, 0, 0.6),
        0 0 40px rgba(255, 69, 0, 0.4),
        0 0 80px rgba(255, 0, 0, 0.2),
        0 2px 4px rgba(0, 0, 0, 0.8);
    animation: title-glow 3s ease-in-out infinite;
}

@keyframes title-glow {
    0%, 100% {
        text-shadow:
            0 0 10px rgba(255, 140, 0, 0.8),
            0 0 20px rgba(255, 100, 0, 0.6),
            0 0 40px rgba(255, 69, 0, 0.4),
            0 0 80px rgba(255, 0, 0, 0.2),
            0 2px 4px rgba(0, 0, 0, 0.8);
    }
    50% {
        text-shadow:
            0 0 15px rgba(255, 180, 0, 1),
            0 0 30px rgba(255, 140, 0, 0.8),
            0 0 60px rgba(255, 100, 0, 0.6),
            0 0 100px rgba(255, 50, 0, 0.4),
            0 2px 4px rgba(0, 0, 0, 0.8);
    }
}

/* 标题描边层 */
/* .game-title h1::before {
    content: "深渊契约";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    color: transparent;
    -webkit-text-stroke: 2px rgba(139, 0, 0, 0.6);
    z-index: -2;
} */

/* 标题发光层 */
/* .game-title h1::after {
    content: "深渊契约";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    color: #ff4500;
    filter: blur(12px);
    opacity: 0.5;
    z-index: -1;
    animation: title-fire 3s ease-in-out infinite;
} */

@keyframes title-fire {
    0%, 100% { opacity: 0.4; filter: blur(10px); }
    50% { opacity: 0.7; filter: blur(16px); }
}

/* 英文副标题 */
.title-sub {
    font-size: clamp(0.65rem, 2vw, 0.85rem);
    letter-spacing: 0.4em;
    color: rgba(255, 180, 100, 0.7);
    margin-top: 8px;
    font-weight: 500;
    text-transform: uppercase;
    text-shadow: 0 0 8px rgba(255, 140, 0, 0.3);
}

/* 标题底部装饰线 */
.title-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
}

.title-decoration .line {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ff8c00, transparent);
    position: relative;
}

.title-decoration .line::after {
    content: "";
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    background: #ff8c00;
    border-radius: 50%;
    box-shadow: 0 0 8px #ff8c00;
}

.title-decoration .diamond {
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    transform: rotate(45deg);
    box-shadow: 0 0 12px rgba(255, 140, 0, 0.6);
    animation: diamond-rotate 4s linear infinite;
}

@keyframes diamond-rotate {
    0% { transform: rotate(45deg) scale(1); }
    50% { transform: rotate(45deg) scale(1.15); }
    100% { transform: rotate(45deg) scale(1); }
}

/* 登录卡片 */
.login-card {
    width: 100%;
    max-width: 420px;
    background: rgba(10, 3, 8, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 100, 50, 0.2);
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 0 80px rgba(255, 69, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.login-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 140, 0, 0.5), transparent);
}

/* 输入框样式 */
.input-group {
    margin-bottom: 16px;
}

.input-field {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    font-size: 15px;
    color: #333;
    outline: none;
    transition: all 0.3s ease;
}

.input-field::placeholder {
    color: #999;
    font-size: 14px;
}

.input-field:focus {
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}

/* 按钮样式 */
.btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #1a9fff 0%, #0066cc 100%);
    color: white;
    margin-bottom: 14px;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.btn-half {
    flex: 1;
    background: linear-gradient(135deg, #1a9fff 0%, #0066cc 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.btn-half:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

/* 协议区域 */
.agreement {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 4px;
}

.agreement input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: #1a9fff;
    cursor: pointer;
    flex-shrink: 0;
}

.agreement label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    cursor: pointer;
}

.agreement a {
    color: #4db8ff;
    text-decoration: none;
}

.agreement a:hover {
    text-decoration: underline;
}

/* 底部信息 */
.footer-info {
    margin-top: auto;
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    line-height: 1.8;
    max-width: 600px;
}

.footer-info .warning {
    color: rgba(255, 200, 150, 0.75);
    margin-bottom: 12px;
    line-height: 2;
}

.footer-info .company-info {
    color: rgba(255, 255, 255, 0.45);
    font-size: 11px;
    line-height: 2;
}

.footer-info .company-info p {
    margin: 2px 0;
}

/* 响应式调整 */
@media (max-width: 480px) {
    .main-container {
        padding: 16px 12px 24px;
    }

    .game-title {
        margin-top: 4vh;
        margin-bottom: 3vh;
    }

    .login-card {
        padding: 22px 18px;
        border-radius: 16px;
    }

    .input-field {
        padding: 12px 14px;
        font-size: 14px;
    }

    .btn {
        padding: 12px;
        font-size: 15px;
    }

    .footer-info {
        font-size: 11px;
        padding-top: 24px;
    }
}

@media (min-width: 768px) {
    .game-title {
        margin-top: 8vh;
        margin-bottom: 5vh;
    }

    .login-card {
        padding: 32px 28px;
    }
}

@media (max-height: 700px) {
    .game-title {
        margin-top: 3vh;
        margin-bottom: 2vh;
    }

    .footer-info {
        padding-top: 20px;
    }
}

/* 加载动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.game-title, .login-card, .footer-info {
    animation: fadeIn 0.8s ease-out forwards;
}

.login-card {
    animation-delay: 0.2s;
    opacity: 0;
}

.footer-info {
    animation-delay: 0.4s;
    opacity: 0;
}