/*!
* DefconExpanded, Created by...
* KezzaMcFezza - Main Developer
* Nexustini - Server Managment
*
* Notable Mentions...
* Rad - For helping with python scripts.
* Bert_the_turtle - Doing everthing with c++
* 
* Inspired by Sievert and Wan May
* 
* Last Edited 19-09-2025
*/

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    gap: 1.5rem;
    display: flex;
    justify-content: center;
}

.about-header {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.about-banner {
    position: relative;
    height: 200px;
    background-position: center;
    background-size: cover;
    background-color: rgba(28, 28, 46, 0.5);
    background-image: url('/images/backgroundprofile.png');
}

.about-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(15, 15, 25, 0.8) 100%);
}

.about-info-bar {
    padding: 1rem 1.5rem;
    position: relative;
    background-color: rgba(28, 28, 46, 0.3);
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    display: flex;
    flex-direction: column;
}

.about-title {
    color: #5eff00;
    font-family: 'Orbitron', sans-serif;
    font-size: 2.3rem;
    margin: 0;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.about-description {
    color: #b8b8b8;
    margin: 0.5rem 0 0;
    max-width: 800px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.about-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.about-link {
    background-color: rgba(77, 166, 255, 0.2);
    color: #4da6ff;
    text-decoration: none;
    padding: 0.35rem 1rem;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.about-link:hover {
    background-color: rgba(77, 166, 255, 0.3);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 950px;
}

.graph-container {
    background-color: rgba(28, 28, 46, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.graph-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, #3d3d3d, #363636);
    opacity: 0.7;
}

.graph-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.graph-header i {
    color: #4da6ff;
    font-size: 1.5rem;
    margin-right: 0.75rem;
}

.graph-title {
    color: #4da6ff;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.graph-content {
    display: flex;
    gap: 1.5rem;
    flex-direction: column;
}

.graph-controls {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: space-between;
}

.graph-controls-card {
    border-radius: 8px;
    padding: 1rem;
}

.control-group {
    margin-bottom: 1rem;
}

.control-title {
    color: #4da6ff;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    margin: 0 0 0.5rem;
}

.control-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.control-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.date-input {
    background-color: rgb(20 20 20 / 50%);
    border: 1px solid #333;
    color: #fff;
    padding: 0.4rem;
    border-radius: 4px;
    width: 100%;
}

.player-input {
    background-color: rgb(20 20 20 / 50%);
    border: 1px solid #333;
    height: 1.7rem;
    color: #fff;
    border-radius: 4px;
}

.server-select,
#graph-filter {
    background-color: rgb(20 20 20 / 50%);
    border: 1px solid #333;
    color: #fff;
    padding: 0.4rem;
    border-radius: 4px;
    width: 100%;
}

.checkbox-container {
    border-radius: 8px;
    max-height: 400px;
    overflow-y: auto;
}

.checkbox-container::-webkit-scrollbar {
    width: 8px;
}

.checkbox-container::-webkit-scrollbar-track {
    background: rgba(28, 28, 46, 0.2);
    border-radius: 4px;
}

.checkbox-container::-webkit-scrollbar-thumb {
    background: rgba(77, 166, 255, 0.5);
    border-radius: 4px;
}

.graph-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.contributors-grid {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(2, 1fr);
}

.contributor-column {
    display: flex;
    flex-direction: column;
}

.contributor-category-title {
    color: #e5e5e5;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    margin: 0 0 1rem;
    position: relative;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(77, 166, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.artwork-title {
    margin-top: 1.5rem;
}

.contributor-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contributor-item {
    background-color: rgba(28, 28, 39, 0.5);
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    overflow: hidden;
}

.contributor-item:hover {
    background-color: rgba(38, 38, 51, 0.6);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.contributor-item.expanded {
    background-color: rgba(28, 28, 39, 0.5);
}

.contributor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.contributor-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.contributor-name {
    color: #ffffff;
    font-weight: 500;
    font-size: 0.9rem;
    margin: 0 0 0.2rem 0;
}

.contributor-primary-role {
    color: rgba(161, 161, 161, 0.8);
    font-size: 0.75rem;
    font-weight: 400;
    margin: 0;
}

.contributor-arrow {
    color: #4da6ff;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    margin-left: 0.5rem;
}

.contributor-item:has(.contributor-details:empty) .contributor-arrow,
.contributor-item:has(.contributor-details:not(:has(.contributor-role))) .contributor-arrow {
    display: none;
}

.contributor-item:has(.contributor-details:empty),
.contributor-item:has(.contributor-details:not(:has(.contributor-role))) {
    cursor: default;
}

.contributor-item:has(.contributor-details:empty):hover,
.contributor-item:has(.contributor-details:not(:has(.contributor-role))):hover {
    background-color: rgba(40, 40, 58, 0.5);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contributor-details {
    display: none;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideDown 0.3s ease;
}

.contributor-role {
    color: rgba(161, 161, 161, 0.8);
    font-size: 0.8rem;
    display: block;
    margin-bottom: 0.2rem;
}

.contributor-role:last-child {
    margin-bottom: 0;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contributor-column:nth-child(1) .contributor-category-title {
    border-bottom-color: rgba(77, 166, 255, 0.5);
}

.contributor-column:nth-child(2) .contributor-category-title {
    border-bottom-color: rgba(120, 210, 120, 0.5);
}

.contributor-column:nth-child(3) .contributor-category-title {
    border-bottom-color: rgba(255, 180, 77, 0.5);
}

.contributors-about {
    display: flex;
    flex-direction: column;
    max-width: 450px;
}