* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FF6B6B;
    --secondary-color: #4ECDC4;
    --accent-color: #FFD93D;
    --dark-bg: #1a1a2e;
    --light-bg: #16213e;
    --text-primary: #ffffff;
    --text-secondary: #a8a8b3;
    --success-color: #6BCF7F;
    --warning-color: #FFB347;
    --error-color: #FF6B6B;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--light-bg) 100%);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 40px;
    animation: slideDown 0.5s ease-out;
}

h1 {
    font-size: 3em;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    animation: pulse 2s infinite;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1.2em;
}

.input-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-primary);
    font-size: 16px;
    resize: vertical;
    transition: all 0.3s ease;
}

textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 20px rgba(78, 205, 196, 0.3);
}

.button-group {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

button {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    flex: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(78, 205, 196, 0.4);
}

.btn-secondary {
    background: linear-gradient(45deg, var(--accent-color), var(--warning-color));
    color: var(--dark-bg);
    flex: 1;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 217, 61, 0.4);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.results-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeIn 0.5s ease-out;
}

.hidden {
    display: none;
}

.score-display {
    text-align: center;
    margin: 20px 0;
}

.score-number {
    font-size: 4em;
    font-weight: bold;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.score-label {
    color: var(--text-secondary);
    font-size: 1.2em;
}

.analysis {
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    margin: 20px 0;
}

.analysis h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.analysis p {
    color: var(--text-primary);
    line-height: 1.8;
}

.suggestions {
    margin-top: 20px;
    padding: 20px;
    background: rgba(78, 205, 196, 0.1);
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
}

.suggestions h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.suggestions ul {
    list-style: none;
    padding-left: 0;
}

.suggestions li {
    padding: 8px 0;
    color: var(--text-primary);
}

.suggestions li:before {
    content: "→ ";
    color: var(--accent-color);
    font-weight: bold;
}

.examples-section {
    margin: 40px 0;
}

.examples-section h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-align: center;
}

.example-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.example-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: normal;
}

.example-btn:hover {
    background: rgba(78, 205, 196, 0.2);
    border-color: var(--secondary-color);
    transform: scale(1.05);
}

.info-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    margin: 40px 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-section h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
}

.info-section p {
    color: var(--text-primary);
    margin-bottom: 15px;
    line-height: 1.8;
}

footer {
    text-align: center;
    padding: 30px 0;
    color: var(--text-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2em;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    button {
        width: 100%;
    }
    
    .example-grid {
        grid-template-columns: 1fr;
    }
}

/* Special 67 animation */
.sixty-seven {
    animation: sixSevenWave 1s ease-in-out infinite;
}

@keyframes sixSevenWave {
    0%, 100% {
        transform: rotate(-5deg);
    }
    50% {
        transform: rotate(5deg);
    }
}