:root {
    --bg-color: #121212;
    --card-bg: #1e1e1e;
    --text-main: #f5f5f5;
    --text-muted: #b0b0b0;
    --accent: #d4af37; /* Gold accent for a professional look */
    --mana-red: #e53935;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: #000;
    padding: 20px 0;
    border-bottom: 2px solid var(--accent);
}

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

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 20px;
}

nav a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--accent);
}

.hero {
    padding: 60px 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--accent);
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.card {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--mana-red); /* MTG style accent */
}

.category {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: 1px;
}

.date {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    color: var(--accent);
    text-decoration: none;
    font-weight: bold;
}

footer {
    text-align: center;
    padding: 40px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}
/* Article Page Specific Styles */
.article-page {
    padding: 40px 20px;
    max-width: 800px; /* Slightly narrower for better readability */
}

.post-header {
    margin-bottom: 30px;
    border-bottom: 1px solid #333;
    padding-bottom: 20px;
}

.post-meta {
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.9rem;
}

.lead {
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 25px;
}

.post-content h3 {
    margin-top: 40px;
    color: var(--accent);
    border-left: 3px solid var(--mana-red);
    padding-left: 15px;
}

blockquote {
    border-left: 4px solid var(--accent);
    margin: 30px 0;
    padding: 10px 20px;
    background: #252525;
    font-style: italic;
    color: #ddd;
}

.post-footer {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.back-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: bold;
}

.back-link:hover {
    text-decoration: underline;
}
/* Deck Tech Specific Styles */
.deck-stats {
    display: flex;
    gap: 30px;
    margin-top: 10px;
    padding: 10px;
    background: #252525;
    border-radius: 5px;
    font-size: 0.9rem;
    color: var(--accent);
}

.deck-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .deck-container {
        grid-template-columns: 1fr;
    }
}

.card-list h4 {
    color: var(--text-main);
    border-bottom: 1px solid #444;
    padding-bottom: 5px;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.card-list ul {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.card-list li {
    padding: 3px 0;
    font-size: 0.95rem;
    color: var(--text-muted);
    border-bottom: 1px solid #1a1a1a;
}

.card-list li:hover {
    color: var(--accent);
    background: #1a1a1a;
}

/* Sidebar Boxes */
.synergy-box {
    background: #1a1a1a;
    padding: 20px;
    border: 1px solid #333;
    border-radius: 8px;
    margin-bottom: 20px;
}

.synergy-box h4 {
    margin-top: 0;
    color: var(--accent);
    font-size: 1rem;
}

.synergy-box p {
    font-size: 0.9rem;
    margin-bottom: 0;
}
/* The Stack Styling */
.stack-container {
    display: flex;
    flex-direction: column;
    gap: -10px; /* Slight overlap for that MTG stack feel */
}

.stack-item {
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 20px;
    border-radius: 8px;
    position: relative;
    transition: transform 0.3s ease;
    margin-bottom: 15px;
}

.stack-item:hover {
    transform: translateX(10px);
    border-color: var(--accent);
}

.status-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 10px;
}

.resolving { border-left: 5px solid #4caf50; } /* Green for active */
.resolving .status-tag { background: #4caf50; color: white; }

.waiting { border-left: 5px solid #ff9800; } /* Orange for pending */
.waiting .status-tag { background: #ff9800; color: white; }

.resolved { border-left: 5px solid var(--accent); opacity: 0.8; }
.resolved .status-tag { background: var(--accent); color: black; }

/* Video Responsiveness */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin-bottom: 30px;
    border: 2px solid var(--accent);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.accent-button {
    display: inline-block;
    padding: 10px 20px;
    background: var(--accent);
    color: black;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    margin-top: 10px;
}
/* Archive Page Styles */
.archive-intro {
    padding: 40px 0;
    text-align: center;
}

.archive-filters {
    margin-bottom: 40px;
    padding: 15px;
    background: #1a1a1a;
    border-radius: 8px;
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.filter-tag {
    padding: 5px 12px;
    background: #333;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.8rem;
    border-radius: 4px;
    transition: background 0.3s;
}

.filter-tag:hover {
    background: var(--accent);
    color: black;
}

.archive-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

@media (max-width: 768px) {
    .archive-grid {
        grid-template-columns: 1fr;
    }
}

.archive-column h3 {
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-family: 'Georgia', serif; /* A bit more "Grimoire" feel */
}

/* Mana Color Dots for Flavor */
.mana-red { color: #e53935; margin-right: 8px; }
.mana-blue { color: #1e88e5; margin-right: 8px; }

.archive-list {
    display: flex;
    flex-direction: column;
}

.archive-item {
    display: flex;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid #222;
    align-items: center;
}

.archive-item:hover a {
    color: var(--accent);
}

.item-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    min-width: 60px;
    font-family: monospace;
}

.archive-item a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
}
/* Add this to style.css */
.flavor-text {
    font-size: 0.75rem;
    font-style: italic;
    color: #888;
    margin-top: 2px;
}
/* About Page Styling */
.about-hero {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 60px 0;
}

@media (max-width: 768px) {
    .about-hero {
        flex-direction: column;
        text-align: center;
    }
}

.profile-frame {
    border: 4px solid var(--accent);
    padding: 10px;
    background: #000;
    line-height: 0;
    border-radius: 8px; /* Slightly rounded for a modern look */
}

.profile-img {
    width: 250px;
    height: 250px;
    object-fit: cover;
}

.tagline {
    font-style: italic;
    color: var(--accent);
    font-size: 1.1rem;
}

.lore-section {
    margin-bottom: 50px;
    max-width: 800px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

@media (max-width: 600px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

.stats-box {
    background: #1a1a1a;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #333;
}

.stats-box h4 {
    margin-top: 0;
    color: var(--accent);
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.stats-list {
    list-style: none;
    padding: 0;
}

.stats-list li {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.stats-list strong {
    color: var(--text-main);
}

.cta-section {
    text-align: center;
    padding: 60px 0;
    background: #000;
    border: 1px solid var(--accent);
    border-radius: 8px;
    margin-bottom: 40px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}
/* Featured Article Styles */
.featured-hero {
    text-align: center;
    padding: 60px 0 40px;
}

.featured-badge {
    background: var(--accent);
    color: black;
    padding: 5px 15px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    border-radius: 20px;
    margin-bottom: 20px;
    display: inline-block;
}

.hero-image-container {
    margin-top: 30px;
    border: 2px solid #333;
    line-height: 0;
}

.hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.featured-content {
    max-width: 750px;
    margin: 0 auto;
}

.lead-box {
    background: #1a1a1a;
    border-left: 4px solid var(--accent);
    padding: 20px;
    margin: 30px 0;
    font-style: italic;
    color: var(--text-main);
}

.content-callout {
    background: #252525;
    border: 1px dashed var(--accent);
    padding: 25px;
    margin: 40px 0;
    border-radius: 8px;
}

.content-callout h4 {
    margin-top: 0;
    color: var(--accent);
}

/* Author Signature */
.author-sig {
    margin-top: 80px;
    padding: 30px;
    background: #111;
    border-radius: 8px;
    border: 1px solid #222;
}

.sig-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sig-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--accent);
}

.sig-name {
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0;
    color: var(--text-main);
}

.sig-bio {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 5px 0 0 0;
}
