body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
    padding: 1rem;
    font-size: 3.5em;
    /*font-weight: 400;*/
    background: linear-gradient(135deg, #a03ac5 0%, #0e7aff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    font-family: 'Bangers', 'Inter', 'Segoe UI', sans-serif;
    letter-spacing: 0.02em;
}

.input-section {
    margin-bottom: 30px;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #34495e;
    text-align: center;
}

@media (min-width: 769px) {
    label {
        text-align: left;
    }
}

textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #ecf0f1;
    border-radius: 10px;
    font-size: 16px;
    resize: vertical;
    min-height: 100px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    line-height: 1.5;
}

textarea:focus {
    outline: none;
    border-color: #3498db;
}

.btn {
    background: linear-gradient(45deg, #3498db, #2ecc71);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 20px auto;
    min-width: 150px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: none;
}

.sample-btn {
    padding: 8px 12px;
    border: 1px solid #bdc3c7;
    background: white;
    border-radius: 20px;
    cursor: pointer;
    font-size: 12px;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.sample-btn:hover {
    background: #f8f9fa;
    border-color: #3498db;
}

.loading {
    text-align: center;
    margin: 20px 0;
    display: none;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.results {
    display: none;
    margin-top: 30px;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.score-section {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: #f3f3f3;
    border-radius: 15px;
    position: relative;
    overflow: visible;
}

.score-number {
    font-size: 3em;
    font-weight: bold;
    margin-bottom: 10px;
}

.score-text {
    font-size: 1.2em;
    color: #7f8c8d;
    margin-top: 10px;
}

.thermometer {
    width: 100%;
    height: 30px;
    background: linear-gradient(to right, #e74c3c, #f39c12, #f1c40f, #2ecc71);
    border-radius: 15px;
    position: relative;
    overflow: visible;
    margin: 40px 0;
}

.thermometer-indicator {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    background: rgba(255,255,255,0.5);
    transition: width 0.8s ease;
    border-radius: 0;
}

.thermometer-marker {
    position: absolute;
    top: -8px;
    width: 4px;
    height: 46px;
    background: #2c3e50;
    border-radius: 2px;
    transition: left 0.8s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.thermometer-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    z-index: 10;
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

/* .thermometer-image:hover {
    opacity: 1;
} */

.feature-section {
    margin: 15px 0;
    border-radius: 15px;
    border-left: 5px solid;
    overflow: hidden;
    transition: all 0.3s ease;
}

.feature-header {
    padding: 15px 20px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease;
}

.feature-header:hover {
    background: rgba(255,255,255,0.5);
}

.feature-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.feature-content.expanded {
    max-height: 1000px;
    padding: 0 20px 20px 20px;
}

.positive {
    background: #d5f4e6;
    border-left-color: #27ae60;
}

.negative {
    background: #fadbd8;
    border-left-color: #e74c3c;
}

.improve {
    background: #d6eaf8;
    border-left-color: #3498db;
}

.feature-title {
    font-weight: bold;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
}

.expand-icon {
    font-size: 1em;
    transition: transform 0.3s ease;
}

.expand-icon.expanded {
    transform: rotate(180deg);
}

.icon {
    font-size: 1.2em;
}

.feature-text {
    line-height: 1.6;
}

.samples-section {
    margin: 20px 0;
    text-align: center;
}

.samples-text {
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 10px;
}

.samples-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}