/* --- PRELOADER (System Boot Style) --- */
#preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 30000; background: #050505; 
    display: flex; align-items: center; justify-content: center;
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: all;
    
    /* Technical Grid Background */
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.loader-content {
    text-align: center;
    width: 300px;
}

.loader-percent {
    font-family: 'Syne', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.loader-bar-wrapper {
    width: 100%;
    height: 2px;
    background: rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}

.loader-bar-fill {
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    width: 0%;
    background: #7c59f0;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px #7c59f0; /* Neon Glow */
}

/* --- NOISE OVERLAY (Cinematic Texture) --- */
.noise-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 9000;
    opacity: 0.06; /* Subtle grain */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* --- NAVBAR (Targeting Brackets) --- */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; padding: 40px 60px;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 10000; box-sizing: border-box; mix-blend-mode: difference;
    pointer-events: none; 
}
.navbar > * { pointer-events: auto; }

.nav-logo {
    font-family: 'Syne', sans-serif; font-size: 1.8rem; font-weight: 800;
    letter-spacing: -0.5px; color: #fff; text-transform: uppercase;
}

.nav-links { list-style: none; display: flex; gap: 50px; margin: 0; padding: 0; }
.nav-links li a {
    text-decoration: none; color: #fff; font-family: 'Syne', sans-serif;
    font-weight: 700; font-size: 0.9rem; text-transform: uppercase;
    letter-spacing: 1px; position: relative; cursor: none; opacity: 0.7;
    transition: opacity 0.3s; display: inline-block; 
    padding: 0 5px; /* Space for brackets */
}

/* Replaced Underline with Brackets */
.nav-links li a::before {
    content: '[';
    position: absolute; left: -8px; top: 50%; transform: translateY(-54%);
    opacity: 0; transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1);
    color: #7c59f0; font-weight: 400; font-family: 'Inter', sans-serif;
}
.nav-links li a::after {
    content: ']';
    position: absolute; right: -8px; top: 50%; transform: translateY(-54%);
    opacity: 0; transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1);
    color: #7c59f0; font-weight: 400; font-family: 'Inter', sans-serif;
    width: auto; height: auto; background: none; /* Reset old line props */
}

.nav-links li a:hover { opacity: 1; color: #fff; }
.nav-links li a:hover::before { left: -14px; opacity: 1; }
.nav-links li a:hover::after { right: -14px; opacity: 1; }

@media (max-width: 768px) {
    .navbar { padding: 20px; }
}

/* --- TOGGLE SWITCH --- */
.render-toggle-wrapper { display: flex; align-items: center; gap: 12px; margin-left: 30px; }
.switch { position: relative; display: inline-block; width: 40px; height: 22px; cursor: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(255,255,255,0.1); transition: .4s; border-radius: 34px; border: 1px solid rgba(255,255,255,0.2); }
.slider:before { position: absolute; content: ""; height: 14px; width: 14px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; }
input:checked + .slider { background-color: #fff; }
input:checked + .slider:before { transform: translateX(18px); background-color: #000; }

.toggle-label-text {
    font-size: 0.7rem; 
    opacity: 0.6;
}

/* --- CURSOR FOLLOWER (Distortion) --- */
#cursor-follower {
    position: fixed; top: 0; left: 0; width: 15px; height: 15px;
    background-color: #fff; border-radius: 50%;
    transform: translate(-50%, -50%); 
    pointer-events: none; z-index: 10001; mix-blend-mode: exclusion;
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}
body:hover #cursor-follower.hovered {
    width: 60px; height: 60px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: invert(1) blur(2px); /* Distortion Effect */
    border: 1px solid rgba(255,255,255,0.2);
}

/* --- CUSTOM SCROLLBAR --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #050505; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #7c59f0; }

/* --- GLASS CARDS (RESTORED) --- */
.content-box {
    pointer-events: auto; position: relative; 
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    padding: 60px; border: 1px solid rgba(255,255,255,0.08);
    max-width: 700px; opacity: 1; cursor: auto; transition: transform 0.3s ease;
    z-index: 5;
}
.content-box.medium-box { max-width: 800px; }
.content-box.wide-box { max-width: 900px; width: 100%; }

/* --- VOLUMETRIC LIGHT BEAM --- */
.light-beam {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    transform: none; 
    
    /* CSS VARIABLE FOR DYNAMIC COLOR */
    --beam-color: #7c59f0;
    
    /* Create the "Beam" look */
    background: radial-gradient(
        ellipse at left, 
        var(--beam-color) 0%,           
        transparent 70%                 
    );
    
    filter: blur(60px); 
    pointer-events: none; 
    z-index: 1; 
    opacity: 0; 
    mix-blend-mode: screen; 
    will-change: opacity;
    
    animation: beamBreathe 6s infinite alternate ease-in-out;
}

@keyframes beamBreathe {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

@media (max-width: 768px) {
    .content-box { padding: 30px; width: 100%; }
}

/* --- BUTTONS & CHIPS --- */
.cta-btn {
    padding: 16px 32px; background: #fff; color: #000; border: none;
    font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem;
    cursor: none; border-radius: 40px; display: inline-flex;
    align-items: center; justify-content: center;
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.2s;
}
.cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255,255,255,0.4);
}

