/* premium-styles.css */
/* 高端UI样式库 */

/* 花纹背景核心样式 */
.premium-pattern-bg {
    background-color: #0f172a;
    background-image: 
        radial-gradient(rgba(59, 130, 246, 0.15) 2px, transparent 2px),
        radial-gradient(rgba(168, 85, 247, 0.15) 2px, transparent 2px),
        linear-gradient(to right, rgba(59, 130, 246, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(168, 85, 247, 0.05) 1px, transparent 1px);
    background-size: 60px 60px, 60px 60px, 20px 20px, 20px 20px;
    background-position: 0 0, 30px 30px, 0 0, 10px 10px;
    position: relative;
    overflow: hidden;
}

.premium-pattern-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
    z-index: 1;
}

.premium-pattern-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(168, 85, 247, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.1) 0%, transparent 30%);
    z-index: 1;
}

/* 浮动球体装饰 */
.floating-balls {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.floating-ball {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
    box-shadow: 0 0 15px rgba(255,255,255,0.3);
    opacity: 0.7;
    animation: float 8s infinite ease-in-out;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-20px) translateX(10px);
    }
    50% {
        transform: translateY(-10px) translateX(-10px);
    }
    75% {
        transform: translateY(-15px) translateX(5px);
    }
}

/* 高端标题样式 */
.premium-title {
    font-size: 6rem;
    font-weight: 900;
    background: linear-gradient(90deg, #3B82F6, #8B5CF6, #EC4899);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    position: relative;
    z-index: 3;
    margin-bottom: 2rem;
    text-align: center;
}

/* 高端按钮样式 */
.premium-button {
    padding: 1rem 2.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    border-radius: 9999px;
    background: linear-gradient(90deg, #3B82F6, #8B5CF6);
    color: white;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
    z-index: 3;
}

.premium-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.6s ease;
}

.premium-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.4);
}

.premium-button:hover::before {
    left: 100%;
}

/* 玻璃态描述框 */
.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 3;
    max-width: 600px;
    margin-bottom: 2.5rem;
}

/* 游戏描述文本 */
.game-description {
    margin: 0;
    line-height: 1.6;
}

/* 动画效果 */
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 脉冲动画 */
.pulse {
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* 开始屏幕布局 */
.start-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

/* 难度选择容器 */
.difficulty-select {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

/* 难度按钮样式 */
.difficulty-button {
    transition: all 0.3s ease;
}

.difficulty-button.selected {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.5);
}

/* 简单难度按钮 */
.difficulty-easy {
    background: linear-gradient(90deg, #10B981, #3B82F6);
}

/* 普通难度按钮 */
.difficulty-normal {
    background: linear-gradient(90deg, #3B82F6, #8B5CF6);
}

/* 困难难度按钮 */
.difficulty-hard {
    background: linear-gradient(90deg, #8B5CF6, #EC4899);
}

/* 版本信息样式 */
.version-info {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    position: relative;
    z-index: 3;
    margin-top: 4rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .premium-title {
        font-size: 4rem;
    }
    
    .glass-panel {
        padding: 1.5rem;
        max-width: 90%;
    }
    
    .difficulty-select {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .premium-button {
        padding: 0.875rem 2rem;
        font-size: 1.125rem;
    }
}

@media (max-width: 640px) {
    .premium-title {
        font-size: 3rem;
    }
    
    .glass-panel {
        padding: 1rem;
    }
    
    .premium-button {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}
