/* BattleTech Hub - Bold Gaming-Focused Design */
/* Dark theme with dramatic red/blue accents inspired by BattleTech universe */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;900&family=Rajdhani:wght:300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-red: #d32f2f;
    --primary-blue: #1976d2;
    --accent-red: #ff1744;
    --accent-blue: #00b0ff;
    --accent-gold: #ffc107;
    --dark-bg: #0a0a0a;
    --dark-bg-secondary: #141414;
    --dark-bg-tertiary: #1e1e1e;
    --dark-card: #1a1a1a;
    --text-light: #e0e0e0;
    --text-muted: #999;
    --border-glow: rgba(211, 47, 47, 0.3);
    --shadow-red: rgba(211, 47, 47, 0.5);
    --shadow-blue: rgba(25, 118, 210, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--text-light);
    background: var(--dark-bg);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(211, 47, 47, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(25, 118, 210, 0.03) 0%, transparent 50%);
    background-attachment: fixed;
}

/* Header & Navigation */
header {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.98) 0%, rgba(20, 20, 20, 0.98) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(211, 47, 47, 0.3);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-red), var(--accent-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: 1px;
    text-shadow: 0 0 20px var(--shadow-red);
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

nav a {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    transition: all 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-red), var(--accent-blue));
    transition: width 0.3s ease;
}

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

nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 100px 30px;
    text-align: center;
    margin-bottom: 60px;
    overflow: hidden;
    border-bottom: 3px solid var(--primary-red);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(211, 47, 47, 0.03) 2px, rgba(211, 47, 47, 0.03) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(25, 118, 210, 0.03) 2px, rgba(25, 118, 210, 0.03) 4px);
    opacity: 0.5;
    pointer-events: none;
}

.hero h1 {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #fff 0%, var(--text-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 40px var(--shadow-red);
}

.hero p {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-muted);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* Main Content */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    margin-top: 40px;
}

.main-content {
    min-width: 0;
}

/* Article Hero */
.article-hero {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.article-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 10, 0.7) 100%);
}

/* Article Styles */
article {
    background: var(--dark-card);
    padding: 50px;
    border-radius: 12px;
    border: 1px solid rgba(211, 47, 47, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

article h1 {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary-red), var(--accent-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
    line-height: 1.3;
    font-weight: 900;
    letter-spacing: 1px;
}

article h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.2rem;
    color: var(--text-light);
    margin-top: 50px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-red);
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
}

article h2::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), transparent);
}

article h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.8rem;
    color: var(--text-light);
    margin-top: 35px;
    margin-bottom: 18px;
    font-weight: 600;
}

article p {
    margin-bottom: 25px;
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-light);
}

article ul, article ol {
    margin-bottom: 25px;
    margin-left: 35px;
    line-height: 1.9;
}

article li {
    margin-bottom: 12px;
    color: var(--text-light);
}

article strong {
    color: var(--accent-red);
    font-weight: 600;
}

/* Featured Box */
.featured-box {
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.2) 0%, rgba(183, 28, 28, 0.2) 100%);
    border: 2px solid var(--primary-red);
    border-radius: 12px;
    padding: 30px;
    margin: 35px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px var(--shadow-red);
}

.featured-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--accent-red), var(--primary-red), var(--accent-blue));
    border-radius: 12px;
    z-index: -1;
    opacity: 0.3;
    filter: blur(10px);
}

.featured-box h3 {
    color: #fff;
    margin-top: 0;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.6rem;
}

.featured-box p {
    color: var(--text-light);
}

/* Product Recommendation */
.product-recommendation {
    background: rgba(25, 118, 210, 0.1);
    border-left: 4px solid var(--primary-blue);
    border-radius: 8px;
    padding: 25px;
    margin: 30px 0;
    transition: all 0.3s ease;
}

.product-recommendation:hover {
    background: rgba(25, 118, 210, 0.15);
    transform: translateX(5px);
    box-shadow: 0 5px 20px var(--shadow-blue);
}

