:root {
    --dark-gray: #212121;
    --light-gray: #292929;
    --border-gray: #555555;
    --bright-white: #FFFFFF;
    --dark-white: #CCCCCC;
    --accent-yellow: #f59e0b;
    --accent-red: #ef4444;
}

/* * {
    outline: none;
    border-radius: 3px !important;
}

header {
    border-radius: 1.8rem !important;
}

header::before {
  border-radius: 1.8rem !important;
}

.nav-menu a {
    border-radius: 0.8rem !important;
} */

/* #main-header {
    width: 100%;
    opacity: 1;
    z-index: 1000;
    transition: opacity 0.35s ease, top 0.35s ease;
}

#main-header.header-hidden {
    top: -10px;
    opacity: 0.0;
} */

/* ------------------- */
/* Guide Page Styles   */
/* ------------------- */
.guide-main {
    min-height: calc(100vh - 7rem);
}

.guide-container {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 0;
    min-height: calc(100vh - 7rem);
}

/* ------------------- */
/* Sidebar             */
/* ------------------- */
.guide-sidebar {
    background: linear-gradient(to top, rgb(14, 14, 14), rgb(34, 34, 34));
    /* background: var(--dark-gray); */
    border-right: 1px solid rgba(85, 85, 85, 0.5);
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.guide-sidebar::-webkit-scrollbar {
    display: none;
}

.sidebar-content {
    padding: 2rem 1.5rem;
}

.sidebar-content h3 {
    color: var(--bright-white);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Navigation List */
.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin-bottom: 0.5rem;
}

/* Category Toggle Button */
.category-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0.35rem 1rem;
    background: transparent;
    border: none;
    outline: none;
    color: var(--dark-white);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.category-toggle:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--bright-white);
}

.category-toggle.active {
    color: var(--bright-white);
    background: var(--light-gray);
}

.toggle-icon {
    margin-right: 0.5rem;
    font-size: 0.9rem;
    transition: transform 0.2s ease;
}

.category-toggle.active .toggle-icon {
    transform: rotate(0deg);
}

.category-icon {
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

/* Sub Navigation */
.sub-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    padding-left: 2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.sub-nav.active {
    max-height: 500px;
    opacity: 1;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.sub-nav li {
    margin-bottom: 0.25rem;
}

.sidebar-link {
    display: block;
    padding: 0.225rem 1rem;
    color: var(--dark-white);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    /* border: 1px solid transparent; */
}

.sidebar-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--bright-white);
}

.sidebar-link.active {
    /* background: var(--light-gray); */
    background: linear-gradient(to top, rgb(39, 39, 39, 0.7), rgba(66, 66, 66, 0.7));
    color: var(--bright-white);
    /* border-color: var(--border-gray); */
    font-weight: 500;
}

