/* ──────────────────────────────────────────────
   Your original base + dark theme
──────────────────────────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: Arial, Helvetica, sans-serif;
    background: #000000;
    color: #2c80ff;
    line-height: 1.25;
}

/* Header / Banner – fixed at top, height auto-adjusts to image */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: #000000;
    border-bottom: .5px solid #222;
    width: 100%;
    overflow: hidden;               /* prevents any image overflow */
}

/* Banner image – responsive, no fixed height on container */
.header img {
    width: 100%;
    height: auto;
    display: block;                 /* removes any bottom gap */
    max-height: 85px;              /* ← your original max; adjust if needed */
    object-fit: contain;
}

/* Container – starts BELOW the header using padding (not margin) */
.container {
    display: flex;
    padding-top: 80px;             /* ← MUST match or exceed header img max-height */
    min-height: calc(100vh - 100px);
    width: 100%;
    max-width: 1675px;
    margin: 0 auto;
    background: #000000;
}

/* Sidebar – starts below header (same padding-top as container) */
.sidebar {
    position: fixed;
    top: 80px;                     /* ← same as container padding-top */
    left: 0;
    width: 200px;
    height: calc(100vh - 90px);
    background: #111111;
    color: rgb(255, 255, 255);
    padding: 0;
    overflow-y: auto;
    z-index: 90;
}

/* Main content – left margin for sidebar, no extra top padding needed */
.main-content {
    flex: 1;
    margin-left: 200px;
    padding: 2rem 2rem 2rem 2rem;
    background: #000000;
    color: #e7e7e7;
    min-width: 0;
}

/* Sidebar subtabs */
.sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar .main-page {
    font-weight: bold;
    padding: 1.3rem;
    display: block;
}

.sidebar .subtabs {
    padding-left: 2rem;           /* slight indent */
}

.sidebar .subtab {
    display: block;
    padding: 0.5rem;
    color: #ccc;
    font-size: 0.75rem;
    transition: all 0.2s;
}

.sidebar .subtab:hover {
    background: #333;
    color: white;
}

/* Active subtab highlight (optional) */
.sidebar .subtab.active {
    border-left: 8px solid #ffffff;
    color: white;
    background: #444;
}

.sidebar a {
    display: block;
    padding: 1rem;
    color: rgb(255, 255, 255);
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;               /* default no highlight */
}

/* Active page: white vertical bar + highlighted background */
.sidebar a.active {
    border-left: 8px solid #ffffff;        /* white vertical bar */
    color: white;
    font-weight: bold;                     /* optional emphasis */
}

/* Hover: highlight background only (no white bar unless active) */
.sidebar a:hover {
    border-left: 8px solid #ffffff; 
    background: #878787;
    /* Do NOT add border-left here — it would add bar on hover */
}

/* Ensure hover doesn't override active state */
.sidebar a.active:hover {
    background: #878787;                   /* keep same highlight */
    border-left: 8px solid #ffffff;         /* keep white bar */
}

/* Menu items with submenus */
.has-submenu {
    position: relative;
}

.main-page {
    font-weight: bold;
    padding: 1.3rem 1.5rem;
    display: block;
    transition: background 0.2s;
    cursor: pointer;
}

.main-page:hover {
    background: #222;
}

.main-page.active {
    border-left: 8px solid #ffffff !important;
    color: white;
    background: #333;
}

/* Subtabs – shown on hover by default */
.subtabs {
    padding-left: 1.8rem;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out;
    background: #0f0f0f;
    border-left: 2px solid #444;
}

.has-submenu:hover .subtabs {
    max-height: 300px;              /* enough for all items */
}

/* Clicked state overrides hover (forces open/closed) */
.subtabs.open {
    max-height: 300px !important;
}

/* Subtab styling */
.subtab {
    display: block;
    padding: 0.7rem 1.5rem;
    color: #ccc;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.subtab:hover {
    border-left: 8px solid #ffffff; 
    background: #333;
    color: white;
}

.subtab.active {
    border-left: 8px solid #ffffff !important;
    color: white;
    background: #444;
    font-weight: bold;
}

