@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@700&family=DM+Sans:wght@400;500;600&family=DM+Serif+Display&family=JetBrains+Mono&display=swap');

:root {
    /* Professional Palette */
    --pro-bg: #F5F0E8;
    --pro-surface: #EDE8DE;
    --pro-surface-alt: #F9F6F0;
    --pro-border: #D8D0C0;
    --pro-text-primary: #2C2A26;
    --pro-text-secondary: #6B6356;
    --pro-text-muted: #A09484;
    --pro-accent: #4A6670;
    --pro-accent-dark: #2E4048;

    /* Spacing */
    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 32px;
    --space-5: 40px;
    --space-6: 48px;
    --space-7: 56px;
    --space-8: 64px;
    --space-9: 72px;
    --space-10: 80px;
    --space-11: 88px;
    --space-12: 96px;
    --space-13: 104px;
    --space-14: 112px;
    --space-15: 120px;
    --space-16: 128px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: var(--pro-bg);
    color: var(--pro-text-primary);
    font-family: 'DM Sans', sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

#professional-mode {
    min-height: 100vh;
}

/* --- Navbar --- */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: var(--pro-bg);
    border-bottom: 1px solid var(--pro-border);
    transition: all 0.3s ease;
}

#navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    background: rgba(245, 240, 232, 0.9);
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-2) var(--space-4);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--pro-text-primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: var(--space-4);
}

.nav-links a {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--pro-text-secondary);
    text-decoration: none;
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--pro-accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* --- Hero Section --- */
#hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 var(--space-4);
    position: relative;
}

.hero-wordmark {
    font-family: 'Cormorant Garamond', serif;
    font-size: 120px;
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: var(--space-2);
}

#typewriter {
    font-family: 'DM Sans', sans-serif;
    font-size: 24px;
    color: var(--pro-text-secondary);
    margin-bottom: var(--space-1);
    min-height: 36px;
}

.hero-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    color: var(--pro-text-muted);
    margin-bottom: var(--space-5);
}

.theme-breaker-btn {
    background: #ff0055;
    color: #fff;
    border: 3px solid #141414;
    padding: 18px 48px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 8px 8px 0px #141414;
    transition: all 0.2s cubic-bezier(0.23, 1, 0.32, 1);
    margin: var(--space-4) 0;
    position: relative;
    overflow: hidden;
}

.theme-breaker-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.theme-breaker-btn:hover::before {
    left: 100%;
}

.theme-breaker-btn:hover {
    transform: translate(-3px, -3px);
    box-shadow: 12px 12px 0px #141414;
    background: #ff1a66;
}

.theme-breaker-btn:active {
    transform: translate(6px, 6px);
    box-shadow: 0px 0px 0px #141414;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 800px;
}

.hero-cta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-2);
    width: 100%;
}

