* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--background-primary);
    color: var(--text-primary);
    padding-left: 200px;
    position: relative; /* Needed for pseudo-elements */
    overflow-x: hidden; /* Hide horizontal overflow from glows */
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 100% 0%, rgba(147, 51, 234, 0.15) 0%, transparent 50%),
                      radial-gradient(circle at 0% 100%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
    z-index: 0;
    mix-blend-mode: screen;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
}

/* Social Card Description */
p.social-description {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    text-align: center;
    max-width: 200px; /* Constrain width */
}

:root {
    --background-primary: #121212;
    --background-secondary: #181818;
    --border-color: #333333; /* Slightly lighter for better contrast */
    
    /* THE NEW PUNCHY PURPLE */
    --primary-purple: #be47f5; /* A vibrant, modern violet */
    --primary-glow: rgba(222, 78, 241, 0.45); /* Glow to match */

    --text-primary: #f3f4f6; /* A slightly softer white */
    --text-secondary: #9ca3af; /* A lighter gray for better readability */
}

/* Sidebar */
.sidebar {
    width: 200px;
    background: rgba(24, 24, 24, 0.35);
-webkit-backdrop-filter: blur(16px); /* Blur effect for Safari */
backdrop-filter: blur(16px); /* The standard blur effect */
    border-right: 1px solid #2a2a2a;
    padding: 20px;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 10; /* ADD THIS LINE */
    user-select: none; /* Prevents text selection on lock */
}

.profile {
    margin-bottom: 30px;
}

.profile-pic {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #2a2a2a;
    margin-bottom: 10px;

    background-image: url('images/profile_png.png'); /* Change to your image path */
    background-size: cover;          /* Ensures the image fills the circle */
    background-position: center;     /* Centers the image in the circle */
}

.profile h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 2px;
}

.profile p {
    font-size: 13px;
    color: #888;
    margin-bottom: 5px;
}

.nav-section {
    margin-bottom: 30px;
}

.nav-section h4 {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    font-weight: 600;
}

.nav-item {
    padding: 10px 12px;
    margin-bottom: 4px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 14px;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none; /* ADD THIS to remove the underline */
}

.nav-item:hover {
    background: #2a2a2a;
}

.nav-item.active {
    color: var(--primary-purple);
    background: rgba(147, 51, 234, 0.1); /* Faint purple background */
}

.nav-icon {
    font-size: 16px;
}

/* Main Content */
.main-content {
    margin: 0 auto;
    width: 100%;
    max-width: 900px;
    padding: 60px 80px;
    position: relative; /* Needed for the decorative line */
    z-index: 2; /* Ensure content is above background glows */
}

/* Final, corrected version of the decorative lines */
.main-content::before, .main-content::after {
    content: '';
    position: fixed;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(transparent, var(--border-color) 5%, var(--border-color) 95%, transparent);
    z-index: 1;
}

.main-content::before {
    left: calc(50vw + 100px - 450px); /* (Center of viewport) - (half of sidebar) - (half of content) */
    box-shadow: 0 0 15px 3px rgba(147, 51, 234, 0.1);
}

.main-content::after {
    left: calc(50vw + 100px + 450px); /* (Center of viewport) - (half of sidebar) + (half of content) */
    box-shadow: 0 0 15px 3px rgba(147, 51, 234, 0.1);
}

.header {
    margin-bottom: 60px;
    text-align: center;
}

.header h1 {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 15px;
}

.header h1 .name {
    color: var(--primary-purple);
    text-shadow: 0 0 10px var(--primary-glow);
}

.header h1 .divider {
    color: #444;
    margin: 0 15px;
}

.header h1 .title {
    color: #888;
    font-weight: 400;
}

.header p {
    font-size: 16px;
    color: #999;
    line-height: 1.8;
    margin-bottom: 25px;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.contact-btn:hover {
    background: #181818;
    border-color: var(--primary-purple);
    box-shadow: 0 0 10px var(--primary-glow);
}

.time {
    display: inline-block;
    margin-left: 15px;
    color: #666;
    font-size: 14px;
}

/* Sections */
.section {
    margin-bottom: 60px;
}

.section.who-am-i {
    text-align: center;
}

.section h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 30px;
}

