@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-color: #020617;
    --card-bg: #0f172a;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --primary-color: #3b82f6;
    --primary-hover: #2563eb;
    --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --nav-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-transform: capitalize;
}

/* Exceptions for Data Fields */
input, textarea, .email, .profile-email, .username, .profile-username, .nav-username, .card-username, .code, .discord-invite, .discord-id, .link, .social-link, .no-caps {
    text-transform: none !important;
}

/* Fix for Select Menus in Admin Panel */
select, option {
    background-color: #0f172a !important; /* var(--card-bg) */
    color: #f8fafc !important; /* var(--text-primary) */
}
option {
    padding: 10px;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
    min-height: 100vh; /* Ensure full height */
}
html {
    background-color: var(--bg-color); /* Fix for half background */
}

main {
    flex: 1;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(-50px);
    transition: all 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.animate-on-scroll.show {
    opacity: 1;
    transform: translateY(0);
}

/* Glow Effects */
.glow-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-container {
    width: 90%;
    max-width: 1400px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.brand-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.brand-text span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.nav-link.active::after { display: none; }

.nav-indicator {
    position: absolute;
    bottom: -2px;
    left: 0;
    height: 3px;
    width: 0;
    background: var(--primary-color);
    box-shadow: 0 -2px 10px var(--primary-color);
    border-radius: 3px 3px 0 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.btn-login {
    background: var(--accent-gradient);
    color: white;
    padding: 0.7rem 1.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.user-dropdown {
    position: relative;
    display: inline-block;
}

.btn-user {
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--text-primary);
    border: none;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0.5rem;
    font-family: 'Poppins', sans-serif;
    outline: none;
}

.btn-user img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(59, 130, 246, 0.5);
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: #0f172a;
    min-width: 180px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    z-index: 1000;
    overflow: hidden;
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.dropdown-content a {
    color: var(--text-secondary);
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    transition: background 0.2s, color 0.2s;
    border-radius: 8px;
}

.dropdown-content a:hover {
    background-color: rgba(255,255,255,0.05);
    color: var(--text-primary);
}

.user-dropdown.active .dropdown-content {
    display: block;
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Service Details & Modal */
.service-details-card {
    transition: transform 0.3s ease;
}
.service-details-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
}

.modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.8); 
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #0f172a;
    margin: 5% auto;
    padding: 2.5rem;
    border: 1px solid rgba(255,255,255,0.1);
    width: 90%;
    max-width: 500px;
    border-radius: 16px;
    position: relative;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover {
    color: white;
}

.form-group label {
    display: block; 
    margin-bottom: 0.5rem; 
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.2);
    color: white;
    outline: none;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.2s;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary-color);
}

/* Hero & General */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--nav-height);
    padding-bottom: 4rem;
    position: relative;
}

.hero-container {
    width: 90%;
    max-width: 1200px;
    text-align: center;
}

.hero-content-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5rem;
    text-align: center;
}

