/* SourMC Global Styles */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background:
        linear-gradient(135deg, rgba(190, 109, 219, 0.7), rgba(29, 20, 98, 0.8)),
        url('/background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #ffffff;
    min-height: 100vh;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

/* Layout Structure */
.page-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.content {
    flex: 1;
}

/* Navigation */
.navbar {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    padding: 16px 24px;
    margin-bottom: 24px;
    border: 2px solid rgba(190, 109, 219, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    position: sticky;
    top: 24px;
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.nav-logo img {
    width: 40px;
    height: 40px;
    margin-right: 12px;
    border-radius: 8px;
}

.nav-logo h1 {
    color: #BE6DDB;
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

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

.nav-links a {
    color: #e0d6f7;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.nav-links a:hover {
    background: rgba(190, 109, 219, 0.2);
    color: #BE6DDB;
}

.nav-links a.active {
    background: linear-gradient(45deg, #BE6DDB, #5865f2);
    color: #ffffff;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #BE6DDB;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Page Headers */
.page-header {
    text-align: center;
    background: rgba(26, 26, 46, 0.85);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 40px 32px;
    border: 2px solid rgba(190, 109, 219, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    margin-bottom: 40px;
}

.page-header h1 {
    color: #BE6DDB;
    font-size: 2.5rem;
    margin-bottom: 12px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.page-header p {
    color: #e0d6f7;
    font-size: 1.1rem;
}

/* Home Page Specific */
.logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 16px;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.06) rotate(3deg);
}

.server-ip {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    border: 2px solid rgba(190, 109, 219, 0.3);
}

.ip {
    font-family: 'Courier New', monospace;
    font-size: 1.4rem;
    color: #BE6DDB;
    font-weight: bold;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(190, 109, 219, 0.18);
    border: 1px solid rgba(190, 109, 219, 0.35);
    color: #e7ddfb;
    font-weight: 700;
    font-size: 0.85rem;
    margin-left: 8px;
    vertical-align: middle;
}

.copy-btn {
    background: linear-gradient(45deg, #BE6DDB, #5865f2);
    border: none;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(190, 109, 219, 0.3);
}

.copy-btn:hover {
    background: linear-gradient(45deg, #d084e6, #6b73ff);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(190, 109, 219, 0.4);
}

.copy-btn.cta {
    margin-left: 10px;
    text-decoration: none;
    display: inline-block;
}

/* Staff Page Specific */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.staff-category {
    background: rgba(26, 26, 46, 0.85);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    padding: 30px;
    border: 2px solid rgba(190, 109, 219, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.staff-category h2 {
    color: #BE6DDB;
    font-size: 1.5rem;
    margin-bottom: 24px;
    text-align: center;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Features section (home) */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.feature {
    background: rgba(26, 26, 46, 0.85);
    border: 2px solid rgba(190, 109, 219, 0.3);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.feature h3 {
    color: #BE6DDB;
    margin-bottom: 8px;
}

.feature p {
    color: #e0d6f7;
}

.staff-member {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid rgba(190, 109, 219, 0.25);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 16px;
}

.staff-member:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(190, 109, 219, 0.4);
    transform: translateY(-2px);
}

.staff-member:last-child {
    margin-bottom: 0;
}

.staff-avatar {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    border: 2px solid rgba(190, 109, 219, 0.3);
    flex-shrink: 0;
}

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

.staff-name {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.staff-discord {
    color: #b9bbbe;
    font-size: 0.9rem;
    font-family: 'Courier New', monospace;
    display: flex;
    align-items: center;
    gap: 6px;
}

.discord-icon {
    width: 16px;
    height: 16px;
    fill: #5865f2;
}

/* Footer */
.footer {
    background: rgba(26, 26, 46, 0.85);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    padding: 16px 24px;
    border: 2px solid rgba(190, 109, 219, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    margin-top: auto;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer p {
    color: #b9bbbe;
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #BE6DDB;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #d084e6;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .staff-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        margin-top: 16px;
        gap: 8px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-header {
        padding: 24px 20px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .staff-grid {
        grid-template-columns: 1fr;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .staff-member {
        flex-direction: column;
        text-align: center;
    }

    .staff-avatar {
        width: 80px;
        height: 80px;
    }

    .logo {
        width: 100px;
        height: 100px;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
}
