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


body {
    min-height: 100vh;

    font-family: "Inter", "Segoe UI", Arial, sans-serif;

    background: #0f1117;

    color: #e6e6e6;

    line-height: 1.6;
}


/* Header */

.header-content {
    max-width: 900px;

    margin: 0 auto;

    padding: 70px 20px 40px;

    text-align: center;
}


.header-content h1 {
    font-size: 3rem;

    color: #ffffff;

    margin-bottom: 15px;

    letter-spacing: -1px;
}


.header-content p {
    color: #b5b5b5;

    font-size: 1.1rem;
}


/* Back button */

.header-content .back-button {
    display: inline-block;

    margin-bottom: 30px;

    padding: 10px 18px;

    background: #171a22;

    border: 1px solid #272c38;

    border-radius: 10px;

    color: #e6e6e6;

    text-decoration: none;

    font-weight: 600;

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}


.header-content .back-button:hover {
    border-color: #3d7cff;

    background: #222735;

    transform: translateY(-2px);
}


/* Footer */

footer {
    max-width: 1100px;

    margin: 40px auto 0;

    padding: 30px 20px;

    text-align: center;

    color: #8b8f99;
}


footer hr {
    max-width: 1100px;

    margin: 35px auto 20px;

    height: 1px;

    border: none;

    background: #292d38;
}


footer p {
    color: #8b8f99;
}


/* Page animation */

.header-content,
.sale-card,
.empty-state,
footer {
    animation: fadeIn 0.6s ease-out;
}


@keyframes fadeIn {

    from {
        opacity: 0;

        transform: translateY(15px);
    }


    to {
        opacity: 1;

        transform: translateY(0);
    }

}


/* Sales */

main {
    max-width: 1100px;

    margin: 40px auto;

    padding: 0 20px;

    display: flex;

    flex-direction: column;

    gap: 25px;
}


.sale-card {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    padding: 30px;

    background: #171a22;

    border: 1px solid #272c38;

    border-radius: 18px;

    text-decoration: none;

    color: inherit;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}


.sale-card:hover {
    transform: translateY(-6px);

    border-color: #3d7cff;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.35);
}


.sale-content {
    display: flex;

    flex-direction: column;

    align-items: flex-start;
}


.sale-badge {
    display: inline-block;

    background: #2563eb;

    color: white;

    padding: 6px 14px;

    border-radius: 999px;

    font-weight: 700;

    font-size: 0.85rem;

    margin-bottom: 15px;
}


.sale-content h2 {
    color: white;

    font-size: 1.7rem;

    margin-bottom: 10px;
}


.sale-content p {
    color: #a9adb8;

    margin-bottom: 20px;
}


.sale-meta {
    display: flex;

    gap: 20px;

    color: #8b8f99;

    font-size: 0.9rem;
}


/* Arrow */

.sale-arrow {
    font-size: 2rem;

    color: #6ea8fe;

    transition:
        transform 0.2s ease;
}


.sale-card:hover .sale-arrow {
    transform: translateX(6px);
}


/* Empty state */

.empty-state {
    background: #171a22;

    border: 1px solid #272c38;

    border-radius: 18px;

    padding: 40px;

    text-align: center;
}


.empty-content h2 {
    color: white;

    font-size: 1.8rem;

    margin-bottom: 12px;
}


.empty-content p {
    color: #a9adb8;

    margin-bottom: 25px;
}


/* Button */

.button {
    display: inline-block;

    background: #2563eb;

    color: white;

    padding: 10px 18px;

    border-radius: 10px;

    text-decoration: none;

    font-weight: 600;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.button:hover {
    background: #1d4ed8;

    transform: translateY(-2px);
}


/* Load animation */

.page-load {
    animation: fadeIn 0.6s ease-out;
}


@keyframes fadeIn {

    from {
        opacity: 0;

        transform: translateY(15px);
    }

    to {
        opacity: 1;

        transform: translateY(0);
    }
}


/* Mobile */

@media (max-width: 600px) {

    .header-content h1 {
        font-size: 2.2rem;
    }


    .sale-card {
        flex-direction: column;

        align-items: flex-start;
    }


    .sale-meta {
        flex-direction: column;

        gap: 5px;
    }


    .sale-arrow {
        display: none;
    }
}