* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;

    background:
        radial-gradient(
            circle at top left,
            #202c4f,
            transparent 40%
        ),
        radial-gradient(
            circle at bottom right,
            #321b3e,
            transparent 40%
        ),
        #080a10;

    color: white;
}

.container {
    width: min(950px, 92%);
    margin: auto;
    padding: 80px 0;
}

.header {
    text-align: center;
}

.badge {
    display: inline-block;

    padding: 7px 14px;

    border: 1px solid #36415f;
    border-radius: 50px;

    color: #9eafff;

    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;
}

h1 {
    margin-top: 20px;

    font-size: clamp(40px, 7vw, 70px);

    letter-spacing: -3px;
}

.header p {
    margin-top: 15px;

    color: #8d95a8;

    font-size: 17px;
}

.search-box {
    display: flex;

    max-width: 850px;

    margin: 35px auto 0;

    padding: 8px;

    background: #11141d;

    border: 1px solid #252c3d;

    border-radius: 16px;
}

.search-box input {
    flex: 1;

    min-width: 0;

    padding: 16px;

    border: none;
    outline: none;

    background: transparent;

    color: white;

    font-size: 15px;
}

.search-box button {
    border: none;

    padding: 0 25px;

    border-radius: 11px;

    background: white;

    color: #090b10;

    font-weight: bold;

    cursor: pointer;
}

.search-box button:hover {
    opacity: .85;
}

#message {
    text-align: center;

    margin-top: 18px;

    font-size: 14px;

    color: #aeb6c8;
}

.result {
    display: grid;

    grid-template-columns: 1.3fr .7fr;

    gap: 30px;

    margin-top: 45px;

    padding: 22px;

    background: #10131c;

    border: 1px solid #252c3d;

    border-radius: 22px;
}

.hidden {
    display: none;
}

.image-container {
    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #07090d;

    border-radius: 15px;
}

.image-container img {
    display: block;

    width: 100%;

    height: auto;
}

.details {
    display: flex;

    flex-direction: column;

    justify-content: center;
}

.details h2 {
    font-size: 24px;

    margin-bottom: 12px;
}

.details p {
    color: #747d91;

    font-size: 12px;

    word-break: break-all;
}

.buttons {
    display: flex;

    gap: 10px;

    margin-top: 22px;

    flex-wrap: wrap;
}

.download,
.open {
    padding: 13px 18px;

    border-radius: 10px;

    font-weight: bold;

    text-decoration: none;

    cursor: pointer;
}

.download {
    border: none;

    background: white;

    color: black;
}

.open {
    background: #191e2b;

    border: 1px solid #30384c;

    color: white;
}

@media (max-width: 700px) {

    .container {
        padding: 45px 0;
    }

    .search-box {
        flex-direction: column;

        gap: 8px;
    }

    .search-box button {
        height: 50px;
    }

    .result {
        grid-template-columns: 1fr;
    }
}