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

body {
    min-height: 100vh;
    font-family: "Segoe UI", Arial, sans-serif;

    display: flex;
    justify-content: center;
    align-items: center;

    background: linear-gradient(135deg, #0f172a, #1e1b4b);
    color: white;
}

/* Main Card */
.container {
    width: 90%;
    max-width: 600px;

    padding: 35px;

    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);

    border-radius: 20px;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.4),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);

    backdrop-filter: blur(15px);
}

/* Heading */
h1 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 10px;
}

h1::after {
    content: "";
    display: block;

    width: 60px;
    height: 4px;

    margin: 12px auto 25px;

    background: #818cf8;
    border-radius: 10px;
}

/* Text Area */
textarea {
    width: 100%;
    height: 200px;

    padding: 18px;

    font-size: 17px;
    line-height: 1.6;
    font-family: inherit;

    color: white;
    background: rgba(0, 0, 0, 0.25);

    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;

    outline: none;
    resize: none;

    transition: 0.3s;
}

textarea::placeholder {
    color: #9ca3af;
}

textarea:focus {
    border-color: #818cf8;

    box-shadow: 0 0 20px rgba(129, 140, 248, 0.2);
}

/* Counter */
.counter {
    margin-top: 18px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 12px 16px;

    background: rgba(0, 0, 0, 0.2);

    border-radius: 10px;

    color: #cbd5e1;
}

#count {
    color: #a5b4fc;
    font-size: 20px;
    font-weight: bold;
}

/* Mobile */
@media (max-width: 600px) {

    .container {
        padding: 25px 20px;
    }

    h1 {
        font-size: 26px;
    }

    textarea {
        height: 180px;
        font-size: 16px;
    }
}