.btn {
    padding: 14px 32px;
    border-radius: 6px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-outline {
    border: 2px solid var(--pro-accent);
    color: var(--pro-accent);
}

.btn-outline:hover {
    background: var(--pro-accent);
    color: #FFFFFF;
}

.btn-filled {
    background: var(--pro-accent);
    color: #FFFFFF;
}

.btn-filled:hover {
    background: var(--pro-accent-dark);
    transform: translateY(-2px);
}

/* Download CV Buttons */
.btn-cv {
    background: transparent;
    border: 2px solid var(--pro-accent);
    color: var(--pro-text-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-cv:hover {
    background: var(--pro-accent);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(74, 102, 112, 0.25);
}

.btn-cv-icon {
    transition: transform 0.3s ease;
}

.btn-cv:hover .btn-cv-icon {
    transform: translateY(2px);
}

.nav-cv-btn {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border: 1.5px solid var(--pro-accent);
    border-radius: 20px;
    color: var(--pro-accent) !important;
    font-weight: 600;
    font-size: 13px !important;
    transition: all 0.25s ease;
    text-decoration: none;
    margin-left: 6px;
}

.nav-cv-btn:hover {
    background: var(--pro-accent);
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(74, 102, 112, 0.2);
}

.nav-cv-btn::after {
    display: none !important;
}



/* --- Animations --- */
.animate {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlide 0.8s forwards;
    animation-delay: var(--delay);
}

@keyframes fadeInSlide {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Section Shared Styles --- */
.pro-section {
    padding: 80px 0;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.section-title {
    font-family: 'DM Serif Display', serif;
    font-size: 40px;
    text-align: center;
    color: var(--pro-text-primary);
    margin-bottom: var(--space-1);
}

.section-accent {
    width: 60px;
    height: 2px;
    background: var(--pro-accent);
    margin: 0 auto var(--space-6);
}

#simple { background: var(--pro-bg); }
#complex { background: var(--pro-surface-alt); }
#security { background: var(--pro-surface); }

/* --- Simple Projects Grid --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 900px) {
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .projects-grid { grid-template-columns: 1fr; }
}

/* Project Cards */
.project-card {
    background: #FDFAF6;
    border: 1px solid var(--pro-border);
    border-radius: 8px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    transition: all 0.2s ease;
    opacity: 0;
    transform: translateY(20px);
}

.project-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.project-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transform: translateY(-4px);
}

.card-type {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    width: fit-content;
}

/* Type Colors */
.type-portfolio { background: #E8F0EE; color: #4A6670; }
.type-script { background: #F0EDE8; color: #6B5D4A; }
.type-chatbot { background: #E8EEF5; color: #3A5A7A; }

.project-name {
    font-family: 'DM Serif Display', serif;
    font-size: 20px;
    color: var(--pro-text-primary);
}

.project-desc {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: var(--pro-text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.tech-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    padding: 2px 6px;
    background: var(--pro-surface);
    border: 1px solid var(--pro-border);
    border-radius: 4px;
    color: var(--pro-text-secondary);
}

.card-links {
    display: flex;
    gap: var(--space-2);
}

.card-link {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    color: var(--pro-accent);
    text-decoration: none;
    font-weight: 500;
}

/* --- Complex Projects --- */
.complex-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

@media (max-width: 900px) {
    .complex-grid { grid-template-columns: 1fr; }
}

.complex-card {
    position: relative;
    overflow: hidden;
    padding-top: 0;
}

.card-banner {
    height: 64px;
    width: calc(100% + 48px);
    margin-left: -24px;
    margin-bottom: 16px;
}

.banner-fullstack { background: #4A6670; }
.banner-webapp { background: #3A5A7A; }
.banner-systemdesign { background: #5A4A6B; }
.banner-automation { background: #6B5D4A; }

.complex-card .card-type {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.9);
}

.complex-card .project-desc {
    -webkit-line-clamp: 3;
}

/* --- Cybersecurity --- */
#security .project-card {
    background: #F8F5F0;
    flex-direction: row;
    gap: 24px;
    align-items: center;
}

@media (max-width: 600px) {
    #security .project-card { flex-direction: column; align-items: flex-start; }
}

.security-accent {
    width: 3px;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.accent-pentest { background: #9B5E5E; }
.accent-ctf { background: #6B8F71; }
.accent-bugbounty { background: #B8935A; }

.security-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tools-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.tools-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--pro-text-secondary);
}

.tool-chip {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    background: #D8D0C0;
    color: #2C2A26;
    padding: 2px 8px;
    border-radius: 4px;
}

.private-report {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    color: var(--pro-text-muted);
    font-style: italic;
}

/* --- Certs & Education --- */
.certs-education-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    margin-top: var(--space-4);
}

@media (max-width: 900px) {
    .certs-education-grid { grid-template-columns: 1fr; gap: 48px; }
}

.column-heading {
    font-family: 'DM Sans', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--pro-text-secondary);
    margin-bottom: var(--space-4);
}

.entries-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.entry-item {
    display: flex;
    gap: 20px;
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--pro-border);
}

.entry-item:last-child { border-bottom: none; }

.entry-badge {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: contain;
}

.entry-content {
    flex: 1;
}

.entry-name {
    font-family: 'DM Serif Display', serif;
    font-size: 18px;
    color: var(--pro-text-primary);
    margin-bottom: 4px;
}

.entry-org {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--pro-accent);
}

.entry-date {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    color: var(--pro-text-muted);
    margin-top: 4px;
}

.coursework-list {
    margin-top: 8px;
    padding-left: 16px;
    list-style-type: disc;
}

.coursework-list li {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: var(--pro-text-secondary);
}

/* --- Contact Section --- */
.contact-container {
    text-align: center;
    max-width: 600px !important;
}

.contact-heading {
    font-family: 'DM Serif Display', serif;
    font-size: 48px;
    color: var(--pro-text-primary);
    margin-bottom: var(--space-2);
}

.contact-subtext {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    color: var(--pro-text-secondary);
    margin-bottom: var(--space-6);
}

.contact-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.contact-btns-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--space-3);
    width: 100%;
}

.creative-cv-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(79, 172, 254, 0.4);
    color: #4facfe;
    padding: 8px 18px;
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.creative-cv-btn:hover {
    background: rgba(79, 172, 254, 0.15);
    border-color: #00f2fe;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(79, 172, 254, 0.3);
}

#copy-email-btn {
    position: relative;
    cursor: pointer;
}

.tooltip {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--pro-text-primary);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.tooltip.show { opacity: 1; }

.social-row {
    display: flex;
    gap: var(--space-4);
}

.social-link {
    color: var(--pro-text-secondary);
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--pro-accent);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    text-align: left;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid var(--pro-border);
    border-radius: 6px;
    background: var(--pro-surface-alt);
    font-family: 'DM Sans', sans-serif;
}

.contact-form button { margin-top: 12px; align-self: flex-start; }

/* --- Footer --- */
#footer {
    padding: var(--space-6) 0;
    background: var(--pro-bg);
    border-top: 1px solid var(--pro-border);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 600px) {
    .footer-container { flex-direction: column; gap: var(--space-2); }
}

.footer-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: var(--pro-text-muted);
}

.footer-links {
    display: flex;
    gap: var(--space-4);
}

.footer-links a {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: var(--pro-text-secondary);
    text-decoration: none;
}

/* --- Windows XP Boot Screen --- */
#boot-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    overflow: hidden;
    font-family: 'Tahoma', sans-serif;
}

.xp-boot-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    width: 100%;
    max-width: 500px;
}

