body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    color: #fff;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/background.gif') no-repeat center center/cover;
    z-index: -1;
    filter: brightness(1.5);
}

.launcher {
    display: flex;
    background-color: rgba(45, 45, 45, 0.7);
    width: 100vw;
    height: 100vh;
    backdrop-filter: blur(5px);
    z-index: 2;
}

.sidebar {
    width: 200px;
    background-color: rgba(37, 37, 38, 0.7);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sidebar-header {
    text-align: center;
    margin-bottom: 20px;
}

.sidebar-header .logo {
    width: 80px;
    height: auto;
}

.sidebar-header h1 {
    font-size: 20px;
    margin: 10px 0;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.sidebar-menu button {
    background-color: rgba(61, 61, 61, 0.7);
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.3s, transform 0.3s;
}

.sidebar-menu button:hover {
    background-color: rgba(77, 77, 77, 0.7);
    transform: translateX(5px);
}

.sidebar-menu button.active {
    background-color: rgba(76, 175, 80, 0.7);
}

.main-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

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

.tab-content.active {
    display: block;
}

.play-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.version-selector {
    background-color: rgba(61, 61, 61, 0.7);
    padding: 10px;
    border-radius: 5px;
}

.version-selector label {
    font-size: 16px;
    margin-right: 10px;
}

.version-selector select {
    background-color: rgba(77, 77, 77, 0.7);
    color: #fff;
    border: none;
    padding: 8px;
    border-radius: 5px;
    cursor: pointer;
}

.play-button {
    background-color: rgba(76, 175, 80, 0.7);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.play-button:hover {
    background-color: rgba(69, 160, 73, 0.7);
    transform: scale(1.1);
}

.recent-news {
    margin-bottom: 20px;
    background-color: rgba(61, 61, 61, 0.7);
    padding: 15px;
    border-radius: 5px;
}

.recent-news h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #4CAF50;
}

.recent-news .news-item {
    background-color: rgba(77, 77, 77, 0.7);
    padding: 10px;
    border-radius: 5px;
}

.installation-categories {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.category {
    background-color: rgba(61, 61, 61, 0.7);
    padding: 15px;
    border-radius: 5px;
}

.category h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #4CAF50;
}

.versions-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.version-card {
    background-color: rgba(61, 61, 61, 0.7);
    padding: 15px;
    border-radius: 5px;
    width: 150px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.version-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.version-card img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.version-card h3 {
    margin: 10px 0;
    font-size: 16px;
}

.version-card button {
    background-color: rgba(76, 175, 80, 0.7);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.version-card button:hover {
    background-color: rgba(69, 160, 73, 0.7);
    transform: scale(1.05);
}

.version-card button.delete {
    background-color: rgba(255, 0, 0, 0.7);
}

.version-card button.delete:hover {
    background-color: rgba(200, 0, 0, 0.7);
}

.news-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-item {
    background-color: rgba(61, 61, 61, 0.7);
    padding: 15px;
    border-radius: 5px;
    animation: slideIn 0.5s ease-in-out;
}

@keyframes slideIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.news-item h3 {
    margin: 0;
    font-size: 18px;
    color: #4CAF50;
}

.news-item p {
    margin: 5px 0;
    color: #bbb;
}

.news-item small {
    color: #888;
    font-size: 12px;
}

.news-item .new-badge {
    background-color: #4CAF50;
    color: white;
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 12px;
    margin-left: 10px;
}

.downloads-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.downloads-container .category {
    background-color: rgba(61, 61, 61, 0.7);
    padding: 15px;
    border-radius: 5px;
}

.downloads-container .versions-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.downloads-container .version-card {
    background-color: rgba(61, 61, 61, 0.7);
    padding: 15px;
    border-radius: 5px;
    width: 150px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.downloads-container .version-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.downloads-container .version-card img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.downloads-container .version-card h3 {
    margin: 10px 0;
    font-size: 16px;
}

.downloads-container .version-card button {
    background-color: rgba(76, 175, 80, 0.7);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.downloads-container .version-card button:hover {
    background-color: rgba(69, 160, 73, 0.7);
    transform: scale(1.05);
}

.footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 10px;
    background-color: rgba(37, 37, 38, 0.7);
    font-size: 12px;
    color: #888;
}

.footer .license-link {
    color: inherit;
    text-decoration: underline;
    transition: color 0.3s;
}

.footer .license-link:hover {
    color: #4CAF50;
    text-decoration: none;
}

.license-info {
    background-color: rgba(61, 61, 61, 0.7);
    padding: 15px;
    border-radius: 5px;
    max-height: 400px;
    overflow-y: auto;
}

.license-info h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #4CAF50;
}

.license-info p {
    margin: 5px 0;
    color: #bbb;
    font-size: 14px;
}

.social-media-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-media-link {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(61, 61, 61, 0.7);
    padding: 15px;
    border-radius: 5px;
    text-decoration: none;
    color: #fff;
    transition: background-color 0.3s, transform 0.3s;
}

.social-media-link:hover {
    background-color: rgba(77, 77, 77, 0.7);
    transform: translateY(-5px);
}

.social-media-link img {
    width: 30px;
    height: auto;
}

.servers-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.server-card {
    background-color: rgba(61, 61, 61, 0.7);
    padding: 15px;
    border-radius: 5px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.server-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.server-card h3 {
    margin: 0;
    font-size: 18px;
    color: #4CAF50;
}

.server-card p {
    margin: 5px 0;
    color: #bbb;
}

.server-card button {
    background-color: rgba(76, 175, 80, 0.7);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.server-card button:hover {
    background-color: rgba(69, 160, 73, 0.7);
    transform: scale(1.05);
}

.more-servers {
    margin-top: 20px;
    text-align: center;
}

.more-servers p {
    margin: 0;
    color: #bbb;
}

.more-servers a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: bold;
}

.more-servers a:hover {
    text-decoration: underline;
}

.mods-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.mod-card {
    background-color: rgba(61, 61, 61, 0.7);
    padding: 15px;
    border-radius: 5px;
    width: 150px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.mod-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.mod-card h3 {
    margin: 10px 0;
    font-size: 16px;
}

.mod-card button {
    background-color: rgba(76, 175, 80, 0.7);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.mod-card button:hover {
    background-color: rgba(69, 160, 73, 0.7);
    transform: scale(1.05);
}

.credits-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.credit-item {
    background-color: rgba(61, 61, 61, 0.7);
    padding: 15px;
    border-radius: 5px;
}

.credit-item h3 {
    margin: 0;
    font-size: 18px;
    color: #4CAF50;
}

.credit-item p {
    margin: 5px 0;
    color: #bbb;
}

.settings-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.setting-item {
    background-color: rgba(61, 61, 61, 0.7);
    padding: 15px;
    border-radius: 5px;
}

.setting-item h3 {
    margin: 0;
    font-size: 18px;
    color: #4CAF50;
}

.setting-item p {
    margin: 5px 0;
    color: #bbb;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #4CAF50;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.language-selector {
    background-color: rgba(77, 77, 77, 0.7);
    color: #fff;
    border: 1px solid #4CAF50;
    padding: 8px 12px;
    border-radius: 5px;
    width: 200px;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.language-selector:hover {
    border-color: #3e8e41;
}

.language-selector option {
    background-color: rgba(61, 61, 61, 0.9);
    padding: 10px;
}

.setting-item {
    margin-bottom: 20px;
}

.reset-button {
    background-color: rgba(255, 59, 48, 0.7);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    margin-top: 10px;
}

.reset-button:hover {
    background-color: rgba(255, 59, 48, 0.9);
    transform: scale(1.05);
}

.reset-button:active {
    transform: scale(0.95);
}
