:root {
    --bg-color: #0f172a;
    --text-color: #e2e8f0;
    --accent-color: #3b82f6;
    --secondary-accent: #8b5cf6;
    --card-bg: #1e293b;
    --header-bg: #0f172a;
    --ad-bg: #334155;
    --font-main: 'Inter', sans-serif;
    --font-display: 'Outfit', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--secondary-accent);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.site-header {
    background-color: var(--header-bg);
    padding: 1.5rem 0;
    border-bottom: 1px solid #334155;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background-color: rgba(15, 23, 42, 0.9);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.05em;
}

.highlight {
    color: var(--accent-color);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

nav a {
    color: var(--text-color);
    font-weight: 600;
}

/* Main Layout */
.main-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .main-layout {
        grid-template-columns: 2fr 1fr;
    }
}

/* Article */
.featured-article {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.article-header {
    margin-bottom: 1.5rem;
}

.category {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: var(--secondary-accent);
    font-weight: 700;
}

h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    line-height: 1.1;
    margin: 0.5rem 0;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.meta {
    font-size: 0.9rem;
    color: #94a3b8;
}

.hero-image-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #1e1b4b, #312e81);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: #6366f1;
    font-weight: 700;
    border: 1px dashed #4f46e5;
}

.article-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 600;
    color: #cbd5e1;
}

h2 {
    font-family: var(--font-display);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

/* Game Cards */
.game-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 1px solid #334155;
}

.game-image-placeholder {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
}

.game-image-placeholder.realm {
    background: linear-gradient(to right, #7f1d1d, #991b1b);
}

.game-image-placeholder.egoist {
    background: linear-gradient(to right, #1e3a8a, #1d4ed8);
}

.game-image-placeholder.terravia {
    background: linear-gradient(to right, #14532d, #15803d);
}

.game-info {
    padding: 1.5rem;
}

.quote {
    border-left: 4px solid var(--accent-color);
    padding-left: 1.5rem;
    font-style: italic;
    font-size: 1.2rem;
    color: #cbd5e1;
    margin: 2rem 0;
}

/* Sidebar & Ads */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.ad-slot {
    background-color: var(--ad-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 0.9rem;
    border: 1px dashed #64748b;
    border-radius: 4px;
}

.ad-sidebar {
    height: 250px;
    width: 100%;
}

.ad-sidebar-tall {
    height: 600px;
    width: 100%;
}

.ad-banner {
    height: 90px;
    width: 100%;
    max-width: 728px;
    margin: 2rem auto;
}

.widget {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
}

.widget h3 {
    font-family: var(--font-display);
    margin-bottom: 1rem;
    border-bottom: 1px solid #334155;
    padding-bottom: 0.5rem;
}

.news-list {
    list-style: none;
}

.news-list li {
    margin-bottom: 0.8rem;
}

.news-list a {
    font-size: 0.95rem;
    display: block;
}

/* Footer */
.site-footer {
    background-color: var(--header-bg);
    padding: 2rem 0;
    text-align: center;
    color: #64748b;
    margin-top: 3rem;
    border-top: 1px solid #334155;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    nav ul {
        display: none;
        /* Simple hide for mobile for now, or could be a hamburger */
    }

    .site-header .container {
        justify-content: center;
    }

    h1 {
        font-size: 2rem;
    }
}

/* Contact Form Styles */
.contact-form-container {
    background-color: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #334155;
    margin-top: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #cbd5e1;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background-color: #0f172a;
    border: 1px solid #475569;
    border-radius: 4px;
    color: #fff;
    font-family: var(--font-main);
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.btn-submit {
    background-color: var(--accent-color);
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
    font-family: var(--font-main);
}

.btn-submit:hover {
    background-color: #2563eb;
}

/* Footer Links */
.footer-links {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.footer-links a {
    color: #94a3b8;
    margin: 0 0.5rem;
}

.footer-links a:hover {
    color: var(--accent-color);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #1e293b;
    border-top: 1px solid #334155;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 1000;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
}

.cookie-banner p {
    font-size: 0.9rem;
    color: #cbd5e1;
    margin: 0;
}

.cookie-banner button {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-family: var(--font-main);
}

.cookie-banner button:hover {
    background-color: #2563eb;
}

/* Images */
.article-hero-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.game-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}