/* Shared Theme for StreetTraders */
:root {
    --bg-dark: #050711;
    --card-bg: #101320;
    --primary: #00ff88;
    --secondary: #ff0055;
    --text-main: #ffffff;
    --text-muted: #8b9bb4;
    --glass: rgba(255, 255, 255, 0.05);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Navigation - Consistent across all pages */
.nav {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    z-index: 20;
    background: transparent;
    backdrop-filter: brightness(0.3);
    border-bottom: 3px solid var(--primary);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.nav-logo {
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    /* Gradient brand text */
    background: linear-gradient(90deg, #ffffff 0%, var(--primary) 40%, #42ffd2 70%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-logo:hover {
    background-position: 100% 0;
    transition: background-position 0.8s ease;
}

.nav-logo span {
    display: inline-flex;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, #fff, var(--primary));
    box-shadow: 0 0 16px rgba(0,255,136,0.8);
}

.nav-links {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    color: var(--text-muted);
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-links a:hover {
    color: var(--text-main);
    border-color: var(--primary);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background: var(--card-bg);
    border-right: 2px solid var(--primary);
    z-index: 10000;
    padding: 80px 0 20px 0;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5);
    transform: translateZ(0);
    will-change: left;
}

.sidebar.show {
    left: 0;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 9999;
    pointer-events: none;
    transform: translateZ(0);
    will-change: opacity, visibility;
}

.sidebar-overlay.show {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar li {
    margin: 0;
    padding: 0;
}

.sidebar a {
    display: block;
    padding: 16px 24px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
    position: relative;
}

.sidebar a:hover {
    background: rgba(0, 255, 136, 0.1);
    color: var(--primary);
    padding-left: 32px;
}

.sidebar a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary);
    transform: scaleY(0);
    transition: transform 0.2s ease;
}

.sidebar a:hover::before {
    transform: scaleY(1);
}

/* Footer - Consistent across all pages */
footer {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 20px;
    color: var(--text-muted);
    font-size: 0.8rem;
    border-top: 3px solid var(--primary);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.footer-inner {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 16px;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 24px;
}

.footer-legal {
    line-height: 1.5;
}

.footer-meta {
    text-align: right;
}

.footer-meta-top {
    display: flex;
    justify-content: flex-end;
    gap: 24px;
    margin-bottom: 8px;
}

.footer-links-group {
    text-align: left;
}

.footer-links-heading {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.footer-links-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links-list li {
    margin-bottom: 2px;
}

.footer-links-list a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.8rem;
}

.footer-links-list a:hover {
    color: var(--primary);
}

.footer-copy {
    font-size: 0.8rem;
    margin-top: 4px;
}

@media (max-width: 720px) {
    .footer-meta-top {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

/* Responsive Navigation */
@media (max-width: 720px) {
    .nav {
        padding: 0 16px;
        height: 56px;
    }

    .nav-logo {
        font-size: 0.85rem;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .footer-meta {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .nav {
        padding: 0 12px;
        height: 52px;
    }

    .nav-logo {
        font-size: 0.75rem;
    }

    .sidebar {
        width: 280px;
        padding: 70px 0 20px 0;
    }

    .sidebar a {
        padding: 14px 20px;
        font-size: 0.9rem;
    }
}