.section p {
    font-size: 15px;
    color: #aaa;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Skills/Tools Grid */
.skills-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.skill-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: var(--background-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.skill-item:hover {
    border-color: var(--primary-purple);
    transform: translateY(-3px);
    box-shadow: 0 0 15px var(--primary-glow);
}

.skill-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.skill-icon {
    width: 24px;
    height: 24px;
    font-size: 20px;
}

.skill-info h3 {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 2px;
}

.skill-info p {
    font-size: 13px;
    color: #666;
    margin: 0;
    text-align: left;
}

.skill-years {
    font-size: 13px;
    color: #666;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}

.project-card {
    padding: 20px;
    background: var(--background-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.project-card:hover {
    border-color: var(--primary-purple);
    transform: translateY(-5px);
    box-shadow: 0 0 20px var(--primary-glow);
}
.project-card:hover h3 {
    color: var(--primary-purple);
    text-shadow: 0 0 8px var(--primary-glow);
}

.project-card h3 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.project-card p {
    font-size: 14px;
    color: #888;
    margin: 0;
    text-align: left;
}

/* Socials Grid */
.socials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.social-card {
    background: var(--background-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-purple);
    box-shadow: 0 0 20px var(--primary-glow);
}

.social-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.social-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-primary);
}

p.social-handle {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    margin-bottom: 12px;
}

/* Footer Clock */
.footer-clock {
    position: fixed;
    bottom: 20px;
    left: 20px;
    font-size: 13px;
    color: #666;
}

.footer-clock div {
    margin-bottom: 2px;
}

/* Contact Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #181818;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.modal.active .modal-content {
    opacity: 1;
    transform: scale(1);
}

.modal-content h2 {
    margin-bottom: 20px;
    font-size: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: #000;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    margin-bottom: 12px;
}

.contact-item span {
    font-size: 14px;
    color: #ccc;
}

.copy-btn {
    padding: 6px 14px;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.copy-btn:hover {
    background: #2a2a2a;
}

.copy-btn.copied {
    background: #2a6f3e;
    border-color: #3a8f5e;
}

.close-modal {
    margin-top: 20px;
    padding: 10px;
    width: 100%;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
}

/* === ADD THESE NEW RULES TO THE END OF THE FILE === */

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-15px); }
}

.project-detail-header {
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.back-btn {
    /* No longer absolutely positioned */
    display: inline-block;
    margin-bottom: 25px; /* Creates space between button and title */
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 14px;
    padding: 0; /* Removes default padding for a cleaner look */
    transition: color 0.2s;
}

.back-btn:hover {
    color: var(--text-primary);
}

.project-detail-header h1 {
    font-size: 36px;
    color: var(--text-primary);
}

.project-detail-content h2 {
    font-size: 24px;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.project-detail-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
}

.project-detail-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #aaa;
    margin-bottom: 20px;
}

.project-detail-content strong {
    font-weight: 600;
    color: var(--text-primary);
}

.project-detail-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 20px 0;
    border: 1px solid var(--border-color);
}

.text-glow {
    color: var(--primary-purple);
    text-shadow: 0 0 10px var(--primary-glow);
    font-weight: 500;
}

/* Code Snippet Styling */
.project-detail-content pre {
    background: #0d0d0d;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    overflow-x: auto; /* For horizontal scrolling on long lines */
    margin: 20px 0;
}

.project-detail-content code {
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 14px;
    color: #ccc;
}

/* General Page Section Animation */
.page-section.fade-in {
    animation: fadeIn 0.3s ease-out forwards;
}

.page-section.fade-out {
    animation: fadeOut 0.3s ease-in forwards;
}

/* --- SVG Icon Styling --- */

/* Base style for ALL icons. Sets the default size and transition, but NO color filter. */
.icon-svg {
    width: 30px;
    height: 30px;
    vertical-align: middle;
    transition: all 0.3s ease;
}

/* --- Sidebar Icon Specific Rules --- */

/* 1. Targets ONLY the sidebar icons to make them smaller and recolor them. */
.nav-icon .icon-svg {
    width: 20px;
    height: 20px;
    /* This filter turns a black SVG into the light gray text color */
    filter: invert(85%) sepia(6%) saturate(141%) hue-rotate(190deg) brightness(91%) contrast(89%);
}

/* 2. Targets ONLY the ACTIVE sidebar icon to turn it purple. */
.nav-item.active .icon-svg {
    /* This filter turns a black SVG into the theme purple color */
    filter: invert(29%) sepia(99%) saturate(3431%) hue-rotate(270deg) brightness(92%) contrast(96%);
}


/* --- Main Content Icon Rules --- */

/* Sets a larger size for Socials icons, leaving their color alone. */
.social-icon .icon-svg {
    width: 40px;
    height: 40px;
}

/* Applies the simple brightness hover effect you like to the skills icons. */
.skill-item:hover .icon-svg {
    filter: brightness(1.2);
}

/* --- Support Me Page Styling --- */

.donation-container {
    display: flex;
    justify-content: space-around;
    gap: 40px; /* Space between the two columns */
    flex-wrap: wrap; /* Allows columns to stack on smaller screens */
}

.donation-column {
    flex: 1; /* Each column tries to take up equal space */
    min-width: 300px; /* Prevents columns from getting too narrow */
    background: var(--background-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
}

.donation-column h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 18px;
    font-weight: 600;
}

