﻿html,
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    color: white;
    background: #0f172a;
    min-height: 100%;
}

    body::before {
        content: "";
        position: fixed;
        width: 700px;
        height: 700px;
        left: -250px;
        top: -250px;
        background: #6366f1;
        opacity: .18;
        filter: blur(180px);
        z-index: -2;
    }

    body::after {
        content: "";
        position: fixed;
        width: 700px;
        height: 700px;
        right: -250px;
        bottom: -250px;
        background: #8b5cf6;
        opacity: .15;
        filter: blur(180px);
        z-index: -2;
    }

.hero {
    text-align: center;
    padding: 70px 20px 40px;
}

    .hero h1 {
        font-size: 3.3rem;
        font-weight: 800;
        margin-bottom: 15px;
    }

    .hero p {
        color: #94a3b8;
        font-size: 1.15rem;
    }

.glass {
    background: rgba(255,255,255,.06);
    backdrop-filter: blur(18px);
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.08);
    padding: 35px;
    box-shadow: 0 30px 80px rgba(0,0,0,.4);
}

.form-control {
    background: rgba(255,255,255,.05);
    border: 1px solid #334155;
    color: white;
}

    .form-control:focus {
        background: rgba(255,255,255,.08);
        color: white;
        border-color: #6366f1;
        box-shadow: 0 0 25px rgba(99,102,241,.4);
    }

.btn-submit {
    width: 100%;
    background: linear-gradient(90deg,#6366f1,#8b5cf6);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-weight: 700;
    transition: .25s;
}

    .btn-submit:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 30px rgba(99,102,241,.45);
    }

.counter {
    color: #94a3b8;
    margin-top: 10px;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 40px 0;
}

.stat-card {
    background: #1e293b;
    border-radius: 16px;
    width: 200px;
    padding: 25px;
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
}

.stat-title {
    color: #94a3b8;
}

.search-box {
    margin-bottom: 35px;
}

.sentence-card {
    animation: fade .35s ease;
    background: #1e293b;
    border-radius: 18px;
    padding: 28px;
    margin-bottom: 18px;
    transition: .25s;
    border: 1px solid transparent;
}

    .sentence-card:hover {
        transform: scale(1.02);
        border-color: #6366f1;
        box-shadow: 0 25px 60px rgba(0,0,0,.35);
    }

.emoji {
    font-size: 2rem;
    margin-bottom: 15px;
}

.sentence-text {
    font-size: 1.15rem;
    line-height: 1.7;
}

.sentence-footer {
    margin-top: 20px;
    color: #94a3b8;
    font-size: .9rem;
}

.empty {
    text-align: center;
    color: #94a3b8;
    padding: 80px;
}

@keyframes fade {

    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}


.group-title {
    margin-top: 35px;
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    border-bottom: 1px solid rgba(255,255,255,.2);
    padding-bottom: 8px;
}

.filter-row {
    max-width: 250px;
}


.layout {
    display: flex;
    gap: 30px;
}


.statistics-menu {
    width: 260px;
    padding: 20px;
    border-radius: 20px;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(15px);
    color: white;
}


.stat-box {
    margin: 15px 0;
    padding: 15px;
    border-radius: 15px;
    background: rgba(255,255,255,.1);
}


    .stat-box strong {
        display: block;
        font-size: 2rem;
    }



/*.btn-submit {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    padding: 14px 40px;
    font-weight: 700;
    backdrop-filter: blur(10px);
    transition: 0.3s ease;
}

    .btn-submit:hover {
        border-color: #ffffff;
        background: rgba(255,255,255,0.18);
        box-shadow: 0 0 25px rgba(255,255,255,0.25);
    }*/