/* gaming rage meter */

body {
    font-family: 'Arial', sans-serif;
}

.app-container {
    animation: slideUp 0.6s ease-out;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    backdrop-filter: blur(8px);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.app-header {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
}

.app-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.1; }
}

.app-title {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.app-subtitle {
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.app-description {
    opacity: 0.8;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.input-label {
    color: #333;
    text-align: left;
}

textarea {
    min-height: 120px;
    transition: all 0.3s ease;
    background: #fafafa;
}

.input-section textarea:focus {
    outline: none;
    border-color: #ff6b6b;
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.input-section textarea::placeholder {
    color: #999;
    font-style: italic;
}

.analyze-btn {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.analyze-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(238, 90, 36, 0.3);
}

.analyze-btn:active {
    transform: translateY(0);
}

.analyze-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Loading Animation */
.loading {
    display: none;
    text-align: center;
    padding: 30px;
    color: #666;
}

.loading.show {
    display: block;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #ff6b6b;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Results Section */
.results-section {
    display: none;
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    border-left: 5px solid #ff6b6b;
}

.results-section.show {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.rage-level {
    text-align: center;
    margin-bottom: 20px;
}

.rage-meter {
    font-size: 3em;
    margin: 10px 0;
}

.rage-title {
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.rage-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.advice {
    background: white;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #28a745;
}

.advice h4 {
    color: #28a745;
    margin-bottom: 10px;
    font-size: 1.2em;
}