.donation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 12px;
}

.donation-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: #0d0d0d;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.donation-button:hover {
    background: var(--background-secondary);
    border-color: var(--primary-purple);
    color: var(--primary-purple);
    transform: translateY(-2px);
    box-shadow: 0 0 10px var(--primary-glow);
}

/* --- Custom List Styling for Project Details --- */

/* Styles the list container (the <ul> element) */
.project-detail-content ul {
    list-style: none; /* Removes the default black bullet points */
    padding-left: 0; /* Removes the default browser indentation */
    margin: 20px 0;
}

/* Styles each individual list item (the <li> element) */
.project-detail-content li {
    position: relative; /* This is essential for positioning the custom bullet */
    padding-left: 25px; /* Creates space for our custom bullet */
    margin-bottom: 12px; /* Adds space between each list item */
    font-size: 15px;
    color: #aaa;
    line-height: 1.7;
}

/* This creates the new, custom bullet point */
.project-detail-content li::before {
    content: '→'; /* You can change this to another character like '•' or '—' */
    position: absolute;
    left: 0; /* Aligns the bullet to the far left of the list item */
    top: 0px;

    /* --- The important styling --- */
    color: var(--primary-purple); /* Makes the bullet purple */
    font-weight: bold;
    font-size: 16px;
}

/* --- Spoiler Styling --- */

/* The default, hidden state of the spoiler */
.spoiler {
    background-color: var(--background-secondary); /* A dark block to hide the text */
    color: transparent; /* Makes the text itself invisible */
    border-radius: 4px;
    padding: 0 4px; /* A little space inside the block */
    cursor: pointer; /* Shows the user they can click it */
    transition: all 0.2s ease;
}

/* A subtle effect when the user hovers over the spoiler */
.spoiler:hover {
    background-color: #2a2a2a; /* Slightly lighter on hover */
}

/* The state after the user clicks the spoiler */
.spoiler.revealed {
    background-color: transparent; /* Removes the dark block */
    color: inherit; /* Makes the text reappear with its normal color */
    cursor: default; /* No longer needs a pointer cursor */
    padding: 0;
}

/* --- PC Specs Page Styling --- */

.specs-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.spec-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; /* Allows text to wrap on small screens */
    gap: 10px; /* Space between key and value if they wrap */

    padding: 16px;
    background: var(--background-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.spec-item:hover {
    border-color: var(--primary-purple);
    transform: scale(1.02); /* A subtle zoom effect on hover */
    box-shadow: 0 0 15px var(--primary-glow);
}

.spec-key {
    display: flex;        /* This enables the gap property */
    align-items: center;  /* This vertically centers the icon with the text */
    gap: 12px;            /* This adds the space you were missing */
    
    font-weight: 600;
    color: var(--text-secondary);
    flex-shrink: 0;
}

/* 2. Styles the new icon itself */
.spec-icon {
    width: 20px;   /* Reduced from 22px to 20px to look sharper */
    height: 20px;
    /* This filter recolors your black/white SVGs to match the gray text color */
    filter: invert(56%) sepia(8%) saturate(0%) hue-rotate(186deg) brightness(91%) contrast(88%);
    transition: filter 0.3s ease;
}

/* 3. Adds a hover effect to the icon */
.spec-item:hover .spec-icon {
    /* This filter makes the icon glow with the theme's purple color on hover */
    filter: invert(29%) sepia(99%) saturate(3431%) hue-rotate(270deg) brightness(92%) contrast(96%);
}

/* --- Reusable Action Button Styling --- */

/* Used for prominent links like GitHub Source or Roblox Store */
/* Final, corrected version of the action button */
.action-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    
    /* Default padding for TEXT-ONLY buttons (like the Store button) */
    padding: 8px 18px;

    background-color: var(--background-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

/* This is the magic: an override for ONLY buttons that have an <img> inside */
.action-button:has(img) {
    /* Your preferred "squished" padding for the GitHub button */
    padding: 1px 20px;
}

.action-button:hover {
    border-color: var(--primary-purple);
    color: var(--primary-purple);
    transform: translateY(-2px);
    box-shadow: 0 0 15px var(--primary-glow);
}

/* A helper container to center the button on the Support Me page */
.action-button-container {
    /* This makes the container take up the full width of the flex row */
    flex-basis: 100%; 
    text-align: center;
    /* This creates the space between it and the columns below */
    margin-bottom: 40px; 
}

/* This special rule finds any paragraph directly BEFORE the button and removes its bottom margin to prevent double spacing */
p + .action-button-container {
    margin-top: 30px;
}

/* Selects the paragraph directly AFTER the button container and removes its top margin */
.action-button-container + p {
    margin-top: 30px; /* Adds a matching top margin to the paragraph below */
}

/* Now, we adjust the button container itself to no longer use vertical margins */
.action-button-container {
    text-align: center;
    margin: 0; /* Remove the vertical margin from the container itself */
}

/* --- Section Divider Line --- */
.section-divider {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 20px auto 40px;
    width: 50%;
}

/* Custom Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--background-secondary);
}

::-webkit-scrollbar-thumb {
    background-color: #4a4a4a; /* A neutral dark gray */
    border-radius: 10px;
    border: 2px solid var(--background-secondary); /* Creates a nice padding effect */
    transition: background-color 0.2s;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--primary-purple);
}

