* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
    color: white;
}

body {
    width: 100dvw;
    height: 100dvh;
    background: linear-gradient(45deg, #1e1e1e, #333);
    display: flex;
    flex-direction: row;
    color: white;
    font-size: 22px;
    overflow: hidden;
}

aside {
    background-color: #00000067;
    padding: 20px;
    min-width: 300px;
    height: 100vh;
    box-shadow: 3px 0 10px rgba(0, 0, 0, 0.5);
}

main {
    flex-grow: 1;
    padding: 20px;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

main, aside {
    transition: all 0.3s ease-in-out;
}

.tab:not(.active) {
    display: none;
}

.center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#social-credit-score, #money-balance {
    font-size: 64px;
    color: lime;
    text-shadow: 0 0 10px lime, 0 0 20px lime;
}

ul {
    margin-left: 25px;
}

.row {
    display: flex;
    flex-direction: row;
    gap: 20px;
    max-width: 100%;
}

.row .rower {
    width: fit-content;
    padding: 15px;
    border-radius: 12px;
    background-color: #333;
    height: min-content;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.row .rower:hover {
    background-color: #444;
    transform: translateY(-5px);
}

.task {
    background-color: #1f1f1f;
    padding: 15px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
}

.task:not(:last-child) {
    margin-bottom: 10px;
}

.task .option {
    background-color: black;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.task .option:hover {
    background-color: #444;
    transform: scale(1.005);
}

.ftab {
    border-radius: 10px;
    background-color: black;
    padding: 12px;
    cursor: pointer;
    transition: 0.3s ease;
    margin-bottom: 10px;
    text-align: center;
}

.ftab:hover {
    background-color: #444;
    transform: translateX(5px);
}

h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 20px;
}

h3 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 15px;
}

.notifications {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.notification {
    display: flex;
    gap: 10px;
    flex-direction: row;
    background-color: #1f1f1f;
    border-radius: 10px;
    padding: 15px;
    min-width: 350px;
    max-width: 350px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    body {
        flex-direction: column;
    }

    aside {
        min-width: 100%;
        height: auto;
        padding: 15px;
    }

    main {
        padding: 15px;
    }

    .row {
        flex-direction: column;
    }

    .row .rower {
        width: 100%;
    }
}

body:has(#tab-casino.active) {
    background: linear-gradient(45deg, #371075, #121853);
}

:not(.skiptranslate) iframe {
    display: none;
}

#google_translate_element {
    position: fixed;
    top: 0;
    right: 0;
}

.slot-machine-overlay {
    padding: 25px 75px;
    border-radius: 10px;
    background-color: #1f1f1f;
    display: flex;
    flex-direction: column;
    gap: 40px;
    user-select: none;
    cursor: pointer;
}

.slot-machine-overlay .row {
    gap: 40px;
}

.blackjack_card, .roulette_cell {
    display: inline-block;
    margin: 5px;
    padding: 10px 15px;
    border: 1px solid #fff;
    border-radius: 5px;
    background: #222;
}

.blackjack_buttons button, .roulette_buttons button {
    padding: 10px 20px;
    margin: 10px;
    font-size: 16px;
    color: black;
    overlay: none;
    border: none;
    border-radius: 5px;
}