/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: url('BNT.jpg') no-repeat center center fixed;
    background-size: cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* 改为右对齐 */
}
/* Stats card styles */
.stats-card {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

/* 数字展示卡片组件样式 */
.outer {
    width: 200px;
    height: 180px;
    border-radius: 10px;
    padding: 1px;
    background: radial-gradient(circle 230px at 0% 0%, #2c5282, #1a365d);
    position: relative;
}

.dot {
    width: 5px;
    aspect-ratio: 1;
    position: absolute;
    background-color: #fff;
    box-shadow: 0 0 10px #ffffff;
    border-radius: 100px;
    z-index: 2;
    right: 10%;
    top: 10%;
    animation: moveDot 6s linear infinite;
}

@keyframes moveDot {
    0%,
    100% {
        top: 10%;
        right: 10%;
    }
    25% {
        top: 10%;
        right: calc(100% - 35px);
    }
    50% {
        top: calc(100% - 30px);
        right: calc(100% - 35px);
    }
    75% {
        top: calc(100% - 30px);
        right: 10%;
    }
}

.card {
    z-index: 1;
    width: 100%;
    height: 100%;
    border-radius: 9px;
    border: solid 1px #4a90e2;
    background-size: 20px 20px;
    background: radial-gradient(circle 280px at 0% 0%, #2c5282, #1a365d);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-direction: column;
    color: #fff;
}

.ray {
    width: 220px;
    height: 45px;
    border-radius: 100px;
    position: absolute;
    background-color: #4a90e2;
    opacity: 0.4;
    box-shadow: 0 0 50px #4a90e2;
    filter: blur(10px);
    transform-origin: 10%;
    top: 0%;
    left: 0;
    transform: rotate(40deg);
}

.card .text {
    font-weight: bolder;
    font-size: 3rem;
    background: linear-gradient(45deg, #1a365d 4%, #fff, #2c5282);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.line {
    width: 100%;
    height: 1px;
    position: absolute;
    background-color: #4a90e2;
}

.topl {
    top: 10%;
    background: linear-gradient(90deg, #4a90e2 30%, #1a365d 70%);
}

.bottoml {
    bottom: 10%;
    background: linear-gradient(90deg, #4a90e2 30%, #1a365d 70%);
}

.leftl {
    left: 10%;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, #4a90e2 30%, #1a365d 70%);
}

.rightl {
    right: 10%;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, #4a90e2 30%, #1a365d 70%);
}

/* Login container styles */
.login-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
    margin-right: 5%; /* 添加右侧边距 */
}

.login-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.login-header {
    margin-bottom: 30px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.login-header h1 {
    color: #333;
    font-size: 24px;
    font-weight: 600;
}

/* 金字塔加载动画样式 */
.pyramid-loader {
    position: relative;
    width: 60px;
    height: 60px;
    display: block;
    transform-style: preserve-3d;
    transform: rotateX(-20deg);
}

.wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: spin 4s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotateY(360deg);
    }
}

.pyramid-loader .wrapper .side {
    width: 30px;
    height: 30px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    transform-origin: center top;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.pyramid-loader .wrapper .side1 {
    transform: rotateZ(-30deg) rotateY(90deg);
    background: conic-gradient(#2BDEAC, #F028FD, #D8CCE6, #2F2585);
}

.pyramid-loader .wrapper .side2 {
    transform: rotateZ(30deg) rotateY(90deg);
    background: conic-gradient(#2F2585, #D8CCE6, #F028FD, #2BDEAC);
}

.pyramid-loader .wrapper .side3 {
    transform: rotateX(30deg);
    background: conic-gradient(#2F2585, #D8CCE6, #F028FD, #2BDEAC);
}

.pyramid-loader .wrapper .side4 {
    transform: rotateX(-30deg);
    background: conic-gradient(#2BDEAC, #F028FD, #D8CCE6, #2F2585);
}

.pyramid-loader .wrapper .shadow {
    width: 25px;
    height: 25px;
    background: #8B5AD5;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    transform: rotateX(90deg) translateZ(-20px);
    filter: blur(12px);
}

/* Form styles */
.input-group {
    margin-bottom: 20px;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: #4a90e2;
    outline: none;
}

/* Button styles */
.login-btn {
    width: 100%;
    padding: 12px;
    background-color: #4a90e2;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-btn:hover {
    background-color: #357abd;
}

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

/* Responsive design */
@media (max-width: 480px) {
    .login-container {
        padding: 10px;
    }
    
    .login-box {
        padding: 20px;
    }
} 