 :root {

        --gp-black: #050507;

        --gp-dark: #0d0e12;

        --gp-panel: #14161c;

        --gp-neon: #28a745;
        --gp-blue:#00f2ff;

        --gp-magenta: #ff00ea;

        --gp-orange: #ff7800;

        --gp-text: #ffffff;

        --gp-muted: #a0a2b1;

        --gp-border: #242630;

        --font-main: 'Space Grotesk', sans-serif;

        --font-mono: 'JetBrains Mono', monospace;
        --primary-black: #0f111a;
    --sidebar-dark: #0a0c14;
    --success-green: #28a745;
    --text-main: #000000;
    --text-dim: #a0a0a0;
    --card-bg: #14161f;
    --terminal-bg: #050505;

    }



    body {

        background-color: var(--gp-black);

        color: var(--gp-text);

        font-family: var(--font-main);

        margin: 0;

        background-image:

            linear-gradient(rgba(0, 242, 255, 0.04) 1px, transparent 1px),

            linear-gradient(90deg, rgba(0, 242, 255, 0.04) 1px, transparent 1px);

        background-size: 60px 60px;

        overflow-x: hidden;

    }

h3{
    font-size: 25px !important;
    font-weight: 600 !important;
}

    .container {

        max-width: 1800px;

        margin: 0 auto;

        padding: 0 40px;

    }




    .portal-header {

        padding: 100px 0 80px;

        position: relative;

        background: #050507;

        border-bottom: 2px solid var(--gp-neon);

        overflow: hidden;

    }



    .header-bg-overlay {

        position: absolute;

        top: 0;
        right: 0;
        width: 50%;
        height: 100%;

        background: linear-gradient(45deg, transparent 40%, rgba(0, 242, 255, 0.05) 100%);

        z-index: 1;

    }



    .circuit-lines {

        position: absolute;

        top: 0;
        right: 0;
        width: 100%;
        height: 100%;

        opacity: 0.1;

        background-image: radial-gradient(var(--gp-neon) 1px, transparent 1px);

        background-size: 40px 40px;

        mask-image: linear-gradient(to left, black, transparent);

        pointer-events: none;

    }



    .header-content-wrapper {

        position: relative;

        z-index: 5;

        display: flex;

        align-items: flex-end;

        justify-content: space-between;

    }



    .header-title-box {

        max-width: 700px;

        text-align: left;

    }



    .system-status-ribbon {

        display: flex;

        gap: 20px;

        margin-bottom: 15px;

       

        font-size: 10px;

        color: var(--gp-neon);

        text-transform: uppercase;

        letter-spacing: 2px;

    }



    .status-dot {

        width: 8px;
        height: 8px;

        background: var(--gp-neon);

        border-radius: 50%;

        display: inline-block;

        box-shadow: 0 0 10px var(--gp-neon);

        animation: blink 1.5s infinite;

    }



    @keyframes blink {

        0%,
        100% {
            opacity: 1;
        }

        50% {
            opacity: 0.2;
        }
    }



    .portal-header h1 {

        font-size: clamp(3rem, 7vw, 5rem);

        line-height: 0.85;

        font-weight: 800;

        margin: 0;

        letter-spacing: -4px;

        text-transform: uppercase;

        color: #fff;

    }



    .portal-header h1 span {

        color: var(--gp-neon);

        display: block;

        background: linear-gradient(90deg, var(--gp-neon), var(--gp-magenta));

        -webkit-background-clip: text;

        -webkit-text-fill-color: transparent;

    }



    .header-desc {

        margin-top: 20px;

        font-size: 1.1rem;

        color: var(--gp-muted);

        border-left: 2px solid var(--gp-magenta);

        padding-left: 20px;

        max-width: 500px;

    }



    .data-stream {

        display: flex;

        flex-direction: column;

        align-items: flex-end;

       

        font-size: 11px;

        color: var(--gp-muted);

        text-align: right;

    }



    .stream-val {
        color: var(--gp-magenta);
        font-weight: bold;
    }




    .control-console {

        margin-top: -35px;

        margin-bottom: 60px;

        display: grid;

        grid-template-columns: 2fr 1fr 1fr;

        gap: 15px;

        background: var(--gp-panel);

        padding: 10px;

        border: 1px solid var(--gp-border);

        border-bottom: 3px solid var(--gp-neon);

        border-radius: 4px;

        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);

        position: relative;

        z-index: 100;

    }



    .console-item {

        display: flex;

        align-items: center;

        background: var(--gp-black);

        padding: 10px 15px;

        border: 1px solid var(--gp-border);

        position: relative;

        cursor: pointer;

        user-select: none;

    }



    .console-item label {

       

        font-size: 10px;

        color: var(--gp-neon);

        margin-right: 12px;

        white-space: nowrap;

        pointer-events: none;

    }




    .select-trigger {

        color: #fff;

       

        font-size: 13px;

        width: 100%;

        display: flex;

        justify-content: space-between;

        align-items: center;

    }



    .select-trigger i {

        font-size: 10px;

        color: var(--gp-muted);

        transition: transform 0.3s;

    }



    .console-item.active .select-trigger i {

        transform: rotate(180deg);

        color: var(--gp-neon);

    }




    .dropdown-menu {

        position: absolute;

        top: calc(100% + 5px);

        left: 0;

        width: 100%;

        background: var(--gp-panel);

        border: 1px solid var(--gp-neon);

        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);

        z-index: 999;

        display: none;

        max-height: 250px;

        overflow-y: auto;

        border-radius: 4px;

    }



    .console-item.active .dropdown-menu {

        display: block;

        animation: slideDown 0.2s ease-out;

    }



    .dropdown-option {

        padding: 12px 15px;

       

        font-size: 12px;

        color: var(--gp-text);

        transition: 0.2s;

        border-bottom: 1px solid rgba(255, 255, 255, 0.05);

    }



    .dropdown-option:hover {

        background: rgba(0, 242, 255, 0.1);

        color: var(--gp-neon);

        padding-left: 20px;

    }



    .dropdown-option.selected {

        color: var(--gp-neon);

        background: rgba(0, 242, 255, 0.05);

    }



    @keyframes slideDown {

        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }

    }



    /* Custom Scrollbar for Dropdown */

    .dropdown-menu::-webkit-scrollbar {
        width: 4px;
    }

    .dropdown-menu::-webkit-scrollbar-thumb {
        background: var(--gp-neon);
    }



    /* --- VIBRANT SPEC CARDS (UNCHANGED) --- */

    .knowledge-grid {

        display: flex;
    flex-wrap: wrap; 
    gap: 20px;       
    padding-bottom: 100px !important;
    padding: 0 80px ;

    }



    .spec-card {

       display: grid;
    grid-template-columns: 350px 1fr; 
    flex: 0 1 calc(50% - 20px);     
    background: var(--gp-dark);
    border: 1px solid var(--gp-border);
    border-left: 5px solid var(--gp-neon);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    border-radius: 0 16px 16px 0;
    overflow: hidden;
    position: relative;
    min-width: 500px;

    }



    .spec-card:hover {

        background: #15171f;

        transform: scale(1.01);

        border-color: var(--gp-neon);

    }



    .spec-card-image {

       height: 100%; 
    overflow: hidden;
    border-right: 1px solid var(--gp-border);


    }



    .spec-card-image img {

        width: 100%;

        height: 100%;

        object-fit: cover;

        transition: 0.6s;

    }



  



    .spec-card-content {

       padding: 20px 25px; 
    display: flex;
    flex-direction: column;

    }



    .spec-meta {

        display: flex;
            justify-content: space-between;
        gap: 25px;

        margin-bottom: 25px;

       

        font-size: 14px;

        color: var(--gp-muted);

        border-bottom: 1px solid var(--gp-border);

        padding-bottom: 15px;

        align-items: center;

    }



    .author-info {

        display: flex;

        align-items: center;

        gap: 10px;

        color: var(--gp-text);

    }



    .author-avatar {

        width: 28px;

        height: 28px;

        border-radius: 50%;

        border: 1px solid var(--gp-neon);

        object-fit: cover;

    }



    .author-info b {
        color: var(--gp-neon);
    }

    .date-info i {
        color: var(--gp-blue);
        margin-right: 5px;
    }



    .spec-card-title {

        font-size: 25px;

        margin: 0 0 15px;

        font-weight: 500;

        line-height: 1.5;

        letter-spacing: -1px;

        color: #ffffff;
        min-height: 65px;

    }



    .spec-card-desc {

        color: var(--gp-muted);

        font-size: 16px;

        line-height: 1.5;

        margin-bottom: 25px;
        min-height: 80px;
        padding-right: 40px;

    }



    .spec-tags {

        margin-top: auto;

        display: flex;

        gap: 10px;

    }



    .tag {

       

        font-size: 10px;

        padding: 5px 12px;

        background: rgba(0, 242, 255, 0.05);

        border: 1px solid var(--gp-neon);

        color: var(--gp-neon);

        text-transform: uppercase;

        border-radius: 4px;

        font-weight: bold;

    }



    .tag.magenta {
        border-color: var(--gp-magenta);
        color: var(--gp-magenta);
        background: rgba(255, 0, 234, 0.05);
    }



    .read-spec-btn {

        position: absolute;

        bottom: 30px;

        right: 30px;

       

        font-size: 12px;

       background: var(--gp-blue);

        color: var(--gp-black);

        display: flex;

        align-items: center;

        gap: 10px;

        padding: 8px 18px;

        

        border: 1px solid var(--gp-blue);

        border-radius: 8px;

        transition: all 0.3s ease;

        z-index: 10;

    }



    .spec-card.magenta-theme .read-spec-btn {

        color: var(--gp-magenta);

        border-color: var(--gp-magenta);

        background: rgba(255, 0, 234, 0.05);

    }



    .read-spec-btn:hover {

        background: var(--gp-neon);

        color: var(--gp-black);

        box-shadow: 0 0 15px var(--gp-neon);

    }



    .spec-card.magenta-theme .read-spec-btn:hover {

        background: rgba(0, 242, 255, 0.05);

        border: 1px solid var(--gp-blue);

        box-shadow: 0 0 15px var(--gp-magenta);

    }



    @media (max-width: 1000px) {

        .spec-card {
            grid-template-columns: 1fr;
        }

        .spec-card-image {
            height: 220px;
        }

        .control-console {
            grid-template-columns: 1fr;
            margin-top: 10px;
        }

        .header-content-wrapper {
            flex-direction: column;
            align-items: flex-start;
            gap: 30px;
        }

        .data-stream {
            align-items: flex-start;
            text-align: left;
        }

        .read-spec-btn {
            position: relative;
            bottom: 0;
            right: 0;
            margin-top: 20px;
            align-self: flex-start;
        }

    }
    

