@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=DM+Sans:wght@400;500;700&display=swap');

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

:root {
    --bg-primary: #151210;
    --bg-secondary: #1a1613;
    --accent-orange: #0f9ff8;
    --text-primary: #e5e5e5;
    --text-secondary: #9ca3af;
    --border-color: #374151;
    --hover-bg: rgba(75, 85, 99, 0.5);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'DM Sans', sans-serif;
    color: var(--accent-orange);
    line-height: 1.2;
}

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

.header {
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-orange);
}

.nav-tabs {
    display: flex;
    gap: 0.25rem;
}

.tab-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    background: transparent;
    border: none;
    border-radius: 0.5rem;
    color: var(--text-secondary);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button:hover {
    color: var(--text-primary);
    background-color: var(--hover-bg);
}

.tab-button.active {
    background-color: var(--accent-orange);
    color: white;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
}

.icon {
    width: 1.25rem;
    height: 1.25rem;
}

.tab-text {
    display: none;
}

.main-content {
    max-width: 1024px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.content-section {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.content-section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-header {
    margin-bottom: 2rem;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.1;
}

.article-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.hero-image {
    width: 100%;
    margin-bottom: 2rem;
    border-radius: 0.5rem;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 400px;
}

.article-body {
    margin-bottom: 3rem;
}

.content-block {
    margin-bottom: 2.5rem;
}

.content-block h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.content-block p {
    font-size: 1.125rem;
    color: var(--text-primary);
    line-height: 1.8;
}

.help-box {
    padding: 1.5rem;
    background-color: rgba(75, 85, 99, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    margin-top: 3rem;
}

.help-box h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.help-box p {
    color: var(--text-primary);
    line-height: 1.6;
}

.footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    margin-top: 5rem;
    padding: 2rem 0;
}

.footer p {
    text-align: center;
    color: var(--text-secondary);
}

@media (min-width: 640px) {
    .tab-text {
        display: inline;
    }

    .article-title {
        font-size: 3rem;
    }
}

@media (min-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .main-content {
        padding: 3rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

@media (max-width: 640px) {
    .header-content {
        flex-direction: column;
        height: auto;
        padding: 1rem 0;
        gap: 1rem;
    }

    .nav-tabs {
        width: 100%;
        justify-content: space-around;
    }

    .tab-button {
        padding: 0.5rem 1rem;
        flex: 1;
        justify-content: center;
    }

    .article-title {
        font-size: 2rem;
    }

    .article-subtitle {
        font-size: 1rem;
    }

    .content-block h2 {
        font-size: 1.5rem;
    }

    .content-block p {
        font-size: 1rem;
    }
}


.logo-link {
    text-decoration: none;
    color: inherit; /* Keeps the original logo text color */
}

.logo-link:hover {
    opacity: 0.8; /* Optional subtle hover effect */
}
