/*这是黄黄的作品*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
 
body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.container {
    width: 90%;
    max-width: 800px;
}
 
.card {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    text-align: center;
}
.card:hover {
    transform: translateY(-15px);
    box-shadow: 0 35px 80px rgba(0,0,0,0.35);
}
.card {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    text-align: center;
    transition: all 0.4s ease;
}
h1 {
    font-size: 38px;
    color: #333;
    margin-bottom: 30px;
    font-weight: 700;
}
 
.text-display {
    font-size: 22px;
    line-height: 2;
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin: 30px 0;
    color: #555;
}
 
.input-area {
    width: 100%;
    height: 130px;
    padding: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 20px;
    margin: 30px 0;
    resize: none;
}
 
.start-button {
    background: #667eea;
    color: white;
    border: none;
    padding: 16px 48px;
    font-size: 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
}
 
.start-button:hover {
    background: #5a6fd8;
    transform: scale(1.08);
}
.stats {
    display: flex;
    justify-content:space-around;
    margin-bottom:40px;
    padding: 20px 0;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 16px;
}


.stat-item {
    text-align: center;
    flex: 1;
}
 
.label {
    font-size: 16px;
    color: #666;
    display: block;
    margin-bottom: 8px;
}
 
.value {
    font-size: 36px;
    font-weight: bold;
    color: #667eea;
}

.unit {
    font-size: 14px;
    color: #999;
    margin-left: 4px;
}
.card {
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 30px;
    background: white;
    padding: 50px 60px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
    text-align: center;
    transition: all 0.4s ease;
    min-height: 680px;
}
.text-area {
    padding: 30px;
    background: #f8f9fa;
    border-radius: 16px;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}
 
.sample-text {
    font-size: 24px;
    line-height: 2;
    color: #444;
    margin: 0;
}
 
.input-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
 
.typing-input {
    height: 140px;
    padding: 20px;
    border: 2px solid #e1e5e9;
    border-radius: 16px;
    font-size: 20px;
    resize: none;
    font-family: inherit;
}
 
.start-button {
    align-self: center;
    background: #667eea;
    color: white;
    border: none;
    padding: 16px 56px;
    font-size: 20px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
}
 
.start-button:hover {
    background: #5a6fd8;
    transform: scale(1.08);
}