ul {
    list-style: none;
    padding: 0;
}

/* --- 2. Banner Section --- */
.tutorial-hero-banner {
    background: linear-gradient(rgba(0,0,0,0.85), rgba(0,0,0,0.85)), url('/assets/images/banner-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    border-bottom: 1px solid #1f222e;
    text-align: center;
}

.category-badge {
    background: var(--success-green);
    color: #000;
    padding: 5px 15px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    margin: 20px 0;
    color: #fff;
}

.hero-desc {
    color: var(--text-dim);
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
}

/* --- 3. Layout Structure --- */
.g-howto-main-container {
    display: flex;
    padding: 50px;
    margin: 0 auto;
}

/* --- 4. STICKY SIDEBAR --- */
.sticky-sidebar {
    width: 320px;
    position: sticky;
    top: 80px;
    height: calc(100vh - 40px);
    overflow-y: auto;
    background-color: var(--sidebar-dark);
    padding: 30px 20px;
    border-right: 1px solid #1f222e;
}

.g-side-bar-title {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--success-green);
    padding-bottom: 10px;
}

.g-side-bar-group-heading {
    color: var(--success-green);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.g-side-bar-group-list-link {
    color: var(--text-dim) !important;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
    display: block;
    padding: 8px 0;
}

.g-side-bar-group-list-link:hover, .g-side-bar-group-list-link.active {
    color: var(--success-green) !important;
    padding-left: 8px;
}

/* --- 5. Content Area & Subtopics --- */
.g-howto-main {
    flex: 1;
    padding: 50px;
}

.styled-subtopic {
    position: relative;
    padding-left: 20px;
    margin: 40px 0 20px;
    font-size: 28px;
    font-weight: 700;
}

.styled-subtopic::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 30px;
    background-color: var(--success-green);
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(40, 167, 69, 0.4);
}