/* --- Commissions Specific Styles --- */

/* Flex container to separate Title and Price */
.commission-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Aligns top in case title wraps */
    gap: 10px;
    margin-bottom: 8px;
}

/* Remove default margin from h3 inside this header so flex works better */
.commission-header h3 {
    margin-bottom: 0;
    line-height: 1.4;
}

/* The Price Tag Container */
.commission-price {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    padding: 4px 8px;
    border-radius: 12px;
    flex-shrink: 0; /* Prevents squishing */
    transition: all 0.3s ease;
}

/* Hover effect for the price tag */
.project-card:hover .commission-price {
    border-color: var(--primary-purple);
    background: rgba(147, 51, 234, 0.1);
}

/* The Robux Icon size */
.robux-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

/* The amount text */
.commission-price span {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    font-variant-numeric: tabular-nums; /* Keeps numbers monospaced */
}

/* --- FIX FOR WHITE ICONS (DOLLAR) --- */

/* 1. Normal State: Since it's already white, don't invert it. Just dim it slightly. */
.nav-icon .icon-svg[src*="dollar.svg"] {
    filter: brightness(0.85) !important;
}

/* 2. Active State: Turn it Purple. 
   We have to turn it black first (brightness 0), then apply the purple filter. */
.nav-item.active .nav-icon .icon-svg[src*="dollar.svg"] {
    filter: brightness(0) invert(29%) sepia(99%) saturate(3431%) hue-rotate(270deg) brightness(92%) contrast(96%) !important;
}

/* --- HAMBURGER MENU STYLES --- */

/* Default: Hide hamburger and overlay on PC */
.hamburger-btn {
    display: none;
}
.sidebar-overlay {
    display: none;
}

/* RESPONSIVE / MOBILE SETTINGS */
@media (max-width: 768px) {
    
    /* 1. REMOVE THE SIDEBAR GAP */
    body {
        padding-left: 0 !important; /* Forces content to start at left edge */
    }

    /* 2. HAMBURGER BUTTON STYLES */
    .hamburger-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 15px;
        left: 15px;
        z-index: 1001;
        background: rgba(24, 24, 24, 0.8);
        color: var(--text-primary);
        border: 1px solid var(--border-color);
        border-radius: 8px;
        width: 45px;
        height: 45px;
        font-size: 24px; /* Makes the ☰ icon visible */
        cursor: pointer;
        backdrop-filter: blur(10px);
        transition: all 0.2s ease;
        line-height: 1; /* Ensures icon is vertically centered */
        padding-bottom: 2px; /* Micro-adjustment for text alignment */
    }

    .hamburger-btn:hover {
        border-color: var(--primary-purple);
        color: var(--primary-purple);
        box-shadow: 0 0 10px var(--primary-glow);
    }

    /* 3. DRAWER SIDEBAR LOGIC */
    .sidebar {
        width: 260px;
        height: 100vh;
        position: fixed;
        top: 0;
        left: 0;
        transform: translateX(-100%); /* Hides it off-screen */
        transition: transform 0.3s ease;
        z-index: 1002;
        box-shadow: 5px 0 15px rgba(0,0,0,0.5);
    }

    .sidebar.mobile-active {
        transform: translateX(0); /* Brings it on-screen */
    }

    /* 4. OVERLAY */
    .sidebar-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(3px);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
    }

    .sidebar-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* 5. FIX MAIN CONTENT ALIGNMENT */
    .main-content {
        width: 100%;
        max-width: 100%; /* Ensure it fills the screen */
        margin: 0;
        /* Top padding makes room for the hamburger button */
        padding: 80px 20px 40px 20px; 
    }

    /* 6. REMOVE THE DECORATIVE GLOW LINES ON MOBILE */
    .main-content::before,
    .main-content::after {
        display: none !important;
    }

    /* 7. Footer Clock Adjustment */
    .footer-clock {
        position: relative;
        bottom: 0;
        left: 0;
        margin-top: 40px;
        padding-bottom: 20px;
    }
    
    .header h1 {
        font-size: 32px;
    }
}