:root {
    --bg-color: #0f0a1a;
    --accent-color: #aa44ff;
    --text-color: #e0e0e0;
    --card-bg: #1a1428;
    --nav-height: 70px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* Header & Navigation */
header {
    height: var(--nav-height);
    background: rgba(15, 10, 26, 0.95);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(170, 68, 255, 0.2);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

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

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 150px 5% 100px;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: radial-gradient(circle at center, #251645 0%, #0f0a1a 70%);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 30px;
    color: #fff;
    text-shadow: 0 0 20px rgba(170, 68, 255, 0.5);
}

.hero-image {
    width: 100%;
    max-width: 800px;
    height: 400px;
    background: #1a1428;
    margin-top: 50px;
    border-radius: 20px;
    border: 2px solid var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

/* Main Layout */
section {
    padding: 100px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--accent-color);
    text-align: center;
}

/* Meta Analysis & Combos Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(170, 68, 255, 0.1);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
}

.card-meta {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
}

/* Section specific styling */
.diagram-container {
    width: 100%;
    height: 350px;
    background: #1a1428;
    margin: 40px 0;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Counter Strategies & Tips */
.strategy-list, .tips-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.strategy-item, .tip-item {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
}

/* Footer */
footer {
    padding: 50px 5%;
    background: #08050e;
    text-align: center;
    border-top: 1px solid rgba(170, 68, 255, 0.1);
}

.footer-links {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: var(--nav-height);
        height: calc(100vh - var(--nav-height));
        background: var(--bg-color);
        flex-direction: column;
        width: 100%;
        text-align: center;
        padding-top: 50px;
        transition: 0.5s;
    }

    .nav-links.active {
        right: 0;
    }

    .burger {
        display: block;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .grid {
        grid-template-columns: 1fr;
    }
}

/* Utility */
.word-count-helper {
    margin-top: 20px;
    font-size: 1.1rem;
    max-width: 900px;
}
