body {
    margin: 0;
    min-height: 100vh;
    background-image: url("letuscook.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-family: Arial, sans-serif;
    color: white;
}

.homeLayout {
    min-height: calc(100vh - 180px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
    padding: 20px;
}

.rightSide {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.container,
.priceBox,
.publicOrdersPanel,
.modalBox {
    background-color: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(10px);
    border-radius: 12px;
}

.container {
    width: 500px;
    padding: 25px;
    text-align: center;
    border: 2px solid rgb(255, 255, 255);
    box-shadow: 0px 0px 20px rgb(170, 170, 170);
}

.priceBox {
    width: 500px;
    padding: 20px;
    text-align: center;
    border: 2px solid rgb(255, 255, 255);
    box-shadow: 0px 0px 20px rgb(158, 158, 158);
}

.priceBox h2 {
    margin-top: 0;
    color: rgb(255, 255, 255);
}

.priceRow {
    display: flex;
    justify-content: space-between;
    margin: 10px auto;
    width: 80%;
    font-size: 18px;
}

.totalBox {
    margin-top: 15px;
    font-size: 24px;
    color: rgb(255, 255, 255);
    font-weight: bold;
}

#tierText {
    color: rgb(225, 215, 0);
    font-weight: bold;
}

h1 {
    margin-bottom: 25px;
}

input {
    width: 90%;
    padding: 12px;
    margin: 8px;
    border-radius: 5px;
    border: 1px solid rgb(255, 255, 255);
    outline: none;
    background-color: rgba(255,255,255,0.15);
    color: white;
    font-size: 14px;
}

input::placeholder {
    color: rgba(255,255,255,0.7);
}

input:focus {
    box-shadow: 0 0 10px rgb(255, 255, 255);
}

.quantityRow {
    display: flex;
    gap: 10px;
    width: 94%;
    margin: 0 auto;
}

.quantityRow input {
    flex: 1;
    width: auto;
}

#referralCode {
    width: 85%;
    border: 2px solid rgb(255, 215, 0);
    box-shadow: 0 0 10px gold;
}

button {
    margin-top: 15px;
    padding: 12px 25px;
    background-color: rgb(255, 215, 0);
    color: black;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}

button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgb(0, 255, 255);
}

#signInButton,
#redeemButton,
#adminButton,
#homeButton {
    position: fixed;
    z-index: 1000;
    margin-top: 0;
    background-color: rgba(0,0,0,0.8);
    color: white;
    border: 1px solid rgb(255, 0, 0);
    border-radius: 6px;
    padding: 12px 20px;
}

#signInButton {
    top: 20px;
    left: 20px;
    border-color: gold;
}

#redeemButton {
    top: 75px;
    left: 20px;
    border-color: gold;
}

#adminButton {
    top: 20px;
    right: 20px;
}

#homeButton {
    top: 20px;
    left: 20px;
}

#signInButton:hover,
#redeemButton:hover {
    box-shadow: 0 0 15px gold;
}

#adminButton:hover,
#homeButton:hover {
    box-shadow: 0 0 15px rgb(0, 255, 255);
}

#applyReferralButton {
    margin-top: 5px;
    background-color: gold;
    color: black;
}

#applyReferralButton:hover {
    box-shadow: 0 0 15px gold;
}

#referralMessage {
    min-height: 20px;
    font-weight: bold;
    margin-top: 10px;
}

#output {
    margin-top: 20px;
    font-size: 18px;
    color: rgb(0, 255, 255);
}

#signedInText {
    color: gold;
    font-weight: bold;
    margin-bottom: 15px;
}

.publicOrdersPanel {
    width: 340px;
    height: 700px;
    overflow-y: auto;
    padding: 20px;
    text-align: center;
    border: 2px solid rgb(255, 255, 255);
    box-shadow: 0px 0px 20px rgb(160, 160, 160);
}

.publicOrdersPanel h2 {
    margin-top: 0;
    color: rgb(250, 250, 250);
}

.publicOrderCard {
    text-align: left;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    background-color: rgba(255,255,255,0.08);
}

.publicOrderCard strong {
    color: rgb(0, 255, 255);
}

.myOrder {
    border: 2px solid gold;
    box-shadow: 0 0 12px gold;
    background-color: rgba(255, 215, 0, 0.08);
}

.myOrder strong {
    color: gold;
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background-color: rgba(0,0,0,0.75);
    justify-content: center;
    align-items: center;
}

