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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #fbbf24 0%, #10b981 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

h1 {
    color: #333;
    font-size: 28px;
    margin-bottom: 8px;
    text-align: center;
}

.subtitle {
    color: #666;
    text-align: center;
    margin-bottom: 30px;
    font-size: 14px;
}

main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

section {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

h2 {
    color: #333;
    font-size: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

input[type="text"],
textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
textarea:focus {
    outline: none;
    border-color: #10b981;
}

button {
    padding: 12px;
    background: linear-gradient(135deg, #fbbf24 0%, #10b981 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.4);
}

button:active {
    transform: translateY(0);
}

.delete-btn {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    padding: 8px 16px;
    font-size: 14px;
}

.delete-btn:hover {
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.4);
}

.comment {
    background: #f9fafb;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid #10b981;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.comment-author {
    font-weight: 600;
    color: #10b981;
    font-size: 14px;
}

.comment-text {
    color: #333;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-size: 14px;
}

footer {
    text-align: center;
    margin-top: 30px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    color: white;
    font-size: 13px;
}

#commentsList:empty::before {
    content: "Noch keine Kommentare. Seien Sie der Erste!";
    display: block;
    text-align: center;
    color: #9ca3af;
    padding: 20px;
}

@media (max-width: 600px) {
    section {
        padding: 30px 20px;
    }
    
    h1 {
        font-size: 24px;
    }
}
