:root {
    --background: #F7F0DF;
    --ink: #171717;
    --pink: #FF6B9A;
    --yellow: #FFD84D;
    --blue: #6796FF;
    --green: #A9D99A;
    --purple: #A98BFF;
}

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

body {
    min-height: 100vh;
    background: var(--background);
    color: var(--ink);
    font-family: "Trebuchet MS", Arial, sans-serif;
}

.page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 20px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background-image: radial-gradient(#242424 0.8px, transparent 0.8px);
    background-size: 22px 22px;
}

.feedback-card {
    width: 100%;
    max-width: 650px;
    position: relative;
    z-index: 2;
    padding: 48px;
    background: #FFFDF7;
    border: 3px solid var(--ink);
    border-radius: 7px;
    box-shadow: 12px 12px 0 var(--ink);
}

h1 {
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: -1.8px;
    margin-bottom: 30px;
}

textarea {
    display: block;
    width: 100%;
    height: 190px;
    padding: 17px;
    resize: vertical;
    background: #FFFFFF;
    color: var(--ink);
    border: 3px solid var(--ink);
    border-radius: 5px;
    outline: none;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.5;
    box-shadow: 5px 5px 0 var(--blue);
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

textarea:focus {
    box-shadow: 7px 7px 0 var(--pink);
    transform: translate(-1px, -1px);
}

button {
    width: 100%;
    min-height: 60px;
    margin-top: 25px;
    padding: 14px;
    background: var(--yellow);
    color: var(--ink);
    border: 3px solid var(--ink);
    border-radius: 5px;
    font-family: inherit;
    font-size: 19px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 5px 5px 0 var(--ink);
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

button::after {
    content: " ↗";
}

button:hover {
    background: var(--green);
}

button:active {
    transform: translate(4px, 4px);
    box-shadow: 1px 1px 0 var(--ink);
}

button:disabled {
    opacity: 0.65;
    cursor: wait;
}

.decoration {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.circle {
    width: 100px;
    height: 100px;
    top: 12%;
    right: 10%;
    background: var(--blue);
    border: 3px solid var(--ink);
    border-radius: 50%;
    box-shadow: 7px 7px 0 var(--ink);
}

.triangle {
    width: 0;
    height: 0;
    bottom: 12%;
    right: 12%;
    border-left: 45px solid transparent;
    border-right: 45px solid transparent;
    border-bottom: 80px solid var(--pink);
    filter: drop-shadow(3px 4px 0 var(--ink));
    transform: rotate(15deg);
}

.star {
    width: 85px;
    height: 85px;
    top: 12%;
    left: 10%;
    background: var(--yellow);
    border: 3px solid var(--ink);
    clip-path: polygon(
        50% 0%, 63% 35%, 100% 50%, 63% 65%,
        50% 100%, 37% 65%, 0% 50%, 37% 35%
    );
}

.dots {
    width: 90px;
    height: 90px;
    bottom: 10%;
    left: 9%;
    background-image: radial-gradient(var(--purple) 5px, transparent 5px);
    background-size: 22px 22px;
}

.sticker {
    position: absolute;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    top: -25px;
    right: 25px;
    background: var(--pink);
    border: 3px solid var(--ink);
    border-radius: 50%;
    font-size: 28px;
    box-shadow: 4px 4px 0 var(--ink);
    transform: rotate(12deg);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 600px) {
    .feedback-card {
        padding: 30px 22px;
        box-shadow: 8px 8px 0 var(--ink);
    }

    h1 {
        font-size: 31px;
    }

    textarea {
        height: 170px;
    }

    .circle, .star {
        width: 55px;
        height: 55px;
        top: 5%;
    }

    .circle { right: 5%; }
    .star { left: 5%; }

    .triangle, .dots {
        opacity: 0.5;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition: none !important;
    }
}
