:root {
    --j-primary-red: #ab191b;
    --j-dark-blue: #181836;
    --j-blue-gradient: linear-gradient(10deg, #003b98, #000000);
    --j-light-bg: #f4f6f9;
    --j-white: #ffffff;
    --j-text-grey: #4a4a4a;
    --j-code-bg: #1e1e2e;
    --j-code-text: #a6accd;
    --j-border-color: #e0e0e0;
}

/* --- CONTENT BODY --- */
.j-new-tut-body {
    padding: 50px 40px;
}

.j-new-tut-section {
    margin-bottom: 60px;
}

.j-new-tut-section-title {
    font-size: 1.8rem;
    color: var(--j-dark-blue);
    border-left: 6px solid var(--j-primary-red);
    padding-left: 20px;
    margin-bottom: 30px;
    font-weight: 700;
    line-height: 1.2;
}

.j-new-tut-section-sub-title {
    font-size: 1.2rem;
    color: var(--j-dark-blue);
    padding-left: 20px;
    margin-bottom: 30px;
    font-weight: 700;
    line-height: 1.2;
}

.j-new-tut-text {
    margin-bottom: 18px;
    font-size: 16px;
}

.j-new-tut-strong {
    color: var(--j-dark-blue);
    font-weight: 700;
}

/* --- REQUIREMENTS GRID (Phase 1) --- */
.j-new-tut-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.j-new-tut-card {
    background: #fff;
    border: 1px solid var(--j-border-color);
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
    border-top: 5px solid var(--j-primary-red);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    height: 100%;
}

.j-new-tut-card-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--j-dark-blue);
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
}

.j-new-tut-list {
    list-style: none;
    padding-left: 0;
}

.j-new-tut-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 15px;
}

.j-new-tut-list li::before {
    content: "✔";
    color: var(--j-primary-red);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 0.8rem;
    top: 3px;
}

/* --- STEPS (Phase 2 & 3) --- */
.j-new-tut-step {
    background: #fdfdfd;
    border-left: 2px solid #efefef;
    padding: 25px 0 25px 35px;
    margin-left: 15px;
    position: relative;
}

.j-new-tut-step-badge {
    position: absolute;
    left: -19px;
    top: 25px;
    background: var(--j-primary-red);
    color: white;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 0 0 4px white;
}

.j-new-tut-step-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--j-dark-blue);
    margin-bottom: 12px;
}

/* --- CODE BLOCKS --- */
.j-new-tut-code-wrapper {
    background: var(--j-code-bg) !important;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0 25px 0;
    overflow-x: auto;
    position: relative;
    border: 1px solid #333;
}

.j-new-tut-code {
    font-family: 'Consolas', 'Monaco', monospace;
    color: #e9edff !important;
    font-size: 14px !important;
    display: block;
    white-space: pre;
    background: none;
}

.j-new-tut-code-label {
    position: absolute;
    top: 0;
    right: 0;
    background: #444;
    color: #fff;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-bottom-left-radius: 8px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* --- WARNING/NOTE BOX --- */
.j-new-tut-note {
    background-color: #fff8f8;
    border-left: 4px solid var(--j-primary-red);
    padding: 20px;
    margin: 25px 0;
    color: #6d1515;
    font-size: 16px;
    border-radius: 0 8px 8px 0;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.j-new-tut-note-icon {
    font-size: 1.5rem;
}

/* --- PLACEHOLDER IMAGE --- */
.j-new-tut-image-placeholder {
    width: 100%;
    height: 300px;
    background-color: #eee;
    border: 2px dashed #ccc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
    color: #888;
    font-weight: 600;
    flex-direction: column;
}

.j-new-tut-image-placeholder svg {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
    fill: #bbb;
}

/* --- CTA SECTION (Servers99) --- */
.j-new-tut-cta-box {
    background: var(--j-blue-gradient);
    color: var(--j-white);
    padding: 50px;
    border-radius: 12px;
    text-align: center;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(24, 24, 54, 0.3);
}

.j-new-tut-cta-box i {
    color: #16a34a;
}

.j-new-tut-cta-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--j-primary-red);
}

.j-new-tut-cta-box::after {
    content: "";
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
}