.xp-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.microsoft-text {
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.1em;
    margin-bottom: -10px;
    align-self: flex-start;
    margin-left: 10px;
}

.windows-xp-logo {
    display: flex;
    align-items: baseline;
    font-size: 64px;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
}

.win-text {
    color: #fff;
}

.xp-text {
    color: #FF9900;
    font-style: italic;
    font-size: 0.8em;
    margin-left: 4px;
}

.edition-text {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.2em;
    margin-top: -5px;
    align-self: flex-end;
    margin-right: 15px;
    opacity: 0.9;
}

.xp-loading-container {
    margin-top: 40px;
}

.xp-progress-bar {
    width: 180px;
    height: 16px;
    border: 2px solid #ccc;
    border-radius: 4px;
    padding: 2px;
    position: relative;
    overflow: hidden;
}

.xp-progress-blocks {
    display: flex;
    gap: 3px;
    position: absolute;
    height: calc(100% - 4px);
    animation: xpLoading 2s linear infinite;
}

.xp-block {
    width: 10px;
    height: 100%;
    background: linear-gradient(to bottom, #2b6fe1, #7ea5e7 50%, #2b6fe1);
    border-radius: 1px;
}

@keyframes xpLoading {
    0% { left: -40px; }
    100% { left: 180px; }
}

.xp-copyright {
    position: absolute;
    bottom: 40px;
    font-size: 12px;
    color: #fff;
    opacity: 0.8;
    text-align: center;
}

/* Transitions */
.fade-out {
    animation: fadeOut 0.8s forwards;
}

@keyframes fadeOut {
    to { opacity: 0; visibility: hidden; }
}

/* --- Reveal Animations --- */
.reveal, .scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.visible, .scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Liquid Metallic Chrome Button --- */
.btn-chrome {
    position: relative;
    overflow: hidden;
    color: #111111;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.15),
        inset 0 2px 5px rgba(255, 255, 255, 0.9),
        inset 0 -2px 5px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(0, 0, 0, 0.1);
    
    /* Chrome map linear gradient + radial mouse reflection tracking */
    background: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 0.9) 0%,
        rgba(255, 255, 255, 0) 60%
    ), linear-gradient(
        135deg,
        #cfd9df 0%,
        #e2ebf0 20%,
        #ffffff 40%,
        #4f5d65 48%,
        #0c1417 50%,
        #ffffff 52%,
        #9ea8ad 75%,
        #e2ebf0 100%
    );
    background-size: 200% 200%;
    background-position: 0% 0%;
    
    /* Text styling */
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 
        transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
        box-shadow 0.3s ease,
        border-color 0.3s ease;
    
    /* Liquid blob morphing */
    border-radius: 30px 45px 35px 50px / 50px 35px 45px 30px;
    animation: 
        liquid-morph 6s ease-in-out infinite,
        liquid-flow-bg 12s ease-in-out infinite alternate;
}

.btn-chrome:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.25),
        inset 0 3px 7px rgba(255, 255, 255, 0.95),
        inset 0 -3px 7px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(0, 0, 0, 0.15);
    border-color: #ffffff;
}

.btn-chrome:active {
    transform: translateY(-1px) scale(0.99);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 3px rgba(255, 255, 255, 0.8),
        inset 0 -1px 3px rgba(0, 0, 0, 0.5);
}

