/* CSS Reset & Variables */
:root {
    --primary-color: #3b82f6;
    --primary-hover: #2563eb;
    --bg-color: #1f2937;
    /* Darker, cleaner slate */
    --card-bg: #374151;
    --text-color: #f3f4f6;
    --text-muted: #9ca3af;
    --nav-bg: rgba(31, 41, 55, 0.95);
    --border-color: #4b5563;
    --spacing-container: 1rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-container);
}

/* Navigation */
.navbar {
    background-color: var(--nav-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.btn-discord {
    background-color: #5865F2;
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: background-color 0.2s !important;
}

.btn-discord:hover {
    background-color: #4752c4;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 3px;
}

/* Hero Section */
.hero {
    position: relative;
    background-image: url('background.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* Dark overlay text contrast */
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #e5e7eb;
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    font-size: 1.1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.tos-text {
    font-size: 0.8rem;
    margin-top: 0.5rem;
    color: #d1d5db;
}

.tos-text a {
    color: white;
    text-decoration: underline;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 3rem var(--spacing-container);
}

.grid-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
}

.card-header {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

.card-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
}

.card-body {
    padding: 1.5rem;
}

/* FAQ Styling */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.faq-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.faq-item .question {
    font-weight: 600;
    color: #60a5fa;
}

.faq-item .answer {
    color: var(--text-color);
}

.faq-item .answer a {
    color: var(--primary-color);
    text-decoration: none;
}

.faq-item .answer a:hover {
    text-decoration: underline;
}

.full-width {
    display: block;
    width: 100%;
}

/* Footer */
.footer {
    background-color: #111827;
    padding: 2rem 0;
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-content p {
    color: #9ca3af;
}

.footer-content a {
    color: #ffffff;
    text-decoration: none;
}

.footer-content a:hover {
    text-decoration: underline;
}

/* Status Card */
.status-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.status-label {
    font-weight: 500;
}

.status-value {
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

.status-value.online {
    background-color: rgba(16, 185, 129, 0.2);
    color: #34d399;
}

.status-value.partial {
    background-color: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
}


.footer-seo-text small {
    display: block;
    font-size: 0.7rem;
    color: #4b5563;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.4;
}

/* Featured Project Card */
.featured-card {
    border: 1px solid rgba(59, 130, 246, 0.5);
    background: linear-gradient(to bottom right, var(--card-bg), rgba(31, 41, 55, 0.8));
    margin-top: 2rem;
}

.featured-card .card-header {
    background-color: rgba(59, 130, 246, 0.1);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.badge-beta {
    background-color: var(--primary-color);
    color: white;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 12px;
    vertical-align: middle;
    margin-left: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
}

.featured-desc {
    font-size: 1.05rem;
    color: #e5e7eb;
    max-width: 800px;
}

.featured-desc strong {
    color: var(--primary-color);
}


/* Responsive Design */
@media (min-width: 768px) {
    /* .grid-layout default is 1fr, no column split needed for sidebar-less layout */

    .menu-toggle {
        display: none;
    }

    .nav-links {
        display: flex;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--nav-bg);
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .status-card {
        order: -1;
        /* Put ads/scripts on top or bottom? Maybe bottom is better for UX, let's leave default (bottom) */
    }
}