.page-title {
    font-size: 50px;
    font-weight: bold;
    color: #cecece;
    margin-bottom: 1rem;
    text-align: left;
    border-bottom: 2px solid #848484;
    padding-top: 2rem;
    padding-bottom: 0.8rem;
    padding-left: 1rem;
}

.page-title-2 {
    font-size: 50px;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: bold;
    color: #cecece;
    text-align: left;
    position: relative;
    bottom: 18px;
}

.page-title-3 {
    font-size: 50px;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: rgb(198, 198, 198);
    text-align: left;
    position: relative;
    bottom: 16px;
}

.page-title-4 {
    font-size: 50px;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: rgb(202, 202, 202);
    text-align: left;
    position: relative;
    bottom: 16px;
}

.app-title {
    width: 410px;
    height: 55px;
    margin-top: 10px;
}

.content-box {
    background: #1a1a1a;
    padding: 2rem;
    border: 1px solid #444;
    border-radius: 8px;
    min-height: 500px;
}

.content-box h2 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
    color: #949494;
}

.content-box p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Footer – make sure it doesn't get overlapped */
footer {
    text-align: center;
    background: #111111;
    color: white;
    margin-top: 0;
    position: sticky;
    z-index: 80;
}

/* Mobile: disable fixed positions and stack everything */
@media (max-width: 768px) {
    .header {
        position: static;
        height: auto;
    }

    .header img {
        max-height: 80px;
    }

    .container {
        padding-top: 80px;
    }

    .sidebar {
        top: 80px;
        height: calc(100vh - 80px);
    }

    .main-content {
        margin-left: 0;
        padding: 1.5rem;
    }
}

/* -------------------- */

/* Dropdown section styling */
.section-wrapper {
    margin-bottom: 0.1rem; /* space between sections when all closed */
    position: relative;
}

.section-toggle {
    font-size: 2.2rem;
    color: #949494;
    padding: 0.8rem 1.9rem;
    margin: 0;
    background: #1a1a1a;
    border: 1px solid #444;
    border-radius: 4px;
    cursor: pointer;
    user-select: none;
    position: sticky;
    top: 0;
    z-index: 20;
    transition: background 0.2s;
}

.section-toggle:hover {
    background: #252525;
}

.section-content {
    background: #1a1a1a;
    border: 1px solid #444;
    border-top: none;
    border-radius: 0 0 4px 4px;
    padding: 1rem;
    transition: max-height 0.4s ease-out, opacity 0.3s ease-out;
    overflow: hidden;
    max-height: 3000px; /* large enough for content */
    opacity: 1;
}

.section-wrapper.closed .section-content {
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
}

/* Make sure sticky headers stack properly */
.section-toggle {
    top: 0;
}

/* ──────────────────────────────────────────────
   index.html specific styles (Rogue Sector home page)
──────────────────────────────────────────────── */

/* -----App Store-----*/

.content-box-app-1 {
    background: #1a1a1a;
    padding: .5rem 1rem;
    border: 1px solid #444;
    border-radius: 4px;
    min-height: 350px;
    min-width: 100px;
}

.content-box-app-1 h2 {
    font-size: 2.2rem;
    color: #949494;
    padding-left: 1.9rem;
}

/* Container for icon + badge (stacked vertically) */
.app-icon-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;                    /* space between icon and badge */
    margin-top: 0px;
    margin-right: 10px;
}

