/* styles.css - Common styles for all pages */

@import url('https://fonts.googleapis.com/css2?family=Bitcount+Grid+Double+Ink:wght@100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@font-face {
    font-family: 'Directive-Four', sans-serif;
    src:url('../font/Directive-Four.ttf.woff') format('woff'),
    url('../font/Directive-Four.ttf.svg#Directive-Four') format('svg'),
    url('../font/Directive-Four.ttf.eot'),
    url('../font/Directive-Four.ttf.eot?#iefix') format('embedded-opentype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
            font-family: "Inter", sans-serif;
            font-optical-sizing: auto;
            font-weight: normal;
            font-style: normal;
        }


body {
    overflow-x: hidden;
    font-family: Inter, sans-serif;
    background: #000;
}




#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Header with Logo and Navigation */
header {
    position: relative;
    z-index: 10;
    padding: 20px 50px;
    background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    max-width: 150px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

/* Navigation Menu */
nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1em;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

nav a.active {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Content */
.content {
    position: relative;
    z-index: 1;
    color: white;
    padding: 100px 50px 50px;
    max-width: 1200px;
    margin: 0 auto;
}

h1 {
    font-size: 3em;
    margin-bottom: 30px;
    text-align: center;
}

p {
    font-size: 1.2em;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Global list styling */
ul {
    max-width: 600px;            /* match paragraphs */
    margin: 15px auto 25px;      /* center like <p> */
    padding-left: 1.5em;         /* room for bullets */
    list-style-position: outside;
}

li {
    font-size: 1.2em;            /* match paragraph size */
    line-height: 1.6;
    color: #ddd;                 /* align with body text color */
    margin-bottom: 8px;
}

/* Back Link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #cccccc;              /* light gray */
    text-decoration: none;
    font-size: 1.05em;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: #ffffff;              /* keep white on hover */
    gap: 15px;
}

.back-link::before {
    content: '←';
    font-size: 1.3em;
}

/* Footer */
.site-footer {
    position: relative;
    z-index: 1;
    margin-top: 60px;
    padding: 20px 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: #aaa;
    font-size: 0.9em;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.8) 100%
    );
}

.site-footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.site-footer a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: #fff;
}

/* Mobile footer */
@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    .logo {
        max-width: 120px;
    }

    .menu-toggle {
        display: flex;
    }

    nav {
        position: absolute;
        top: 70px;
        right: 20px;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.95);
        padding: 20px;
        border-radius: 10px;
        gap: 10px;
        display: none;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    nav.active {
        display: flex;
    }

    nav a {
        padding: 12px 25px;
        text-align: center;
    }

    .content {
        padding: 80px 20px 20px;
    }

    h1 {
        font-size: 2em;
    }

    p {
        font-size: 1em;
    }
}