* { margin:0; padding:0; box-sizing:border-box; }

body {
    background: #0a0a0a;
    color: #e0e0e0;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

/* ================== HEADER ================== */
.top-header {
    background: #111111;
    border-bottom: 5px solid #ff0000;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: 82px;
}

.logo {
    display: flex;
    align-items: center;
}

.header-logo {
    height: 45px;          /* Nice visible logo size */
    width: auto;
    border-radius: 6px;
}

.top-header .logo span {
    font-size: 30px;
    margin-left: 12px;
    font-weight: bold;
}

/* Navigation */
.nav-buttons a {
    color: #ccc;
    text-decoration: none;
    margin-left: 28px;
    font-weight: 500;
    padding: 10px 18px;
    border-radius: 8px;
    transition: 0.3s;
    font-size: 16px;
}

.nav-buttons a:hover, .nav-buttons a.active {
    background: #ff0000;
    color: white;
}

/* ================== MAIN CONTENT ================== */
.main {
    padding: 30px;
    max-width: 1480px;
    margin: 0 auto;
}

.hero-compact {
    text-align: center;
    padding: 18px 20px;
    background: linear-gradient(135deg, #1a0000, #0a0a0a);
    border-radius: 12px;
    margin-bottom: 35px;
    border: 1px solid #330000;
}

.hero-compact h1 {
    font-size: 28px;
    margin-bottom: 6px;
}

.hero-compact p {
    font-size: 15px;
    color: #aaa;
}

/* Grid - Good 3-column layout */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 20px;
}

.card {
    background: #1a1a1a;
    border: 1px solid #ff0000;
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 0 20px rgba(255,0,0,0.15);
    transition: all 0.3s;
    min-height: 160px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(255,0,0,0.25);
}

.status-online { color: #00ff88; }
.status-offline { color: #ff4444; }

.visit-btn {
    background: #ff0000;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
}

.visit-btn:hover {
    background: #cc0000;
}

/* ====================== LOGIN PAGE ====================== */
.login-bg {
    background: linear-gradient(135deg, #0a0a0a, #300000);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.login-container {
    background: #1a1a1a;
    padding: 55px 45px;
    border: 3px solid #ff0000;
    border-radius: 16px;
    width: 100%;
    max-width: 420px;
    text-align: center;
    box-shadow: 0 0 40px rgba(255, 0, 0, 0.35);
}

.login-container h1 {
    font-size: 52px;
    margin-bottom: 10px;
    letter-spacing: 3px;
}

.login-container input {
    width: 100%;
    padding: 16px;
    margin: 12px 0;
    background: #222222;
    border: 1px solid #ff0000;
    color: #fff;
    font-size: 16px;
    border-radius: 8px;
}

.login-container button {
    width: 100%;
    padding: 16px;
    margin-top: 15px;
    background: #ff0000;
    color: white;
    border: none;
    font-size: 17px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.login-container button:hover {
    background: #cc0000;
    transform: scale(1.03);
}

/* Login Logo */
.login-logo {
    height: 90px;           /* Adjust this size if needed */
    width: auto;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(255,0,0,0.3));
}
