body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #020617;
    color: #e5e7eb;
    cursor: none;
}

button, a {
    cursor: none;
}

/* soften background only on specific pages */
.page-soft #particles-js {
    filter: blur(2px);
    opacity: 0.5;
}

.page-soft .icon {
    filter: blur(2.5px) drop-shadow(0 0 4px #38bdf8);
    opacity: 0.30;
    transform: scale(0.7);
}

/* Sections & Titles */
section {
    padding: 60px;
    max-width: 1000px;
    margin: auto;
}

.section-header {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 50px;

    display: flex;
    flex-direction: column;
    align-items: flex-start; /* 🔥 LEFT aligned */

    position: relative;
}

/* TITLE */
.section-title {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: 1px;

    color: #38bdf8;

    text-shadow:
        0 0 10px rgba(56,189,248,0.4),
        0 0 20px rgba(56,189,248,0.2);
}

/* LINE UNDER TITLE */
.section-line {
    width: 120px;
    height: 3px;
    margin-top: 10px;

    background: linear-gradient(
        90deg,
        #38bdf8,
        #a78bfa,
        transparent
    );

    box-shadow:
        0 0 10px #38bdf8,
        0 0 20px rgba(167,139,250,0.4);

    animation: sectionPulse 2s infinite;
}

@keyframes sectionPulse {
    0% { opacity: 0.6; width: 80px; }
    50% { opacity: 1; width: 140px; }
    100% { opacity: 0.6; width: 80px; }
}

.title-wrapper {
    display: inline-block;
    padding: 10px 25px;
    margin-bottom: 40px;

    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);

    border-radius: 10px;

    border: 1px solid rgba(56, 189, 248, 0.2);

    box-shadow:
        0 0 10px rgba(56,189,248,0.2),
        inset 0 0 10px rgba(56,189,248,0.1);
}

.title-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 10px;

    background: linear-gradient(90deg, transparent, #38bdf8, transparent);

    opacity: 0;
    animation: titleScan 4s infinite;
}

@keyframes titleScan {
    0% { opacity: 0; transform: translateX(-100%); }
    50% { opacity: 0.4; }
    100% { opacity: 0; transform: translateX(100%); }
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;

    background: radial-gradient(circle at center, #0f172a, #020617);
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 10px;
    color: #38bdf8;
}

.hero h2 {
    font-size: 24px;
    color: #a78bfa;
    height: 30px;
}

/* Buttons */
.buttons {
    margin-top: 30px;
}

.glow-button {
    display: inline-block;
    margin: 10px;
    padding: 12px 20px;
    border: 2px solid #38bdf8;
    color: #38bdf8;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s;
    font-weight: bold;
}

.glow-button:hover {
    background-color: #38bdf8;
    color: #020617;
    box-shadow: 0 0 15px #38bdf8, 0 0 30px #38bdf8;
}


/* NAV BUTTONS */
.hero-nav {
    display: flex;
    gap: 20px;
    margin-top: 25px;
}

.nav-btn {
    padding: 10px 18px;
    border: 1px solid #38bdf8;
    border-radius: 8px;
    color: #38bdf8;
    text-decoration: none;
    transition: 0.3s;
}

.nav-btn:hover {
    background: #38bdf8;
    color: #020617;
    box-shadow: 0 0 15px #38bdf8;
}

.hero-divider {
    width: 300px;
    height: 2px;
    margin: 30px auto;

    background: linear-gradient(
        90deg,
        transparent,
        #38bdf8,
        #a78bfa,
        #38bdf8,
        transparent
    );

    animation: pulseLine 2s infinite;
}

@keyframes pulseLine {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

.terminal-btn {
    padding: 14px 30px;
    border-radius: 10px;
    text-decoration: none;

    background: linear-gradient(135deg, #38bdf8, #a78bfa);
    color: #020617;
    font-weight: bold;
    font-size: 16px;

    transition: 0.3s;
}

.terminal-btn:hover {
    transform: scale(1.1);
    box-shadow:
        0 0 20px #38bdf8,
        0 0 40px #a78bfa;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    z-index: 10;
}

.scroll-indicator .circle {
    width: 14px;
    height: 14px;
    border-radius: 50%;

    background: #38bdf8;

    box-shadow:
        0 0 10px #38bdf8,
        0 0 20px #38bdf8;

    animation: pulseScroll 1.5s infinite;
}

@keyframes pulseScroll {
    0% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.5); opacity: 1; }
    100% { transform: scale(1); opacity: 0.7; }
}

/* System Label */
.system-label {
    position: absolute;
    top: 20px;
    left: 30px;

    padding: 8px 14px;
    border-radius: 8px;

    font-family: monospace;
    font-size: 12px;
    letter-spacing: 1px;

    color: #38bdf8;

    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);

    border: 1px solid rgba(56, 189, 248, 0.3);

    box-shadow:
        0 0 10px rgba(56,189,248,0.3),
        inset 0 0 10px rgba(56,189,248,0.1);

    overflow: hidden;
}

