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

body {

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

    background:
        radial-gradient(circle at 20% 20%, #1b3a4b 0%, transparent 40%),
        radial-gradient(circle at 80% 30%, #0066ff33 0%, transparent 40%),
        linear-gradient(135deg, #0f2027, #203a43, #2c5364);

    background-size: 400% 400%;
    animation: gradientMove 18s ease infinite;

    color: white;
    text-align: center;

}

/* ANIMACION FONDO */

@keyframes gradientMove {

    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }

}

/* HEADER */

header {

    padding: 45px 20px;

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

    backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);

}

header h1 {

    font-size: 42px;
    font-weight: 700;
    letter-spacing: 1px;

    text-shadow:
        0 0 15px rgba(0, 150, 255, 0.7);

}

header p {

    opacity: .8;
    margin-top: 12px;
    font-size: 17px;

}

/* GRID */

.container {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));

    gap: 28px;

    padding: 50px;

    max-width: 1350px;

    margin: auto;

}

/* TARJETAS */

.card {

    position: relative;

    background: rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(14px);

    border-radius: 18px;

    padding: 28px;

    cursor: pointer;

    font-weight: 500;

    transition: 0.35s;

    overflow: hidden;

    box-shadow:

        0 12px 30px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.08);

}

/* glow interno */

.card::before {

    content: "";

    position: absolute;

    top: -50%;
    left: -50%;

    width: 200%;
    height: 200%;

    background: linear-gradient(60deg,
            transparent,
            rgba(0, 150, 255, 0.3),
            transparent);

    opacity: 0;

    transition: 0.5s;

}

/* hover */

.card:hover {

    transform: translateY(-10px) scale(1.06);

    background: rgba(255, 255, 255, 0.16);

    box-shadow:

        0 20px 50px rgba(0, 0, 0, 0.7),
        0 0 25px rgba(0, 150, 255, 0.6);

}

.card:hover::before {

    opacity: 1;
    animation: shine 2s linear infinite;

}

@keyframes shine {

    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }

}

/* TOOL PANEL */

.tool {

    display: none;

    max-width: 640px;

    margin: 70px auto;

    background: rgba(255, 255, 255, 0.1);

    backdrop-filter: blur(16px);

    padding: 45px;

    border-radius: 22px;

    box-shadow:

        0 18px 50px rgba(0, 0, 0, 0.7),
        inset 0 0 0 1px rgba(255, 255, 255, 0.08);

    animation: fadeIn .4s ease;

}

/* ANIMACION TOOL */

@keyframes fadeIn {

    from {
        opacity: 0;
        transform: translateY(25px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }

}

.tool h2 {

    margin-bottom: 25px;
    font-size: 30px;

    text-shadow:
        0 0 10px rgba(0, 150, 255, 0.7);

}

/* INPUTS */

input,
textarea {

    width: 85%;

    padding: 14px;

    margin: 12px;

    border: none;

    border-radius: 10px;

    font-size: 16px;

    background: rgba(255, 255, 255, 0.18);

    color: white;

    outline: none;

    transition: .25s;

    box-shadow:
        inset 0 0 10px rgba(0, 0, 0, 0.3);

}

input::placeholder,
textarea::placeholder {

    color: rgba(255, 255, 255, 0.65);

}

input:focus,
textarea:focus {

    background: rgba(255, 255, 255, 0.28);

    transform: scale(1.03);

    box-shadow:

        0 0 15px rgba(0, 150, 255, 0.8),
        inset 0 0 10px rgba(0, 0, 0, 0.4);

}

/* BOTONES */

button {

    padding: 13px 28px;

    margin: 12px;

    border: none;

    border-radius: 10px;

    font-size: 15px;

    font-weight: 600;

    color: white;

    cursor: pointer;

    background: linear-gradient(135deg, #007BFF, #00c6ff);

    transition: .3s;

    position: relative;

    overflow: hidden;

    box-shadow:

        0 8px 20px rgba(0, 0, 0, 0.5);

}

/* efecto glow */

button::before {

    content: "";

    position: absolute;

    top: -100%;
    left: -100%;

    width: 200%;
    height: 200%;

    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent);

    transition: .4s;

}

button:hover::before {

    top: 0;
    left: 0;

}

button:hover {

    transform: translateY(-3px) scale(1.05);

    box-shadow:

        0 15px 35px rgba(0, 0, 0, 0.7),
        0 0 20px rgba(0, 150, 255, 0.8);

}

/* RESULTADOS */

p {

    margin-top: 22px;

    font-size: 18px;

    font-weight: 500;

}

/* SCROLL */

::-webkit-scrollbar {

    width: 8px;

}

::-webkit-scrollbar-track {

    background: #111;

}

::-webkit-scrollbar-thumb {

    background: linear-gradient(#00c6ff, #007bff);

    border-radius: 6px;

}

/* BUSCADOR */

.searchBox {

    width: 100%;

    display: flex;

    justify-content: center;

    margin-top: 35px;

}

#toolSearch {

    width: 65%;
    max-width: 520px;

    padding: 16px 22px;

    border-radius: 40px;

    border: none;

    font-size: 16px;

    background: rgba(255, 255, 255, 0.18);

    color: white;

    outline: none;

    backdrop-filter: blur(10px);

    transition: .35s;

    box-shadow:

        0 8px 25px rgba(0, 0, 0, 0.4);

}

#toolSearch::placeholder {

    color: rgba(255, 255, 255, 0.65);

}

#toolSearch:focus {

    background: rgba(255, 255, 255, 0.3);

    transform: scale(1.05);

    box-shadow:

        0 0 25px rgba(0, 150, 255, 0.9);

}

/* RESPONSIVE */

@media(max-width:700px) {

    header h1 {
        font-size: 30px
    }

    .container {
        padding: 25px
    }

    .card {
        padding: 20px
    }

    .tool {
        margin: 35px 15px
    }

}