/* start-screen.css */
/* 高端开始屏幕样式 */

/* 花纹背景核心样式 */
.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;
}

/* 不同大小和颜色的浮动球 */
.floating-ball.small {
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.8) 0%, rgba(59, 130, 246, 0) 70%);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.floating-ball.medium {
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.8) 0%, rgba(168, 85, 247, 0) 70%);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
}

.floating-ball.large {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.8) 0%, rgba(236, 72, 153, 0) 70%);
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.5);
}

/* 浮动动画 - 不同的延迟和持续时间 */
@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);
    }
}

/* 不同的动画延迟和持续时间 */
.floating-ball:nth-child(1) { animation-delay: 0s; animation-duration: 7s; }
.floating-ball:nth-child(2) { animation-delay: 1s; animation-duration: 8s; }
.floating-ball:nth-child(3) { animation-delay: 2s; animation-duration: 9s; }
.floating-ball:nth-child(4) { animation-delay: 3s; animation-duration: 10s; }
.floating-ball:nth-child(5) { animation-delay: 4s; animation-duration: 11s; }
.floating-ball:nth-child(6) { animation-delay: 5s; animation-duration: 12s; }
.floating-ball:nth-child(7) { animation-delay: 6s; animation-duration: 13s; }
.floating-ball:nth-child(8) { animation-delay: 7s; animation-duration: 14s; }
.floating-ball:nth-child(9) { animation-delay: 8s; animation-duration: 15s; }
.floating-ball:nth-child(10) { animation-delay: 9s; animation-duration: 16s; }

/* 高端标题样式 */
.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;
}

/* 响应式标题大小 */
@media (max-width: 768px) {
    .premium-title {
        font-size: 4rem;
    }
}

@media (max-width: 640px) {
    .premium-title {
        font-size: 3rem;
    }
}

/* 高端按钮样式 */
.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;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.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%;
}

/* 难度按钮样式 */
.premium-button[data-difficulty="easy"] {
    background: linear-gradient(90deg, #10B981, #3B82F6);
}

.premium-button[data-difficulty="normal"] {
    background: linear-gradient(90deg, #3B82F6, #8B5CF6);
}

.premium-button[data-difficulty="hard"] {
    background: linear-gradient(90deg, #8B5CF6, #EC4899);
}

/* 选中的难度按钮 */
.premium-button.selected {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
}

/* 玻璃态描述框 */
.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;
}

/* 动画效果 */
.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;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.02);
    }
}

/* 版本信息 */
.version-info {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    position: relative;
    z-index: 3;
}

/* 开始屏幕布局 */
.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: 100;
}

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

/* 响应式难度选择 */
@media (max-width: 640px) {
    .difficulty-select {
        flex-direction: column;
        width: 80%;
    }
    
    .premium-button {
        width: 100%;
    }
}

/* 游戏描述文本 */
.game-description {
    font-size: 1.25rem;
    color: white;
    line-height: 1.6;
    text-align: center;
}
.game-message{
  margin-left:0rem;
}

/* 响应式描述文本 */
@media (max-width: 640px) {
    .game-description {
        font-size: 1rem;
    }
}