.product-recommendation h4 {
    color: var(--accent-blue);
    margin-bottom: 15px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.4rem;
}

.buy-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-gold), #ffb300);
    color: #000;
    padding: 14px 35px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
    margin-top: 15px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.buy-button:hover {
    background: linear-gradient(135deg, #ffb300, var(--accent-gold));
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 193, 7, 0.5);
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 30px 0;
    background: var(--dark-bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.comparison-table th {
    background: linear-gradient(135deg, var(--primary-red), #b71c1c);
    color: #fff;
    padding: 18px;
    text-align: left;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comparison-table td {
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.comparison-table tr:hover {
    background: rgba(211, 47, 47, 0.1);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.article-card {
    background: var(--dark-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.1), rgba(25, 118, 210, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 12px;
    z-index: 0;
}

.article-card:hover::before {
    opacity: 1;
}

.article-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(211, 47, 47, 0.4);
    border-color: var(--primary-red);
}

.article-card-image {
    width: 100%;
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.article-card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 10, 0.8) 100%);
}

.article-card-content {
    padding: 25px;
    position: relative;
    z-index: 1;
}

.article-card h3 {
    font-family: 'Rajdhani', sans-serif;
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
}

.article-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.7;
}

.read-more {
    color: var(--accent-red);
    text-decoration: none;
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #fff;
    gap: 12px;
}

/* Section Headers */
section > h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--primary-red);
    background: linear-gradient(135deg, var(--text-light), var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    position: relative;
}

section > h2::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), transparent);
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.sidebar-widget {
    background: var(--dark-card);
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.sidebar-widget h3 {
    font-family: 'Rajdhani', sans-serif;
    color: var(--accent-red);
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-widget ul {
    list-style: none;
}

.sidebar-widget ul li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

.sidebar-widget ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
}

.sidebar-widget a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.sidebar-widget a:hover {
    color: var(--accent-red);
    padding-left: 5px;
}

/* Newsletter Box */
.newsletter-box {
    background: linear-gradient(135deg, rgba(25, 118, 210, 0.2), rgba(21, 101, 192, 0.2));
    border: 2px solid var(--primary-blue);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 0 30px var(--shadow-blue);
}

.newsletter-box h3 {
    color: #fff;
    margin-bottom: 15px;
    font-family: 'Rajdhani', sans-serif;
}

.newsletter-box input {
    width: 100%;
    padding: 14px;
    margin: 12px 0;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.newsletter-box input:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-box button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--accent-gold), #ffb300);
    color: #000;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.newsletter-box button:hover {
    background: linear-gradient(135deg, #ffb300, var(--accent-gold));
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 193, 7, 0.5);
}

/* Ad Placeholders */
.ad-space {
    background: rgba(255, 255, 255, 0.03);
    border: 2px dashed rgba(255, 255, 255, 0.1);
    padding: 25px;
    text-align: center;
    color: var(--text-muted);
    margin: 30px 0;
    border-radius: 8px;
    font-family: 'Rajdhani', sans-serif;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-bg-secondary) 100%);
    border-top: 3px solid var(--primary-red);
    padding: 60px 30px 30px;
    margin-top: 80px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.footer-section h4 {
    font-family: 'Rajdhani', sans-serif;
    color: var(--accent-red);
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-red);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 0.95rem;
}


.affiliate-disclosure {
    margin-top: 12px;
    font-weight: 700;
    color: var(--accent-gold);
    letter-spacing: 0.2px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    article {
        padding: 30px 25px;
    }
    
    article h1 {
        font-size: 2rem;
    }
    
    article h2 {
        font-size: 1.6rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .article-hero {
        height: 250px;
    }
    
    section > h2 {
        font-size: 2rem;
    }
}

/* Print Styles */
@media print {
    header, footer, .sidebar, .ad-space, .newsletter-box {
        display: none;
    }
    
    body {
        background: #fff;
        color: #000;
    }
    
    article {
        background: #fff;
        border: none;
        box-shadow: none;
    }
}
