:root {
    --bg: #0b0f17;
    --bg-radial: #131a29;
    --card: #141a24;
    --card-border: #232c3b;
    --input-bg: #1b2230;
    --input-border: #2c3647;
    --text: #e6e9ef;
    --text-muted: #8b95a7;
    --text-soft: #aab3c4;
    --accent: #6c74f8;
    --accent-hover: #7f86ff;
    --accent-text: #ffffff;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--text);
    background:
        radial-gradient(1200px 600px at 50% -10%, var(--bg-radial), transparent 60%),
        var(--bg);
    line-height: 1.5;
}

.page {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    padding: 56px 20px 96px;
}

/* Hero */
.hero {
    text-align: center;
    margin-bottom: 36px;
}

.hero__title {
    margin: 0 0 10px;
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(180deg, #ffffff, #c7cede);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero__subtitle {
    margin: 0;
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Card */
.card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}

.card__title {
    margin: 0 0 22px;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Form */
.form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field__label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-soft);
}

.field__input {
    width: 100%;
    padding: 12px 14px;
    font: inherit;
    color: var(--text);
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: var(--radius-sm);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field__input::placeholder {
    color: var(--text-muted);
}

.field__input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(108, 116, 248, 0.22);
}

.field__textarea {
    resize: vertical;
    min-height: 108px;
}

.form__actions {
    display: flex;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    font: inherit;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.05s ease;
}

.btn:active {
    transform: translateY(1px);
}

.btn--primary {
    background: #22c55e;
    color: #ffffff;
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn--primary:hover {
    background: #16a34a;
}

.btn--primary:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.35);
}

/* Feedback list */
.feedback {
    margin-top: 32px;
}

.feedback__title {
    margin: 0 0 18px;
    font-size: 1.2rem;
    font-weight: 600;
}

.feedback__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feedback__item {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    padding: 16px 18px;
    animation: rise 0.2s ease;
}

.feedback__item-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.feedback__name {
    font-weight: 600;
    color: var(--text);
}

.feedback__time {
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.feedback__message {
    margin: 0;
    color: var(--text-soft);
    white-space: pre-wrap;
    word-break: break-word;
}

.feedback__empty {
    text-align: center;
    color: var(--text-muted);
    padding: 24px 0;
    margin: 0;
}

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

/* Responsive */
@media (max-width: 520px) {
    .page {
        padding: 36px 16px 72px;
    }

    .card {
        padding: 22px;
    }

    .btn--primary {
        width: 100%;
    }
}
