/* 开始界面 */
#start-screen {
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #F5F5F5;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    position: relative;
    overflow: hidden;
}

#start-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(
            165deg,
            transparent,
            transparent 30px,
            #E9E9E9 30px,
            #E9E9E9 32px
    );
    opacity: 0.3;
    z-index: 0;
}

.start-container {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 500px;
    text-align: center;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.start-container h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: bold;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    text-align: center;
}

.start-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.form-group label {
    font-size: 1rem;
    font-weight: bold;
    color: var(--text-color);
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #6471D1;
    box-shadow: 0 0 0 2px rgba(100, 113, 209, 0.2);
}

.attribute-points {
    text-align: left;
}

.attribute-points h3 {
    font-size: 1rem;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 15px;
}

.attribute-points p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: bold;
    text-align: center;
}

.attribute-control {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
    padding: 15px;
    background: rgba(245, 245, 245, 0.7);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.attribute-control label {
    font-size: 1rem;
    font-weight: bold;
    color: var(--text-color);
}

.control-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.point-button {
    width: 30px;
    height: 30px;
    border: 1px solid var(--light-gray);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-color);
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.point-button:hover {
    background: var(--gradient-2);
    color: white;
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(100, 113, 209, 0.3);
}

.point-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.attribute-value {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-color);
    min-width: 30px;
    text-align: center;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.start-button {
    padding: 15px 40px;
    border: 2px solid var(--text-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: transparent;
    color: var(--text-color);
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    justify-content: center;
}

.start-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.start-button:hover::before {
    left: 100%;
    transition: left 0.5s ease-out;
}

.start-button .square-decoration {
    width: 15px;
    height: 15px;
    border: 2px solid transparent;
    border-image: var(--gradient-1) 1;
    transform: rotate(45deg);
    background: transparent;
    flex-shrink: 0;
    transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease;
    display: inline-block;
    font-size: 0;
    line-height: 0;
}

.start-button:hover .square-decoration {
    transform: rotate(90deg);
    width: 20px;
    height: 20px;
}

.start-button:active {
    transform: translateY(0);
}