:root {
    --primary-color: #000000;
    --positive-color: #4CAF50;
    --negative-color: #F44336;
    --neutral-color: #FFC107;
    --bg-color: #f5f8fa;
    --text-color: #14171A;
    --card-bg: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    flex: 1;
}

header {
    text-align: center;
    margin-bottom: 2rem;
}

header h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

header p {
    color: #657786;
    font-size: 1.1rem;
}

.analyzer-box {
    background-color: var(--card-bg);
    border-radius: 15px;
    box-shadow: var(--shadow);
    padding: 2rem;
    margin-bottom: 2rem;
}

.input-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e1e8ed;
    border-radius: 10px;
    resize: none;
    font-size: 1rem;
    min-height: 150px;
    transition: border 0.3s ease;
}

textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

button:hover {
    background-color: #333333;
    transform: translateY(-2px);
}

button i {
    font-size: 0.9rem;
}

.result-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
    padding-top: 1rem;
}

.result-header h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.result-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#sentiment-emoji {
    font-size: 4rem;
    margin-bottom: 1rem;
}

#sentiment-text {
    font-size: 1.2rem;
    font-weight: bold;
}

.hidden {
    display: none;
}

.examples {
    background-color: var(--card-bg);
    border-radius: 15px;
    box-shadow: var(--shadow);
    padding: 1.5rem;
}

.examples h3 {
    color: #657786;
    margin-bottom: 1rem;
    text-align: center;
}

.example-tweets {
    display: grid;
    grid-template-columns