.system-label::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;

    width: 100%;
    height: 2px;

    background: linear-gradient(90deg, transparent, #38bdf8, transparent);

    animation: systemScan 3s infinite;
}

@keyframes systemScan {
    0% { left: -100%; }
    100% { left: 100%; }
}


/* Home Lab Sections */
/* LABS → transparent */
.labs-section {
    padding: 120px 40px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.labs-section {
    padding: 100px 40px;
    text-align: center;
}

.labs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.lab-card {
    position: relative;
    padding: 30px;
    border-radius: 14px;

    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);

    border: 1px solid rgba(56, 189, 248, 0.2);

    overflow: hidden;
    transition: 0.4s;

    text-decoration: none;
}

/* glowing border animation */
.lab-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    padding: 1px;

    background: linear-gradient(120deg, #38bdf8, #a78bfa, #38bdf8);
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;

    opacity: 0;
    transition: 0.4s;
}

/* hover */
.lab-card:hover {
    transform: translateY(-12px) scale(1.03);
}

.lab-card:hover::before {
    opacity: 1;
}

/* title glow */
.lab-card h3 {
    color: #38bdf8;
    transition: 0.3s;
    font-size: 20px;
    letter-spacing: 1px;
}

.lab-card:hover h3 {
    text-shadow: 0 0 10px #38bdf8;
}

.lab-card::after {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;

    background: radial-gradient(circle, rgba(56,189,248,0.15), transparent);

    opacity: 0;
    transition: 0.5s;
}

.lab-card:hover::after {
    opacity: 1;
}

.lab-divider {
    width: 80px;
    height: 2px;
    margin: 10px auto 15px;

    background: linear-gradient(
        90deg,
        transparent,
        #38bdf8,
        #a78bfa,
        #38bdf8,
        transparent
    );

    animation: pulseLine 2s infinite;
}

.lab-text {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.5;
    transition: 0.3s;
}

.lab-card:hover .lab-text {
    color: #cbd5f5;
}

.lab-card:active {
    transform: scale(0.97);
}

/* Project Cards */

.highlight-projects {
    padding: 120px 40px;
    background: radial-gradient(circle at center, #0f172a, #020617);
}

.project-cards {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.card {
    position: relative;
    padding: 30px;
    border-radius: 12px;

    background: #020617;
    border: 1px solid #1e293b;

    transition: 0.4s;
    overflow: hidden;
}

/* glow line */
.card::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;

    background: linear-gradient(90deg, #38bdf8, #a78bfa);
    transition: 0.4s;
}

.card:hover::before {
    width: 100%;
}

/* hover */
.card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 0 10px rgba(56,189,248,0.3),
        0 0 30px rgba(167,139,250,0.3);
}

/* highlight blogs */

.highlight-blogs {
    padding: 120px 40px;
    position: relative;
    z-index: 2;
}

/* Particles */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

.content {
    position: relative;
    z-index: 10;
}

/* scrolling */
.hidden {
    opacity: 0;
    transform: translateY(60px) scale(0.98);
    filter: blur(5px);
}

.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
    transition: all 0.8s ease;
}

