/* ToS (Server Rules) specific styles */

.navigation {
    margin-bottom: 40px;
    text-align: left;
}

.nav-link {
    color: #00ff88;
    text-decoration: none;
    font-size: 1rem;
    margin-right: 20px;
    padding: 8px 16px;
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 5px;
    transition: all 0.3s ease;
    display: inline-block;
}

.nav-link:hover {
    background: rgba(0, 255, 136, 0.1);
    border-color: #00ff88;
    text-decoration: none;
}

.page-header {
    text-align: center;
    margin-bottom: 50px;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(45deg, #00ff88, #00cc66, #009944);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.page-subtitle {
    font-size: 1.3rem;
    color: #cccccc;
    font-weight: 400;
}

.language-selector {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.lang-btn {
    padding: 12px 20px;
    border: 2px solid;
    border-radius: 8px;
    background: transparent;
    color: #00ff88;
    border-color: #00ff88;
    cursor: pointer;
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(0, 255, 136, 0.1);
    transform: translateY(-2px);
}

.lang-btn.active {
    background: #00ff88;
    color: #0a0a0a;
}

.lang-btn.disabled {
    border-color: #666;
    color: #666;
    cursor: not-allowed;
    opacity: 0.6;
}

.rules-container {
    max-width: 900px;
    margin: 0 auto;
}

.rules-content {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 30px;
}

.rules-content.hidden {
    display: none;
}

.placeholder {
    text-align: center;
    padding: 40px;
}

.placeholder-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.7;
}

.placeholder h2 {
    color: #00ff88;
    margin-bottom: 20px;
    font-size: 2rem;
}

.placeholder p {
    color: #cccccc;
    margin-bottom: 15px;
    line-height: 1.6;
}

.placeholder ul {
    text-align: left;
    max-width: 400px;
    margin: 20px auto;
    color: #cccccc;
}

.placeholder li {
    margin-bottom: 8px;
    padding-left: 10px;
}

.status {
    margin-top: 30px;
}

.status-badge {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.coming-soon {
    text-align: center;
    padding: 60px 20px;
}

.coming-soon h2 {
    color: #00ff88;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.coming-soon p {
    color: #cccccc;
    font-size: 1.1rem;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .page-header {
        margin-bottom: 40px;
    }

    .page-title {
        font-size: 2.8rem;
        line-height: 1.2;
        letter-spacing: 0.5px;
    }
    
    .page-subtitle {
        font-size: 1.2rem;
        margin-bottom: 30px;
    }

    .navigation {
        margin-bottom: 30px;
        text-align: center;
    }
    
    .nav-link {
        margin: 8px 5px;
        padding: 10px 16px;
        font-size: 0.9rem;
        display: inline-block;
        min-height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .language-selector {
        gap: 12px;
        margin-bottom: 30px;
    }
    
    .lang-btn {
        padding: 12px 18px;
        font-size: 0.85rem;
        min-height: 44px; /* Proper touch target */
    }
    
    .rules-content {
        padding: 25px 20px;
        margin-bottom: 25px;
    }

    .placeholder {
        padding: 30px 20px;
    }

    .placeholder-icon {
        font-size: 3.5rem;
        margin-bottom: 15px;
    }

    .placeholder h2 {
        font-size: 1.7rem;
        margin-bottom: 15px;
    }

    .placeholder p {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .placeholder ul {
        max-width: 350px;
        margin: 15px auto;
    }

    .coming-soon {
        padding: 40px 20px;
    }

    .coming-soon h2 {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }

    .coming-soon p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        margin-bottom: 30px;
    }

    .page-title {
        font-size: 2.2rem;
        line-height: 1.1;
        margin-bottom: 12px;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
        line-height: 1.4;
    }

    .navigation {
        margin-bottom: 25px;
    }
    
    .nav-link {
        margin: 6px 3px;
        padding: 12px 14px;
        font-size: 0.85rem;
        width: calc(50% - 6px); /* Two per row on small screens */
        max-width: 150px;
        text-align: center;
    }

    .language-selector {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-bottom: 25px;
    }
    
    .lang-btn {
        width: 100%;
        max-width: 280px;
        padding: 14px 20px;
        font-size: 0.9rem;
    }

    .rules-content {
        padding: 20px 15px;
        margin-bottom: 20px;
        border-radius: 12px;
    }

    .placeholder {
        padding: 25px 15px;
    }
    
    .placeholder-icon {
        font-size: 2.8rem;
        margin-bottom: 12px;
    }
    
    .placeholder h2 {
        font-size: 1.4rem;
        margin-bottom: 12px;
        line-height: 1.3;
    }

    .placeholder p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 10px;
    }

    .placeholder ul {
        max-width: 100%;
        margin: 15px auto;
        padding: 0 20px;
    }

    .placeholder li {
        margin-bottom: 6px;
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .status {
        margin-top: 20px;
    }

    .status-badge {
        padding: 6px 12px;
        font-size: 0.8rem;
        display: inline-block;
        text-align: center;
    }

    .coming-soon {
        padding: 30px 15px;
    }

    .coming-soon h2 {
        font-size: 1.4rem;
        margin-bottom: 10px;
        line-height: 1.3;
    }

    .coming-soon p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    /* Better touch interactions */
    .nav-link:active,
    .lang-btn:active {
        transform: scale(0.98);
    }

    /* Prevent horizontal scroll */
    .rules-container {
        padding: 0 10px;
        overflow-x: hidden;
    }

    /* Better tap targets */
    .nav-link,
    .lang-btn {
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(0, 255, 136, 0.2);
    }

    /* Improved scroll performance */
    .rules-content {
        -webkit-overflow-scrolling: touch;
    }
}