* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    color: #fff;
}

img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    pointer-events: none;
}

body {
    font-family: 'Courier New', Courier, monospace;
    background: linear-gradient(135deg, #252525 0%, #000000 100%);
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

.container {
    text-align: center;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 50px 40px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    animation: fadeInUp 0.8s ease-out;
    max-width: 700px;
    width: 100%;
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

pre {
    color: #fff;
    font-size: 7px;
    line-height: 1.2;
    margin-bottom: 40px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: pre;
    max-width: 100%;
    opacity: 0.95;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

pre::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Tabs System */
.tabs-container {
    margin-top: 30px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.tabs-header {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.08);
    padding: 6px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.tab-button {
    flex: 1;
    padding: 12px 20px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.5px;
}

.tab-button:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
}

.tab-button.active {
    color: #fff;
    background: linear-gradient(135deg, #ff6b6b 0%, #c92a2a 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.tabs-content {
    position: relative;
    min-height: 300px;
}

.empty-section {
    padding: 40px 20px;
    min-height: 200px;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

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

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

.server-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 20px 0;
}

.server-logo {
    width: 100px;
    height: 100px;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: float 3s ease-in-out infinite, fadeInUp 1s ease-out 0.4s both;
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 300px;
}

.action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 7px 18px;
    background: #000;
    color: white;
    text-decoration: none;
    border-radius: 16px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    letter-spacing: 1px;
    width: 100%;
}

.action-button:hover {
    background: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.5);
}

.action-button:active {
    background: #0a0a0a;
}

.launcher-button {
    background: #000;
}

.launcher-button:hover {
    background: #1a1a1a;
}

.launcher-button:active {
    background: #0a0a0a;
}

.button-text {
    position: relative;
    z-index: 1;
}

.footer {
    margin-top: 40px;
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.6s both;
    letter-spacing: 0.5px;
}

.footer p {
    margin: 0;
    padding: 10px;
}

/* Info and Rules Sections */
.info-section, .rules-section {
    text-align: left;
    padding: 20px 0;
}

.section-title {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.info-card, .rules-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.card-title {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.info-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.info-text:last-child {
    margin-bottom: 0;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 2;
    padding-left: 8px;
}

.rules-list {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 2;
    padding-left: 20px;
}

.rules-list li {
    margin-bottom: 8px;
}

/* Media queries pour mobile */
@media screen and (max-width: 768px) {
    .container {
        padding: 30px 20px;
        border-radius: 20px;
    }
    
    pre {
        font-size: 6px;
        line-height: 1.1;
        margin-bottom: 25px;
    }
    
    .tabs-header {
        flex-direction: column;
        gap: 4px;
    }
    
    .tab-button {
        font-size: 13px;
        padding: 10px 16px;
    }
    
    .tabs-content {
        min-height: 250px;
    }
    
    .server-section {
        gap: 18px;
        padding: 15px 0;
    }
    
    .server-logo {
        width: 80px;
        height: 80px;
    }
    
    .button-group {
        max-width: 100%;
    }
    
    .action-button {
        padding: 10px 20px;
        font-size: 16px;
        border-radius: 14px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .info-card, .rules-card {
        padding: 20px;
    }
}

@media screen and (max-width: 480px) {
    body {
        padding: 15px;
    }
    
    .container {
        padding: 25px 15px;
        border-radius: 18px;
    }
    
    pre {
        font-size: 4px;
        line-height: 1;
        margin-bottom: 20px;
    }
    
    .tabs-container {
        margin-top: 20px;
    }
    
    .tabs-header {
        padding: 4px;
    }
    
    .tab-button {
        font-size: 12px;
        padding: 8px 12px;
    }
    
    .tabs-content {
        min-height: 200px;
    }
    
    .server-section {
        gap: 16px;
        padding: 10px 0;
    }
    
    .server-logo {
        width: 70px;
        height: 70px;
    }
    
    .action-button {
        padding: 10px 18px;
        font-size: 15px;
        gap: 8px;
        border-radius: 12px;
    }
    
    .section-title {
        font-size: 18px;
        margin-bottom: 16px;
    }
    
    .info-card, .rules-card {
        padding: 16px;
    }
    
    .info-text, .features-list li, .rules-list {
        font-size: 14px;
    }
    
    .footer {
        font-size: 12px;
        margin-top: 30px;
    }
}

/* Modal de mot de passe */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    max-width: 400px;
    width: 90%;
    text-align: center;
    animation: fadeInUp 0.4s ease-out;
}

.modal-title {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.modal-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 30px;
}

.password-input {
    width: 100%;
    padding: 14px 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    color: #fff;
    font-family: 'Courier New', Courier, monospace;
    font-size: 16px;
    margin-bottom: 20px;
    outline: none;
    transition: all 0.3s ease;
}

.password-input:focus {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(0, 0, 0, 0.4);
}

.password-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.error-message {
    color: #ff6b6b;
    font-size: 14px;
    margin-bottom: 15px;
    min-height: 20px;
    display: none;
}

.error-message.show {
    display: block;
}

.modal-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.modal-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 12px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.modal-btn-submit {
    background: #000;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.modal-btn-submit:hover {
    background: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.5);
}

.modal-btn-cancel {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.modal-btn-cancel:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

@media screen and (max-width: 480px) {
    .modal-content {
        padding: 30px 20px;
    }
    
    .modal-title {
        font-size: 20px;
    }
    
    .modal-btn {
        padding: 10px 24px;
        font-size: 14px;
    }
}

