:root {
    --bg: #0b0e14;
    --panel: #101724;
    --muted: #9aa5b1;
    --text: #f6f7fb;
    --primary: #ffe49e;
    --primary-strong: #f5c766;
    --border: #1e2838;
    --glass: rgba(255, 255, 255, 0.04);
    --shadow: 0 20px 70px rgba(0, 0, 0, 0.4);
    --radius: 16px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 228, 158, 0.16), transparent 32%),
                radial-gradient(circle at 80% 0%, rgba(91, 213, 255, 0.12), transparent 32%),
                var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    min-height: 100%;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 40%);
    pointer-events: none;
    z-index: 1;
}

#particles-js {
    position: fixed;
    inset: 0;
    z-index: 0;
    opacity: 0.4;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(14px);
    background: linear-gradient(90deg, rgba(12, 17, 26, 0.9), rgba(12, 17, 26, 0.6));
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 28px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.brand-logo {
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: 10px;
    background: transparent;
    box-shadow: var(--shadow);
    padding: 4px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-title {
    font-size: 1rem;
}

.brand-subtitle {
    color: var(--muted);
    font-size: 0.85rem;
}

.nav-links {
    display: flex;
    gap: 18px;
    justify-content: center;
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover {
    color: var(--text);
    transform: translateY(-2px);
}

.nav-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.primary-btn,
.ghost-btn {
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 700;
    border: 1px solid transparent;
    text-decoration: none;
    color: var(--text);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border 0.2s ease;
}

.primary-btn {
    background: linear-gradient(135deg, #5865F2, #4752c4);
    box-shadow: 0 10px 45px rgba(88, 101, 242, 0.35);
}

.primary-btn:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 10px 45px rgba(124, 93, 255, 0.3);
}

.ghost-btn {
    background: var(--glass);
    border-color: var(--border);
    color: var(--text);
}

.ghost-btn:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
}

main {
    position: relative;
    z-index: 2;
}

.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 28px 60px;
}

.section.alt {
    background: radial-gradient(circle at 20% 20%, rgba(124, 93, 255, 0.12), transparent 45%),
                rgba(16, 22, 32, 0.8);
    border-radius: var(--radius);
}

.section-heading {
    text-align: center;
    margin-bottom: 52px;
}

.section-heading h2 {
    margin: 8px 0;
    font-size: 2rem;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: var(--primary-strong);
    font-weight: 700;
}

.muted {
    color: var(--muted);
}

.hero {
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

.hero .content {
    position: relative;
    z-index: 1;
}

.hero .content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 36px;
    align-items: center;
}

.hero h1 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.1;
    margin: 10px 0 10px;
}

.hero .lead {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 540px;
}

