:root {
    --bg-color: #232223;
    /* Dark background requested */
    --card-bg: #fefffe;
    /* Light card background requested */
    --text-main: #333333;
    /* Dark text for light cards */
    --text-light: #f1f5f9;
    /* Light text for dark backgrounds */
    --text-secondary: #64748b;
    --accent: #facc15;
    /* Yellow/Gold accent from ref image */
    --accent-hover: #eab308;
    --border-color: #e2e8f0;
    --font-main: 'Outfit', sans-serif;
    --section-gap: 120px;
}

body {
    background-color: var(--bg-color);
    color: var(--text-light);
    /* Default text is light on body */
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
}

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

.text-center {
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-gap) 0;
}

/* Typography */
h1,
h2,
h3 {
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

h1 {
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.section-title-dark {
    color: #fff;
}

/* For titles on dark bg */
.section-title-light {
    color: #232223;
}

/* For titles inside light blocks if any */

/* Header */
.site-header {
    background: #232223;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
}

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

.btn-login {
    background: var(--accent);
    color: #232223;
    padding: 10px 25px;
    border-radius: 4px;
    /* More square as per ref */
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-login:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

/* Hero */
.hero {
    padding: 120px 0 100px;
    text-align: center;
}

.hero h1 {
    max-width: 800px;
    margin: 0 auto 20px;
}

.hero p {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

#how-to-enter {
    position: relative;
    z-index: 2;
    isolation: isolate;
}

.btn-hero {
    background: var(--accent);
    color: #232223;
    padding: 15px 40px;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 4px;
    text-transform: uppercase;
}

.btn-hero.secondary {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.btn-hero.secondary:hover {
    background: #fff;
    color: #232223;
}

/* Cards Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

/* Article Card (Light Block) */
.card {
    background: var(--card-bg);
    /* #fefffe */
    border-radius: 8px;
    /* Slightly rounded */
    overflow: hidden;
    color: var(--text-main);
    /* Dark text */
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-image-wrapper {
    height: 220px;
    overflow: hidden;
}

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

.card-content {
    padding: 25px;
}

.card h3 {
    color: #232223;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.card .read-more {
    color: #232223;
    font-weight: 700;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 2px;
}

/* Reviews Section */
.reviews-section {
    padding: var(--section-gap) 0;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.review-card {
    background: var(--card-bg);
    color: var(--text-main);
    padding: 30px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.stars {
    color: var(--accent);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.review-text {
    font-style: italic;
    margin-bottom: 20px;
    color: #444;
}

.review-author {
    font-weight: 700;
    color: #000;
    display: block;
}

.review-date {
    font-size: 0.8rem;
    color: #888;
}

/* FAQ */
.faq-section {
    padding: var(--section-gap) 0;
}

.faq-item {
    background: var(--card-bg);
    /* Light */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 25px;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
    color: #232223;
    /* Dark text */
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}

.faq-answer {
    padding: 0 25px 25px;
    color: #555;
    border-top: 1px solid #eee;
}

/* Article Page Specifics */
.article-container {
    background: var(--card-bg);
    /* Light sheet */
    color: var(--text-main);
    /* Dark text */
    padding: 60px;
    border-radius: 8px;
    margin-top: -50px;
    /* Overlap hero */
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.article-header-bg {
    height: 400px;
    position: relative;
    z-index: 0;
}

.article-header-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: 0;
}

.article-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 60px 0 100px;
    /* Extra padding bottom for overlap */
    text-align: center;
    color: #fff;
    z-index: 1;
}

.article-title-overlay h1 {
    color: #fff;
    opacity: 1;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7);
}

.article-title-overlay a,
.article-title-overlay span {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.article-featured-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin: 0 0 30px;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-content h2 {
    color: #232223;
    margin-top: 40px;
}

.article-content h3 {
    color: #444;
}

.article-content p {
    margin-bottom: 20px;
}

/* Read Also Minimalistic */
.read-also {
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
}

.read-also h3 {
    color: #fff;
    margin-bottom: 30px;
}

.mini-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.mini-card {
    flex: 1;
    min-width: 250px;
    background: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
}

.mini-card h4 {
    margin: 0;
    font-size: 1rem;
    color: #232223;
}

.mini-card:hover h4 {
    color: var(--accent-hover);
}

/* Footer */
.site-footer {
    background: var(--bg-color);
    color: #888;
    padding: 60px 0;
    margin-top: 100px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animation Utils */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile */
@media (max-width: 768px) {
    .site-header {
        padding: 14px 0;
    }

    .site-header .container {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .logo {
        justify-content: center;
    }

    .logo img {
        height: 34px;
    }

    .nav-menu {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    .nav-link {
        font-size: 0.95rem;
        padding: 6px 8px;
    }

    .btn-login {
        padding: 10px 16px;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .article-container {
        padding: 30px 20px;
        margin-top: -30px;
    }

    h1 {
        font-size: 2rem;
    }
}