.hero-text-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo-large {
    flex: 0 0 auto;
    width: 250px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-subtitle {
    display: block;
    color: #64ffda;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 800;
}

.hero-desc {
    font-size: 1.20rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 700px;
}

.stats-container {
    display: flex;
    justify-content: flex-start;
    gap: 4rem;
    margin-top: 2rem;
    width: 100%;
}

.stat-item { text-align: center; }
.stat-number { display: block; font-size: 2.3rem; font-weight: 800; color: #8b5cf6; line-height: 1; margin-bottom: 0.5rem; }
.stat-label { color: var(--text-secondary); font-size: 1rem; font-weight: 500; }

.section-why, .section-featured, .section-faq {
    padding: 6rem 0;
    background: transparent;
}

.section-header { text-align: center; margin-bottom: 5rem; }
.section-header span { color: var(--primary-color); text-transform: uppercase; font-weight: 700; letter-spacing: 1px; font-size: 0.9rem; display: block; margin-bottom: 1rem; }
.section-header h2 { font-size: 3.5rem; margin-bottom: 1.5rem; font-weight: 700; }
.section-header p { color: var(--text-secondary); max-width: 700px; margin: 0 auto; font-size: 1.1rem; }

.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.grid-devs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; }

.card-why, .card-featured, .dev-card {
    background: #0d1117;
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.card-why:hover, .card-featured:hover, .dev-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
}

/* Dev Card Specifics */
.dev-card { padding: 0 0 2.5rem 0; }
.dev-banner { width: 100%; height: 120px; background-size: cover; background-position: center; background-color: #1e293b; }
.dev-avatar-wrapper { position: relative; width: 100px; height: 100px; margin: -50px auto 1rem; z-index: 2; }
.dev-avatar { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 5px solid #0d1117; background-color: #0d1117; }
.status-indicator { position: absolute; bottom: 5px; right: 5px; width: 20px; height: 20px; border-radius: 50%; border: 3px solid #0d1117; }
.dev-role { color: #6366f1; font-weight: 600; margin-bottom: 1.5rem; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; }
.dev-username { text-transform: none; margin-bottom: 1rem; color: var(--text-secondary); font-size: 0.9rem; }
.dev-badges { display: flex; gap: 0.5rem; justify-content: center; margin-bottom: 2rem; flex-wrap: wrap; }
.badge { background: rgba(255, 255, 255, 0.05); color: var(--text-secondary); padding: 0.4rem 1rem; border-radius: 50px; font-size: 0.8rem; font-weight: 500; border: 1px solid rgba(255, 255, 255, 0.1); }
.btn-discord-profile { background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%); color: white; padding: 0.8rem 2rem; border-radius: 12px; text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; width: 100%; justify-content: center; transition: transform 0.2s, box-shadow 0.2s; }
.btn-discord-profile:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4); }

/* Status Page Styles */
.status-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.status-dropdown {
    background: #0d11172f;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
    height: fit-content;
}

.status-header {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,255,255,0.02);
    transition: background 0.2s;
}

.status-header:hover {
    background: rgba(255,255,255,0.05);
}

.status-header h3 {
    margin: 0;
    font-size: 1rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.arrow-icon {
    transition: transform 0.3s ease;
    color: var(--text-secondary);
}

.status-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.status-list {
    padding: 0 1.5rem 1.5rem;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.02);
}

.status-item:last-child {
    border-bottom: none;
}

.status-indicator-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.status-text {
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 50px;
}

.bot-name {
    color: var(--text-primary);
    font-weight: 500;
}

.no-bots {
    padding: 1.5rem;
    color: var(--text-secondary);
    font-style: italic;
    text-align: center;
    margin: 0;
}

/* Site Status Footer */
.site-status-footer {
    text-align: center;
    margin-top: 4rem;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    border: 1px solid rgba(34, 197, 94, 0.2);
    font-size: 1.1rem;
}

.status-pill.active {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border-color: rgba(34, 197, 94, 0.2);
}

.status-pill.passive {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.2);
}