.toc-box {
    background: var(--card-bg);
    border: 1px solid #2d303a;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
}

.toc-title {
    color: var(--success-green);
    margin-top: 0;
    font-size: 22px;
}

.designed-bullets li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
}

.designed-bullets li::before {
    content: "\f058"; 
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--success-green);
}

.designed-bullets li a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.designed-bullets li a:hover {
    color: var(--success-green);
    padding-left: 5px;
}

/* --- 7. Professional Tables --- */
.styled-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
}

.styled-table th {
    background-color: #1a1d27;
    color: var(--success-green);
    padding: 15px;
    text-align: left;
    text-transform: uppercase;
    font-size: 13px;
}

.styled-table td {
    padding: 15px;
    border-bottom: 1px solid #1f222e;
    color: white;
}

.text-success { color: var(--success-green) !important; font-weight: 600; }

/* --- 8. Code Terminal Blocks --- */
.code-terminal {
    background: var(--terminal-bg);
    border: 1px solid #1f222e;
    border-radius: 8px;
    overflow: hidden;
    margin: 25px 0;
}

.terminal-header {
    background: #1a1d27;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dim);
    font-size: 12px;
}

.copy-btn {
    background: var(--success-green);
    color: #000;
    border: none;
    padding: 5px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
    transition: 0.2s;
}