.cta {
    display: flex;
    gap: 12px;
    margin: 24px 0;
    flex-wrap: wrap;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.stats .number {
    font-size: 1.6rem;
    font-weight: 800;
}

.stats .label {
    display: block;
    color: var(--muted);
}

.card-stack {
    position: relative;
    display: grid;
    gap: 16px;
}

.floating-card {
    background: linear-gradient(160deg, rgba(20, 27, 39, 0.95), rgba(13, 16, 24, 0.9));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.floating-card.small {
    transform: translateY(-8px);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-weight: 700;
    margin-bottom: 14px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red { background: #ff6b6b; }
.dot.yellow { background: #f6c263; }
.dot.green { background: #3cd38a; }

.card-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.status-row {
    display: flex;
    justify-content: space-between;
    color: var(--muted);
}

.pill {
    background: rgba(255, 228, 158, 0.15);
    padding: 6px 10px;
    border-radius: 12px;
    color: #ffd065;
    font-weight: 700;
}

.code {
    font-family: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;
    background: var(--panel);
    padding: 4px 8px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.grid {
    display: grid;
    gap: 18px;
}

.grid.three {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid.four {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.info-card,
.news-card {
    background: linear-gradient(180deg, rgba(20, 27, 39, 0.92), rgba(10, 14, 22, 0.9));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.info-card:hover,
.news-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 228, 158, 0.5);
    box-shadow: 0 20px 50px rgba(255, 228, 158, 0.18);
}

.icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255, 228, 158, 0.15);
    color: #ffc35a;
    font-size: 1.2rem;
    font-weight: 800;
}

.tag {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 10px;
    background: rgba(255, 228, 158, 0.16);
    color: var(--text);
    font-weight: 700;
    font-size: 0.9rem;
}

.text-link {
    color: var(--primary-strong);
    text-decoration: none;
    font-weight: 700;
}

.text-link:hover {
    text-decoration: underline;
}

.staff-card {
    background: rgba(18, 24, 35, 0.92);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 160px;
    text-align: center;
}

.staff-card h3 {
    margin: 0;
    font-size: 1rem;
}

.staff-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(124, 93, 255, 0.08), transparent 50%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.staff-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 228, 158, 0.45);
}

.staff-card:hover::after {
    opacity: 1;
}

.role-group {
    margin-bottom: 32px;
}

.role-heading {
    margin: 0 0 12px;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
    text-align: center;
    color: var(--primary-strong);
}

.staff-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.staff-section {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 60px 28px 80px;
    text-align: center;
}

.staff-section h1 {
    font-size: 2.4rem;
    margin-bottom: 32px;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.social-card {
    display: flex;
    gap: 12px;
    align-items: center;
    background: linear-gradient(180deg, rgba(20, 27, 39, 0.92), rgba(10, 14, 22, 0.9));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    text-decoration: none;
    color: var(--text);
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.social-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 228, 158, 0.5);
    box-shadow: 0 20px 50px rgba(255, 228, 158, 0.18);
}

.social-icon {
    width: 80px;
    height: 55px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(255, 228, 158, 0.014);
    padding: 8px;
}

.social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.social-card h3 {
    margin: 0 0 4px;
}

.social-card p {
    margin: 0;
    color: var(--muted);
}

.skin {
    width: 140px;
    height: 220px;
    background: var(--panel);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
}

.skin img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    image-rendering: pixelated;
}

.role {
    color: var(--primary-strong);
    font-weight: 700;
    margin: 0;
}

.footer {
    border-top: 1px solid var(--border);
    padding: 28px;
    margin-top: 40px;
    background: rgba(12, 17, 26, 0.85);
}

.footer-inner {
    max-width: 1500px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 600;
}

.footer a:hover {
    color: var(--text);
}

.footer-actions {
    display: flex;
    gap: 10px;
}

.brand-footer {
    display: inline-flex;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    background: transparent;
    box-shadow: var(--shadow);
    padding: 6px;
}

.brand-logo.small {
    width: 38px;
    height: 38px;
    padding: 0;
}

.footer-credit {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.credit-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    text-decoration: none;
    filter: grayscale(1);
    opacity: 0.7;
    transition: filter 0.2s ease, opacity 0.2s ease;
}

.credit-link img {
    width: 80px;
    height: auto;
    object-fit: contain;
}

.credit-text {
    opacity: 0;
    max-width: 160px;
    transition: opacity 0.2s ease;
    color: var(--text);
    font-weight: 700;
    font-size: 0.95rem;
}

.credit-link:hover {
    filter: grayscale(0);
    opacity: 1;
}

.credit-link:hover .credit-text {
    opacity: 1;
}

.gradient {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    pointer-events: none;
}

.gradient-1 {
    width: 70vw;
    height: 70vw;
    max-width: 960px;
    max-height: 960px;
    background: rgba(255, 228, 158, 0.021);
    top: -25vh;
    right: -25vw;
}

.gradient-2 {
    width: 50vw;
    height: 50vw;
    max-width: 720px;
    max-height: 720px;
    background: rgba(91, 214, 255, 0.021);
    bottom: -20vh;
    left: -20vw;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 900px) {
    .nav-inner {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .nav-links, .nav-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .section {
        padding: 72px 20px 50px;
    }
}

@media (max-width: 600px) {
    .cta {
        flex-direction: column;
    }

    .hero .content {
        gap: 18px;
    }
}
