@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

:root {
    --primary-color: #b520d2;
    --secondary-color: #b520d2;
    --background-color: rgb(20, 20, 20);
    --item-background: rgba(60, 60, 60, 0.5);
    --item-hover-background: rgba(80, 80, 80, 0.7);
}

body, html {
    font-family: 'Roboto', sans-serif;
    background-color: transparent;
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
    color: #fff;
}

#menu {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.content-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 1200px;
    background-color: var(--background-color);
    border-radius: 1px;
    padding: 30px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { transform: translate(-50%, -60%); opacity: 0; }
    to { transform: translate(-50%, -50%); opacity: 1; }
}

.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.logo {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.info-item[onclick] {
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.info-item[onclick]:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-buttons {
    display: flex;
    justify-content: center;
    width: 100%;
    background-color: var(--item-background);
    border-radius: 1px;
    padding: 5px;
}

.nav-button {
    background-color: transparent;
    border: none;
    color: #fff;
    padding: 12px 24px;
    margin: 0 5px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.5s;
}

.nav-button:hover::before {
    left: 100%;
}

.nav-button:hover, .nav-button.active {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(114, 137, 218, 0.3);
}

.content {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.content.active {
    display: block;
    opacity: 1;
}

.section-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(115, 137, 217, 0.5);
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item {
    background-color: var(--item-background);
    border-radius: 1px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.info-item:hover {
    background-color: var(--item-hover-background);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.info-item-title {
    color: #aaa;
    font-size: 16px;
}

.info-item-value {
    color: #fff;
    font-weight: bold;
    font-size: 18px;
}

.action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.action-button {
    background-color: var(--item-background);
    border: none;
    color: #fff;
    padding: 12px;
    cursor: pointer;
    font-size: 16px;
    text-align: left;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.action-button:hover {
    background-color: var(--item-hover-background);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.entreprise-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--item-background);
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.entreprise-item:hover {
    background-color: var(--item-hover-background);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.entreprise-status {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 15px;
    display: inline-block;
    transition: all 0.3s ease;
}

.entreprise-status.open {
    background-color: #4CAF50;
    box-shadow: 0 0 15px #4CAF50;
}

.entreprise-status.closed {
    background-color: #F44336;
    box-shadow: 0 0 15px #F44336;
}

.donation-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.donation-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.donation-item:hover {
    transform: scale(1.05);
}

.donation-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 1px;
    margin-bottom: 10px;
}

.donation-label {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
}


.discord-button {
    background-color: var(--primary-color);
    border: none;
    color: #fff;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 1px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.discord-button:hover {
    background-color: #5a6ed1;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(114, 137, 218, 0.4);
}

.discord-logo {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.animation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.animation-grid img {
    width: 100%;
    border-radius: 1px;
    transition: transform 0.3s ease;
}

.animation-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.settings {
    background-color: var(--item-background);
    border-radius: 1px;
    padding: 20px;
    margin-bottom: 30px;
}

.settings label {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.settings label:hover {
    color: var(--secondary-color);
}

.settings input[type="checkbox"] {
    margin-right: 15px;
    appearance: none;
    width: 24px;
    height: 24px;
    border: 2px solid #aaa;
    border-radius: 1px;
    outline: none;
    transition: all 0.3s ease;
    position: relative;
}

.settings input[type="checkbox"]:checked {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.settings input[type="checkbox"]:checked::before {
    content: '✓';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    font-size: 18px;
}

.rockstar-editor {
    text-align: center;
    margin-top: 30px;
}

.rockstar-editor button {
    background-color: var(--secondary-color);
    border: none;
    color: #000;
    padding: 12px 24px;
    margin: 0 10px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.rockstar-editor button:hover {
    background-color: rgb(72, 95, 179);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgb(36, 57, 131);
}

.footer {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    font-size: 14px;
    color: #aaa;
    border-top: 2px solid #b520d2;
    padding-top: 15px;
}

#closeButton {
    position: absolute;
    top: 15px;
    right: 25px;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
}

#closeButton:hover {
    opacity: 1;
    transform: rotate(90deg);
}

#entreprisesList {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

#entreprisesList::-webkit-scrollbar {
    width: 10px;
}

#entreprisesList::-webkit-scrollbar-track {
    background: var(--item-background);
    border-radius: 1px;
}

#entreprisesList::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 1px;
}

#entreprisesList::-webkit-scrollbar-thumb:hover {
    background: #5a6ed1;
}