body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    font-family: 'Special Elite', monospace;
    background: url('/images/mainBackground.png') no-repeat center center fixed;
    background-size: cover;
}

.bot-status-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    padding-top: 80px;
    color: white;
    box-sizing: border-box;
}

.bot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.bot-card {
    background-color: rgba(245, 245, 245, 0.9);
    border-radius: 8px;
    padding: 20px;
    color: black;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.bot-card:hover {
    transform: translateY(-5px);
}

.bot-image {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.bot-status {
    margin-top: 10px;
}

.status-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 5px;
}

.status-text {
    font-weight: bold;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: white;
    margin-top: 10px;
}

.button-start { background-color: #4CAF50; }
.button-stop { background-color: #f44336; }

.status-online, .status-running { background-color: #4CAF50; }
.status-offline, .status-stopped { background-color: #f44336; }
.status-unknown { background-color: #FFA500; }

@media (max-width: 1024px) {
    .bot-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .bot-status-container {
        padding: 15px;
    }
    .bot-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 15px;
    }
    .bot-card {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .bot-status-container {
        padding: 10px;
    }
    .bot-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .bot-card {
        padding: 15px;
    }
}

@media (max-width: 320px) {
    .bot-card {
        padding: 10px;
    }
    .bot-status {
        font-size: 14px;
    }
}

@media (orientation: landscape) and (max-height: 500px) {
    .bot-status-container {
        padding: 10px;
    }
    .bot-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }
    .bot-card {
        padding: 10px;
    }
}