.j-new-tut-cta-title {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.j-new-tut-cta-text {
    color: #ffffff;
    margin-bottom: 35px;
    margin-left: 50px;
    margin-right: 50px;
    font-size: 18px;
}

.j-new-tut-btn {
    display: inline-block;
    background: var(--j-primary-red);
    color: white;
    text-decoration: none;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(171, 25, 27, 0.4);
    border: 2px solid transparent;
}

.j-new-tut-btn:hover {
    background: transparent;
    border-color: var(--j-primary-red);
    color: var(--j-primary-red);
    background-color: white;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding: 20px 10px;
    }

    .j-new-tut-header {
        padding: 40px 20px;
    }

    .j-new-tut-body {
        padding: 30px 20px;
    }

    .j-new-tut-title {
        font-size: 1.8rem;
    }

    .j-new-tut-step {
        margin-left: 0;
        padding-left: 20px;
    }

    .j-new-tut-step-badge {
        left: -10px;
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
        top: 22px;
    }
}

.g-rounded-home-banner-content-main-title {
    backdrop-filter: brightness(0.7) !important;
}

.g-rounded-home-banner-content {
    backdrop-filter: none !important;
}

.g-rounded-home-banner-content-normal {
    backdrop-filter: none !important;
}

.cpanel-dedicated-server-section-img {
    background-image: linear-gradient(19deg, rgba(0, 0, 0, .99), rgba(0, 0, 0, 0)), url(/tutorials/inc/imgs/cpanel-dedicated-server-banner.webp) !important
}

.plex-dedicated-server-section-img {
    background-image: linear-gradient(19deg, rgba(0, 0, 0, .99), rgba(0, 0, 0, 0)), url(/tutorials/inc/imgs/intall-plex-dedicated-server.webp) !important
}

.minecraft-dedicated-server-section-img {
    background-image: linear-gradient(19deg, rgba(0, 0, 0, .99), rgba(0, 0, 0, 0)), url(/tutorials/inc/imgs/minecraft-dedicated-server-banner.webp) !important
}

.cuda-dedicated-server-section-img {
    background-image: linear-gradient(19deg, rgba(0, 0, 0, .99), rgba(0, 0, 0, 0)), url(/tutorials/inc/imgs/howto-install-cuda-drivers-banner.webp) !important
}

.pterodactyl-dedicated-server-section-img {
    background-image: linear-gradient(19deg, rgba(0, 0, 0, .99), rgba(0, 0, 0, 0)), url(/tutorials/inc/imgs/pterodactyl-dedicated-servers-tu.webp) !important
}
.docker-dedicated-server-section-img {
    background-image: linear-gradient(19deg, rgba(0, 0, 0, .99), rgba(0, 0, 0, 0)), url(/tutorials/inc/imgs/install-docker-on-ubuntu-server-banner.webp) !important
}
.squid-dedicated-server-section-img {
    background-image: linear-gradient(19deg, rgba(0, 0, 0, .99), rgba(0, 0, 0, 0)), url(/tutorials/inc/imgs/squid-proxy-linux-bnner.webp) !important
}

.j-new-link {
    color: var(--j-primary-red) !important;
}

.j-new-link:hover {
    color: #6d1515 !important;
}


/* Table Design */
.j-section-3-table-container {
    overflow-x: auto;
    border-radius: 24px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
    background: #ffffff;
}

.j-section-3-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
    font-size: 16px;
}

.j-section-3-th {
    text-align: center;
    padding: 24px !important;
    background-color: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
    color: #000000;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 15px;
    letter-spacing: 0.05em;
}

/* Highlight Header */
.j-section-3-th-highlight {
    background-color: #AD1919;
    color: #ffffff;
    border-bottom: 2px solid #1d4ed8;
    position: relative;
}


.j-section-3-tr {
    transition: background-color 0.2s;
}

.j-section-3-tr:hover {
    background-color: #f8fafc;
}

.j-section-3-td {
    padding: 24px;
    border-bottom: 1px solid #e2e8f0;
    color: #334155;
    vertical-align: middle;
}

.j-section-3-td-feature {
    font-weight: 700;
    color: #0f172a;
    width: 20%;
}