/* Floating Icons */
.floating-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.icon {
    position: absolute;
    width: 50px;
    opacity: 0.7;
    filter: drop-shadow(0 0 5px #38bdf8);
    animation: float 10s infinite ease-in-out;
}

.icon:hover {
    opacity: 1;
    transform: scale(1.2);
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* booting */
#boot-screen {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: black;
    color: #22c55e;
    font-family: monospace;
    padding: 20px;
    z-index: 9999;
}

#boot-text {
    white-space: pre-line;
}

/* character */
#character {
    position: fixed;
    width: 60px;
    height: auto;
    z-index: 99999;
    pointer-events: none;
    left: 100px;
    top: 100px;
}

.click-effect {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid #38bdf8;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    box-shadow:
        0 0 5px #38bdf8,
        0 0 10px #38bdf8,
        0 0 20px #38bdf8;
    transform: translate(-50%, -50%);
    animation: clickAnim 0.5s ease-out forwards;
}

.cursor-trail {
    position: fixed;
    width: 10px;
    height: 10px;
    background: rgba(56, 189, 248, 0.6);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9997;
    transform: translate(-50%, -50%);
    box-shadow:
        0 0 6px #38bdf8,
        0 0 12px #38bdf8,
        0 0 20px rgba(56,189,248,0.5);
    animation: trailFade 0.45s ease-out forwards;
}

@keyframes trailFade {
    from {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1);
    }
    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.4);
    }
}

@keyframes clickAnim {
    from {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(4);
    }
}

/* game menu */
.game-menu {
    position: fixed;
    top: 30%;
    left: 50px;
}

.menu-item {
    margin: 20px 0;
    font-size: 24px;
}

.menu-item a {
    color: #38bdf8;
    text-decoration: none;
    transition: 0.3s;
}

.menu-item a:hover {
    color: #a78bfa;
    text-shadow: 0 0 10px #a78bfa;
    transform: scale(1.2);
}

/* Landing */
#landing-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    z-index: 5;
}

.landing-content {
    background: #0f172a;
    padding: 40px 60px;
    border-radius: 12px;
    border: 1px solid #ff2bd6;

    box-shadow:
        0 0 5px rgba(255, 43, 214, 0.4),
        0 0 15px rgba(255, 43, 214, 0.25),
        0 0 30px rgba(255, 43, 214, 0.15);

    text-align: center;
    animation: fadeInScale 1s ease;
}

.landing-content h1 {
    font-size: 64px;

    background: linear-gradient(90deg, #38bdf8, #a78bfa, #ff2bd6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    text-shadow:
        0 0 5px rgba(56,189,248,0.8),
        0 0 15px rgba(255,43,214,0.5);
}

.landing-content p {
    color: #a78bfa;
    margin-bottom: 20px;
}

#loading-circle {
    margin: 20px auto;
    width: 40px;
    height: 40px;
    border: 4px solid #1e293b;
    border-top: 4px solid #38bdf8;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none;
}

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

@keyframes pulseGlow {
    from { box-shadow: 0 0 10px rgba(56,189,248,0.2); }
    to   { box-shadow: 0 0 25px rgba(56,189,248,0.6); }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Projects */
/* Header */
.page-header {
    text-align: center;
    margin-top: 100px;
}

.page-header h1 {
    font-size: 40px;
    color: #38bdf8;
}

.page-header p {
    color: #94a3b8;
}

/* Grid */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 60px;
}

/* Cards */
.project-card {
    background: #0f172a;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #1e293b;
    transition: 0.3s;
}

.project-card h2 {
    color: #a78bfa;
}

.project-card p {
    color: #cbd5f5;
}

/* Hover effect */
.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 0 20px #38bdf8;
}


/* Blogs */
/* BLOG GRID */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: auto;
}

/* BLOG CARD */
.blog-card {
    position: relative;
    padding: 25px;
    border-radius: 14px;

    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);

    border: 1px solid rgba(56, 189, 248, 0.2);

    transition: 0.4s;
    overflow: hidden;
}

/* subtle glow background */
.blog-card::after {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;

    background: radial-gradient(circle, rgba(56,189,248,0.1), transparent);

    opacity: 0;
    transition: 0.5s;
}