/* ------------------- */
/* Main Content        */
/* ------------------- */
.guide-content {
    position: relative;
    /* background: var(--dark-gray); */
    background: linear-gradient(to top, rgb(14, 14, 14), rgb(34, 34, 34));
    overflow-y: auto;
    height: 100vh;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.guide-content::-webkit-scrollbar {
    display: none;
}

/* Guide Pages */
.guide-page {
    display: none;
    padding: 2.5rem 3rem;
    animation: fadeIn 0.3s ease-in-out;
    /* margin-top: 6rem; */
}

.guide-page.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.guide-page h1 {
    color: var(--bright-white);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-intro {
    font-size: 1.25rem;
    color: var(--dark-white);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.guide-page h2 {
    color: var(--bright-white);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    margin-top: 3rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-gray);
}

.guide-page h3 {
    color: var(--bright-white);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.guide-page p {
    color: var(--dark-white);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* ------------------- */
/* Content Blocks      */
/* ------------------- */
.content-block {
    margin-bottom: 3rem;
}

.info-box {
    background: var(--light-gray);
    border: 1px solid var(--border-gray);
    padding: 1.5rem;
    margin: 2rem 0;
}

.info-box h3 {
    color: var(--bright-white);
    margin-top: 0;
    margin-bottom: 1rem;
}

.info-box ol, .info-box ul {
    color: var(--dark-white);
    margin-left: 1.5rem;
}

.info-box li {
    margin-bottom: 0.5rem;
}

/* Warning Box - Yellow Accent */
.warning-box {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 1.5rem;
    margin: 2rem 0;
}

.warning-box h3 {
    color: var(--accent-yellow);
    margin-top: 0;
}

.tip-box {
    padding: 1.5rem;
    margin: 2rem 0;
}

.tip-box.success {
    background: var(--light-gray);
    border: 1px solid var(--border-gray);
}

.tip-box.success h3 {
    color: var(--bright-white);
    margin-top: 0;
}

/* Error Box - Red Accent */
.tip-box.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.tip-box.error h3 {
    color: var(--accent-red);
    margin-top: 0;
}

.tip-box ul {
    margin-left: 1.5rem;
    color: var(--dark-white);
}

.tip-box li {
    margin-bottom: 0.5rem;
}

/* ------------------- */
/* Code Block          */
/* ------------------- */
.code-block {
    margin: 2rem 0;
}

.code-block h3 {
    margin-bottom: 1rem;
}

.code-block pre {
    background: #000000;
    border: 1px solid var(--border-gray);
    padding: 1.5rem;
    overflow-x: auto;
    font-family: "Asta Sans", sans-serif;
}

.code-block code {
    color: #e5e7eb;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ------------------- */
/* Feature Grid        */
/* ------------------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-card {
    background: var(--light-gray);
    border: 1px solid var(--border-gray);
    padding: 1.5rem;
    transition: transform 0.2s ease, border-color 0.2s ease, border-color 0.2s ease !important;
}

.feature-card:hover {
    /* transform: translateY(-2px); */
    border-color: var(--dark-white);
}

.feature-card h3 {
    color: var(--bright-white);
    margin-top: 0;
    margin-bottom: 1rem;
}

.feature-card p {
    margin-bottom: 0;
    color: var(--dark-white);
}

/* ------------------- */
/* Job Categories      */
/* ------------------- */
.job-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.job-category {
    background: var(--light-gray);
    border: 1px solid var(--border-gray);
    padding: 1.5rem;
}

.job-category h3 {
    color: var(--bright-white);
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.job-category ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.job-category li {
    color: var(--dark-white);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-gray);
}

.job-category li:last-child {
    border-bottom: none;
}

/* ------------------- */
/* Social Tips         */
/* ------------------- */
.social-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.tip {
    background: var(--light-gray);
    border: 1px solid var(--border-gray);
    padding: 1.5rem;
    text-align: center;
}

.tip h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: var(--bright-white);
}

.tip p {
    margin-bottom: 0;
    color: var(--dark-white);
}

/* ------------------- */
/* Guide Footer        */
/* ------------------- */
.guide-footer {
    margin-top: 4rem;
    border-top: 1px solid var(--border-gray);
}

.next-steps {
    text-align: center;
    /* background: var(--dark-gray); */
    background: linear-gradient(to top, rgb(14, 14, 14), rgb(34, 34, 34));
    padding: 1.5rem;
}

.next-steps h3 {
    color: var(--bright-white);
    margin-top: 0;
    margin-bottom: 0.2rem;
}

.next-steps p {
    margin-bottom: 0;
    color: var(--dark-white);
}

.next-steps a {
    color: var(--bright-white);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
}

.next-steps a:hover {
    color: var(--dark-white);
}

/* ------------------- */
/* Responsive          */
/* ------------------- */
@media (max-width: 1024px) {
    .guide-container {
        grid-template-columns: 1fr;
    }
    
    .guide-sidebar {
        position: relative;
        top: 0;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--border-gray);
    }
    
    .sidebar-content {
        padding: 1.5rem;
    }
    
    .nav-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .sub-nav.active {
        max-height: none;
        padding-left: 1rem;
    }
    
    .guide-content {
        height: auto;
    }
    
    .guide-page {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .guide-page h1 {
        font-size: 2.5rem;
    }
    
    .guide-page h2 {
        font-size: 1.75rem;
    }
    
    .section-intro {
        font-size: 1.1rem;
    }
    
    .feature-grid,
    .job-categories,
    .social-tips,
    .nav-list {
        grid-template-columns: 1fr;
    }
}

/* ------------------- */
/* Scroll Behavior     */
/* ------------------- */
html {
    scroll-behavior: smooth;
}

.guide-page {
    scroll-margin-top: 8rem;
}

/* ------------------- */
/* Loading Animation   */
/* ------------------- */
.guide-page {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.guide-page.active {
    opacity: 1;
}

/* .hero-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.hero-video video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: brightness(0.9);
} */