/* Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* Global Styles */
:root {
  /* Backgrounds */
  --bg-main: #0E0E10;
  --bg-surface: #1A1A1D;

  /* Text */
  --text-primary: #FFFFFF;
  --text-secondary: #A3A3A3;

  /* Accent & Status Colors */
  --accent: #3B82F6;  /* Blue 500 */
  --success: #10B981;
  --error: #EF4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
}

/* Header */
#top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background-color: var(--bg-surface);
    padding: 0 32px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
}

#top-bar-logo-section {
    display: flex;
    align-items: center;
}

#top-bar-title {
    font-size: 24px;
    font-weight: 600;
}

#top-bar-logo {
    height: 40px;
    margin-right: 16px;
}

#top-bar-nav-section {
    display: flex;
    align-items: center;
    gap: 24px;
    /* z-index: 999; */
}

#top-bar-nav-section a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.2s ease;
}

#top-bar-nav-section a:hover {
    color: var(--accent);
}

#top-bar-nav-section a:hover {
    color: var(--accent);
}

#top-bar-nav-hamburger {
    display: none;
    width: 36px;
    cursor: pointer;
    filter: invert(1);
}

/* Main content */
#main-content-wrapper {
    max-width: 720px;
    margin: 0 auto;
    padding: 80px 1.5rem;

    /* Center it vertically */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
}

/* Footer */
#footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: 48px;
    background-color: var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-secondary);
    padding: 8px 72px 8px 12px; /* extra right padding so centered text doesn't overlap build info */
    text-align: center;
    z-index: 1000;
}

/* Build info - inside footer, right side */
#build-info {
    font-size: 13px;
    color: var(--text-secondary);
    opacity: 0.6;
    font-family: 'Courier New', monospace;
    position: absolute;
    right: 12px;
}

#build-info:hover {
    opacity: 1;
}

/* Mobile layout */
@media (max-width: 1000px) {
    /* Stack footer items earlier to prevent overlap */
    #footer {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding: 12px;
    }

    #build-info {
        margin-left: 0;
        opacity: 0.8;
        position: static;
        word-break: break-all;
    }
}

@media (max-width: 720px) {
    #top-bar-nav-section {
        display: none;
        position:fixed;
        top:72px;
        right:8px;
        border-radius: 12px;
        background-color: var(--bg-surface);
        flex-direction: column;
        padding: 16px;
        gap: 36px;

        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }

    #top-bar-nav-hamburger {
        display: block;
    }

    #top-bar-nav-section.active {
        display: flex;
    }

    #main-content-wrapper {
        padding: 80px 1rem;
    }
}