.status-pill.maintenance {
    background: rgba(234, 179, 8, 0.1);
    color: #eab308;
    border-color: rgba(234, 179, 8, 0.2);
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background-color: currentColor;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* FAQ Styles */
.faq-container { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.faq-item { background: rgba(15, 23, 42, 0.4); backdrop-filter: blur(12px); border: 1px solid rgba(59, 130, 246, 0.1); border-radius: 16px; overflow: hidden; padding: 0 2rem; transition: border-color 0.3s ease; align-self: start; }
.faq-item:hover { border-color: rgba(59, 130, 246, 0.3); }
.faq-question { padding: 1.5rem 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: color 0.3s; }
.faq-question h3 { font-size: 1.1rem; font-weight: 600; color: var(--text-primary); margin: 0; }
.faq-icon { font-size: 1.5rem; font-weight: 300; transition: transform 0.3s ease; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer p { color: var(--text-secondary); padding-bottom: 1.5rem; margin: 0; }
.faq-item.active .faq-question h3 { color: var(--primary-color); }
.faq-item.active .faq-icon { transform: rotate(45deg); color: var(--primary-color); }
.faq-item.active .faq-answer { max-height: 200px; }

/* Footer */
.site-footer { background: #020617; border-top: 1px solid rgba(255, 255, 255, 0.05); padding: 6rem 0 0; margin-top: auto; position: relative; }
.discord-banner-wrapper { position: relative; z-index: 10; margin-bottom: -3rem; padding: 0 2rem; }
.discord-banner { background: #2563eb; border-radius: 16px; padding: 2.5rem 3rem; display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3); position: relative; overflow: hidden; }
.discord-content h2 { font-size: 2rem; color: white; margin-bottom: 0.5rem; font-weight: 700; }
.discord-content p { color: rgba(255, 255, 255, 0.9); font-size: 1rem; max-width: 600px; }
.btn-discord-join { display: flex; align-items: center; gap: 10px; background: white; color: #2563eb; padding: 0.8rem 1.5rem; border-radius: 8px; font-weight: 700; text-decoration: none; transition: transform 0.2s; text-transform: uppercase; }
.btn-discord-join:hover { transform: scale(1.05); }
.bg-icon { position: absolute; color: rgba(255, 255, 255, 0.1); z-index: 1; pointer-events: none; }
.icon-1 { top: -20px; left: 20px; font-size: 100px; transform: rotate(-15deg); }
.icon-2 { bottom: -30px; right: 200px; font-size: 150px; transform: rotate(15deg); }
.footer-container { width: 90%; max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.footer-col h3 { color: var(--text-primary); margin-bottom: 1rem; font-size: 1.5rem; }
.footer-col h4 { color: var(--text-primary); margin-bottom: 1.5rem; font-size: 1.1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.8rem; }
.footer-col ul li a { color: var(--text-secondary); text-decoration: none; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--primary-color); }
.footer-bottom { text-align: center; padding: 2rem 0; border-top: 1px solid rgba(255, 255, 255, 0.05); color: var(--text-secondary); }

/* Additional Styles for Featured Cards */
.badge-popular {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(234, 179, 8, 0.1);
    color: #eab308;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(234, 179, 8, 0.2);
}

.featured-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.icon-yellow { background: rgba(234, 179, 8, 0.1); color: #eab308; }
.icon-blue { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.icon-green { background: rgba(34, 197, 94, 0.1); color: #22c55e; }
.icon-pink { background: rgba(236, 72, 153, 0.1); color: #ec4899; }

.check-list {
    list-style: none;
    margin: 1rem 0 2rem;
    width: 100%;
    text-align: left;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.check-list li svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.btn-featured {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

.btn-featured:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.service-category {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    text-transform: capitalize;
}

/* Profile Specifics */
.profile-username, .profile-email {
    text-transform: none;
}

/* Navbar Username */
.nav-username {
    text-transform: none;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

/* Mobile Navbar */
@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
        z-index: 1001; /* Navbar'dan (1000) yüksek olmalı */
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: #020617;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: left 0.3s ease;
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-indicator {
        display: none;
    }
    
    .nav-links li {
        margin: 1.5rem 0;
    }
    
    .nav-links li a {
        font-size: 1.5rem;
    }

    .user-dropdown {
        /* User dropdown mobilde nasıl görünsün? Hamburgerin yanında kalsın */
    }
    
    /* Hamburger animasyonu */
    .hamburger-menu.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger-menu.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* Admin Layout */
.admin-layout {
    /* display: flex; Removed to prevent width issues with fixed sidebar */
    min-height: 100vh;
    background-color: #020617;
}

.admin-sidebar {
    width: 250px;
    background: #020617;
    border-right: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 100;
}

.admin-main {
    flex: 1;
    margin-left: 250px; /* Sidebar width */
    padding: 1rem; /* Compact padding */
    background: #0f172a;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 0.85rem; /* Smaller font base */
}

/* Custom Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    vertical-align: middle;
}
.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255,255,255,0.1);
    transition: .4s;
    border-radius: 34px;
}
.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}
input:checked + .toggle-slider {
    background-color: var(--primary-color);
}
input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

/* Sponsors Section */
.sponsors-container {
    overflow: hidden;
    padding: 2rem 0;
    white-space: nowrap;
    position: relative;
}

.sponsors-track {
    display: inline-block;
    animation: scroll 5s linear infinite;
}

.sponsor-logo {
    height: 60px;
    margin: 0 4rem;
    opacity: 0.5;
    transition: opacity 0.3s;
    vertical-align: middle;
    filter: grayscale(100%);
}

.sponsor-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.sidebar-header {
    margin-bottom: 3rem;
    text-align: center;
}

.sidebar-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    height: 100%;
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.6rem 1rem; /* Reduced padding */
    border-radius: 8px;
    transition: all 0.2s;
    font-weight: 500;
    font-size: 0.9rem; /* Reduced font size */
}

.sidebar-menu li a:hover, .sidebar-menu li a.active {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-color);
}

.sidebar-menu li a i {
    width: 20px;
    text-align: center;
}

.admin-footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: auto;
}

@media (max-width: 768px) {
    .admin-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    .admin-sidebar.active {
        transform: translateX(0);
    }
    .admin-main {
        margin-left: 0;
    }
    /* Add a toggle button for mobile admin sidebar if needed, but for now desktop focus */
}

/* General Mobile Responsiveness */
@media (max-width: 768px) {
    /* Hero */
    .hero h1 { font-size: 2.5rem; }
    .hero-content-wrapper { flex-direction: column; text-align: center; gap: 2rem; }
    .hero-logo-large { width: 150px; height: 150px; }
    .stats-container { gap: 2rem; justify-content: center; }
    .stat-number { font-size: 2rem; }

    /* Grids */
    .grid-5, .grid-4, .grid-devs, .faq-container { grid-template-columns: 1fr; }

    /* Section Headers */
    .section-header h2 { font-size: 2.5rem; }
    
    /* Footer */
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .discord-banner { flex-direction: column; text-align: center; gap: 1.5rem; padding: 2rem; }
    .icon-1, .icon-2 { display: none; } /* Hide bg icons on mobile to prevent overflow */

    /* Profile Page */
    .profile-header { flex-direction: column; text-align: center; padding: 1.5rem !important; }
    .order-card { flex-direction: column !important; align-items: flex-start !important; gap: 1rem !important; }
    .order-card > div { width: 100%; }
    .order-status { align-self: flex-start !important; }

    /* Service Details */
    .service-details-container { padding: 1rem; } /* Assuming class name */
    
    /* Tables (if any in user pages) */
    table { display: block; overflow-x: auto; white-space: nowrap; }

    /* Status Page */
    .status-grid-container { grid-template-columns: 1fr; }
    .site-status-footer { margin-top: 2rem; width: 100%; }
    .status-pill { 
        width: 100%; 
        justify-content: center; 
        padding: 0.8rem 1rem; 
        font-size: 0.9rem; 
        box-sizing: border-box;
        text-align: center;
    }
    .status-item {
        font-size: 0.9rem;
    }
}

/* Sponsors Carousel */
.sponsors-carousel {
    overflow: hidden;
    padding: 2rem 0;
    position: relative;
    margin: 2rem auto;
    max-width: 1200px;
}

.sponsors-track-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.sponsor-slide {
    flex: 0 0 12.5%; /* Show 8 items */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 0.5rem;
}

.sponsor-slide img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: all 0.3s;
}

.sponsor-slide img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

@media (max-width: 768px) {
    .sponsor-slide {
        flex: 0 0 100%; /* Show 1 item on mobile */
    }
}

/* Why Section Spacing */
.card-why h3 {
    margin-bottom: 1.5rem;
}

/* Uptime Status Cards */
.uptime-card {
    background: #0d1117;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 0.8rem; /* More compact */
    margin-bottom: 1rem;
}

.uptime-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem; /* Increased spacing */
}

.uptime-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    text-transform: none; /* Keep original case */
}

.info-icon {
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: help;
}

.status-label {
    font-size: 0.9rem;
    font-weight: 600;
}

.status-label.operational { color: #4ade80; text-shadow: 0 0 10px rgba(74, 222, 128, 0.3); }
.status-label.downtime { color: #f87171; text-shadow: 0 0 10px rgba(248, 113, 113, 0.3); }
.status-label.maintenance { color: #facc15; text-shadow: 0 0 10px rgba(250, 204, 21, 0.3); }

.uptime-bars {
    display: flex;
    gap: 3px; 
    height: 20px; /* Vertical bars */
    margin-bottom: 0.3rem; /* Pulled footer up */
}

.bar {
    flex: 1;
    background-color: #4ade80;
    border-radius: 0; /* Straight lines */
    transition: opacity 0.2s;
}

.bar:hover {
    opacity: 0.8;
}

.bar.operational { background-color: #4ade80; box-shadow: 0 0 5px rgba(74, 222, 128, 0.4); }
.bar.downtime { background-color: #f87171; box-shadow: 0 0 5px rgba(248, 113, 113, 0.4); }
.bar.maintenance { background-color: #facc15; box-shadow: 0 0 5px rgba(250, 204, 21, 0.4); }
.bar.slow { background-color: #facc15; }

.uptime-footer {
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 500;
}

.uptime-percent {
    color: var(--text-secondary);
}
