:root {
    --bg: #0e0f14;
    --panel: #151826;
    --text: #e6e8f0;
    --muted: #9aa0c7;
    --accent: #6cf2c2;
    --discord-color: #5865F2; 
}

* {
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(circle at top, #1a1d2e, var(--bg));
    color: var(--text);
    
    /* Layout for centering the main content and accommodating the header */
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: flex-start;
    padding-top: 1rem;
    position: relative; 
}

/* --- Header & Navigation Styles (Centered at Top) --- */
header {
    /* Positioned at the top, spanning the full width */
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    padding: 1.5rem 3rem; 
    z-index: 100; 
    
    display: flex; 
    /* Centers the main-nav horizontally */
    justify-content: center; 
    align-items: center;
    margin-bottom: 0; 
}

#main-nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-grow: 0; 
}

.nav-link {
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0.25rem;
    position: relative;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--text);
}

/* Highlight the current page */
.nav-link.current {
    color: var(--accent);
}

.nav-link.current::after {
    content: '';
    position: absolute;
    bottom: -5px; 
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
    border-radius: 999px;
}


/* --- Main Content (Centered Card) --- */
main {
    max-width: 700px;
    padding: 3rem;
	/* NEW: Pushes the main card down past the header (which is about 5rem tall) */
    margin-top: 7rem; 
    /* NEW: Ensures space at the bottom when scrolling */
    margin-bottom: 5rem;
    background: linear-gradient(180deg, rgba(255,255,255,0.04), transparent);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

h1 {
    font-size: 2.4rem;
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.03em;
}

p {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 2rem;
}


/* --- Social Links and Button Styles (Restored) --- */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem; 
    list-style: none;
    padding: 0;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--panel);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: background 0.2s ease;
}

.social-link:hover {
    background: #1a1e30;
}

.social-icon {
    font-size: 1.5rem;
    color: var(--accent);
}

.social-info {
    flex-grow: 1;
}

.social-info h3 {
    margin: 0 0 0.2rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.social-info p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--muted);
}

/* Style for the actual clickable buttons */
a.button {
    display: inline-flex; 
    align-items: center;
    justify-content: center;
    min-width: 100px; 
    padding: 0.6rem 1rem;
    border-radius: 8px;
    background: var(--accent);
    color: #081311;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 5px 15px rgba(108,242,194,0.25);
}

a.button:hover {
    transform: translateY(-1px);
    box-shadow: 0 7px 20px rgba(108,242,194,0.35);
}

/* This is essential to push the button to the right end of the social link row */
.social-link a.button {
    margin-left: auto; 
}


/* --- Footer and Utility Styles --- */
footer {
    margin-top: 2.5rem;
    font-size: 0.85rem;
    color: var(--muted);
    opacity: 0.7;
}

hr {
    border: none;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 1.5rem 0;
}