body {
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    min-height: 100vh;
    font-family: 'Noto Sans KR', sans-serif;
}

.count-container {
    width: 90%;
    max-width: 1000px;
    margin: 50px auto;
}

.page-header {
    text-align: center;
    margin-bottom: 30px;
}

.page-header h2 {
    font-weight: 700;
    color: #2c3e50;
    font-size: 2.2rem;
}

.home-link {
    color: #666;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.2s;
}

.home-link:hover {
    color: #333;
}

.counter-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    padding: 30px;
    border: none;
}

.textarea-wrapper {
    position: relative;
    margin-bottom: 20px;
}

#myTextarea {
    width: 100%;
    height: 400px;
    padding: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    font-size: 1.1rem;
    line-height: 1.6;
    resize: vertical;
    transition: all 0.3s ease;
    background: #fafafa;
}

#myTextarea:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.stats-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    padding: 15px 25px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.stat-item {
    font-weight: 600;
    color: #495057;
    font-size: 1.1rem;
}

.stat-value {
    color: #667eea;
    font-size: 1.4rem;
    font-weight: 700;
    margin-left: 10px;
}

.btn-clear {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-clear:hover {
    background: #ee5253;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

@media (max-width: 768px) {
    .stats-bar {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    #myTextarea {
        height: 300px;
    }
}