/* hover */
.blog-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        0 0 10px rgba(56,189,248,0.3),
        0 0 30px rgba(167,139,250,0.2);
}

.blog-card:hover::after {
    opacity: 1;
}

/* META TAG */
.blog-meta {
    font-size: 12px;
    color: #a78bfa;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

/* TITLE */
.blog-card h3 {
    font-size: 20px;
    color: #38bdf8;
    margin-bottom: 10px;

    transition: 0.3s;
}

.blog-card:hover h3 {
    text-shadow: 0 0 10px #38bdf8;
}

/* DESCRIPTION */
.blog-card p {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.5;

    transition: 0.3s;
}

.blog-card:hover p {
    color: #cbd5f5;
}

/* About Page */
/* ABOUT ENHANCED */
.about-container.enhanced {
    max-width: 1000px;
    margin: auto;
    padding: 40px;
}

/* INTRO */
.about-intro {
    font-size: 18px;
    color: #cbd5f5;
    margin-bottom: 20px;
}

/* HIGHLIGHT WORDS */
.highlight {
    color: #38bdf8;
    text-shadow: 0 0 10px rgba(56,189,248,0.4);
}

/* SYSTEM CARDS */
.about-systems {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.system-card {
    flex: 1;
    min-width: 250px;

    padding: 25px;
    border-radius: 12px;

    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);

    border: 1px solid rgba(56, 189, 248, 0.2);

    transition: 0.4s;
}

.system-card h3 {
    color: #a78bfa;
    margin-bottom: 10px;
}

.system-card p {
    color: #94a3b8;
}

.system-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 0 15px rgba(56,189,248,0.3),
        0 0 30px rgba(167,139,250,0.2);
}

/* EDGE SECTION */
.about-edge {
    margin-top: 60px;
    text-align: center;
}

.about-edge h2 {
    color: #38bdf8;
    margin-bottom: 20px;
}

.about-edge p {
    color: #cbd5f5;
    margin-bottom: 15px;
}

/* TIMELINE CONTAINER */

.timeline-header {
    text-align: center;
    margin-top: 120px;
    margin-bottom: 40px;
}

.timeline-header h2 {
    font-size: 36px;
    color: #38bdf8;

    text-shadow:
        0 0 10px rgba(56,189,248,0.6),
        0 0 30px rgba(56,189,248,0.3);
}

.timeline-header-line {
    width: 120px;
    height: 3px;
    margin: 10px auto;

    background: linear-gradient(
        90deg,
        transparent,
        #38bdf8,
        #a78bfa,
        transparent
    );

    animation: pulseLine 2s infinite;
}

.timeline {
    position: relative;
    margin-top: 100px;
    padding: 60px 0;
}

/* CENTER LINE */
.timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: 10px;
    height: 100%;

    background: linear-gradient(
        to bottom,
        transparent,
        #38bdf8,
        #a78bfa,
        transparent
    );

    transform: translateX(-50%);
}

.timeline-end {
    text-align: center;
    margin: 80px 0 120px;
}

.timeline-end p {
    color: #94a3b8;
    margin-bottom: 20px;
}

/* ITEM BASE */
.timeline-item {
    position: relative;
    width: 50%;
    padding: 40px;
    box-sizing: border-box;

    opacity: 0;
    transform: translateY(80px) scale(0.95);
    filter: blur(6px);
}

/* ACTIVE STATE */
.timeline-item.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
    transition: all 1.4s ease; /* slower than global */
}

.timeline::before {
    animation: linePulse 3s infinite;
}

@keyframes linePulse {
    0% { opacity: 0.4; }
    50% { opacity: 1; }
    100% { opacity: 0.4; }
}

/* LEFT / RIGHT */
.timeline-item.left {
    left: 0;
    padding-right: 30px;
}

.timeline-item.right {
    left: 50%;
     padding-left: 30px;
}

/* FIX CONTENT POSITION */
.timeline-item.left .timeline-content {
    margin-right: 20px;
    text-align: right;
}

.timeline-item.right .timeline-content {
    margin-left: 20px;
    text-align: left;
}