/* Highlight Column Cells */
.j-section-3-td-highlight {
    background-color: #eff6ff;
    /* Very light blue tint */
    color: #1e3a8a;
    font-weight: 600;
    border-bottom: 1px solid #dbeafe;
    border-left: 1px solid #dbeafe;
    border-right: 1px solid #dbeafe;
}

.j-section-3-tr:last-child .j-section-3-td {
    border-bottom: none;
}

.j-section-3-check-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.j-section-3-negative {
    color: #ef4444;
    /* Red for negative traits */
}

.j-section-3-positive {
    color: #16a34a;
    /* Green for positive traits */
}

caption {
    margin-left: 20px;
}

code {
    color: var(--primary-red) !important;
    border-radius: 5px;
    background: #fafafa;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

/* -------------faq----------- */
.j-new-99-tutorial-faq-container {
    width: 100%;
    max-width: 1200px;
    padding: 40px;
}

.j-new-99-tutorial-faq-header {
    text-align: center;
    margin-bottom: 40px;
}

.j-new-99-tutorial-faq-header h2 {
    font-size: 28px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 10px 0;
}

.j-new-99-tutorial-faq-header p {
    font-size: 16px;
    color: #6b7280;
    margin: 0;
}

.j-new-99-tutorial-faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.j-new-99-tutorial-faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.j-new-99-tutorial-faq-item:hover {
    border-color: #d1d5db;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.j-new-99-tutorial-faq-toggle {
    display: none;
}

.j-new-99-tutorial-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 16px;
    font-weight: 500;
    color: #000000;
    cursor: pointer;
    background-color: #ffffff;
    transition: background-color 0.2s ease, color 0.2s ease;
    margin: 0;
}

.j-new-99-tutorial-faq-question:hover {
    background-color: #f9fafb;
    color: #111827;
}

.j-new-99-tutorial-faq-icon {
    position: relative;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 16px;
}

.j-new-99-tutorial-faq-icon::before,
.j-new-99-tutorial-faq-icon::after {
    content: '';
    position: absolute;
    background-color: #6b7280;
    transition: transform 0.3s ease;
}

.j-new-99-tutorial-faq-icon::before {
    width: 2px;
    height: 16px;
}

.j-new-99-tutorial-faq-icon::after {
    width: 16px;
    height: 2px;
}

.j-new-99-tutorial-faq-answer-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    background-color: #ffffff;
}

.j-new-99-tutorial-faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 16px;
    line-height: 1.6;
    color: #000000;
    border-top: 1px solid transparent;
}

.j-new-99-tutorial-faq-toggle:checked~.j-new-99-tutorial-faq-question {
    color: #ab191b;
}

.j-new-99-tutorial-faq-toggle:checked~.j-new-99-tutorial-faq-answer-wrapper {
    max-height: 400px;
}

.j-new-99-tutorial-faq-toggle:checked~.j-new-99-tutorial-faq-question .j-new-99-tutorial-faq-icon::before {
    transform: rotate(90deg);
    background-color: #ab191b;
}

.j-new-99-tutorial-faq-toggle:checked~.j-new-99-tutorial-faq-question .j-new-99-tutorial-faq-icon::after {
    transform: rotate(180deg);
    background-color: #ab191b;
}