.cta-btn.secondary {
    font-size: 0.85rem; 
    padding: 12px 25px; 
    background: rgba(255,255,255,0.03); 
    border: 1px solid rgba(255,255,255,0.1); 
    color: #aaa;
}

.skill-chips span {
    display: inline-block; background: rgba(255,255,255,0.03);
    padding: 8px 16px; border-radius: 20px; font-size: 0.85rem;
    color: #ccc; border: 1px solid rgba(255,255,255,0.1); margin-bottom: 8px; margin-right: 5px;
}

/* --- ABOUT SECTION STYLES --- */
.about-subtitle {
    color: #0088ff; font-size: 1.1rem; margin-bottom: 20px; line-height: 1.4;
}
.about-competencies {
    margin: 30px 0; border-left: 2px solid rgba(255,255,255,0.1); padding-left: 20px;
}
.about-competencies-title {
    font-size: 1rem; margin-bottom: 10px; color: #fff;
}
.about-competencies-list {
    list-style: none; padding: 0; margin: 0; color: #aaa; font-size: 0.95rem; line-height: 1.8;
}
.about-footer-text {
    margin-bottom: 30px;
}
.about-skills-title {
    font-size: 1rem; margin-bottom: 15px;
}

/* --- EXPERIENCE SECTION STYLES --- */
.exp-role-title {
    color: #0088ff; margin-bottom: 5px;
}
.exp-details-wrapper {
    margin-top: 20px; border-left: 1px solid rgba(255,255,255,0.1); padding-left: 20px;
}
.exp-role-block {
    margin-bottom: 30px;
}
.exp-job-title {
    color: #fff; font-size: 1.1rem; display:block;
}
.exp-date-range {
    font-size: 0.8rem; color: #666; display:block; margin-bottom: 10px;
}
.exp-duties-list {
    list-style: none; padding: 0; margin-bottom: 10px; color: #ccc; font-size: 0.95rem; line-height: 1.6;
}
.exp-duty-item {
    margin-bottom: 5px;
}
.exp-chips-wrapper {
    margin-top: 5px;
}
.exp-toggle-wrapper {
    margin-top: 40px; text-align: center;
}
.exp-additional-wrapper {
    display: none; margin-top: 40px; padding-top: 40px; border-top: 1px dashed rgba(255,255,255,0.1);
}
.exp-section-label {
    font-size: 0.9rem; text-transform: uppercase; color: #666; margin-bottom: 30px; letter-spacing: 1px;
}

/* --- CERTIFICATES SECTION STYLES --- */
.cert-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 15px;
}
.cert-card {
    text-decoration:none; display:block; color:inherit; 
    background: rgba(255,255,255,0.03); 
    border: 1px solid rgba(255,255,255,0.05); 
    padding: 20px; 
    transition: all 0.3s ease;
}
.cert-card:hover {
    background: rgba(255,255,255,0.06); 
    transform: translateY(-5px);
}
.cert-header {
    display:flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px;
}
.cert-title {
    font-size: 1rem; margin: 0; color: #fff; line-height: 1.3;
}
.cert-icon {
    color: #00ffff; font-size: 1.1rem; opacity: 0.8;
}
.cert-issuer {
    font-size: 0.85rem; color: #aaa; margin-bottom: 2px;
}
.cert-date {
    font-size: 0.75rem; color: #666; margin: 0;
}
.cert-id {
    font-size: 0.7rem; color: #555; font-family: monospace;
}