/* DOT (donut style) */
.timeline-dot {
    position: absolute;

    top: 50%;
    left: calc(100%);

    width: 20px;
    height: 20px;

    background: #020617;
    border: 3px solid #38bdf8;
    border-radius: 50%;

    opacity: 0;
    transform: translate(-50%, -50%) scale(0.3);

    box-shadow:
        0 0 10px #38bdf8,
        0 0 25px rgba(167,139,250,0.6);

    z-index: 20;
}

/* activate AFTER card */
.timeline-item.left .timeline-dot {
    left: calc(100% - 13px);
    transform: translateY(-50%) scale(0.3);
}

.timeline-item.right .timeline-dot {
    left: -12px;
    transform: translateY(-50%) scale(0.3);
}

.timeline-item.active.left .timeline-dot,
.timeline-item.active.right .timeline-dot {
    opacity: 1;
    transform: translateY(-50%) scale(1);
    transition: opacity 0.5s ease 0.4s, transform 0.5s ease 0.4s;
}

/* inner hole glow pulse */
.timeline-dot::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 50%;

    background: radial-gradient(circle, #38bdf8, transparent);
    opacity: 0.6;

    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0% { transform: scale(0.6); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.6); opacity: 0.3; }
}

/* CONTENT BOX */
.timeline-content {
    position: relative;

    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(12px);

    padding: 25px;
    border-radius: 14px;

    border: 1px solid rgba(56, 189, 248, 0.2);

    overflow: hidden;

    transition: 0.4s;
}

/* animated gradient border */
.timeline-content::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    padding: 1px;

    background: linear-gradient(120deg, #38bdf8, #a78bfa, #38bdf8);

    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;

    opacity: 0;
    transition: 0.4s;
}

/* hover */
.timeline-content:hover {
    transform: translateY(-8px) scale(1.02);
}

.timeline-content:hover::before {
    opacity: 1;
}

/* glow wave */
.timeline-content::after {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;

    background: radial-gradient(circle, rgba(56,189,248,0.12), transparent);
    opacity: 0;
    transition: 0.5s;
}

.timeline-content:hover::after {
    opacity: 1;
}

/* HOVER */
.timeline-content:hover {
    transform: translateY(-6px);
    box-shadow:
        0 0 15px rgba(56,189,248,0.3),
        0 0 30px rgba(167,139,250,0.2);
}

/* YEAR */
.timeline-year {
    font-size: 12px;
    color: #a78bfa;
    display: block;
    margin-bottom: 6px;
}

/* TITLE */
.timeline-content h3 {
    color: #38bdf8;
    margin-bottom: 8px;
}

/* TEXT */
.timeline-content p {
    color: #94a3b8;
    font-size: 14px;
}

/* Contact Page */
.contact-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 60px;
    max-width: 1100px;
}

.contact-card {
    background: #0f172a;
    padding: 30px;
    border-radius: 12px;
    width: 250px;
    text-align: center;
    border: 1px solid #1e293b;
    transition: 0.3s;
    position: relative;
    z-index: 20;
}

.contact-card h2 {
    color: #a78bfa;
}

.contact-card p {
    color: #cbd5f5;
    margin-bottom: 20px;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px #38bdf8;
}


/* CONTACT HEADER UPGRADE */
.system-header {
    text-align: center;
    margin-top: 80px;
    position: relative;
}

.page-subtitle {
    color: #94a3b8;
    margin-top: 3px;
}

/* CONTACT CARD ENHANCED */
.contact-card.enhanced {
    position: relative;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(10px);

    border: 1px solid rgba(56, 189, 248, 0.2);
    transition: 0.4s;
}

/* ICON */
.contact-icon {
    width: 40px;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 8px #38bdf8);
}

/* MAIN EMAIL TEXT */
.contact-main {
    font-size: 16px;
    color: #cbd5f5;
    margin-bottom: 10px;
}

/* DESCRIPTION */
.contact-desc {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 20px;
}

/* HOVER EFFECT */
.contact-card.enhanced::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;

    background: linear-gradient(120deg, #38bdf8, #a78bfa, transparent);
    opacity: 0;
    transition: 0.4s;
    pointer-events: none;
}

.contact-card.enhanced:hover::before {
    opacity: 0.15;
}