.modalBox {
    width: 400px;
    padding: 25px;
    text-align: center;
    background-color: rgba(0,0,0,0.9);
    border: 2px solid gold;
    box-shadow: 0 0 20px gold;
}

.modalBox h2 {
    color: gold;
    margin-top: 0;
}

.modalBox input {
    width: 90%;
}

.rewardBox {
    width: 520px;
}

.rewardGrid {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.rewardItem {
    width: 180px;
    min-height: 190px;
    background-color: rgba(255,255,255,0.08);
    color: white;
    border: 1px solid gold;
}

.rewardItem img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    display: block;
    margin: 0 auto 10px;
}

.rewardItem span,
.rewardItem small {
    display: block;
}

.selectedReward {
    border: 3px solid gold;
    box-shadow: 0 0 20px gold;
    background-color: rgba(255, 215, 0, 0.15);
}

#authChoiceMenu button,
#loginMenu button,
#registerMenu button,
#loggedInMenu button {
    display: block;
    width: 260px;
    margin: 10px auto;
}

#loginMenu,
#registerMenu,
#loggedInMenu {
    display: none;
}

#usernameCheckMessage {
    min-height: 20px;
    font-weight: bold;
}

.adminPageLayout {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 80px 20px 20px;
}

.adminContainer {
    width: 1250px;
}

.usersPanel {
    width: 320px;
    height: 700px;
    overflow-y: auto;
    padding: 20px;
    text-align: center;
    background-color: rgba(0,0,0,0.55);
    backdrop-filter: blur(10px);
    border: 2px solid gold;
    border-radius: 12px;
    box-shadow: 0 0 20px gold;
}

.usersPanel h2 {
    margin-top: 0;
    color: gold;
}

.userCard {
    text-align: left;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid rgba(255,215,0,0.5);
    border-radius: 8px;
    background-color: rgba(255,255,255,0.08);
}

.userCard strong {
    color: gold;
}

.pointsInput {
    width: 90%;
    margin-top: 10px;
    border: 1px solid gold;
    box-shadow: 0 0 8px gold;
}

.adminUserHistory {
    margin-top: 10px;
}

.historyCard {
    margin-top: 10px;
    padding: 10px;
    text-align: left;
    border: 1px solid rgba(255, 215, 0, 0.5);
    border-radius: 8px;
    background-color: rgba(255,255,255,0.08);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th,
td {
    border: 1px solid rgb(0, 255, 255);
    padding: 10px;
    text-align: center;
}

th {
    background-color: rgba(0,255,255,0.2);
}

td {
    background-color: rgba(255,255,255,0.05);
}

.pending {
    color: gold;
    font-weight: bold;
}

.completed {
    color: lime;
    font-weight: bold;
}

.canceled {
    color: red;
    font-weight: bold;
}

.successMessage {
    color: lime;
    font-weight: bold;
}

.errorMessage {
    color: red;
    font-weight: bold;
}

.publicOrdersPanel::-webkit-scrollbar,
.usersPanel::-webkit-scrollbar {
    width: 10px;
}

.publicOrdersPanel::-webkit-scrollbar-track,
.usersPanel::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
}

.publicOrdersPanel::-webkit-scrollbar-thumb,
.usersPanel::-webkit-scrollbar-thumb {
    background: rgb(0, 255, 255);
    border-radius: 5px;
}

.publicOrdersPanel::-webkit-scrollbar-thumb:hover,
.usersPanel::-webkit-scrollbar-thumb:hover {
    background: white;
}

.bannerContainer {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 55px;
    margin-bottom: -70px;
}

.bannerContainer img {
    width: auto;
    height: 300px;
    object-fit: contain;

    border-radius: 0;
    box-shadow: none;
    filter: none;
    opacity: 1;
    background: transparent;
}

#particles {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    pointer-events: none;

    z-index: -1;

    overflow: hidden;
}

.particle {

    position: absolute;

    background: radial-gradient(
    circle,
    rgba(255,255,255,0.9),
    rgba(255,255,255,0)
);

    border-radius: 75%;
    filter: blur(2px);

    opacity: 0.5;

    animation: floatParticle linear infinite;
}

@keyframes floatParticle {

    from {

        transform:
            translateY(110vh)
            translateX(0px);

        opacity: 0;
    }

    20% {
        opacity: 0.4;
    }

    80% {
        opacity: 0.4;
    }

    to {

        transform:
            translateY(-20vh)
            translateX(50px);

        opacity: 0;
    }
}