/* --- JOB TRACKER STYLES --- */
.job-tracker {
    margin-bottom: 50px;
}
.tracker-header-row {
    display:flex; justify-content:space-between; align-items:flex-end; margin-bottom: 40px;
}
.tracker-title {
    margin-bottom: 10px;
}
.tracker-subtitle {
    margin: 0;
}
.tracker-count-number {
    font-family:'Syne'; font-size:3rem; color:#fff;
}
.tracker-count-label {
    display:block; text-align:right; font-size:0.8rem; color:#888;
}

.tracker-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.job-tracker-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 25px;
    transition: transform 0.3s ease, background 0.3s ease;
    cursor: default;
}

.job-tracker-card:hover {
    background: rgba(255,255,255,0.05);
    transform: translateY(-5px);
    border-color: rgba(124, 89, 240, 0.3);
}

.tracker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.t-company {
    font-family: 'Syne', sans-serif;
    font-size: 1.2rem;
    margin: 0;
    color: #fff;
}

.t-role {
    font-size: 0.85rem;
    color: #888;
    background: rgba(255,255,255,0.05);
    padding: 4px 10px;
    border-radius: 20px;
}

.tracker-progress-wrapper {
    position: relative;
    height: 30px; 
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.tracker-bar-bg {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    z-index: 1;
}

.tracker-bar-fill {
    height: 100%;
    background: #7c59f0;
    border-radius: 4px;
    transition: width 1s ease-out;
    box-shadow: 0 0 10px #7c59f0;
}

.tracker-dots-container {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    z-index: 2;
    padding: 0 2px;
}

.tracker-dot {
    width: 10px;
    height: 10px;
    background: #1a1a1a;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.tracker-dot.active {
    background: #000;
    border-color: #7c59f0;
    box-shadow: 0 0 8px rgba(124, 89, 240, 0.6);
}

.tracker-dot.current {
    transform: scale(1.4);
    background: #7c59f0;
    border-color: #fff;
}

/* Stage Colors */
.job-tracker-card:has(.tracker-dot:nth-child(2).current) .tracker-bar-fill { background: #e0e963; box-shadow: 0 0 10px #e0e963; }
.job-tracker-card:has(.tracker-dot:nth-child(2).current) .tracker-dot.active { border-color: #e0e963; box-shadow: 0 0 8px #e0e963; }
.job-tracker-card:has(.tracker-dot:nth-child(2).current) .tracker-dot.current { background: #e0e963; }
.job-tracker-card:has(.tracker-dot:nth-child(2).current) .t-status { color: #e0e963 !important; }

.job-tracker-card:has(.tracker-dot:nth-child(3).current) .tracker-bar-fill { background: #3b82f6; box-shadow: 0 0 10px #3b82f6; }
.job-tracker-card:has(.tracker-dot:nth-child(3).current) .tracker-dot.active { border-color: #3b82f6; box-shadow: 0 0 8px rgba(59, 130, 246, 0.6); }
.job-tracker-card:has(.tracker-dot:nth-child(3).current) .tracker-dot.current { background: #3b82f6; }
.job-tracker-card:has(.tracker-dot:nth-child(3).current) .t-status { color: #3b82f6 !important; }

.job-tracker-card:has(.tracker-dot:nth-child(4).current) .tracker-bar-fill { background: #14b8a6; box-shadow: 0 0 10px #14b8a6; }
.job-tracker-card:has(.tracker-dot:nth-child(4).current) .tracker-dot.active { border-color: #14b8a6; box-shadow: 0 0 8px rgba(20, 184, 166, 0.6); }
.job-tracker-card:has(.tracker-dot:nth-child(4).current) .tracker-dot.current { background: #14b8a6; }
.job-tracker-card:has(.tracker-dot:nth-child(4).current) .t-status { color: #14b8a6 !important; }

.job-tracker-card.is-hired .tracker-bar-fill { background: #00ff88; box-shadow: 0 0 10px #00ff88; }
.job-tracker-card.is-hired .tracker-dot.active { border-color: #00ff88; box-shadow: 0 0 8px rgba(0, 255, 136, 0.6); }
.job-tracker-card.is-hired .tracker-dot.current { background: #00ff88; }

.job-tracker-card.is-rejected .tracker-bar-fill { background: #ff4444; box-shadow: 0 0 10px #ff4444; }
.job-tracker-card.is-rejected .tracker-dot.active { border-color: #ff4444; box-shadow: 0 0 8px rgba(255, 68, 68, 0.6); }
.job-tracker-card.is-rejected .tracker-dot.current { background: #ff4444; }
.job-tracker-card.is-rejected .t-status { text-decoration: line-through; opacity: 0.8; color: #ff4444 !important; }

.tracker-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 600;
}

.t-status {
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.t-date {
    color: #666;
    font-weight: 400;
}

/* --- PROJECTS SECTION STYLES --- */
.featured-project-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(0,0,0,0.4) 100%); 
    border: 1px solid rgba(255,255,255,0.1); 
    padding: 40px; margin-bottom: 60px; position: relative; overflow: hidden;
}
.featured-project-card.second-project {
    margin-top: 60px;
}
.project-glow-bg {
    position: absolute; top: -50px; right: -50px; width: 200px; height: 200px; 
    border-radius: 50%; pointer-events: none;
}
.project-glow-blue {
    background: radial-gradient(circle, rgba(0,136,255,0.2) 0%, rgba(0,0,0,0) 70%);
}
.project-glow-purple {
    background: radial-gradient(circle, rgba(124, 89, 240, 0.2) 0%, rgba(0,0,0,0) 70%);
}

.project-content-flex {
    display: flex; flex-wrap: wrap; gap: 30px; align-items: center;
}
.project-info-col {
    flex: 1; min-width: 300px;
}
.project-meta-label {
    font-family: 'Syne', sans-serif; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; display: block; margin-bottom: 10px;
}
.project-meta-blue { color: #0088ff; }
.project-meta-purple { color: #7c59f0; }

.project-title {
    font-size: 2.5rem; margin-bottom: 15px;
}
.project-description {
    font-size: 1.05rem; color: #ddd; margin-bottom: 20px;
}
.project-features-list {
    list-style: none; padding: 0; margin-bottom: 25px; color: #bbb; font-size: 0.95rem;
}
.project-feature-item {
    margin-bottom: 8px;
}
.feature-icon {
    width: 20px;
}
.icon-blue { color: #0088ff; }
.icon-purple { color: #7c59f0; }

.project-chips-wrapper {
    margin-bottom: 25px;
}
.project-link-btn {
    text-decoration: none; display: inline-flex; align-items: center; gap: 10px;
}
.project-link-disabled {
    opacity: 0.7; cursor: default;
}
.link-icon-small {
    font-size: 0.8rem;
}

/* --- PROJECT GRID & LIST --- */
.project-card {
    background: rgba(255,255,255,0.03); padding: 30px;
    border: 1px solid rgba(255,255,255,0.05); transition: all 0.4s ease; cursor: none;
}
.project-card:hover {
    background: rgba(255,255,255,0.06); transform: translateY(-10px);
}

/* PROJECT LIST STYLE */
.project-list-wrapper {
    margin-top: 50px;
    position: relative;
    z-index: 20;
}

.project-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: none;
    transition: padding 0.3s ease;
    position: relative;
}

.project-row:hover {
    padding: 40px 20px; 
    background: rgba(255,255,255,0.02);
}

.project-row .p-name {
    font-size: 3rem;
    font-weight: 400;
    margin: 0;
    color: #fff;
    transition: transform 0.3s ease, color 0.3s ease;
}

.project-row:hover .p-name {
    transform: translateX(10px);
    color: #7c59f0;
}

.project-row .p-tags {
    font-size: 1rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* FLOATING REVEAL IMAGE */
.hover-reveal-image {
    position: fixed;
    top: 0; left: 0;
    width: 300px;
    height: 400px;
    pointer-events: none;
    z-index: 50; 
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
    overflow: hidden;
    border-radius: 8px;
}

.reveal-inner {
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.2); 
}

@media (max-width: 768px) {
    .project-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 0;
        cursor: auto; 
    }
    
    .project-row:hover {
        padding: 20px 0;
        background: transparent;
    }

    .project-row .p-name {
        font-size: 1.5rem;
        transform: none !important;
        margin-bottom: 5px;
    }

    .project-row .p-tags {
        font-size: 0.8rem;
        color: #aaa;
    }

    .hover-reveal-image {
        display: none !important; 
    }
}

/* --- BRUTAL SURVEILLANCE GALLERY --- */
.project-gallery {
    display: grid; 
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 280px); /* Taller rows for impact */
    gap: 0px; /* ZERO GAP for video-wall feel */
    margin-bottom: 40px;
    border: 1px solid #222; /* Technical outer border */
    background: #000;
    counter-reset: gallery-counter; /* Initialize CSS Counter */
}

.gallery-item {
    position: relative; 
    overflow: hidden; 
    border-radius: 0px; /* HARD CORNERS ONLY */
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: -1px; /* Collapse borders into each other */
    transition: all 0.3s ease; 
    cursor: crosshair; /* Precision cursor */
    z-index: 1;
}

.gallery-item img {
    width: 100%; height: 100%; object-fit: cover;
    filter: grayscale(100%) contrast(1.2); /* Surveillance footage look */
    transition: filter 0.4s ease, transform 0.4s ease;
    opacity: 0.6;
}

/* TECHNICAL LABEL (Auto-generated) */
.gallery-item::after {
    counter-increment: gallery-counter;
    content: "IMG_0" counter(gallery-counter) " // RAW";
    position: absolute;
    bottom: 0; left: 0;
    background: #000;
    color: #444;
    font-family: 'Courier New', monospace;
    font-size: 0.6rem;
    padding: 6px 12px;
    border-top: 1px solid #333;
    border-right: 1px solid #333;
    pointer-events: none;
    z-index: 2;
    transition: all 0.3s ease;
}

/* HOVER STATE */
.gallery-item:hover {
    z-index: 10; /* Pop to front */
    border-color: #7c59f0; /* Neon border activation */
    box-shadow: 0 0 0 1px #7c59f0; /* Sharper glow */
}

.gallery-item:hover img { 
    filter: grayscale(0%) contrast(1.1); /* Full color restore */
    transform: scale(1.05); 
    opacity: 1;
}

.gallery-item:hover::after {
    background: #7c59f0;
    color: #fff;
    content: "IMG_0" counter(gallery-counter) " // ACTIVE";
}

/* Grid Spans - Asymmetric */
.gallery-layout-4 .g-item-1 { grid-column: span 8; grid-row: span 1; }
.gallery-layout-4 .g-item-2 { grid-column: span 4; grid-row: span 1; }
.gallery-layout-4 .g-item-3 { grid-column: span 4; grid-row: span 1; }
.gallery-layout-4 .g-item-4 { grid-column: span 8; grid-row: span 1; }

@media (max-width: 768px) {
    .project-gallery { display: flex; flex-direction: column; gap: 10px; border: none; background: transparent; }
    .gallery-item { height: 250px; width: 100%; margin: 0; border: 1px solid rgba(255,255,255,0.2); }
}

/* --- FOOTER MARQUEE --- */
.footer-marquee {
    margin-top: 100px;
    width: 100%;
    overflow: hidden;
    background: #000;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.marquee-link {
    text-decoration: none;
    display: block;
    cursor: none; 
    -webkit-mask-image: linear-gradient(to right, transparent 15%, black 25%, black 75%, transparent 85%);
    mask-image: linear-gradient(to right, transparent 15%, black 25%, black 75%, transparent 85%);
}

.marquee-track {
    display: flex;
    width: fit-content;
    white-space: nowrap;
    will-change: transform;
    animation: marqueeScroll 80s linear infinite;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    perspective: 1000px;
}

.marquee-content {
    display: flex;
    align-items: center;
}

.marquee-content span {
    font-family: 'Syne', sans-serif;
    font-size: 8vw; 
    font-weight: 700;
    line-height: 1;
    color: transparent; 
    -webkit-text-stroke: 1px rgba(255,255,255,0.3);
    text-transform: uppercase;
    white-space: nowrap;
    transition: all 0.4s ease;
}

.marquee-link:hover .marquee-content span {
    color: #7c59f0;
    -webkit-text-stroke: 1px #7c59f0;
}

@keyframes marqueeScroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); } 
}

@media (max-width: 768px) {
    .marquee-content span {
        font-size: 15vw; 
        -webkit-text-stroke: 1px rgba(255,255,255,0.5);
    }
}

/* --- AMBIENT BACKGROUND (Art Yakushev Style) --- */
.ambient-background {
    display: none; 
}

/* --- RESUME DOSSIER (Extracted from Index) --- */
.dossier-box {
    max-width: 600px;
    text-align: left;
    padding: 0 !important; /* Override content-box padding */
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(10,10,10,0.8);
}

.dossier-header {
    background: rgba(255,255,255,0.03);
    padding: 15px 25px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dossier-label {
    font-family: 'Syne', sans-serif;
    font-size: 0.8rem;
    color: #7c59f0;
    letter-spacing: 2px;
}

.dossier-id {
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    color: #666;
}

.dossier-body {
    padding: 40px;
    position: relative;
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #7c59f0;
    box-shadow: 0 0 15px #7c59f0;
    opacity: 0.5;
    animation: scanLine 4s infinite linear;
}

.dossier-content-row {
    display: flex; gap: 20px; align-items: flex-start; margin-bottom: 30px;
}

.dossier-profile-img {
    width: 60px;
    height: 60px;
    background: #222;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

.dossier-profile-img img {
    width: 100%; height: 100%; object-fit: cover;
}

.dossier-title {
    margin: 0 0 5px 0; font-size: 1.8rem;
}

.dossier-role {
    margin: 0; font-size: 0.9rem; color: #888;
}

.dossier-loc {
    margin: 5px 0 0 0; font-size: 0.8rem; color: #666;
}

.dossier-desc {
    font-size: 0.95rem; color: #ccc; line-height: 1.6; margin-bottom: 30px;
}

.dossier-actions {
    display: flex; gap: 15px; flex-wrap: wrap;
}

.dossier-download-btn {
    background: #fff; color: #000; border-radius: 4px; font-size: 0.9rem; padding: 12px 25px;
}

.dossier-verified-badge {
    display: flex; align-items: center; gap: 10px; padding: 0 15px; border: 1px solid rgba(255,255,255,0.1); border-radius: 4px;
}

.dossier-verified-text {
    font-size: 0.8rem; color: #aaa;
}

.dossier-footer {
    background: rgba(0,0,0,0.3);
    padding: 10px 25px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-family: 'Courier New', monospace;
    font-size: 0.65rem;
    color: #444;
    text-align: right;
}

@keyframes scanLine {
    0% { top: 0%; opacity: 0; }
    10% { opacity: 0.5; }
    90% { opacity: 0.5; }
    100% { top: 100%; opacity: 0; }
}

/* --- EXPERIMENT SECTION --- */
.experiment-content {
    text-align: center;
}
.experiment-btn-wrapper {
    margin-top: 30px;
}

/* --- MOBILE WARNING POPUP --- */
.mobile-warning-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.95); z-index: 50000;
    display: none; justify-content: center; align-items: center;
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}

.mobile-warning-box {
    background: #0a0a0a; 
    border: 1px solid rgba(255,255,255,0.15); 
    padding: 40px 30px;
    text-align: center; 
    max-width: 80%;
    border-radius: 12px;
    box-shadow: 0 0 40px rgba(0,0,0,0.8);
}

@media (max-width: 768px) {
    .mobile-warning-overlay { display: flex; }
}