:root {
    --primary: #22c55e; /* Green 500 - Game Board Green */
    --primary-hover: #16a34a; /* Green 600 */
    --secondary: #000000; /* Black piece */
    --accent: #ffffff; /* White piece */
    --bg: #18181b; /* Zinc 950 - Dark Background */
    --text: #f4f4f5; /* Zinc 100 */
    --text-muted: #a1a1aa; /* Zinc 400 */
    --border: #27272a; /* Zinc 800 */
    --card-bg: #27272a; /* Zinc 800 */
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.5), 0 2px 4px -2px rgb(0 0 0 / 0.5);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.5), 0 4px 6px -4px rgb(0 0 0 / 0.5);
}

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

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

/* Navigation */
.nav-header {
    background: #000000;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
}

.logo-icon {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-menu a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: var(--primary);
}

.cta-button {
    background: var(--primary);
    color: #000; /* Contrast against green */
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s;
    box-shadow: 0 4px 6px -1px rgba(34, 197, 94, 0.2);
}

.cta-button:hover {
    background: var(--primary-hover);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(34, 197, 94, 0.3);
}

/* Breadcrumb */
.breadcrumb {
    background: #000000;
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
}

.breadcrumb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.breadcrumb-list {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    list-style: none;
    font-size: 0.875rem;
}

.breadcrumb-list a {
    color: var(--text-muted);
    text-decoration: none;
}

.breadcrumb-list a:hover {
    color: var(--primary);
}

.breadcrumb-separator {
    color: var(--text-muted);
}

.breadcrumb-current {
    color: var(--primary);
    font-weight: 500;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #14532d 0%, #000000 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, #000 100%);
    opacity: 0.6;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 2.5rem;
    color: #e4e4e7;
}

.hero-image {
    max-width: 100%;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.5), 0 8px 10px -6px rgb(0 0 0 / 0.5);
    margin-top: 2rem;
    border: 1px solid var(--border);
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.content-section {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    margin-bottom: 3rem;
    border: 1px solid var(--border);
}

.content-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.content-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.content-section li {
    margin-bottom: 0.5rem;
    color: var(--text);
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: #18181b; /* Darker than section bg */
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    transition: all 0.2s;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 10px 15px -3px rgba(34, 197, 94, 0.1);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.card p {
    color: var(--text-muted);
    line-height: 1.7;
    flex-grow: 1;
}

.card-link {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.card-link:hover {
    text-decoration: underline;
    color: var(--primary-hover);
}

/* FAQ Accordion */
.faq-item {
    background: #18181b;
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
    color: white;
}

.faq-question:hover {
    background: #27272a;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
    line-height: 1.7;
    display: none; /* Initially hidden, toggled via script in HTML */
}

/* Alert Boxes */
.alert {
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid;
    background: #18181b;
}

.alert-info {
    border-color: #3b82f6; /* Blue 500 */
    background: rgba(59, 130, 246, 0.1);
    color: #93c5fd; /* Blue 300 */
}

.alert-warning {
    border-color: #eab308; /* Yellow 500 */
    background: rgba(234, 179, 8, 0.1);
    color: #fde047; /* Yellow 300 */
}

.alert-success {
    border-color: var(--primary);
    background: rgba(34, 197, 94, 0.1);
    color: #86efac; /* Green 300 */
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #14532d 0%, #15803d 100%);
    color: white;
    padding: 4rem 2rem;
    border-radius: 1rem;
    text-align: center;
    margin: 4rem 0;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.3);
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
}

.cta-section p {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.cta-section .cta-button {
    background: white;
    color: #15803d; /* Green 700 */
    font-size: 1.125rem;
    padding: 1rem 2rem;
    display: inline-block;
}

.cta-section .cta-button:hover {
    background: #f4f4f5;
    color: #166534; /* Green 800 */
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #000000;
    color: white;
    padding: 3rem 2rem;
    margin-top: 4rem;
    border-top: 1px solid var(--border);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer p {
    margin-bottom: 1rem;
}

.footer a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.2s;
}

.footer a:hover {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .content-section {
        padding: 2rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-section h2 {
        font-size: 1.75rem;
    }

    .nav-container {
        padding: 1rem;
    }
}
