/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* HTML and body setup for full page layout */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

body {
    font-family: 'Minecraft', sans-serif;
    background-color: #543a69;
    color: #fff;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

@font-face {
    font-family: Minecraft;
    src: url(minecraft.woff);
    font-weight: bold;
}

/* Navbar container */
.navbar {
    background: linear-gradient(to bottom, #3c3c3c, #262626);
    border-bottom: 4px solid #555;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1000;
    flex-shrink: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Main navbar */
.nav-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

/* Logo styling */
.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo img {
    height: 40px;
    margin-right: 10px;
}

.nav-logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #f655ff;
    text-shadow: 2px 2px 0 #000;
    letter-spacing: 1px;
}

/* Navigation links */
.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    position: relative;
    margin: 0 5px;
}

.nav-links a {
    display: block;
    padding: 8px 15px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    border: 2px solid transparent;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 0 #000;
}

.nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #f655ff;
    color: #f655ff;
}

.nav-links a.active {
    background-color: rgba(246, 85, 255, 0.2);
    border-color: #f655ff;
    color: #f655ff;
}

/* Mobile menu button */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

/* Server status indicator */
.server-status {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.status-indicator {
    width: 12px;
    height: 12px;
    background-color: #f655ff;
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 8px #f655ff;
}

.player-count {
    font-size: 14px;
    color: #ddd;
}

/* BlueMap container - This is the key part */
.bluemap-container {
    flex-grow: 1;
    flex-basis: 0;
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    overflow: hidden;
}

.bluemap-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Remove any loading overlay */
.bluemap-container:before {
    display: none;
}

/* Responsive design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #262626;
        padding: 10px 0;
        border-top: 2px solid #555;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        margin: 5px 20px;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .server-status {
        margin-left: 0;
        margin-right: 20px;
    }
}