/* --- Variables (Discord Color Palette) --- */
:root {
    --bg-dark: #36393f;
    --bg-darker: #2f3136;
    --bg-darkest: #202225;
    --blurple: #5865F2;
    --blurple-hover: #4752c4;
    --green: #57F287;
    --text-main: #dcddde;
    --text-header: #ffffff;
    --card-bg: #2f3136;
}

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

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
}

h1, h2, h3 {
    color: var(--text-header);
    margin-bottom: 1rem;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Navbar --- */
.navbar {
    background-color: var(--bg-darkest);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--text-header);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--blurple); }

.nav-btn {
    background-color: var(--blurple);
    color: white !important;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.nav-btn:hover { background-color: var(--blurple-hover); }

/* --- Hero Section --- */
.hero {
    text-align: center;
    padding: 80px 0;
    background: radial-gradient(circle at center, #2f3136 0%, #36393f 100%);
}

.server-logo-placeholder {
    width: 120px;
    height: 120px;
    background-color: var(--bg-darkest);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 4px solid var(--bg-darker);
}

.hero h1 { font-size: 3rem; font-weight: 900; }
.hero p { font-size: 1.2rem; margin-bottom: 30px; color: #b9bbbe; }

/* --- IP Copy Box --- */
.ip-container {
    display: inline-flex;
    align-items: center;
    background-color: var(--bg-darkest);
    padding: 15px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-family: monospace;
    font-size: 1.2rem;
    color: var(--text-header);
    position: relative;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.ip-container:hover {
    border-color: var(--blurple);
    transform: translateY(-2px);
}

.copy-icon { margin-left: 10px; opacity: 0.5; }

#copy-tooltip {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background-color: black;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
}

#copy-tooltip.show { opacity: 1; }

.online-status {
    margin-top: 15px;
    color: var(--green);
    font-size: 0.9rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.dot {
    height: 10px;
    width: 10px;
    background-color: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--green);
}

/* --- Sections --- */
.section { padding: 60px 0; }
.dark-bg { background-color: var(--bg-darker); }
.subtitle { text-align: center; color: #b9bbbe; margin-bottom: 40px; }
h2 { text-align: center; font-size: 2rem; }

/* --- Gallery Grid --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    background-color: var(--bg-darkest);
    height: 200px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #72767d;
    transition: transform 0.2s;
}

.gallery-item:hover { transform: scale(1.02); }

/* --- Cards --- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background-color: var(--bg-dark);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--bg-darkest);
}

.card h3 { color: var(--blurple); }
.card p { margin-bottom: 20px; font-size: 0.9rem; }

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    transition: opacity 0.2s;
}

.btn:hover { opacity: 0.8; }
.primary { background-color: var(--blurple); color: white; }
.secondary { background-color: var(--bg-darkest); color: var(--text-header); border: 1px solid #4f545c; }
.big-btn { padding: 15px 30px; font-size: 1.1rem; }

/* --- Whitelist --- */
.whitelist-box {
    background-color: var(--bg-darkest);
    padding: 50px;
    border-radius: 10px;
    text-align: center;
    border-left: 5px solid var(--green);
}

footer {
    background-color: var(--bg-darkest);
    text-align: center;
    padding: 20px 0;
    font-size: 0.8rem;
    color: #72767d;
}

/* --- Mobile --- */
@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .nav-links { display: none; } /* Mobile menu simplified for this version */
}
