body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, rgb(68, 0, 255), rgba(34, 194, 19, 0.64));
    /* Нощно синьо-лилав градиент */
    color: #333;
    padding: 20px;
    margin: 0;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(255, 0, 255, 0.4), rgba(0, 0, 0, 0.6));
    animation: neon-flash 24s infinite alternate, pulse 5s infinite ease-in-out;
    z-index: -1;
    background-size: 200% 200%;
}


@keyframes neon-flash {
    0% {
        background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(255, 0, 255, 0.4), rgba(0, 0, 0, 0.6));
    }

    25% {
        background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(255, 165, 0, 0.4), rgba(0, 0, 0, 0.6));
    }

    50% {
        background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 255, 255, 0.4), rgba(0, 0, 0, 0.6));
    }

    75% {
        background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(255, 255, 0, 0.4), rgba(0, 0, 0, 0.6));
    }

    100% {
        background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(255, 0, 255, 0.4), rgba(0, 0, 0, 0.6));
    }
}

@keyframes pulse {
    0% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.7;
    }
}


.container {
    width: 90%;
    max-width: 1200px;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    box-sizing: border-box;


    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: 90vh;
    overflow-y: auto;
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table,
th,
td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

th {
    background-color: #ff7b00;
    color: white;
    font-size: 16px;
}

td {
    font-size: 14px;
}

.price {
    color: #ff7b00;
}

.product-image {
    width: 50px;
    height: auto;
    margin-bottom: 10px;
    cursor: pointer;
}


.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: auto;
    padding-top: 60px;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80%;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}


@media (max-width: 768px) {
    table {
        font-size: 12px;
    }

    th,
    td {
        padding: 8px;
    }

    .product-image {
        width: 40px;
    }

    .container {
        padding: 15px;
    }

    h1 {
        font-size: 20px;
    }
}


@media (max-width: 480px) {

    table,
    th,
    td {
        font-size: 10px;
        padding: 5px;
    }

    .product-image {
        width: 35px;
    }

    .container {
        padding: 10px;
    }

    h1 {
        font-size: 18px;
    }
}


.back-btn {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ff7b00;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 10px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.back-btn:hover {
    background-color: #ff5500;
}

.back-btn i {
    margin-right: 8px;
}