:root {
    --primary-color: #8a2be2;
    --secondary-color: #ff3e78;
    --accent-color: #00d9ff;
    --background-color: #111339;
    --text-color: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(45deg, var(--background-color), #22074f);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    overflow-x: hidden;
    margin: 0;
    padding: 20px;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.container {
    position: relative;
    max-width: 800px;
    width: 100%;
    z-index: 10;
}

.glass-panel {
    backdrop-filter: blur(10px);
    background: var(--glass-bg);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.3);
    padding: 30px 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(rgba(255, 255, 255, 0.1), transparent 70%);
    transform: rotate(-45deg);
    pointer-events: none;
    z-index: -1;
}

.title {
    margin-bottom: 25px;
    font-weight: bold;
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    font-size: 1.6rem;
}

.title::after {
    content: '';
    position: absolute;
    left: 25%;
    bottom: -10px;
    width: 50%;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 3px;
}

/* 表单样式 */
.form-group {
    margin-bottom: 15px;
}

.form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.3);
    color: #fff;
}

.form-label {
    font-weight: 500;
    margin-bottom: 10px;
    display: block;
    text-align: left;
}

/* 按钮样式 */
.btn {
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 8px 25px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-glow {
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border: none;
}

.btn-primary:hover, .btn-primary:focus {
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(138, 43, 226, 0.5);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 150%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-100%) skew(20deg);
    transition: transform 0.6s ease;
    z-index: -1;
}

.btn-primary:hover::after {
    transform: translateX(100%) skew(20deg);
}

.btn-danger {
    background: linear-gradient(45deg, #ff3e78, #ff0844);
    border: none;
}

.btn-danger:hover, .btn-danger:focus {
    background: linear-gradient(45deg, #ff0844, #ff3e78);
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(255, 62, 120, 0.5);
}

/* 收入显示区域 */
.salary-display {
    padding: 20px 0;
}

.earning-value {
    font-size: 4rem;
    font-weight: bold;
    margin: 5px 0 20px;
    color: #ffde59;
    background: linear-gradient(45deg, #ffde59, #ff914d);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 0 20px rgba(255, 222, 89, 0.5);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.progress-container {
    position: relative;
    margin: 20px 0;
}

.progress {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    transition: width 0.5s ease;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.stat-box {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-color);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 1.4rem;
    font-weight: 600;
}

/* 粒子效果 */
#particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* 金币动画容器 */
#coins-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100;
}

.coin {
    position: absolute;
    width: 30px;
    height: 30px;
    background-image: url('https://cdn-icons-png.flaticon.com/512/272/272525.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform-style: preserve-3d;
}

/* 下拉选择框样式 */
.salary-select,
.time-select {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    padding: 12px;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    cursor: pointer;
}

.salary-select:focus,
.time-select:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.3);
    outline: none;
}

.salary-select option,
.time-select option {
    background-color: #1a1a2e;
    color: #fff;
    padding: 10px;
}

/* 工作时长信息 */
.work-hours-info {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
}

.info-label {
    font-weight: 500;
    margin-right: 10px;
}

.info-value {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--accent-color);
}

/* 时间选择器行容器 */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
    margin-bottom: 15px;
}

.col-md-6 {
    padding-left: 10px;
    padding-right: 10px;
    width: 50%;
    flex: 0 0 auto;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .glass-panel {
        padding: 20px 15px;
    }

    .title {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .earning-value {
        font-size: 2.5rem;
    }

    .col-md-6 {
        margin-bottom: 15px;
        width: 100%;
    }
}

.current-time-display {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 5px 15px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.current-time-display:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* GitHub链接样式 */
.github-link {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.github-link svg {
    margin-right: 8px;
    fill: currentColor;
}

.github-link:hover {
    color: var(--accent-color);
}

footer {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    max-width: 800px;
    margin: 15px auto 0;
    position: relative;
    width: 100%;
    z-index: 10;
    padding: 10px 0;
} 