:root {
     --primary-color: #FF4B6A;
     --secondary-color: #4A6EFF;
     --text-color: #333;
     --background-color: #F4F6F9;
 }

body {
    position: relative;
    font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, var(--background-color), #E9EDF2);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* 背景动态元素 */
.bg-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.bg-circle, .bg-square {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
    animation: float-shape 10s infinite alternate;
}

.bg-square {
    border-radius: 15px;
    transform: rotate(45deg);
    animation: float-shape-alt 12s infinite alternate;
}

@keyframes float-shape {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(50px) rotate(20deg); }
}

@keyframes float-shape-alt {
    0% { transform: translateY(0) rotate(45deg); }
    100% { transform: translateY(-50px) rotate(0deg); }
}

.bg-circle:nth-child(1) {
    width: 200px;
    height: 200px;
    top: -5%;
    left: 5%;
    background: rgba(255, 75, 106, 0.4);
    animation-delay: -2s;
}

.bg-square:nth-child(1) {
    width: 150px;
    height: 150px;
    bottom: -10%;
    right: 10%;
    background: rgba(74, 110, 255, 0.4);
    animation-delay: -5s;
}

.bg-circle:nth-child(2) {
    width: 300px;
    height: 300px;
    top: -15%;
    left: -10%;
    background: rgba(46, 204, 113, 0.4);
    animation-delay: -7s;
}

.bg-square:nth-child(2) {
    width: 250px;
    height: 250px;
    bottom: -20%;
    right: -5%;
    background: rgba(241, 196, 15, 0.4);
    animation-delay: -3s;
}

.bg-circle:nth-child(3) {
    width: 180px;
    height: 180px;
    top: 70%;
    right: 20%;
    background: rgba(52, 152, 219, 0.4);
    animation-delay: -9s;
}

/* 正方体样式 */
.game-icon-large {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    perspective: 1000px;
    position: relative;
}

.cube-large {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCubeLarge 10s linear infinite;
}

@keyframes rotateCubeLarge {
    0% { transform: rotateY(0deg) rotateX(0deg); }
    100% { transform: rotateY(360deg) rotateX(360deg); }
}

.cube-face-large {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    backface-visibility: hidden;
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
}

.cube-front-large { transform: translateZ(40px); background: linear-gradient(135deg, #FF6B8A, #FF4B6A); }
.cube-back-large { transform: rotateY(180deg) translateZ(40px); background: linear-gradient(135deg, #4A6EFF, #3A5EDF); }
.cube-right-large { transform: rotateY(90deg) translateZ(40px); background: linear-gradient(135deg, #2ECC71, #27AE60); }
.cube-left-large { transform: rotateY(-90deg) translateZ(40px); background: linear-gradient(135deg, #F39C12, #D35400); }
.cube-top-large { transform: rotateX(90deg) translateZ(40px); background: linear-gradient(135deg, #9B59B6, #8E44AD); }
.cube-bottom-large { transform: rotateX(-90deg) translateZ(40px); background: linear-gradient(135deg, #3498DB, #2980B9); }

.cube-face-large .icon-large {
    font-size: 24px;
    color: white;
}

/* 登录容器样式 */
.login-container {
    width: 100%;
    max-width: 380px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
}

.login-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    padding: 20px;
    position: relative;
}

.login-header h1 {
    font-size: 24px;
    font-weight: 600;
}

.login-content {
    padding: 30px 20px;
}

.input-group {
    margin-bottom: 20px;
    position: relative;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #E0E0E0;
    border-radius: 12px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.input-group input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,75,106,0.1);
}

.login-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #FF6B8A);
    color: white;
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color), #6A8EFF);
    color: white;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.login-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #F9F9F9;
}

.login-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    position: relative;
    transition: all 0.3s ease;
}

.login-footer a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -3px;
    left: 0;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.login-footer a:hover::after {
    transform: scaleX(1);
}
.input-group {
    margin-bottom: 20px;
    position: relative;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #E0E0E0;
    border-radius: 12px;
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box; /* 确保内边距不会影响总体宽度 */
}

.input-group input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,75,106,0.1);
}
:root {
    --primary-color: #2ecc71;     /* 柔和的绿色 */
    --secondary-color: #27ae60;   /* 深绿色 */
    --accent-color: #3498db;      /* 点缀蓝色 */
    --text-color: #2c3e50;        /* 深灰色文字 */
    --background-color: #f0f4f0;  /* 淡雅绿灰色 */
}

/* 背景动态元素调整 */
.bg-circle:nth-child(1) {
    background: rgba(46, 204, 113, 0.3);
}

.bg-square:nth-child(1) {
    background: rgba(52, 152, 219, 0.3);
}

.bg-circle:nth-child(2) {
    background: rgba(39, 174, 96, 0.2);
}

.bg-square:nth-child(2) {
    background: rgba(41, 128, 185, 0.2);
}

.bg-circle:nth-child(3) {
    background: rgba(56, 142, 60, 0.2);
}

/* 登录头部渐变 */
.login-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

/* 按钮样式 */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.btn-secondary {
    background: linear-gradient(135deg, var(--accent-color), #6A8EFF);
}
/*
</style>*/
