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

:root {
    font-size: 19px;
    --primary-color: #cc0000;
    --secondary-color: #888888;
    --background: #1a1a1a;
    --surface: #2e2e2e;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --border: #4a4a4a;
    --spacing: 1rem;
    --radius: 0.5rem;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--background);
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: grayscale;
    font-smooth: never;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--spacing);
}

/* Header */
header {
    background: var(--background);
    border-bottom: 2px solid var(--primary-color);
    padding: 2rem 0;
    margin-bottom: 2rem;
}

header h1 {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}


.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-brand {
    display: inline-block;
}

.header-magnet img {
    display: block;
    height: 5rem;
}

.header-magnet:hover {
    opacity: 0.8;
}

.header-brand img {
    display: block;
    height: 2.5rem;
}

header .location {
    font-family: 'News Cycle', sans-serif;
    font-size: 2.5rem;
    font-weight: bold;
    color: #cc0000;
    margin-top: 0;
    line-height: 1;
    letter-spacing: normal;
    display: flex;
    justify-content: space-between;
}

header .tagline {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* Links */
.links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.link-card {
    display: block;
    padding: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--primary-color);
    border-radius: var(--radius);
    color: var(--text-primary);
    text-decoration: none;
    transition: background 0.2s, transform 0.1s;
}

.link-card:hover {
    background: var(--border);
    transform: translateY(-2px);
}

.link-card h2 {
    font-family: 'fixedsys', 'Courier New', 'Courier', monospace;
    letter-spacing: 0.08em;
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.link-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Footer */
footer {
    margin-top: 4rem;
    padding: 2rem 0;
    border-top: 2px solid var(--primary-color);
    color: var(--text-secondary);
    text-align: left;
    font-family: 'fixedsys', 'Courier New', 'Courier', monospace;
    font-size: 1rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.75rem;
}

.footer-icon-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-icon-link svg {
    width: 1.1em;
    height: 1.1em;
    fill: currentColor;
    flex-shrink: 0;
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
}

footer a:hover {
    opacity: 0.8;
}

/* Responsive */
@media (min-width: 600px) {
    .links {
        flex-direction: row;
    }

    .link-card {
        flex: 1;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5rem;
    }
}
