:root {
    /* Midnight Galaxy Theme */
    --primary-color: #a490c2;
    /* Lavender - main accent */
    --secondary-color: #4a4e8f;
    /* Cosmic Blue - secondary accent */
    --bg-dark: #2b1e3e;
    /* Deep Purple - main background */
    --card-bg: #3a2d52;
    /* Slightly lighter purple for cards */
    --text-main: #e6e6fa;
    /* Silver - main text */
    --text-dim: #9b8fb8;
    /* Muted lavender for secondary text */
    --accent-glow: rgba(164, 144, 194, 0.4);
    /* Lavender glow */
    --gold: #d4af37;
    /* Warmer gold for accents */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Glassmorphism Hero */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: radial-gradient(circle at top, #4a3d6a 0%, var(--bg-dark) 70%);
    padding: 2rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, var(--primary-color) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 15px var(--accent-glow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 2rem;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--accent-glow);
}

/* Content Sections */
.section {
    max-width: 1000px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.card {
    background: var(--card-bg);
    border: 1px solid #4a3d6a;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

h2 {
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

/* FAQ Accordion */
.faq-item {
    border-bottom: 1px solid #4a3d6a;
    padding: 1rem 0;
    cursor: pointer;
}

.faq-question {
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: var(--text-dim);
    margin-top: 0.5rem;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

/* SEO Footer (Hidden for UI, visible for Search) */
.seo-footer {
    background: #1f1633;
    padding: 4rem 2rem;
    border-top: 1px solid #4a3d6a;
    font-size: 0.9rem;
    color: #7a6f94;
}

.seo-article {
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
}

/* New Styles for Sub-pages */
.nav {
    background: rgba(43, 30, 62, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid #4a3d6a;
}

.nav-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 1.5rem;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.breadcrumb {
    max-width: 1000px;
    margin: 1.5rem auto;
    padding: 0 2rem;
    font-size: 0.85rem;
    color: var(--text-dim);
}

.breadcrumb a {
    color: var(--text-dim);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--text-main);
}

.game-hero {
    padding: 4rem 2rem;
    text-align: center;
    border-bottom: 1px solid #4a3d6a;
    background: linear-gradient(180deg, #3a2d52 0%, var(--bg-dark) 100%);
}

.game-hero h1 {
    font-size: 2.5rem;
}

.article-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.article-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-main);
    opacity: 0.9;
}

/* Blog Grid & Cards */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: var(--card-bg);
    border: 1px solid #4a3d6a;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.blog-img-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-img {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-title {
    color: var(--text-main);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.blog-excerpt {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    flex-grow: 1;
}

.read-more-btn {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
}

.blog-card:hover .read-more-btn {
    border-bottom-color: var(--primary-color);
}

/* Article Page Styles */
.article-feature-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Promotion Tabs */
.tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--text-main);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 0 15px var(--accent-glow);
}

.promo-card {
    border-color: var(--gold);
    animation: fadeIn 0.5s ease;
}

.promo-card h3 {
    color: var(--gold);
    border-bottom: 1px dashed rgba(212, 175, 55, 0.3);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.promo-box {
    background: rgba(212, 175, 55, 0.1);
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 4px solid var(--gold);
}

.promo-table {
    width: 100%;
    margin: 1rem 0;
    border-collapse: collapse;
}

.promo-table th,
.promo-table td {
    border: 1px solid #4a3d6a;
    padding: 0.8rem;
    text-align: left;
}

.promo-table th {
    background: #4a3d6a;
    color: var(--text-main);
}

.note {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-top: 1rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}