/* Reset basic styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Dark, modern gaming background */
body {
    background: linear-gradient(135deg, #0f0000 0%, #1c1c1c 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    overflow-x: hidden;
}

/* Top Navigation for Buttons (Top Right Corner) */
.top-nav {
    position: absolute;
    top: 30px;
    right: 40px;
    display: flex;
    gap: 15px;
    animation: slideDown 1s ease-out;
}

/* Base styling for all buttons */
.btn {
    text-decoration: none;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
}

/* Gold Store Button */
.btn-store {
    background: transparent;
    color: #ffb700;
    border: 2px solid #ffb700;
    box-shadow: 0 0 10px rgba(255, 183, 0, 0.1);
}

.btn-store:hover {
    background: #ffb700;
    color: #111;
    box-shadow: 0 0 25px rgba(255, 183, 0, 0.6);
    transform: translateY(-3px);
}

/* Red Staff Application Button */
.btn-staff {
    background: transparent;
    color: #ff3333;
    border: 2px solid #ff3333;
    box-shadow: 0 0 10px rgba(255, 51, 51, 0.1);
}

.btn-staff:hover {
    background: #ff3333;
    color: #fff;
    box-shadow: 0 0 25px rgba(255, 51, 51, 0.6);
    transform: translateY(-3px);
}

/* Discord Button */
.btn-discord {
    background: #5865F2;
    color: white;
    border: 2px solid #5865F2;
    box-shadow: 0 0 10px rgba(88, 101, 242, 0.2);
}

.btn-discord:hover {
    background: #4752C4;
    border-color: #4752C4;
    box-shadow: 0 0 25px rgba(88, 101, 242, 0.6);
    transform: translateY(-3px);
}

/* Main Container */
.container {
    text-align: center;
    max-width: 800px;
    padding: 40px 20px;
    margin-top: 80px; /* Pushed down slightly to accommodate top nav */
    margin-bottom: 40px;
    animation: fadeIn 1.2s ease-out;
}

/* Animated red glowing text for the logo */
.logo {
    font-size: 6rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: #ff1a1a;
    text-shadow: 0 0 20px rgba(255, 26, 26, 0.6), 0 0 40px rgba(255, 26, 26, 0.4);
    margin-bottom: -10px;
    animation: pulse 3s infinite;
}

.mode {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff4d4d;
    margin-bottom: 25px;
    letter-spacing: 1.5px;
}

.description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #cccccc;
    margin-bottom: 40px;
    padding: 0 20px;
}

/* IP Copy Box */
.ip-box {
    background: rgba(255, 51, 51, 0.1);
    border: 1px solid rgba(255, 51, 51, 0.3);
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.ip-text {
    padding: 15px 25px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
}

.copy-btn {
    background: #ff3333;
    color: white;
    border: none;
    padding: 15px 25px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease;
}

.copy-btn:hover {
    background: #cc0000;
}

/* --- FAQ Section --- */
.faq-section {
    margin-top: 60px;
    text-align: left;
    width: 100%;
    animation: fadeIn 1.5s ease-out;
}

.faq-section h2 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 25px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 15px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
}

.faq-item h3 {
    color: #ff4d4d;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.faq-item p {
    color: #cccccc;
    font-size: 1rem;
    line-height: 1.6;
}

/* Responsive adjustments for mobile phones */
@media (max-width: 768px) {
    .top-nav {
        position: relative;
        top: 0;
        right: 0;
        margin-top: 20px;
        margin-bottom: 20px;
        justify-content: center;
        flex-wrap: wrap; /* Allows buttons to wrap on small screens */
        width: 100%;
        padding: 0 10px;
    }
    .logo {
        font-size: 4rem;
    }
    .mode {
        font-size: 2rem;
    }
    .ip-box {
        flex-direction: column;
    }
    .copy-btn {
        width: 100%;
    }
    .faq-section h2 {
        font-size: 1.6rem;
    }
}

/* --- ANIMATIONS --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { text-shadow: 0 0 20px rgba(255, 26, 26, 0.5), 0 0 40px rgba(255, 26, 26, 0.3); }
    50% { text-shadow: 0 0 30px rgba(255, 26, 26, 0.9), 0 0 60px rgba(255, 26, 26, 0.6); }
    100% { text-shadow: 0 0 20px rgba(255, 26, 26, 0.5), 0 0 40px rgba(255, 26, 26, 0.3); }
}