:root {
    /* Sci-Fi Palette */
    --neo-white: #121212; /* Dark Background */
    --neo-black: #00FFFF; /* Cyan Borders/Text */
    --neo-pink: #0088FF;  /* Blue Accents */
    --neo-lime: #00FF99;  /* Tech Green */
    --neo-cyan: #00FFFF;
    --neo-orange: #FF0055; /* Alert Red/Pink */
    
    --text-main: #E0E0E0;
    
    --border-thick: 2px solid var(--neo-cyan);
    --shadow-hard: 0px 0px 15px rgba(0, 255, 255, 0.3);
    --shadow-hover: 0px 0px 25px rgba(0, 136, 255, 0.6);
}

/* Add depth to background */
body {
    font-family: 'Courier New', Courier, monospace; /* Sci-Fi Monospace */
    background-color: var(--neo-white);
    /* Sci-Fi Hexagon Background (SVG Data URI) */
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300FFFF' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-size: 60px 60px;
    color: var(--text-main);
    overflow-x: hidden;
}

/* Floating Background Shapes */
.shape-wrapper {
    position: fixed;
    z-index: 1; /* Above body background, below content */
    pointer-events: none;
    will-change: transform;
    /* Add slow transition for the drift effect */
    transition: transform 3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.floating-shape {
    position: relative; /* Changed to relative so it stays inside wrapper */
    opacity: 0.3; /* Increased opacity for visibility */
    pointer-events: none;
    background: var(--neo-cyan); /* Solid cyan color */
    box-shadow: 0 0 15px var(--neo-cyan);
    animation: floatAnim 20s infinite linear;
    backdrop-filter: blur(0px);
}

.shape-square {
    /* Default div is square */
}

.shape-triangle {
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    background: var(--neo-cyan);
}

.shape-cross {
    clip-path: polygon(20% 0%, 80% 0%, 80% 20%, 100% 20%, 100% 80%, 80% 80%, 80% 100%, 20% 100%, 20% 80%, 0% 80%, 0% 20%, 20% 20%);
    background: var(--neo-cyan);
}

/* Missing Animation Fix */
@keyframes floatAnim {
    0% { transform: rotate(0deg) translate(0, 0); }
    33% { transform: rotate(120deg) translate(30px, 30px); }
    66% { transform: rotate(240deg) translate(-30px, 10px); }
    100% { transform: rotate(360deg) translate(0, 0); }
}

/* Corner Decoration (Rotating Squares Fix) */
.corner-decoration {
    position: fixed;
    bottom: 60px; /* Above marquee */
    left: 30px;
    width: 80px;
    height: 80px;
    z-index: 40;
    pointer-events: none;
    opacity: 0.8;
}

.corner-square {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 2px solid var(--neo-cyan);
    box-shadow: 0 0 10px var(--neo-cyan);
    animation: rotateCorner 10s linear infinite;
}

.corner-square:nth-child(2) {
    width: 60%; height: 60%;
    top: 20%; left: 20%;
    border-color: var(--neo-pink);
    box-shadow: 0 0 10px var(--neo-pink);
    animation: rotateCorner 7s linear infinite reverse;
}

@keyframes rotateCorner {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Background Character Glitch Overlay */
.bg-character-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    /* Centered and Enlarged */
    transform: translate(-50%, -50%) scale(1.8); 
    width: 500px;
    height: 500px;
    background-image: url('assets/images/ShoreBig.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.5; /* Half transparent */
    z-index: 2; /* Behind content (10) but above shapes (1) */
    pointer-events: none;
    mix-blend-mode: screen; /* Blends nicely with dark background */
    filter: grayscale(100%) contrast(1.2); /* Sci-fi look */
    animation: charGlitch 4s infinite;
}

@keyframes charGlitch {
    0% { opacity: 0.5; transform: translate(-50%, -50%) scale(1.8) skew(0deg); filter: grayscale(100%) hue-rotate(0deg); clip-path: inset(0 0 0 0); }
    2% { opacity: 0.4; transform: translate(-52%, -48%) scale(1.8) skew(10deg); filter: grayscale(0%) hue-rotate(90deg); clip-path: inset(10% 0 40% 0); }
    4% { opacity: 0.5; transform: translate(-48%, -52%) scale(1.8) skew(-10deg); filter: grayscale(100%) hue-rotate(-90deg); clip-path: inset(40% 0 10% 0); }
    6% { transform: translate(-50%, -50%) scale(1.8) skew(0deg); filter: grayscale(100%) hue-rotate(0deg); clip-path: inset(0 0 0 0); }
    
    /* Random twitch later */
    50% { transform: translate(-50%, -50%) scale(1.8); }
    51% { transform: translate(-51%, -50%) scale(1.85); opacity: 0.3; }
    52% { transform: translate(-50%, -50%) scale(1.8); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.8); opacity: 0.5; }
}

/* Scrolling Marquee */
.marquee-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--neo-cyan);
    color: #000;
    padding: 10px 0;
    z-index: 50;
    border-top: 2px solid var(--neo-pink);
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: bold;
    animation: scrollLeft 20s linear infinite;
}

