/* 全局样式重置和基础设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Noto Sans SC', sans-serif;
    min-height: 100vh;
    background: linear-gradient(135deg, #1E3A8A, #A855F7, #EC4899);
    color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* 容器样式 */
.container {
    max-width: 800px;
    width: 100%;
    text-align: center;
    position: relative;
}

/* 语言选择器样式 */
.language-selector {
    position: absolute;
    top: 20px;
    right: 20px;
}

.language-selector select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    backdrop-filter: blur(5px);
}

/* 标题样式 */
h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* 输入框样式 */
.input-section {
    margin-bottom: 3rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#jobInput {
    width: 80%;
    max-width: 400px;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    font-size: 16px;
    backdrop-filter: blur(5px);
}

#jobInput::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* 模式选择按钮组样式 */
.mode-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 2rem 0 3rem;
    flex-wrap: wrap;
    padding: 0 1rem;
}

.mode-button {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    color: #FFFFFF;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
}

/* 三个按钮不同的颜色 */
.mode-button[data-mode="aiThreat"] {
    background: #EF4444;
}

.mode-button[data-mode="dailyTask"] {
    background: #22C55E;
}

.mode-button[data-mode="skillBoost"] {
    background: #3B82F6;
}

/* 按钮悬停效果 */
.mode-button[data-mode="aiThreat"]:hover {
    background: #DC2626;
}

.mode-button[data-mode="dailyTask"]:hover {
    background: #16A34A;
}

.mode-button[data-mode="skillBoost"]:hover {
    background: #2563EB;
}

/* 按钮选中状态 */
.mode-button.active {
    background: #A855F7 !important;
    font-weight: 600;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
}

/* 移除旧的模式选择器样式 */
.mode-selector {
    display: none;
}

/* 转盘容器样式 */
.wheel-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto 2rem;
}

.wheel {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.2);
    transition: transform 3s cubic-bezier(0.17, 0.67, 0.12, 0.99);
}

.wheel-section {
    position: absolute;
    width: 50%;
    height: 50%;
    transform-origin: 100% 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #FFFFFF;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

/* 转盘分区颜色 */
.wheel-section:nth-child(1) { background: linear-gradient(45deg, #FF0000, #FF7F00); transform: rotate(0deg); }
.wheel-section:nth-child(2) { background: linear-gradient(45deg, #FF7F00, #FFFF00); transform: rotate(60deg); }
.wheel-section:nth-child(3) { background: linear-gradient(45deg, #FFFF00, #00FF00); transform: rotate(120deg); }
.wheel-section:nth-child(4) { background: linear-gradient(45deg, #00FF00, #0000FF); transform: rotate(180deg); }
.wheel-section:nth-child(5) { background: linear-gradient(45deg, #0000FF, #4B0082); transform: rotate(240deg); }
.wheel-section:nth-child(6) { background: linear-gradient(45deg, #4B0082, #FF0000); transform: rotate(300deg); }

.wheel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: #FFFFFF;
    border-radius: 50%;
    z-index: 2;
}

/* 结果展示区样式 */
.result-section {
    margin: 2rem 0;
    min-height: 60px;
}

.result-text {
    font-size: 1.5rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

/* 按钮样式 */
.button-section {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.primary-button, .secondary-button {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.primary-button {
    background: #22C55E;
    color: #FFFFFF;
}

.secondary-button {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.primary-button:hover, .secondary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 剩余次数显示样式 */
.spins-counter {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* 响应式设计 */
@media (max-width: 600px) {
    h1 {
        font-size: 2rem;
    }
    
    .wheel-container {
        width: 250px;
        height: 250px;
    }
    
    .button-section {
        flex-direction: column;
    }
    
    .primary-button, .secondary-button {
        width: 100%;
    }
} 