/* Chrome reflection sheen overlay */
.btn-chrome::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -150%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 30%,
        rgba(255, 255, 255, 0.7) 50%,
        rgba(255, 255, 255, 0.3) 70%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(25deg);
    pointer-events: none;
    transition: 0s;
}

.btn-chrome:hover::before {
    left: 150%;
    transition: left 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Animations for liquid mercury behavior */
@keyframes liquid-morph {
    0% {
        border-radius: 30px 45px 35px 50px / 50px 35px 45px 30px;
    }
    33% {
        border-radius: 40px 30px 45px 35px / 35px 50px 30px 45px;
    }
    66% {
        border-radius: 35px 50px 30px 40px / 45px 30px 50px 35px;
    }
    100% {
        border-radius: 30px 45px 35px 50px / 50px 35px 45px 30px;
    }
}

@keyframes liquid-flow-bg {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 100%;
    }
}

/* --- Video Transition Loader --- */
.video-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000000;
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-loader.active {
    opacity: 1;
}

.video-loader video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.skip-loader-btn {
    position: absolute;
    bottom: 40px;
    right: 40px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 10px 24px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 30px;
    cursor: pointer;
    z-index: 1000000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.skip-loader-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

/* --- Creative Space Mode (3rd Portfolio) --- */
#third-mode {
    background-color: #05060b;
    background-image: radial-gradient(circle at 50% -20%, #151833 0%, #05060b 80%);
    min-height: 100vh;
    color: #f3f4f6;
    font-family: 'DM Sans', sans-serif;
    padding-bottom: var(--space-12);
    position: relative;
    overflow-x: hidden;
}

/* Header styling */
.creative-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    background: rgba(5, 6, 11, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100;
}

.creative-header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-3) var(--space-4);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.creative-logo {
    font-family: 'JetBrains Mono', monospace;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #00f2fe, #4facfe, #7f00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.creative-back-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f3f4f6;
    padding: 8px 18px;
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.creative-back-btn svg {
    transition: transform 0.3s ease;
}

.creative-back-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateX(-2px);
}

.creative-back-btn:hover svg {
    transform: translateX(-3px);
}

/* Hero styling */
.creative-hero {
    padding: var(--space-12) var(--space-4) var(--space-8);
    position: relative;
    display: flex;
    justify-content: center;
    text-align: center;
}

.creative-hero-content {
    max-width: 800px;
    position: relative;
    z-index: 10;
}

.glow-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(79, 172, 254, 0.15) 0%, rgba(127, 0, 255, 0.05) 50%, transparent 100%);
    filter: blur(40px);
    pointer-events: none;
    z-index: -1;
}

.creative-title {
    font-family: 'DM Serif Display', serif;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--space-3);
    background: linear-gradient(135deg, #ffffff 40%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.creative-subtitle {
    font-size: 18px;
    color: #9ca3af;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Showcase Grid styling */
.creative-showcase {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.creative-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

@media (max-width: 900px) {
    .creative-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .creative-grid {
        grid-template-columns: 1fr;
    }
}

.creative-card {
    position: relative;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.creative-card-inner {
    background: #0a0b10;
    border-radius: 15px;
    padding: 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    transition: background 0.3s ease;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(79, 172, 254, 0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.creative-card:hover {
    transform: translateY(-8px);
    background: linear-gradient(135deg, #00f2fe 0%, #7f00ff 100%);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(79, 172, 254, 0.2);
}

.creative-card:hover .creative-card-inner {
    background: #0d0f17;
}

.creative-card:hover .card-glow {
    opacity: 1;
}

.card-meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #4facfe;
    margin-bottom: var(--space-2);
}

.card-title {
    font-family: 'DM Serif Display', serif;
    font-size: 24px;
    margin-bottom: var(--space-2);
    color: #ffffff;
}

.card-desc {
    font-size: 14px;
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: var(--space-4);
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.card-tags span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    color: #d1d5db;
}

.creative-nav-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: var(--space-6);
}

.creative-tab {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #9ca3af;
    padding: 8px 20px;
    border-radius: 30px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.creative-tab:hover, .creative-tab.active {
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.2) 0%, rgba(127, 0, 255, 0.2) 100%);
    border-color: #4facfe;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(79, 172, 254, 0.3);
}

.creative-card-link {
    display: inline-block;
    color: #4facfe;
    text-decoration: none;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    margin-top: 16px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.creative-card-link:hover {
    color: #00f2fe;
    transform: translateX(4px);
}