@keyframes scrollLeft {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    /* Reduced right padding and added negative left margin */
    padding: 1.5rem 2% 1.5rem 1.5rem; 
    margin-left: -50px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(18, 18, 18, 0.95);
    border-bottom: 1px solid var(--neo-cyan);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
    color: var(--neo-cyan);
}

.logo {
    font-size: 2rem;
    background: transparent;
    color: var(--neo-cyan);
    border: 2px solid var(--neo-cyan);
    text-shadow: 0 0 10px var(--neo-cyan);
    transform: none; /* No rotation */
    margin-left: 40px; /* Add this line to move logo right */
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 0.25rem; /* was 0.5rem, now even closer */
}

.nav-links a {
    text-decoration: none;
    color: var(--neo-cyan);
    font-weight: 900;
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--neo-cyan);
    box-shadow: 0 0 5px var(--neo-cyan);
    transition: all 0.3s ease; /* Simple transition */
    text-transform: uppercase;
}

.nav-links a:hover {
    background: var(--neo-cyan);
    color: #000;
    box-shadow: 0 0 15px var(--neo-cyan);
    transform: translateY(-2px);
}

.nav-links a:active {
    transform: scale(0.95);
}

/* Neo-Box Button/Link Styles (ACCESS BUTTONS) - COMPLEX ANIMATION */
a.neo-box {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Scan Effect for Access Buttons */
a.neo-box::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.4), transparent);
    transition: left 0.5s;
    z-index: -1;
}

a.neo-box:hover {
    background: rgba(0, 255, 255, 0.1);
    border-color: var(--neo-white);
    box-shadow: 0 0 25px var(--neo-cyan), inset 0 0 10px var(--neo-cyan);
    transform: translateY(-5px) scale(1.02);
    letter-spacing: 2px; /* Glitch expansion */
    text-shadow: 2px 0 var(--neo-pink), -2px 0 var(--neo-lime); /* Chromatic aberration */
}

a.neo-box:hover::after {
    left: 100%; /* Trigger scan */
}

a.neo-box:active {
    transform: scale(0.95);
    filter: brightness(1.5);
    box-shadow: 0 0 5px var(--neo-cyan);
    transition: all 0.05s;
}