@media (max-width: 600px) {
    .j-new-99-tutorial-faq-container {
        padding: 24px;
    }

    .j-new-99-tutorial-faq-header h2 {
        font-size: 24px;
    }

    .j-new-99-tutorial-faq-question {
        font-size: 15px;
        padding: 16px;
    }

    .j-new-99-tutorial-faq-answer {
        padding: 0 16px 16px 16px;
        font-size: 14px;
    }
}
/* -------------- */
        @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
        .j-new-99-tutorial--new-cta-container {
            font-family: 'Inter', sans-serif;
            background-color: #e3e3e3;
            border-radius: 16px;
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
            overflow: hidden;
            transition: box-shadow 0.3s ease;
        }
        .j-new-99-tutorial--new-cta-container:hover {
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
        }
        .j-new-99-tutorial--new-cta-header {
            background: linear-gradient(to right, #1f2937, #7f1d1d);
            padding: 32px;
            color: #ffffff;
            position: relative;
        }
        .j-new-99-tutorial--new-cta-deco-1 {
            position: absolute;
            top: -64px;
            right: -64px;
            width: 192px;
            height: 192px;
            border-radius: 9999px;
            background-color: #ffffff;
            opacity: 0.05;
        }
        .j-new-99-tutorial--new-cta-deco-2 {
            position: absolute;
            bottom: -64px;
            left: -64px;
            width: 128px;
            height: 128px;
            border-radius: 9999px;
            background-color: #ffffff;
            opacity: 0.05;
        }
        .j-new-99-tutorial--new-cta-header-content {
            position: relative;
            z-index: 10;
        }
        .j-new-99-tutorial--new-cta-badge {
            display: inline-block;
            padding: 4px 12px;
            background-color: #ad1919;
            color: #ffffff;
            font-size: 12px;
            font-weight: 600;
            letter-spacing: 0.05em;
            text-transform: uppercase;
            border-radius: 9999px;
            margin-bottom: 16px;
            border: 1px solid rgba(220, 38, 38, 0.5);
        }
        .j-new-99-tutorial--new-cta-title {
            font-size: 30px;
            font-weight: 700;
            margin: 0 0 8px 0;
            line-height: 1.2;
        }
        .j-new-99-tutorial--new-cta-subtitle {
            color: #e5e7eb;
            font-size: 14px;
            margin: 0;
        }
        .j-new-99-tutorial--new-cta-body {
            padding: 32px;
        }
        .j-new-99-tutorial--new-cta-list {
            list-style: none;
            padding: 0;
            margin: 0 0 32px 0;
            display: flex;
            flex-direction: column;
            gap: 16px;
        }
        .j-new-99-tutorial--new-cta-list-item {
            display: flex;
            align-items: flex-start;
        }
        .j-new-99-tutorial--new-cta-icon-wrap {
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 24px;
            height: 24px;
            border-radius: 9999px;
            background-color: #dcfce7;
            color: #16a34a;
            margin-top: 2px;
        }
        .j-new-99-tutorial--new-cta-icon {
            width: 16px;
            height: 16px;
        }
        .j-new-99-tutorial--new-cta-list-text {
            margin-left: 12px;
            color: #000000;
            font-weight: 600;
            font-size: 17px;
        }
        .j-new-99-tutorial--new-cta-highlight {
            background-color: #f9fafb;
            border-left: 4px solid #ad1919;
            padding: 16px;
            border-radius: 0 8px 8px 0;
            margin-bottom: 32px;
        }
        .j-new-99-tutorial--new-cta-highlight-text {
            color: #1f2937;
            font-size: 14px;
            line-height: 1.625;
            margin: 0;
        }
        .j-new-99-tutorial--new-cta-action {
            display: flex;
            align-items: center;
            gap: 16px;
        }
        .j-new-99-tutorial--new-cta-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 14px 32px;
            border: 1px solid transparent;
            font-size: 16px;
            font-weight: 600;
            border-radius: 8px;
            color: #ffffff;
            background-color: #ad1919;
            text-decoration: none;
            transition: all 0.2s ease;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        }
        .j-new-99-tutorial--new-cta-btn:hover {
            background-color: #b91c1c;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            transform: translateY(-2px);
            color: white;
        }
        .j-new-99-tutorial--new-cta-btn-icon {
            margin-left: 8px;
            margin-right: -4px;
            width: 20px;
            height: 20px;
        }
        .j-new-99-tutorial--new-cta-note {
            font-size: 14px;
            color: #1f2937;
            font-weight: 600;
            text-decoration: none;
            border-bottom: 2px solid #ad1919;
            transition: color 0.2s ease;
        }
        .j-new-99-tutorial--new-cta-note:hover {
            color: #ad1919;
        }
        @media (min-width: 768px) {
            .j-new-99-tutorial--new-cta-title {
                font-size: 36px;
            }
            .j-new-99-tutorial--new-cta-subtitle {
                font-size: 16px;
            }
            .j-new-99-tutorial--new-cta-body {
                padding: 40px;
            }
            .j-new-99-tutorial--new-cta-highlight-text {
                font-size: 16px;
            }
        }
        @media (max-width: 639px) {
            .j-new-99-tutorial--new-cta-action {
                flex-direction: column;
                align-items: stretch;
                text-align: center;
            }
            .j-new-99-tutorial--new-cta-btn {
                width: 100%;
            }
        }


/* --- */