/* Apply the Inter font to all text elements */
body, h1, p, .btn, .tab-content, .modal-content, input {
    font-family: 'Inter', sans-serif;
}

/* General body styling with balanced black and purple gradient background */
body {
    background: linear-gradient(135deg, #000000 60%, #341539 80%, #ffffff 100%); /* Black and purple gradient */
    background-size: 400% 400%; /* Allows the gradient to move smoothly */
    animation: gradientBG 60s ease infinite; /* Slower gradient animation */
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    margin: 0;
    text-align: center;
    transition: opacity 0.5s ease;
}

/* Animation for the gradient background */
@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

#staff-content {
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    text-align: center;
}

#staff-title {
    font-size: 2em;
    margin-bottom: 30px;
    color: #fff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.6),
                 0 0 10px rgba(255, 255, 255, 0.4),
                 0 0 15px rgba(255, 255, 255, 0.3);
}

#staff-tree {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 100%;
    max-width: 800px;
}

.staff-group {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.group-title {
    font-size: 1.8em;
    color: #ffffff;
    margin-bottom: 15px;
}

.staff-group ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

.staff-group ul li {
    font-size: 1.2em;
    margin: 10px 0;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 15px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.staff-group ul li:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2), 0 4px 6px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.3);
}

/* Tab bar styling */
.tab-bar {
    display: flex;
    justify-content: center;
    background-color: #333333;
    border-radius: 25px;
    padding: 10px;
    position: fixed;
    top: 20px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.tab {
    flex: 1;
    padding: 10px;
    margin: 0 5px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab.active {
    background-color: #ffffff;
    color: #000000;
    font-weight: 600;
}

.tab:hover {
    background-color: #444444;
    transform: scale(1.05);
}

.tab:active {
    background-color: #555555;
    transform: scale(0.95);
}

/* Tab content styling */
.tab-content {
    display: none;
    text-align: center;
    position: absolute;
    top: 80px; /* Adjust for the tab bar height */
    left: 50%;
    transform: translateX(-50%);
    opacity: 0; /* Start hidden */
    transition: opacity 0.5s ease; /* Smooth fade-in effect */
}

/* Center content in each tab */
#home-content, #key-content, #partners-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: calc(100vh - 80px); /* Adjust for the tab bar height */
}

/* Basic styling for the key container */
.key-container {
    text-align: center;
    margin: 50px auto;
    padding: 20px;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.15); /* Slightly more transparent background */
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4.4px); /* Frosted glass effect */
    -webkit-backdrop-filter: blur(4.4px); /* For Safari support */
    border: 1px solid rgba(255, 255, 255, 0.4); /* More transparent border */
}

/* Styling for the title */
.key-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
}

/* Description under the title */
.key-description {
    font-size: 16px;
    margin-bottom: 30px;
    color: #ddd;
}

/* Styling for the reveal button */
.reveal-btn {
    background-color: #ff9800;
    color: #fff;
    padding: 12px 24px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.reveal-btn:hover {
    background-color: #e68900;
}

/* The container where the key will be displayed */
.key-display {
    margin-top: 20px;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    display: none;
}

/* Hidden class to keep the key display hidden initially */
.hidden {
    display: none;
}

/* Add animations to the key reveal */
.key-display.animate__animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.key-display.animate__fadeIn {
    animation-name: fadeIn;
}

.key-display.animate__slideInUp {
    animation-name: slideInUp;
}

/* Partners Tab Styling */
#partners-content {
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    text-align: center;
}

#partners-title {
    font-size: 2em;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.6),
                 0 0 10px rgba(255, 255, 255, 0.4),
                 0 0 15px rgba(255, 255, 255, 0.3);
}

#partners-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.partner-card {
    background: rgba(255, 255, 255, 0.15); /* Slightly more transparent background */
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4.4px); /* Frosted glass effect */
    -webkit-backdrop-filter: blur(4.4px); /* For Safari support */
    border: 1px solid rgba(255, 255, 255, 0.4); /* More transparent border */
    overflow: hidden;
    width: 250px;
    text-align: left;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2), 0 4px 6px rgba(0, 0, 0, 0.1);
}

.partner-logo {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 15px;
}

.partner-info h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.partner-info p {
    font-size: 1em;
    color: #ddd;
    margin-bottom: 15px;
}

.partner-link {
    display: inline-block;
    background-color: rgba(114, 137, 218, 0.8); /* Semi-transparent Discord color */
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.partner-link:hover {
    background-color: rgba(91, 110, 174, 0.8); /* Slightly darker on hover */
}

/* Button styling */
.btn {
    display: inline-block;
    background-color: #ffffff;
    color: #000000;
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    border-radius: 10px;  /* Increased border-radius for a softer look */
    text-decoration: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
    background-color: #dddddd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);  /* Subtle shadow on hover */
}

.btn:active {
    background-color: #cccccc;
}

/* Login button positioning */
.login-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
}

/* Modal styling */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal.fade-out {
    opacity: 0;
}

/* Modal content styling */
.modal-content {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 20px;  /* Rounded corners */
    width: 350px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);  /* Apple-like soft shadow */
    transition: opacity 0.3s ease;
}

.modal-content h2 {
    font-size: 1.8em;
    font-weight: 600;
    margin-bottom: 20px;
}

.modal-content input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #cccccc;
    border-radius: 5px;
}

.modal-content button {
    width: 100%;
    padding: 10px;
    font-size: 1em;
    background-color: #007bff;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.modal-content button:hover {
    background-color: #0056b3;
}

/* Hidden dashboard */
.hidden {
    display: none;
}
