/* ============================================
   CSS Variables
   ============================================ */
:root {
    --campaign-parallax-offset: 3px;
}

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

body {
    font-family: 'Courier New', 'Monaco', monospace;
    background:
        radial-gradient(circle at 25% 25%, rgba(0, 0, 0, 0.02) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        radial-gradient(circle at 50% 10%, rgba(0, 0, 0, 0.01) 1px, transparent 1px),
        linear-gradient(135deg, #fafafa 0%, #ffffff 25%, #f8f8f8 50%, #ffffff 75%, #fafafa 100%);
    background-size: 8px 8px, 12px 12px, 6px 6px, 100% 100%;
    color: #333;
    line-height: 1.2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    letter-spacing: 0.5px;
    padding: 4rem 1.25rem 1.25rem;
    max-width: 800px;
    margin: 0 auto;
}

/* ============================================
   Header
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.header-logo {
    font-family: 'Courier New', 'Monaco', monospace;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    color: black;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: opacity 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-logo:hover {
    opacity: 0.7;
}

.header-logo-image {
    height: 1.5rem;
    width: auto;
    object-fit: contain;
}

/* ============================================
   Anchor Offset (for fixed header)
   ============================================ */
:target,
[id],
span[id] {
    scroll-margin-top: 100px;
}

span[id] {
    display: inline-block;
}

/* Fallback for older browsers */
span[id]::before {
    content: "";
    display: block;
    height: 100px;
    margin-top: -100px;
    visibility: hidden;
}

/* ============================================
   Container
   ============================================ */
.container {
    background-color: white;
    max-width: 900px;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
}

/* ============================================
   Typography
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #2c3e50;
    margin-bottom: 0.5em;
    font-weight: 600;
}

h1 {
    font-size: 1.5em;
    border-bottom: 2px solid #9e9e9e;
    padding-bottom: 0.3em;
}

h2 {
    font-size: 2em;
    border-bottom: 1px solid #bdc3c7;
    padding-bottom: 0.2em;
}

h3 {
    font-size: 1.5em;
    color: #34495e;
}

p {
    margin-bottom: 1em;
    text-align: justify;
}

strong,
b {
    font-weight: 600;
    color: #2c3e50;
}

em,
i {
    font-style: italic;
    color: #7f8c8d;
}

/* ============================================
   Links
   ============================================ */
a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* ============================================
   Campaign Landing Page
   ============================================ */
.subtitle {
    font-size: 0.9rem;
    margin-bottom: 4rem;
    color: black;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.campaigns {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.campaign-card {
    background: white;
    border: 5px solid black;
    width: 120px;
    height: 400px;
    cursor: pointer;
    text-decoration: none;
    color: black;
    position: relative;
    transition: background-color 0.1s ease, background-position 0.1s ease;
    overflow: hidden;
}

.campaign-card:hover {
    background-color: #f0f0f0;
}

.campaign-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.7) 100%);
    pointer-events: none;
}

.campaign-image {
    position: absolute;
    left: calc(-1 * var(--campaign-parallax-offset));
    top: calc(-1 * var(--campaign-parallax-offset));
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

.campaign-card:hover .campaign-image {
    transform: scale(1.1) translate(var(--campaign-parallax-offset), var(--campaign-parallax-offset));
}

.campaign-title {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: 26px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 8px;
    position: absolute;
    bottom: 5px;
    right: 0px;
    margin: 0;
    color: black;
    z-index: 1;
}

.campaign-description {
    display: none;
}

.footer {
    margin-top: 4rem;
    font-size: 0.7rem;
    color: black;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   Lists
   ============================================ */
ul,
ol {
    margin-bottom: 1em;
    padding-left: 2em;
}

li {
    margin-bottom: 0.5em;
    text-align: left;
}

ul ul,
ol ol,
ul ol,
ol ul {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

/* ============================================
   Code
   ============================================ */
code {
    background-color: #f8f9fa;
    color: #e74c3c;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9em;
}

pre {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 1em;
}

pre code {
    background-color: transparent;
    color: inherit;
    padding: 0;
}

/* ============================================
   Blockquotes
   ============================================ */
blockquote {
    border-left: 4px solid #3498db;
    padding-left: 1em;
    margin-left: 0;
    margin-bottom: 1em;
    color: #7f8c8d;
    font-style: italic;
}

/* ============================================
   Tables
   ============================================ */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1em;
    background-color: white;
}

th,
td {
    border: 1px solid #bdc3c7;
    padding: 8px 12px;
    text-align: left;
}

th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
}

tr:nth-child(even) {
    background-color: #f8f9fa;
}

tr:hover {
    background-color: #e8f4fd;
}

/* ============================================
   Horizontal Rules & Images
   ============================================ */
hr {
    border: none;
    height: 1px;
    background-color: #bdc3c7;
    margin: 2em 0;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 0;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }

    .container {
        padding: 20px;
    }

    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.7em;
    }

    h3 {
        font-size: 1.3em;
    }
}

/* ============================================
   Dark Mode Support (Commented Out)
   ============================================ */
/* 
@media (prefers-color-scheme: dark) {
    body {
        background-color: #181a1b;
        color: #e0e0e0;
    }

    .container {
        background-color: #23272a;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        color: #e0e0e0;
        border-color: #9e9e9e;
    }

    h1 {
        border-bottom: 2px solid #9e9e9e;
    }

    h2 {
        border-bottom: 1px solid #374151;
    }

    h3 {
        color: #b3b3b3;
    }

    strong,
    b {
        color: #e0e0e0;
    }

    em,
    i {
        color: #b3b3b3;
    }

    a {
        color: #60a5fa;
    }

    a:hover {
        color: #3b82f6;
    }

    code {
        background-color: #23272a;
        color: #fca311;
    }

    pre {
        background-color: #23272a;
        color: #e0e0e0;
    }

    blockquote {
        border-left: 4px solid #3b82f6;
        color: #b3b3b3;
    }

    table {
        background-color: #23272a;
    }

    th,
    td {
        border: 1px solid #374151;
        color: #e0e0e0;
    }

    th {
        background-color: #23272a;
        color: #e0e0e0;
    }

    tr:nth-child(even) {
        background-color: #23272a;
    }

    tr:hover {
        background-color: #374151;
    }

    hr {
        background-color: #374151;
    }

    img {
        border-radius: 5px;
    }
} */