/* CS2 Source — Esports Dark Theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;800;900&display=swap');

:root {
    --bg-main: #1a1a1c;
    --bg-card: #27272a;
    --primary: #9333ea; /* Purple */
    --primary-hover: #7e22ce;
    --accent: #f59e0b; /* CS Orange */
    --text-main: #f4f4f5;
    --text-muted: #a1a1aa;
    --border: #3f3f46;
    --radius: 12px;
    --font: 'Inter', sans-serif;
    --container: 1200px;
}

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

body { background-color: var(--bg-main); color: var(--text-main); font-family: var(--font); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { color: var(--text-main); font-weight: 800; line-height: 1.2; letter-spacing: -0.5px; }
a { color: inherit; text-decoration: none; transition: all 0.2s ease; }
img { max-width: 100%; height: auto; display: block; border-radius: 8px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 60px 0; }

/* Header */
header { background: rgba(26, 26, 28, 0.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 1000; padding: 15px 0; }
.nav-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 900; color: #fff; text-transform: uppercase; letter-spacing: 1px; }
.logo span { color: var(--primary); }
.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links a { font-size: 0.95rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.nav-links a:hover, .nav-links a.active { color: var(--text-main); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; background: var(--primary); color: #fff; padding: 12px 24px; border-radius: 6px; font-weight: 700; font-size: 1rem; border: none; cursor: pointer; transition: all 0.2s; text-transform: none; letter-spacing: 0.5px; }
.btn:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 4px 15px rgba(147, 51, 234, 0.3); }
.btn-outline { background: transparent; border: 2px solid var(--border); color: var(--text-main); }
.btn-outline:hover { border-color: var(--primary); color: var(--text-main); }

/* Hero specific styles from screenshot */
.hero-wrapper { background-color: #1a1a1c; }
.hero-btn-dark:hover { background: #52525b !important; transform: translateY(-2px); box-shadow: none !important; }
.hero-btn-purple:hover { background: #7e22ce !important; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(147, 51, 234, 0.4) !important; }

/* Block 2: Grid Features */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.feature-card { background: var(--bg-card); padding: 30px; border-radius: 12px; border: 1px solid var(--border); text-align: center; }
.feature-icon { font-size: 2.5rem; margin-bottom: 15px; color: var(--accent); }
.feature-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); }

/* Block 3: Article Grid */
.section-title { font-size: 1.8rem; font-weight: 800; color: #ffffff; margin-bottom: 20px; }
.article-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 30px; }
.article-card { background: var(--bg-card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: all 0.3s; display: flex; flex-direction: column; }
.article-card:hover { border-color: var(--primary); transform: translateY(-5px); }
.article-img { width: 100%; height: 220px; object-fit: cover; border-bottom: 1px solid var(--border); border-radius: 0; }
.article-content { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.article-tag { font-size: 0.8rem; font-weight: 800; color: var(--primary); text-transform: uppercase; margin-bottom: 10px; letter-spacing: 1px; }
.article-title { font-size: 1.3rem; margin-bottom: 15px; line-height: 1.4; }
.article-excerpt { color: var(--text-muted); margin-bottom: 20px; flex-grow: 1; }

/* Block 4: Deep SEO */
.seo-block { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.seo-content { max-width: 800px; margin: 0 auto; }
.seo-content h2 { margin-bottom: 20px; font-size: 2rem; }
.seo-content p { margin-bottom: 20px; font-size: 1.1rem; color: #d4d4d8; }

/* Single Post */
.post-header { text-align: center; max-width: 900px; margin: 0 auto 40px; }
.post-meta { color: var(--primary); font-weight: 700; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px; }
.post-title { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 30px; }
.post-hero { width: 100%; height: 500px; object-fit: cover; border-radius: 16px; margin-bottom: 40px; border: 1px solid var(--border); }
.post-body { max-width: 800px; margin: 0 auto; font-size: 1.15rem; color: #e4e4e7; }
.post-body h2 { font-size: 1.8rem; margin: 40px 0 20px; color: #fff; }
.post-body h3 { font-size: 1.4rem; margin: 30px 0 15px; }
.post-body p { margin-bottom: 20px; }
.post-body ul { margin-bottom: 20px; padding-left: 20px; }
.post-body li { margin-bottom: 10px; }
.post-body blockquote { border-left: 4px solid var(--primary); padding: 20px; margin: 30px 0; font-style: italic; background: var(--bg-card); border-radius: 0 8px 8px 0; color: #fff; font-weight: 500;}

/* Forms */
.contact-form { max-width: 600px; margin: 0 auto; background: var(--bg-card); padding: 40px; border-radius: 16px; border: 1px solid var(--border); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--text-muted); }
.form-control { width: 100%; padding: 14px; background: var(--bg-main); border: 1px solid var(--border); border-radius: 6px; color: #fff; font-family: var(--font); font-size: 1rem; outline: none; }
.form-control:focus { border-color: var(--primary); }

/* Footer */
footer { background: var(--bg-card); padding: 60px 0 30px; border-top: 1px solid var(--border); margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-text { color: var(--text-muted); margin-top: 15px; }
.footer-heading { color: #fff; margin-bottom: 20px; font-size: 1.2rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--text-main); }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid var(--border); color: #71717a; font-size: 0.9rem; }

/* Responsive */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .post-hero { height: 250px; }
    .hero-content-inner { padding-right: 0 !important; }
}
