/* Custom properties for easy structural changes */
:root {
    --bg-dark: #05070a;
    --panel-dark: #0b0f17;
    --text-primary: #e6edf3;
    --text-secondary: #8b949e;
    --accent-glow: #58a6ff;
    --accent-dim: #1f6feb;
    --border-subtle: #21262d;
    --mono-font: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
}

/* Base Body and Layout Setup */
body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    box-sizing: border-box;
}

/* The Core Interface Container */
.container {
    width: 100%;
    max-width: 700px;
    margin: 40px 20px;
    padding: 50px;
    background-color: var(--panel-dark);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7);
    position: relative;
    overflow: hidden;
}

/* Glowing Top Indicator Line */
.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-dim), var(--accent-glow), var(--accent-dim));
}

/* Typography and Header Accents */
h1 {
    font-family: var(--mono-font);
    color: var(--text-primary);
    font-size: 2.2rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.subtitle {
    font-family: var(--mono-font);
    font-size: 0.85rem;
    color: var(--accent-glow);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 35px;
    font-weight: 500;
}

/* Narrative Body Styling */
p {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--text-primary);
    text-align: justify;
    margin-bottom: 40px;
}

/* Specialized Metadata or Excerpt blocks */
.log-data {
    font-family: var(--mono-font);
    font-size: 0.85rem;
    color: var(--text-secondary);
    background-color: rgba(22, 27, 34, 0.6);
    border-left: 2px solid var(--accent-dim);
    padding: 15px 20px;
    margin-bottom: 35px;
    border-radius: 0 6px 6px 0;
}

/* Hyperlink Elements */
.links {
    display: flex;
    justify-content: flex-start;
    gap: 25px;
    border-top: 1px solid var(--border-subtle);
    padding-top: 25px;
}

.links a {
    font-family: var(--mono-font);
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.links a:hover {
    color: var(--accent-glow);
    text-shadow: 0 0 8px rgba(88, 166, 255, 0.4);
}