/* Badge styling */
.app-store-badge-link {
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.app-store-badge {
    width: 165px;                 /* standard Apple badge width – adjust if needed */
    height: auto;
    object-fit: contain;
}

/* Hover effect on badge (subtle zoom + brightness) */
.app-store-badge-link:hover .app-store-badge {
    transform: scale(1.08);
    filter: brightness(1.15);
}

/* App Store section – responsive fixes */
.app-icon-and-text {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
    margin-left: .8rem;
}

.app-icon-link {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 1rem;
}

/* Optional: if you want even finer control on the image itself */
.app-icon {
    width: 205px;
    height: 205px;
    object-fit: contain;
    border-radius: 26%;
    box-shadow: 0 8px 25px rgba(252, 255, 81, 0.3);
    border: 2px solid #d5d5d5;
    transition: all 0.3s ease;
}

.app-icon-link:hover .app-icon {
    transform: scale(1.08);
    box-shadow: 0 12px 35px rgba(238, 255, 55, 0.5);
    border-color: #f3ff06;
}

/* Make sure description takes remaining space */
.app-description {
    flex: 1;
    max-width: 700px;
    min-width: 280px;
    text-align: left;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    margin-top: 1px !important;
}

/* Fix tiny line-height – use more reasonable values */
.app-description .download-p {
    font-size: 24px;
    font-weight: bold;
    color: #dcdcdc;
    margin: 0 0 1.5rem 0;
    margin-top: 10px;
    line-height: 4px;
}

.app-description .descript-p,
.app-description .import-texta,
.app-description .import-textb {
    font-size: 16px;
    color: #dfdfdf;
    margin: 0 0 1rem 0;
    line-height: 1;
}

.app-description .import-textc,
.app-description .import-textd {
    font-size: 14px;
    color: #dfdfdf;
    margin: 0 0 1.1rem 0;
    line-height: 1;
}

/* Indented bullet list */
.import-list {
    list-style: disc;
    padding-left: 2.5rem;
    margin: 0 0 1rem 0;
    color: #d8d8d8;
}

.import-list li {
    font-size: 12px;
    margin-bottom: 1px;
    line-height: 1.4;
}

.app-description .descript-r {
    font-size: 14px;
    color: #d8d8d8;
    margin-top: 1rem;
}

/* Mobile: stack everything vertically */
@media (max-width: 768px) {
    .app-icon-and-text {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .app-icon-container {
        margin-top: 1rem;
    }

    .app-store-badge {
        width: 140px;             /* slightly smaller on mobile */
    }

    .app-icon {
        width: 160px;               /* smaller icon on mobile */
        height: 160px;
    }

    .app-description {
        min-width: 100%;            /* full width */
        text-align: center;         /* centered for mobile */
    }

    .app-description .download-p {
        font-size: 20px;
    }

    .app-description .descript-p,
    .app-description .import-texta,
    .app-description .import-textb {
        font-size: 16px;
        line-height: 1.5;           /* even more space */
    }

    .app-description .import-textc,
    .app-description .import-textd {
        font-size: 14px;
        text-indent: 30px;          /* smaller indent */
    }
}

/* -----Requirements-----*/

.content-box-app-2 {
    background: #1a1a1a;
    padding: .5rem 1rem;
    border: 1px solid #444;
    border-radius: 4px;
    min-height: 450px;
    min-width: 100px;
}

.content-box-app-2 h2 {
    font-size: 2.2rem;
    color: #949494;
    padding-left: 1.9rem;
}

/* Requirements section wrapper – slight indent */
.requirements-section {
    display: flex;
    align-items: flex-start;
    gap: 1px;        /* space between header and grid */
    flex-wrap: wrap;
    margin-right: 0px;
    margin: 1.5rem 0 2rem 1.5rem;   /* slight left indent for the whole section */
}

/* Header on left */
.sect-header1 {
    font-size: 18px;
    color: #cfcfcf;
    font-weight: bold;
    margin: 0.1rem 0 0 0;
    min-width: 160px;
    flex-shrink: 0;
}

.requirements-grid {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(180px, auto) 1fr;  /* label | value */
    gap: 0;   /* no gap – borders create separation */
    background: #2a2a2a;
    border: 0.5px solid #444;
    border-radius: 4px;
    overflow: hidden;        /* keeps inner borders clean */
    min-width: 0;
}

/* All cells */
.requirements-grid > div {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid #444;  /* horizontal line after every row */
    border-right: 1px solid #444;   /* vertical line – only on odd (label) cells */
}

/* Vertical line only on label column */
.requirements-grid > div:nth-child(odd) {
    border-right: 1px solid #444444;
}

/* Remove bottom border from last row */
.requirements-grid > div:nth-last-child(-n+2) {
    border-bottom: none;
}

/* Label cells */
.req-label {
    font-size: 14px;
    font-weight: bold;
    color: #e9e9e9;
    text-align: right;
    padding-right: 1.2rem;
    white-space: nowrap;
    background: #242424;
}

.req-label-s {
    font-size: 12px;
    font-weight: bold;
    color: #72d7ff;
    text-align: right;
    padding-right: 1.2rem;
    margin: 0px;
    background: #444;
}

/* Value cells – italicized */
.req-value {
    font-size: 13px;
    color: #d8d8d8;
}

.req-value a {
    font-size: 13px;
    color: #d8d8d8;
    font-style: italic;
    line-height: 1.5;
}

.req-value-s {
    font-size: 10px;
    color: #9bcfff;
    text-align: left;
    font-style: italic;
    line-height: 1.5;
    padding-top: 6px;
    padding-bottom: 6px;
    background: #444;
}

.req-value-s a{
    color: #10bbff;
    font-style: italic;
}

/* Not Compatible – outside grid, aligned like others, only red font */
.not-compatible {
    margin-top: 20px;
    display: flex;
    align-items: baseline;
    gap: 1rem;
    width: 100%;
    padding-left: 12rem;
}

.not-compatible .req-value-red {
    font-size: 12px;
    color: #a20000;
    font-style: italic;
    line-height: 1.5;
}

/* Mobile adjustments */
@media (max-width: 992px) {
    .requirements-section {
        flex-direction: column;
        margin-left: 1rem;
        gap: 1.2rem;
    }
    .sect-header1 {
        text-align: center;
        min-width: auto;
    }
    .requirements-grid {
        grid-template-columns: 1fr;
        border: 1px solid #444;
    }
    .req-label,
    .req-value {
        border-right: none !important;
        border-bottom: 1px solid #444;
        text-align: left;
    }
    .not-compatible {
        flex-direction: column;
        gap: 0.4rem;
        padding-left: 0;
        text-align: center;
    }
    .not-compatible .req-label {
        min-width: auto;
        text-align: center;
    }
}

/* -----Features-----*/

.content-box-app-3 {
    background: #1a1a1a;
    padding: .5rem 1rem;
    border: 1px solid #444;
    border-radius: 4px;
    min-height: 350px;
    min-width: 100px;
}

.content-box-app-3 h2 {
    font-size: 2.2rem;
    color: #949494;
    padding-left: 1.9rem;
}

/* Features section wrapper – slight indent */
.features-section {
    display: flex;
    align-items: flex-start;
    gap: 1px;        /* space between header and grid */
    flex-wrap: wrap;
    margin: 1.5rem 0 2rem 1.5rem;   /* slight left indent for the whole section */
}

/* Header on left */
.sect-header1 {
    font-size: 18px;
    color: #cfcfcf;
    font-weight: bold;
    margin: 0.1rem 0 0 0;
    min-width: 160px;
    flex-shrink: 0;
}

/* Features split – images + captions below */
.features-split {
    display: flex;
    gap: 1.5rem;                   /* slight gap between image/caption pairs */
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2rem;           /* space before grid */
}

/* Ensure images and captions stay aligned */
.features-split-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 280px;
    max-width: 48%;
}

.split-img1 {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    border: 1px solid #7f5050;
    box-shadow: 0 4px 12px rgba(218, 34, 34, 0.5);
    margin-bottom: 0.8rem;         /* space between image and caption */
}

.split-img2 {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    border: 1px solid #50677f;
    box-shadow: 0 4px 12px rgba(34, 105, 218, 0.5);
    margin-bottom: 0.8rem;         /* space between image and caption */
}

/* Small gap between major sections */
.grid-gap {
    height: 0.5rem;
}

/* Subsection header (Rogue Command) */
.subsection-header1 {
    font-size: 1.4rem;
    color: #e3e3e3;
    font-weight: bold;
    margin-top: 2rem;
    padding-left: 1rem;
    border-left: 4px solid #949494;
    background: #53a0ff3f;
    padding: 0.4rem;
    border-radius: 4px;
}

/* Subsection header (Rogue Mapper) */
.subsection-header2 {
    font-size: 1.4rem;
    color: #e3e3e3;
    font-weight: bold;
    margin-top: 2rem;
    padding-left: 1rem;
    border-left: 4px solid #949494;
    background: #ff53533f;
    padding: 0.4rem;
    border-radius: 4px;
}

/* Caption boxes under images – same width as image */
.split-caption1 {
    width: 100%;
    padding: 0.8rem 1rem;
    background: #191919;
    border: 1px solid #fe0000;
    border-radius: 6px;
    color: #d8d8d8;
    font-size: 16px;
    text-align: center;
    line-height: 1.4;
}

/* Caption boxes under images – same width as image */
.split-caption2 {
    width: 100%;
    padding: 0.8rem 1rem;
    background: #191919;
    border: 1px solid #005dfe;
    border-radius: 6px;
    color: #d8d8d8;
    font-size: 16px;
    text-align: center;
    line-height: 1.4;
}

.split-caption p {
    margin: 0.3rem 0 0 0;
    font-size: 12px;
    color: #a0a0a0;
}

.left-box .img-left {
    width: 50%;
    height: auto;
    object-fit: contain;
}

.right-box .img-right {
    width: 50%;
    height: auto;
    object-fit: contain;
}

.features-grid-2 {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(180px, auto) 1fr;  /* label | value */
    gap: 0;   /* no gap – borders create separation */
    background: #2a2a2a;
    border: 0.5px solid #444;
    border-radius: 4px;
    overflow: hidden;        /* keeps inner borders clean */
    min-width: 0;
}

/* All cells */
.features-grid-2 > div {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid #444;  /* horizontal line after every row */
    border-right: 1px solid #444;   /* vertical line – only on odd (label) cells */
}

/* Vertical line only on label column */
.features-grid-2 > div:nth-child(odd) {
    border-right: 1px solid #444;
}

/* Remove bottom border from last row */
.features-grid-2 > div:nth-last-child(-n+2) {
    border-bottom: none;
}

/* Label cells */
.feat-label {
    font-size: 14px;
    font-weight: bold;
    color: #e9e9e9;
    text-align: right;
    padding-right: 1.2rem;
    white-space: nowrap;
    background: #242424;
}

/* Value cells – italicized */
.feat-value {
    font-size: 13px;
    color: #d8d8d8;
    line-height: 1.5;
}

/* Responsive stacking on small screens */
@media (max-width: 768px) {
    .features-split {
        flex-direction: column;
        gap: 2rem;
    }
    .features-split-box {
        max-width: 100%;
    }
    .grid-gap {
        height: 1.5rem;
    }
    .subsection-header {
        font-size: 1.6rem;
        text-align: center;
        border-left: none;
        border-top: 3px solid #949494;
        margin-top: 1.5rem;
    }
}

/* Make sure grid stays below images */
.features-grid-2 {
    margin-top: 0;                 /* no extra top margin needed */
}

/* -----PlaceHolder1-----*/

.content-box-app-4 {
    background: #1a1a1a;
    padding: .5rem 1rem;
    border: 1px solid #444;
    border-radius: 4px;
    min-height: 350px;
    min-width: 100px;
}

.content-box-app-4 h2 {
    font-size: 2.2rem;
    color: #949494;
    padding-left: 1.9rem;
}

/* Header on left */
.sect-header1 {
    font-size: 18px;
    color: #cfcfcf;
    font-weight: bold;
    margin: 0.1rem 0 0 0;
    min-width: 160px;
    flex-shrink: 0;
}

.placeh1-grid-3 {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(180px, auto) 1fr;  /* label | value */
    gap: 0;   /* no gap – borders create separation */
    background: #2a2a2a;
    border: 0.5px solid #444;
    border-radius: 4px;
    overflow: hidden;        /* keeps inner borders clean */
    min-width: 0;
}

/* All cells */
.placeh1-grid-3 > div {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid #444;  /* horizontal line after every row */
    border-right: 1px solid #444;   /* vertical line – only on odd (label) cells */
}

/* Vertical line only on label column */
.placeh1-grid-3 > div:nth-child(odd) {
    border-right: 1px solid #444;
}

/* Remove bottom border from last row */
.placeh1-grid-3 > div:nth-last-child(-n+2) {
    border-bottom: none;
}

/* Label cells */
.placeh1-label {
    font-size: 14px;
    font-weight: bold;
    color: #e9e9e9;
    text-align: right;
    padding-right: 1.2rem;
    white-space: nowrap;
    background: #242424;
}

/* Value cells – italicized */
.placeh1-value {
    font-size: 13px;
    color: #d8d8d8;
    font-style: italic;
    line-height: 1.5;
}

/* -----PlaceHolder2-----*/

.content-box-app-5 {
    background: #1a1a1a;
    padding: .5rem 1rem;
    border: 1px solid #444;
    border-radius: 4px;
    min-height: 350px;
    min-width: 100px;
}

.content-box-app-5 h2 {
    font-size: 2.2rem;
    color: #949494;
    padding-left: 1.9rem;
}

/* Header on left */
.sect-header1 {
    font-size: 18px;
    color: #cfcfcf;
    font-weight: bold;
    margin: 0.1rem 0 0 0;
    min-width: 160px;
    flex-shrink: 0;
}

.placeh2-grid-3 {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(180px, auto) 1fr;  /* label | value */
    gap: 0;   /* no gap – borders create separation */
    background: #2a2a2a;
    border: 0.5px solid #444;
    border-radius: 4px;
    overflow: hidden;        /* keeps inner borders clean */
    min-width: 0;
}

/* All cells */
.placeh2-grid-3 > div {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid #444;  /* horizontal line after every row */
    border-right: 1px solid #444;   /* vertical line – only on odd (label) cells */
}

/* Vertical line only on label column */
.placeh2-grid-3 > div:nth-child(odd) {
    border-right: 1px solid #444;
}

/* Remove bottom border from last row */
.placeh2-grid-3 > div:nth-last-child(-n+2) {
    border-bottom: none;
}

/* Label cells */
.placeh2-label {
    font-size: 14px;
    font-weight: bold;
    color: #e9e9e9;
    text-align: right;
    padding-right: 1.2rem;
    white-space: nowrap;
    background: #242424;
}

/* Value cells – italicized */
.placeh2-value {
    font-size: 13px;
    color: #d8d8d8;
    font-style: italic;
    line-height: 1.5;
}


/* ──────────────────────────────────────────────
   On the index.html page
Tutorial DropDown Section – 2 Boxes side by side
──────────────────────────────────────────────── */
/* Tutorial section – 2 clickable boxes side-by-side */
.tutorial-split {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    margin: 1.5rem 0;
}

.split-box {
    flex: 1;
    min-width: 300px;
    max-width: 45%;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
}

.split-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.youtube-box,
.manual-box {
    background: #1e1e1e;
    border: 1px solid #444;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.youtube-box {
    border-color: #ff0000;
    background: linear-gradient(135deg, #2a0000, #1e1e1e);
}

.manual-box {
    border-color: #00aaff;
    background: linear-gradient(135deg, #001f33, #1e1e1e);
}

.youtube-box h3,
.manual-box h3 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    color: #e0e0e0;
}

.youtube-box p,
.manual-box p {
    font-size: 1.1rem;
    color: #a0a0a0;
}

/* Mobile: stack boxes vertically */
@media (max-width: 768px) {
    .tutorial-split {
        flex-direction: column;
        gap: 1.5rem;
    }
    .split-box {
        max-width: 100%;
    }
}


/* ──────────────────────────────────────────────
Tutorial1 Section – 2 Boxes side by side
──────────────────────────────────────────────── */
/* Youtube Tutorial page */
.youtube-main-wrapper {
    max-width: 900px;
    margin: 2rem auto;
    border: 1px solid #444;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

.youtube-thumbs {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin: 1.5rem auto;
    max-width: 900px;
}

.thumb-cell {
    flex: 1;
    min-width: 160px;
    max-width: 180px;
    cursor: pointer;
    transition: transform 0.2s;
    text-align: center;
}

.thumb-cell:hover {
    transform: scale(1.05);
}

.thumb-cell img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    border: 1px solid #555;
}

.thumb-cell p {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #ccc;
}

.manual-placeholder {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem;
    background: #1a1a1a;
    border: 1px solid #444;
    border-radius: 8px;
    text-align: center;
    font-size: 1.2rem;
    color: #aaa;
}