.copy-btn:hover { background: #218838; }

pre {
    margin: 0;
    padding: 20px;
    color: var(--success-green);
    font-family: 'Fira Code', monospace;
    overflow-x: auto;
    line-height: 1.6;
}

/* --- 9. GPU Global Section --- */
.gpu-discover-box {
    background: linear-gradient(145deg, #0a0c14, #0f111a);
    border: 1px solid var(--success-green);
    padding: 40px;
    border-radius: 15px;
    margin-top: 60px;
    text-align: center;
}

.continent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.continent-item {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    border: 1px solid #1f222e;
    transition: 0.3s;
}

.continent-item i {
    display: block;
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--success-green);
}

.continent-item:hover {
    border-color: var(--success-green);
    transform: translateY(-5px);
}

/* --- 10. Responsive Layout --- */
@media (max-width: 992px) {
    .g-howto-main-container { flex-direction: column; }
    .sticky-sidebar {
        width: 100%;
        position: relative;
        height: auto;
        top: 0;
        border-right: none;
        padding: 20px;
    }
    .g-howto-main { padding: 30px 20px; }
    .hero-title { font-size: 32px; }
}

.tech-span {
    background-color: rgba(40, 167, 69, 0.1); 
    color: #28a745;                         
    padding: 2px 8px;                      
    border-radius: 6px;                     
    font-family: 'Fira Code', monospace;    
    font-weight: 600;                     
    border: 1px solid rgba(40, 167, 69, 0.3); 
    font-size: 0.95em;
    display: inline-block;                 
    line-height: 1.4;
    transition: all 0.3s ease;
}

.tech-span:hover {
    background-color: rgba(40, 167, 69, 0.2);
    border-color: #28a745;
    cursor: default;
}

.tutorial-ul {
    list-style: none;
    padding-left: 5px;
    margin: 20px 0;
}

.tutorial-ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    line-height: 1.6;
    color: var(--text-main);
}

.tutorial-ul li::before {
    content: "\f00c"; 
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--success-green);
    font-size: 14px;
    background: rgba(40, 167, 69, 0.1);
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* --- Ordered List (Numbered List) --- */
.tutorial-ol {
    counter-reset: step-counter; 
    list-style: none;
    padding-left: 5px;
    margin: 25px 0;
}

.tutorial-ol li {
    counter-increment: step-counter;
    position: relative;
    padding-left: 45px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.tutorial-ol li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 28px;
    height: 28px;
    background-color: var(--success-green);
    color: #000;
    font-weight: 800;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.3);
}
/* --- Redesigned Tutorial CTA Banner Styling --- */
.tutorial-cta-banner {
    width: 100%;
    /* Removed background image and overlay */
    background-color: transparent; 
    
    /* Added border */
    border: 2px solid rgb(5 52 16);
    border-radius: 20px; 
    
    /* Replaced min-height with padding for better centered structure */
    padding: 40px 20px;
    margin-bottom: 40px;
    
    /* Center the container */
    display: flex;
    justify-content: center;
    box-sizing: border-box;
}

.cta-banner-container {
    max-width: 1600px; /* Narrowed slightly for better center readability */
    
    /* Center all children */
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center;
}

/* Badge Styling */
.cta-badge {
    background-color: var(--success-green, #28a745);
    color: #000;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.cta-title {
    font-size: 40px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.cta-desc {
    font-size: 18px !important;
    
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Meta Information Area */
.cta-meta-info {
    display: flex;
    justify-content: center; /* Center the icons */
    flex-wrap: wrap; /* Allows safe wrapping on smaller screens */
    gap: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    margin-bottom: 35px; /* Spacing above the new button */
    width: 100%;
    max-width: 600px;
}

.cta-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--success-green, #28a745);
    font-size: 15px;
    font-weight: 600;
}

.cta-meta-item i {
    font-size: 16px;
    opacity: 0.9;
}

/* NEW CTA Button Styling */
.cta-button {
    background-color: var(--success-green, #28a745);
    color: #000;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    background-color: #34ce57; /* Lighter hover effect */
}

/* Responsive Design (Mobile & Tablet) */
@media (max-width: 768px) {
    .tutorial-cta-banner { padding: 40px 20px; }
    .cta-title { font-size: 28px; }
    .cta-meta-info { 
        flex-direction: column; 
        align-items: center; /* Keeps items centered when stacked */
        gap: 15px; 
    }
}