/* Neo-Brutalist Components */
.neo-box {
    background: rgba(20, 20, 20, 0.8);
    border: 2px solid var(--neo-cyan);
    box-shadow: 5px 5px 0px var(--neo-pink); /* Blue Shadow */
    color: var(--text-main);
    padding: 2rem;
    margin: 1rem;
    /* Smooth Animation */
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

/* Dot Texture Overlay for Neo Boxes */
.neo-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(rgba(0,0,0,0.1) 1px, transparent 1px);
    background-size: 10px 10px;
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

.neo-box:hover {
    box-shadow: 8px 8px 0px var(--neo-cyan);
    border-color: var(--neo-white);
    /* ...existing code... */
}

/* Massive Animations */
@keyframes popIn {
    0% { opacity: 0; transform: scale(0.1) rotate(-10deg); }
    60% { opacity: 1; transform: scale(1.1) rotate(5deg); }
    100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

@keyframes slideUpBig {
    0% { opacity: 0; transform: translateY(200px); }
    100% { opacity: 1; transform: translateY(0); }
}

.pop-in {
    animation: popIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    opacity: 0; /* Start hidden */
}

.slide-up-big {
    animation: slideUpBig 1s cubic-bezier(0.075, 0.82, 0.165, 1) forwards;
    opacity: 0;
}

/* Page Layouts */
.page-container {
    position: relative; /* Create stacking context */
    z-index: 10; /* Ensure content sits above floating shapes */
    padding-top: 120px; /* Space for fixed nav */
    min-height: 100vh;
    max-width: 1400px;
    margin: 0 auto;
    padding-bottom: 4rem;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 6rem;
    line-height: 0.9;
    text-transform: uppercase;
    color: var(--neo-cyan);
    text-shadow: 0 0 20px var(--neo-pink);
    margin-bottom: 1rem;
}

.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shape {
    position: absolute;
    border: var(--border-thick);
}

.circle-big {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--neo-pink);
    z-index: 1;
}

.rect-big {
    width: 250px;
    height: 350px;
    background: var(--neo-lime);
    transform: rotate(15deg);
    z-index: 0;
}

/* Portfolio Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem;
    padding: 2rem;
}

.art-piece {
    height: 400px;
    position: relative;
    background: var(--neo-white);
}

.art-placeholder {
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    color: var(--neo-cyan);
    border-bottom: 1px solid var(--neo-cyan);
    font-family: monospace;
}

/* Blog List */
.blog-feed {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.blog-entry {
    position: relative;
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid var(--neo-cyan);
    box-shadow: 5px 5px 0px var(--neo-pink);
    padding: 0; /* Reset padding for internal layout */
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.blog-header {
    background: rgba(0, 255, 255, 0.1);
    color: var(--neo-cyan);
    border-bottom: 1px solid var(--neo-cyan);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: monospace;
}

.blog-body {
    padding: 2rem;
}

.blog-entry:hover {
    transform: translate(-5px, -5px);
    box-shadow: 15px 15px 0px var(--main-blue);
}

/* Delays */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }


.contact-link {
    text-decoration: none;
    color: var(--main-blue);
    border: 1px solid var(--neo-cyan);
    padding: 1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-transform: uppercase;
}

.contact-link:hover {
    background: var(--neo-cyan);
    color: #000;
    box-shadow: 0 0 20px var(--neo-cyan);
}

.contact-link:active {
    transform: scale(0.95);
}

/* Contact Section Overhaul */
.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: var(--neo-white);
    color: var(--neo-black);
    border: 4px solid var(--neo-black);
    padding: 2rem;
    font-size: 1.5rem;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 8px 8px 0px var(--neo-black);
    transition: all 0.2s;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.contact-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 0%;
    background: var(--neo-cyan);
    z-index: -1;
    transition: height 0.3s ease;
}

.contact-link:hover {
    color: #000;
    box-shadow: 0 0 20px var(--neo-cyan);
    letter-spacing: 3px;
    border-color: var(--neo-cyan);
}

.contact-link:hover::after {
    height: 100%;
}

.contact-link:active {
    transform: scale(0.95);
}

/* Scroll Animations Classes */
.reveal-anim {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal-anim.active {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.8s ease-out;
}

.slide-in-left.active {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.8s ease-out;
}

.slide-in-right.active {
    opacity: 1;
    transform: translateX(0);
}

.zoom-in {
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.zoom-in.active {
    opacity: 1;
    transform: scale(1);
}

.delay-1 { transition-delay: 0.2s; }

/* Page Transition Layers */
/* REMOVED: Old Page Transition Styles (Loader Curtain, Iris, Glitch, Shutters) */

/* NEW: Drop & Build Transition Animations */
@keyframes dropDown {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(120vh) rotate(5deg); opacity: 0; }
}

@keyframes buildUp {
    0% { transform: translateY(100vh); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* 1. Glitch Effect (Projects) */
@keyframes glitchEnter {
    0% { opacity: 0; transform: translateX(-100px) skewX(20deg); clip-path: inset(0 0 0 0); }
    20% { opacity: 1; transform: translateX(20px) skewX(-20deg); clip-path: inset(10% 0 40% 0); }
    40% { transform: translateX(-10px) skewX(10deg); clip-path: inset(40% 0 10% 0); }
    60% { transform: translateX(5px) skewX(-5deg); clip-path: inset(0 0 0 0); }
    100% { opacity: 1; transform: translateX(0) skewX(0); }
}
@keyframes glitchExit {
    0% { opacity: 1; transform: translateX(0) skewX(0); }
    20% { transform: translateX(-10px) skewX(10deg); clip-path: inset(20% 0 50% 0); }
    100% { opacity: 0; transform: translateX(100px) skewX(-20deg); clip-path: inset(0 0 0 0); }
}

.anim-enter-glitch { animation: glitchEnter 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards; opacity: 0; }
.anim-exit-glitch { animation: glitchExit 0.5s cubic-bezier(0.55, 0.085, 0.68, 0.53) forwards !important; pointer-events: none; }

/* 2. Scan Effect (Blog) - Vertical Open */
@keyframes scanEnter {
    0% { opacity: 0; transform: scaleY(0); transform-origin: bottom; filter: brightness(5); }
    100% { opacity: 1; transform: scaleY(1); transform-origin: bottom; filter: brightness(1); }
}
@keyframes scanExit {
    0% { opacity: 1; transform: scaleY(1); transform-origin: top; }
    100% { opacity: 0; transform: scaleY(0); transform-origin: top; }
}

.anim-enter-scan { animation: scanEnter 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards; opacity: 0; }
.anim-exit-scan { animation: scanExit 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) forwards !important; pointer-events: none; }

/* 3. Zoom Warp (Default/Other) */
@keyframes zoomEnter {
    0% { opacity: 0; transform: scale(1.5); filter: blur(10px); }
    100% { opacity: 1; transform: scale(1); filter: blur(0); }
}
@keyframes zoomExit {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0.5); filter: blur(10px); }
}

.anim-enter-zoom { animation: zoomEnter 0.7s ease-out forwards; opacity: 0; }
.anim-exit-zoom { animation: zoomExit 0.5s ease-in forwards !important; pointer-events: none; }

/* Renaming existing for consistency, keeping backward compat if needed */
.anim-enter-build { animation: buildUp 0.8s cubic-bezier(0.215, 0.610, 0.355, 1.000) forwards; opacity: 0; }
.anim-exit-drop { animation: dropDown 0.6s cubic-bezier(0.55, 0.055, 0.675, 0.19) forwards !important; pointer-events: none; }

/* Blog Card Layout Fix */
.blog-card-flex {
    display: flex !important;
    flex-direction: column;
    padding: 0 !important; /* Override neo-box padding */
}
.blog-card-flex .art-placeholder {
    flex: 1;
    width: 100%;
}
.blog-card-flex .blog-info {
    padding: 1.5rem;
    background: rgba(0,0,0,0.6);
    border-top: 1px solid var(--neo-cyan);
}

/* Classes applied via JS */
.page-exit-anim {
    /* animation: dropDown 0.6s cubic-bezier(0.55, 0.055, 0.675, 0.19) forwards !important; */
    /* Handled dynamically now */
    pointer-events: none;
}

.page-enter-anim {
    /* animation: buildUp 0.8s cubic-bezier(0.215, 0.610, 0.355, 1.000) forwards; */
    /* Handled dynamically now */
    opacity: 0; /* Start hidden before animation kicks in */
}

/* Scanline Overlay (New Complex Element) */
.scanline-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0) 50%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.1));
    background-size: 100% 4px;
    pointer-events: none; /* Ensure clicks pass through */
    z-index: 9000;
    /* Changed: Start hidden and add transition for fade */
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

