body, html {
    -webkit-user-select: none;
    user-select: none;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: 'Minecraft', sans-serif;
    background-color: #080808;
}

.dynamic-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #080808;
    z-index: -1; 
}

.loading {
    background-color: #080808;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 1;
    transition: opacity 1s ease;
}

.loading-indicator {
    display: flex;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: rgba(24, 24, 24, 0.836);
    border-radius: 15px;
    margin: 10px;
    position: sticky;
    top: 10px;
    z-index: 1000;
}

.title {
    color: whitesmoke;
    animation: glow 2s ease-in-out infinite alternate;
    font-size: 24px;
    margin: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.menu-icon {
    font-size: 30px;
    cursor: pointer;
    color: white;
    transition: transform 0.3s ease;
}
.menu-icon:hover { transform: scale(1.15); }

.profile-container {
    position: relative;
    display: flex;
    align-items: center;
    border-radius: 5px;
    padding: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-left: auto;
}
.dropdown-item:not(.show) {
    transition: background-color 0.3s;
}
.dropdown-item:not(.show):hover { background-color: rgba(255, 255, 255, 0.1); }

.pfp {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    margin-right: 10px;
    image-rendering: pixelated;
}

.profile-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-right: 15px;
}

.username { color: #FFF; font-size: 16px; font-weight: bold; white-space: nowrap; }

.user-type {
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-top: 4px;
    color: #fff;
    background-color: #888;
}
.user-type.core { background-color: #a40000; }
.user-type.srcore { background-color: #b00092; }
.user-type.t3 { background-color: #008500; }
.user-type.t2 { background-color: #00d282; color: black;}
.user-type.t1 { background-color: #00e7c4; color: black; }
.user-type.trial { background-color: #AAAAAA;}

.profile-dropdown {
    display: none;
    position: absolute;
    top: 110%;
    right: 20px;
    background-color: #2a2a2a;
    border: 2px solid #111;
    border-radius: 10px;
    min-width: 150px;
    z-index: 1001;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}
.profile-dropdown.show { display: block; }

.dropdown-item {
    display: block;
    padding: 12px 15px;
    color: #ddd;
    text-decoration: none;
    font-size: 16px;
    cursor: pointer;
}
.dropdown-item:hover { background-color: rgba(255, 255, 255, 0.1); border-radius: 10px;}

.main-content {
    padding: 20px;
    max-width: 900px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

section {
    display: flex;
    flex-direction: row; 
    flex-wrap: wrap; 
    justify-content: center;
    gap: 25px;
    position: relative;
    padding-top: 50px;
}

.core-staff-overview {
    display: none;
}

#core-hidden {
    display: contents !important;
}

.link-overview, .link-overview2 {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: #111;
    padding: 5px 25px;
    border-radius: 20px;
    border: 1px solid #333;
    font-family: 'Minecraft', sans-serif;
    font-size: 22px;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 1px;
    z-index: 10;
}

.link-overview2 { 
    font-size: 20px; 
}

.spreadsheet, .userman, .interviews, .calculator, .tasks, .stars, .ai, .introduction {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle, rgba(40,40,40,1) 0%, rgba(25,25,25,1) 100%);
    border: 2px solid #3a3a3a;
    border-radius: 16px;
    color: white;
    font-family: 'Minecraft';
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(.25,.8,.25,1);
    margin: 0;
    flex-grow: 1;
    flex-basis: 180px;
    max-width: 250px;
    min-height: 180px;
    padding: 20px;
}

.introduction { 
    background: radial-gradient(circle, rgb(0, 80, 177) 0%, rgb(0, 56, 124) 100%);
    border-color: rgb(0, 90, 190);
}

.spreadsheet:hover, .userman:hover, .interviews:hover, .calculator:hover, .tasks:hover, .stars:hover, .ai:hover, .introduction:hover {
    transform: translateY(-10px);
    border-color: rgb(0, 153, 255);
    box-shadow: 0 10px 30px -10px rgba(0, 153, 255, 0.6);
}

.userman:hover, .interviews:hover, .calculator:hover {
    border-color: #ffc400;
    box-shadow: 0 10px 30px -10px rgba(255, 196, 0, 0.6);
}

.introduction:hover { 
    border-color: #00aaff;
    box-shadow: 0 10px 30px -10px rgba(0, 170, 255, 0.7);
}

.interviews img {
    width: 20px;
    height: 20px;
    filter: invert(1);
    margin-top: 10px;
    transition: transform 0.4s ease;
    display: inline-block;
    vertical-align: middle;
}

.spreadsheet span, .introduction span, .userman span, .interviews span, .calculator span, .tasks span, .stars span, .ai span {
    font-size: 16px;
    font-weight: bold;
    transition: transform 0.4s cubic-bezier(.25,.8,.25,1), opacity 0.4s ease;
    z-index: 2;
    width: 100%;
}

.spreadsheet::after, .userman::after, .interviews::after, .calculator::after, .tasks::after, .stars::after, .ai::after, .introduction::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px 0;
    font-size: 13px;
    color: #ccc;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.4s cubic-bezier(.25,.8,.25,1);
    z-index: 1;
}

.introduction::after { content: 'Complete guide about everything'; }
.tasks::after { content: 'View task deadlines and more'; }
.ai::after { content: 'Use AI to improve text'; }
.calculator::after { content: 'Calculate staff salary'; }
.userman::after { content: 'Manage all users'; }
.interviews::after { content: 'Staff interview document'; }

.spreadsheet:hover span, .introduction:hover span, .userman:hover span, .interviews:hover span, .calculator:hover span, .tasks:hover span, .stars:hover span, .ai:hover span {
    transform: translateY(-20px);
}

.spreadsheet:hover::after, .introduction:hover::after, .userman:hover::after, .interviews:hover::after, .calculator:hover::after, .tasks:hover::after, .stars:hover::after, .ai:hover::after {
    transform: translateY(0);
    opacity: 1;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 1001;
}

.sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1002; 
    top: 0;
    left: 0;
    background-color: #161616;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px; 
}

.sidebar .closebtn {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 42px;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    color: #888;
}

.closebtn:hover { 
    transform: rotate(90deg);
    color: rgb(0, 153, 255); 
}

.menu-section, .menu-section-hidden {
    background-color: #222;
    font-size: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border-radius: 10px;
    margin: 0 25px 20px 25px;
    border: 1px solid #333;
}

.menu-section-hidden { 
    display: none; 
}

.menu-title { 
    font-size: 20px; 
    color: rgb(0, 153, 255); 
}

.users, .interview {
    margin-bottom: 10px;
    margin-top: 5px;
    width: 90%;
    height: 45px;
    border: 1px solid #444;
    border-radius: 8px;
    color: whitesmoke;
    background: #333;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    font-family: 'Minecraft', sans-serif;
    font-size: 15px;
}

.users:hover, .interview:hover {
    background: rgb(0, 153, 255);
    border-color: rgb(0, 153, 255);
    color: white;
    transform: scale(1.03);
}

.users:hover, .interview:hover { transform: scale(1.05); }
.developer { font-size: 16px; font-weight: bold; background: linear-gradient(to right, orange, red, orange, yellow, orange); background-size: 200% 200%; -webkit-background-clip: text; color: transparent; animation: gradientShiftLeft 5s infinite linear; }
.menu-bugs { font-size: 16px; color: #aaa; line-height: 1.4; text-align: center; }

@keyframes glow { from { text-shadow: 0 0 20px black } to { text-shadow: 0 0 5px white } }
@keyframes gradientShiftLeft { 0% { background-position: 200% 50%; } 100% { background-position: 0% 50%; } }

@media only screen and (max-width: 600px) {
    .title {
        display: none;
    }
    .link-overview2 {
        min-width: 220px;
    }
}