/* FLOAT + SCALE */
.contact-card.enhanced:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow:
        0 0 20px rgba(56,189,248,0.4),
        0 0 40px rgba(167,139,250,0.3);
}

/* CV HIGHLIGHT */
.contact-card.highlight {
    border: 1px solid rgba(167,139,250,0.4);
    box-shadow:
        0 0 10px rgba(167,139,250,0.3),
        inset 0 0 10px rgba(167,139,250,0.1);
}

/* CV HIGHLIGHT BLOCK */
.cv-highlight {
    max-width: 900px;
    margin: 5px auto 5px;

    padding: 40px;
    border-radius: 16px;

    background: linear-gradient(
        135deg,
        rgba(56,189,248,0.1),
        rgba(167,139,250,0.1)
    );

    border: 1px solid rgba(167,139,250,0.3);

    box-shadow:
        0 0 20px rgba(56,189,248,0.2),
        0 0 40px rgba(167,139,250,0.2);

    text-align: center;

    position: relative;
    z-index: 20;
    overflow: hidden;
}

/* subtle animated glow */
.cv-highlight::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(120deg, transparent, #38bdf8, transparent);
    opacity: 0.1;
    animation: scanCV 4s infinite;
}

@keyframes scanCV {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* CONTENT */
.cv-content h2 {
    color: #a78bfa;
    font-size: 28px;
    margin-bottom: 10px;
}

.cv-content p {
    color: #cbd5f5;
    margin-bottom: 20px;
}

.cv-label {
    font-size: 12px;
    color: #22c55e;
    font-family: monospace;
    margin-bottom: 10px;
}

/* TITLE BLOCK */
.title-block {
    position: relative;
    display: inline-block;
}

/* HUGE FADED BACKGROUND TEXT */
.title-background {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);

    font-size: 120px;
    font-weight: 800;

    color: rgba(56, 189, 248, 0.05);
    letter-spacing: 10px;

    pointer-events: none;
}

/* MAIN TITLE ENHANCEMENT */
.glow-title {
    font-size: 48px;
    color: #38bdf8;

    position: relative;
    z-index: 2;

    text-shadow:
        0 0 10px rgba(56,189,248,0.6),
        0 0 30px rgba(56,189,248,0.4),
        0 0 60px rgba(167,139,250,0.3);
}

/* Navigation Bar */
/* NAVBAR CONTAINER */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 12px 25px;

    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);

    border-radius: 12px;

    border: 1px solid rgba(56, 189, 248, 0.2);

    z-index: 9999;

    box-shadow:
        0 0 10px rgba(56, 189, 248, 0.2),
        inset 0 0 10px rgba(56, 189, 248, 0.1);
}

/* LOGO */
.nav-logo {
    font-weight: bold;
    color: #38bdf8;
    letter-spacing: 2px;
    font-size: 18px;
}

/* LINKS */
.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #cbd5f5;
    font-size: 14px;
    position: relative;
    transition: 0.3s;
}

/* UNDERLINE GLOW EFFECT */
.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2px;

    background: linear-gradient(90deg, #38bdf8, #a78bfa);
    transition: 0.3s;
}

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

.nav-links a:hover {
    color: #38bdf8;
}

.nav-links a.active {
    color: #38bdf8;
}

.navbar::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #38bdf8, transparent);
    animation: scan 4s infinite;
}

@keyframes scan {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* TERMINAL BUTTON */
.nav-terminal {
    padding: 8px 15px;
    border-radius: 8px;
    text-decoration: none;

    background: linear-gradient(135deg, #38bdf8, #a78bfa);
    color: #020617;
    font-weight: bold;

    transition: 0.3s;
}

.nav-terminal:hover {
    box-shadow: 0 0 15px #38bdf8, 0 0 25px #a78bfa;
    transform: scale(1.05);
}

/* SUBTLE FLOAT ANIMATION */
.navbar {
    animation: floatNav 6s ease-in-out infinite;
}

@keyframes floatNav {
    0% { transform: translate(-50%, 0px); }
    50% { transform: translate(-50%, -5px); }
    100% { transform: translate(-50%, 0px); }
}