/* Class to trigger the effect */
.scanline-overlay.active {
    opacity: 0.6;
}

.scanline-bar {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 5px;
    background: rgba(0, 255, 255, 0.5);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    animation: scanAnim 6s linear infinite;
    opacity: 0.3;
}

@keyframes scanAnim {
    0% { top: -10%; }
    100% { top: 110%; }
}
.loader-curtain.style-shutters::before,
.loader-curtain.style-shutters::after {
    content: '';
    flex: 1;
    background: var(--neo-black);
    transform: scaleY(0);
    transition: transform 0.6s cubic-bezier(0.8, 0, 0.2, 1);
}
.loader-curtain.style-shutters::before { transform-origin: top; }
.loader-curtain.style-shutters::after { transform-origin: bottom; transition-delay: 0.1s; }

.loader-curtain.style-shutters.active::before,
.loader-curtain.style-shutters.active::after {
    transform: scaleY(1);
}

/* Scanline Overlay (New Complex Element) */
.scanline-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0) 50%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.1));
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 9000;
    opacity: 0.6;
}

.scanline-bar {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 5px;
    background: rgba(0, 255, 255, 0.5);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    animation: scanAnim 6s linear infinite;
    opacity: 0.3;
}

@keyframes scanAnim {
    0% { top: -10%; }
    100% { top: 110%; }
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
    /* Hide Custom Cursor on Touch */
    .cursor-follower {
        display: none !important;
    }

    /* Reset Cursor */
    * {
        cursor: auto !important;
    }

    /* Navigation */
    .navbar {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        background: rgba(18, 18, 18, 0.98);
    }

    .nav-links {
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links a {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }

    /* Layout */
    .page-container {
        padding-top: 140px; /* More space for stacked nav */
        padding-bottom: 60px; /* Space for marquee */
    }

    .hero-split {
        grid-template-columns: 1fr; /* Stack vertically */
        text-align: center;
        padding: 1rem;
    }

    .hero-text h1 {
        font-size: 3.5rem; /* Smaller title */
    }

    .hero-visual {
        height: 300px;
        order: -1; /* Visual first on mobile */
    }

    .hero-visual .neo-box {
        width: 250px !important;
        height: 300px !important;
    }

    .hero-visual i {
        font-size: 5rem !important;
    }

    /* Projects Page Specifics */
    .blog-feed {
        width: 100%;
        padding: 0 1rem;
    }

    /* Adjust header in projects page */
    .page-container > header {
        margin-left: 0 !important;
        text-align: center !important;
        padding: 1rem !important;
    }

    .page-container > header h1 {
        font-size: 2.5rem !important;
    }

    /* Grids */
    .gallery-grid, .contact-wrapper {
        grid-template-columns: 1fr; /* Single column */
        padding: 1rem;
    }

    .bg-character-overlay {
        width: 100%;
        opacity: 0.2; /* Lower opacity on mobile */
        transform: translate(-50%, -50%) scale(1.2);
    }

    .neo-box {
        margin: 1rem 0;
        padding: 1.5rem;
    }

    /* Marquee */
    .marquee-content {
        font-size: 1rem;
    }
}
