/* ==========================================
   GLOBAL
========================================== */

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

body{
    background:#0d1117;
    color:white;
    font-family: 'DM Sans', sans-serif;
    line-height:1.6;
}

a{
    text-decoration:none;
    color:inherit;
}

/* ==========================================
   NAVBAR
========================================== */

.navbar{
    display:flex;
    justify-content:center;
    gap:40px;

    padding:25px;

    background:#161b22;

    border-bottom:1px solid #30363d;

    position:sticky;
    top:0;
    z-index:1000;
}

.navbar a{
    color:white;
    font-weight:600;
    transition:.3s;
}

.navbar a:hover{
    color:#58a6ff;
}

/* ==========================================
   HERO (HOME)
========================================== */

.hero{
    width:95%;
    margin:auto;

    min-height:80vh;

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

    gap:40px;
    padding:40px;
}

.hero-left{
    flex:1;

    display:flex;
    flex-direction:column;

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

    text-align:center;
}

.hero-left h1{
    font-size:3rem;
    margin:15px 0 10px;
}

.hero-left h2{
    color:#58a6ff;
    margin-bottom:15px;
}

.hero-left p{
    max-width:500px;
    margin-bottom:25px;
}

.hero-right{
    flex:1.3;
}

.hero-profile{
    display:flex;
    flex-direction:column;
    align-items:center;
}

.profile-image{
    width:180px;
    height:180px;

    border-radius:50%;
    object-fit:cover;

    margin-bottom:25px;

    border:4px solid #58a6ff;
}

.cv-button{
    display:inline-block;

    padding:12px 30px;

    background:#58a6ff;

    border-radius:10px;

    color:white;
    font-weight:bold;

    transition:.3s;
}

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

/* ==========================================
   NES EMULATOR
========================================== */

#game{
    width:100%;
    height:550px;

    border-radius:15px;

    overflow:hidden;

    border:3px solid #58a6ff;
}

#nes-frame{
    width:100%;
    height:100%;
    border:none;
}

/* ==========================================
   CARDS / STATS
========================================== */

.stats{
    display:flex;
    justify-content:center;

    gap:20px;
    flex-wrap:wrap;

    padding:50px;
}

.card{
    width:220px;

    background:#161b22;

    padding:30px;

    border-radius:15px;

    text-align:center;

    transition:.3s;
}

.card:hover{
    transform:translateY(-10px);
}

/* ==========================================
   TIMELINE
========================================== */

#timeline{
    width:80%;
    margin:auto;
    padding:50px 0;
}

.timeline-item{
    display:flex;
    gap:30px;
    margin-bottom:40px;
}

.year{
    min-width:100px;
    color:#58a6ff;
    font-weight:bold;
}

.content{
    border-left:3px solid #58a6ff;
    padding-left:20px;
}

/* ==========================================
   PROJECTS
========================================== */

#projects{
    width:90%;
    margin:auto;
    padding:50px 0;
}

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

.project-card{
    background:#161b22;
    padding:30px;
    border-radius:15px;
}

/* ==========================================
   CONTACT
========================================== */

.contact-links,
.footer-links{
    display:flex;
    justify-content:center;
    gap:25px;
}

.contact-links{
    margin-bottom:30px;
}

.footer-links{
    margin-bottom:15px;
}

.contact-links a,
.footer-links a{
    font-size:1.8rem;
    color:#8b949e;
    transition:.3s;
}

.contact-links a:hover,
.footer-links a:hover{
    color:#58a6ff;
    transform:translateY(-3px);
}

/* ==========================================
   FOOTER
========================================== */

footer{
    margin-top:80px;

    padding:40px 20px;

    text-align:center;

    background:#161b22;

    border-top:1px solid #30363d;
}

footer p{
    color:#8b949e;
    font-size:.9rem;
}

/* ==========================================
   PUBLICATIONS PAGE
========================================== */

.page-header{
    text-align:center;
    margin:60px 0 30px;
	z-index:1000;
}

.page-header h1{
    font-size:2.5rem;
    margin-bottom:10px;
}

.page-header p{
    color:#8b949e;
}

/* SEARCH */

.search-container{
    max-width:1000px;
    margin:30px auto;

    display:flex;
    gap:12px;

    padding:0 20px;
}

.search-container input{
    flex:1;

    padding:14px 18px;

    border:1px solid #30363d;
    border-radius:12px;

    background:#161b22;
    color:white;
}

.search-container button{
    padding:14px 24px;

    border:none;
    border-radius:12px;

    background:#58a6ff;
    color:white;

    cursor:pointer;
    font-weight:600;
}

.search-container button:hover{
    transform:translateY(-2px);
}

/* FILTERS */

.filters{
    max-width:1000px;

    margin:20px auto 30px;

    display:flex;
    justify-content:center;

    gap:15px;
    flex-wrap:wrap;
}

.filters select{
    min-width:180px;

    padding:12px;

    border-radius:10px;

    border:1px solid #30363d;

    background:#161b22;
    color:white;
}

/* RESULTS */

#resultCount{
    text-align:center;
    color:#8b949e;
    margin-bottom:25px;
}

#publicationsContainer{
    max-width:1100px;
    margin:auto;
    padding:0 20px;
}

/* PUBLICATION CARD */

.publication-card{
    background:#161b22;

    border-left:4px solid #58a6ff;

    border-radius:14px;

    padding:24px;

    margin-bottom:24px;

    box-shadow:
        0 6px 18px rgba(0,0,0,.25),
        0 2px 6px rgba(0,0,0,.15);

    transition:.25s;
}

.publication-card:hover{
    transform:translateY(-4px);

    box-shadow:
        0 12px 28px rgba(0,0,0,.35),
        0 4px 10px rgba(0,0,0,.20);
}

.publication-header{
    display:flex;
    justify-content:space-between;
    align-items:center;

    margin-bottom:15px;
}

.publication-year{
    color:#58a6ff;
    font-weight:bold;
}

.publication-type{
    background:#21262d;

    padding:6px 12px;

    border-radius:999px;

    font-size:.85rem;
}

.paper-button{
    display:inline-block;

    margin-top:12px;

    padding:10px 18px;

    background:#58a6ff;

    color:white !important;

    border-radius:10px;

    font-weight:600;
}

/* ==========================================
   STATS CARDS
========================================== */

.stats-section{
    display:flex;
    justify-content:center;

    gap:20px;
    flex-wrap:wrap;

    margin:40px auto;

    max-width:1100px;
}

.stat-card{
    background:#161b22;

    padding:25px;

    min-width:200px;

    text-align:center;

    border-radius:14px;

    border:1px solid #30363d;

    box-shadow:
        0 6px 18px rgba(0,0,0,.25);
}

.stat-card h2{
    color:#58a6ff;
    font-size:2rem;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media(max-width:900px){

    .hero{
        flex-direction:column;
    }

    .hero-right{
        width:100%;
    }

    #game{
        height:400px;
    }

    .search-container{
        flex-direction:column;
    }

    .publication-header{
        flex-direction:column;
        align-items:flex-start;
        gap:10px;
    }
}

.header-content{
    display:flex;
    align-items:center;
    gap:20px;
}

.header-avatar{
    width:180px;
    height:180px;
    object-fit:contain;
}

.header-text h1{
    margin-bottom:10px;
}

.page-header{
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:40px 20px;
	z-index:1000;
}

.page-header-publications{
    background-image:url("../assets/bg-images/bgpublications.png");
    background-size:cover;
    background-position:center;

    min-height:350px;

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

    overflow:hidden;
}

.page-header-projects{
    background-image:url("../assets/bg-images/bgprojects.png");
    background-size:cover;
    background-position:center;

    min-height:350px;

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


	z-index:1000;
}

.page-header-blogs{
    background-image:url("../assets/bg-images/bgblogs.png");
    background-size:cover;
    background-position:center;

    min-height:350px;

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

    overflow:hidden;
}


.header-content{
    display:flex;
    align-items:center;
    gap:30px;
}

.header-avatar{
    width:180px;
    height:180px;
    object-fit:contain;
}

.header-text h1{
    font-size:3.5rem;
    font-weight:800;
    color:#fff;

    text-shadow:
        0 0 10px rgba(0,0,0,0.8),
        0 0 20px rgba(0,0,0,0.8),
        0 0 30px rgba(0,0,0,0.8);

    margin-bottom:12px;
}

.header-text p{
    font-size:1.2rem;
    color:#e0e0e0;

    text-shadow:
        0 0 8px rgba(0,0,0,0.8),
        0 0 16px rgba(0,0,0,0.8);
}

.results-section{
    background-image:
        linear-gradient(
            rgba(13,17,23,.95),
            rgba(13,17,23,.95)
        ),
        url("../assets/bg-images/research-grid.png");

    background-size:cover;
    background-position:center;
}

.results-background{
    position:relative;
    min-height:100vh;
    padding-bottom:60px;
}

.results-background::before{
    content:"";
    position:absolute;
    inset:0;

    background-image:url("../assets/bg-images/research-grid.png");
    background-size:cover;
    background-position:center top;
    background-repeat:no-repeat;

    opacity:0.8;

    z-index:0;
}

.search-container,
.filters,
#resultCount,
#publicationsContainer{
    position:relative;
    z-index:1;
}

/* ==========================
   PUBLICATIONS
========================== */

.publication-card{
    display:flex;
    gap:20px;
    align-items:flex-start;

    background:#161b22;
    border:1px solid #30363d;

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

    margin-bottom:20px;

    transition:0.3s;
}

.publication-card:hover{
    transform:translateY(-3px);
    border-color:#58a6ff;
}

.publication-thumbnail{
    flex-shrink:0;
}

.publication-thumbnail img{
    width:120px;
    height:120px;

    object-fit:cover;

    border-radius:12px;

    border:1px solid #30363d;
}

.publication-content{
    flex:1;
}

.publication-content h3{
    margin:10px 0;
    line-height:1.4;
}

.publication-content p{
    margin-bottom:8px;
}

.publication-header{
    display:flex;
    gap:10px;
    margin-bottom:8px;
}

.publication-year{
    background:#238636;
    color:white;
    padding:4px 10px;
    border-radius:20px;
    font-size:0.8rem;
}

.publication-type{
    background:#1f6feb;
    color:white;
    padding:4px 10px;
    border-radius:20px;
    font-size:0.8rem;
}

.paper-button{
    display:inline-block;
    margin-top:10px;

    padding:8px 16px;

    background:#238636;
    color:white;

    text-decoration:none;
    border-radius:8px;

    transition:0.3s;
}

.paper-button:hover{
    background:#2ea043;
}

/* Responsive */

@media(max-width:768px){

    .publication-card{
        flex-direction:column;
    }

    .publication-thumbnail img{
        width:100%;
        height:220px;
    }

}

/* ==================================
   PUBLICATION EXTRA INFORMATION
================================== */

.publication-abstract{
    margin-top:12px;
    margin-bottom:12px;
    line-height:1.6;
    color:#d1d5db;
    font-size:0.95rem;
}

.publication-tags{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:10px;
    margin-bottom:10px;
}

.tag{
    display:inline-block;
    padding:5px 12px;
    border-radius:999px;
    font-size:0.8rem;
    font-weight:600;
}

/* Languages */

.language-tag{
    background:#1e3a8a;
    color:white;
}

/* Keywords */

.keyword-tag{
    background:#065f46;
    color:white;
}

.publication-doi{
    margin-top:8px;
    color:#9ca3af;
    font-size:0.9rem;
}

#selectedKeywords{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:15px;
}

.selected-keyword{
    background:#065f46;
    color:white;
    padding:8px 14px;
    border-radius:999px;
    display:flex;
    align-items:center;
    gap:8px;
    font-size:0.85rem;
}

.selected-keyword button{
    background:none;
    border:none;
    color:white;
    cursor:pointer;
    font-weight:bold;
    font-size:1rem;
}

.publication-links{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:15px;
}

.publication-btn{
    background:#2563eb;
}

.youtube-btn{
    background:#dc2626;
}

.github-btn{
    background:#24292e;
}

.paper-button{
    color:white;
    text-decoration:none;
    padding:10px 14px;
    border-radius:8px;
    display:inline-flex;
    align-items:center;
    gap:8px;
    font-size:0.9rem;
    transition:0.2s;
}

.paper-button:hover{
    transform:translateY(-2px);
}

.publication-links{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin:15px 0;
}

.paper-button{
    display:inline-flex;
    align-items:center;
    gap:8px;

    padding:8px 14px;

    border-radius:8px;

    text-decoration:none;

    background:#2563eb;
    color:white;
}

.youtube-btn{
    background:#dc2626;
}

.github-btn{
    background:#24292e;
}

#tech-background{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index:-1;
    pointer-events:none;
    opacity:0.25;
}

body{
    overflow-x:hidden;
}

.profile-image{
    transition: opacity 0.5s ease;
}

.arcade-cabinet{

    width:100%;
    max-width:700px;

    margin:auto;

    background:#111;

    border:8px solid #444;

    border-radius:20px;

    overflow:hidden;

    box-shadow:
        0 0 25px rgba(0,255,255,.25),
        0 0 60px rgba(255,0,255,.15);

}

.arcade-marquee{

    background:linear-gradient(
        90deg,
        #ff0066,
        #ffcc00,
        #00ffff
    );

    text-align:center;

    padding:15px;

    font-size:1.3rem;

    font-weight:bold;

    letter-spacing:3px;

    color:#000;

    text-shadow:
        0 0 5px white;

}

.arcade-screen-frame{

    padding:20px;

    background:#050505;

    border-top:4px solid #222;
    border-bottom:4px solid #222;
}

#game{

    width:100%;
    min-height:500px;

    border:6px solid #333;

    border-radius:10px;

    overflow:hidden;

    box-shadow:
        inset 0 0 40px rgba(0,255,0,.15),
        0 0 25px rgba(0,255,255,.3);
}

.arcade-controls{

    display:flex;

    justify-content:space-between;

    padding:12px 20px;

    background:#111;

    color:#00ff99;

    font-family:monospace;

    font-size:.9rem;

    letter-spacing:2px;
}

.arcade-screen-frame{
    position:relative;
}

.arcade-screen-frame::after{

    content:"";

    position:absolute;

    inset:20px;

    pointer-events:none;

    background:
    repeating-linear-gradient(
        transparent 0px,
        transparent 2px,
        rgba(255,255,255,.04) 3px
    );

    mix-blend-mode:screen;
}

.navbar{
    display:flex;
    justify-content:center;
    gap:15px;

    padding:20px;

    background:rgba(10,10,10,.9);
    backdrop-filter:blur(8px);

    border-bottom:3px solid #222;
}

.nav-btn{
    min-width:180px;

    padding:14px 24px;

    text-align:center;
    text-decoration:none;

    color:white;
    font-weight:700;
    font-size:1rem;

    border-radius:10px;

    transition:.2s;

    box-shadow:
        inset 0 -4px rgba(0,0,0,.35),
        0 5px 12px rgba(0,0,0,.4);
}

.nav-btn i{
    margin-right:8px;
}

.nav-btn:hover{
    transform:translateY(-3px);
}

.nav-btn:active{
    transform:translateY(2px);
}

.home-btn{
    background:#e63946;
}

.pub-btn{
    background:#4361ee;
}

.project-btn{
    background:#2a9d8f;
}

.blog-btn{
    background:#f4a261;
}

.home-btn{
    background:linear-gradient(#ff5c6c,#c1121f);
}

.pub-btn{
    background:linear-gradient(#5a7dff,#1d4ed8);
}

.project-btn{
    background:linear-gradient(#38d9a9,#087f5b);
}

.blog-btn{
    background:linear-gradient(#ffbf69,#f77f00);
}

.nav-btn{
    border:3px solid rgba(255,255,255,.15);

    text-transform:uppercase;
    letter-spacing:1px;
}

.publication-card{

    position:relative;

    display:flex;
    gap:24px;

    padding:24px;

    margin-bottom:30px;

    border-radius:20px;

    background:
    rgba(22,27,34,.85);

    border:
    1px solid rgba(0,255,136,.15);

    backdrop-filter:blur(12px);

    overflow:hidden;

    transition:.35s;
}

.publication-card:hover{

    transform:
    translateY(-6px);

    border-color:
    rgba(0,255,136,.5);

    box-shadow:
        0 15px 40px rgba(0,0,0,.5),
        0 0 30px rgba(0,255,136,.15);
}

.publication-glow{

    position:absolute;

    inset:0;

    pointer-events:none;

    background:
    radial-gradient(
        circle at top right,
        rgba(0,255,136,.08),
        transparent 50%
    );
}

.publication-thumbnail{

    min-width:220px;
    max-width:220px;

    overflow:hidden;

    border-radius:14px;
}

.publication-thumbnail img{

    width:100%;
    height:100%;

    object-fit:cover;

    transition:.4s;
}

.publication-card:hover
.publication-thumbnail img{

    transform:scale(1.05);
}

.publication-title{

    color:white;

    font-size:1.35rem;

    margin-bottom:12px;

    line-height:1.4;
}

.publication-card:hover
.publication-title{

    color:#00ff88;
}

.publication-year,
.publication-type{

    display:inline-block;

    padding:6px 12px;

    border-radius:30px;

    font-size:.8rem;

    font-weight:700;
}

.publication-year{

    background:#00ff88;
    color:#000;
}

.publication-type{

    background:#252d38;
    color:white;
}

.keyword-tag{

    background:#1d2530;

    border:
    1px solid rgba(0,255,136,.25);

    color:#00ff88;
}

.paper-button{

    border-radius:12px;

    transition:.3s;
}

.paper-button:hover{

    transform:translateY(-2px);

    box-shadow:
    0 0 15px rgba(0,255,136,.3);
}

@media(max-width:900px){

    .publication-card{

        flex-direction:column;
    }

    .publication-thumbnail{

        max-width:100%;
    }
}

.skills-overview{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(260px,1fr));

    gap:24px;

    margin:60px auto;

    max-width:1400px;

    padding:0 30px;
}

.skill-card{

    background:
    rgba(22,27,34,.85);

    border:
    1px solid rgba(0,255,136,.2);

    border-radius:20px;

    padding:25px;

    transition:.35s;

    backdrop-filter:blur(10px);
}

.skill-card:hover{

    transform:
    translateY(-6px);

    box-shadow:
    0 0 25px rgba(0,255,136,.15);
}

.skill-card img{

    width:72px;

    image-rendering:pixelated;

    margin-bottom:15px;
}

.skill-card h3{

    color:#00ff88;

    margin-bottom:15px;
}

.skill-card ul{

    padding-left:18px;
}

.skill-card li{

    margin-bottom:8px;
}

.skills-carousel-section{

    margin:60px auto;
    max-width:1400px;
    padding:0 20px;
}

.skills-carousel{

    display:flex;

    gap:20px;

    overflow-x:auto;

    scroll-behavior:smooth;

    padding:10px 0 20px;
}

.skills-carousel::-webkit-scrollbar{

    height:10px;
}

.skills-carousel::-webkit-scrollbar-thumb{

    background:#00ff88;
    border-radius:10px;
}

.skill-card{

    flex:0 0 300px;

    background:rgba(20,20,20,.85);

    border:1px solid rgba(0,255,136,.25);

    border-radius:18px;

    padding:20px;

    transition:.3s;
}

.skill-card:hover{

    transform:translateY(-5px);

    box-shadow:
        0 0 25px rgba(0,255,136,.2);
}

.skill-header{

    display:flex;

    align-items:center;

    gap:12px;

    margin-bottom:15px;
}

.skill-header img{

    width:48px;
    height:48px;

    image-rendering:pixelated;
}

.skill-header h3{

    margin:0;

    color:#00ff88;

    font-size:1.1rem;
}

.skill-card ul{

    margin:0;
    padding-left:20px;
}

.skill-card li{

    margin-bottom:8px;
}

.skill-cartridges{

    margin:80px auto;

    max-width:1600px;

    padding:0 20px;
}

.skill-cartridges h2{

    text-align:center;

    margin-bottom:40px;
}

.cartridge-carousel{

    display:flex;

    gap:30px;

    overflow-x:auto;

    padding-bottom:20px;
}
/* =====================================
   SKILL CAROUSEL
===================================== */

.skill-carousel-section{

    max-width:1600px;

    margin:80px auto;

    text-align:center;
}

.skill-carousel-section h2{

    margin-bottom:40px;

    font-size:2rem;
}

.carousel-wrapper{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:20px;
}

.carousel-btn{

    width:60px;
    height:60px;

    border:none;

    border-radius:50%;

    background:#111;

    color:#00ff88;

    font-size:1.5rem;

    cursor:pointer;

    transition:.25s;
}

.carousel-btn:hover{

    transform:scale(1.15);

    box-shadow:
    0 0 20px rgba(0,255,136,.4);
}

.carousel-3d{

    position:relative;

    width:900px;

    height:700px;

    perspective:1800px;

    overflow:visible;
}

.skill-slide{

    position:absolute;

    left:50%;
    top:50%;

    width:340px;

    transform-style:preserve-3d;

    transition:.6s ease;
}

.skill-slide img{

    width:100%;

    border-radius:18px;

    box-shadow:
        0 20px 40px rgba(0,0,0,.5);

    user-select:none;
}

/* =====================================
   TIMELINE CAROUSEL
===================================== */

#timeline{

    max-width:1000px;

    margin:120px auto;

    text-align:center;
}

#timeline h2{

    margin-bottom:40px;
}

.timeline-carousel{

    display:flex;

    flex-direction:column;

    align-items:center;

    gap:20px;
}

.timeline-btn{

    width:60px;
    height:60px;

    border:none;

    border-radius:50%;

    cursor:pointer;

    font-size:1.3rem;

    color:white;

    background:#00ff88;

    transition:.3s;
}

.timeline-btn:hover{

    transform:scale(1.1);
}

.timeline-view{

    position:relative;

    height:520px;

    overflow:hidden;

    perspective:1500px;
}

.timeline-slide{

    position:absolute;

    left:50%;
    top:50%;

    width:80%;

    transform-style:preserve-3d;

    background:
    rgba(22,27,34,.92);

    border:
    1px solid rgba(0,255,136,.2);

    border-radius:20px;

    padding:35px;

    backdrop-filter:blur(10px);

    transition:
    transform .6s ease,
    opacity .6s ease;

    box-shadow:
    0 15px 35px rgba(0,0,0,.4);
}

.timeline-slide .year{

    display:inline-block;

    margin-bottom:15px;

    padding:6px 14px;

    border-radius:20px;

    background:#00ff88;

    color:#000;

    font-weight:bold;
}

.timeline-slide h3{

    color:#00ff88;

    margin-bottom:15px;
}

.timeline-slide p{

    color:#ddd;

    line-height:1.7;
}

/* =====================================
   DASHBOARD
===================================== */

.career-dashboard{

    max-width:1800px;

    margin:100px auto;

    padding:0 30px;

    display:grid;

    grid-template-columns:
    1fr 1fr 1fr;

    gap:30px;
}

.dashboard-column{

    min-height:520px;

    border-radius:24px;

    padding:25px;

    position:relative;

    overflow:hidden;
}

.career-column{

    background:
    linear-gradient(
        180deg,
        rgba(0,255,136,.15),
        rgba(0,255,136,.05)
    );

    border:
    1px solid rgba(0,255,136,.3);
}

.project-column{

    background:
    linear-gradient(
        180deg,
        rgba(0,150,255,.15),
        rgba(0,150,255,.05)
    );

    border:
    1px solid rgba(0,150,255,.3);
}

.blog-column{

    background:
    linear-gradient(
        180deg,
        rgba(180,0,255,.15),
        rgba(180,0,255,.05)
    );

    border:
    1px solid rgba(180,0,255,.3);
}

.dashboard-column h2{

    text-align:center;

    margin-bottom:20px;
}

.panel-view{

    position:relative;

    height:320px;
}

.timeline-slide,
.project-slide,
.blog-slide{

    position:absolute;

    inset:0;

    border-radius:18px;

    padding:25px;

    background:
    rgba(20,20,20,.8);

    transition:.5s;
}

.project-slide{
    display:flex;
    flex-direction:column;

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

    text-align:center;

    padding:20px;
}

.blog-slide{

    border:
    1px solid rgba(180,0,255,.3);
}

.panel-btn{

    width:50px;
    height:50px;

    border:none;

    border-radius:50%;

    cursor:pointer;

    font-size:1rem;

    color:white;

    margin:10px auto;

    display:block;
}

.career-column .panel-btn{
    background:#00ff88;
}

.project-column .panel-btn{
    background:#0096ff;
}

.blog-column .panel-btn{
    background:#b400ff;
}

.year{

    display:inline-block;

    padding:6px 14px;

    border-radius:20px;

    background:#00ff88;

    color:black;

    font-weight:bold;

    margin-bottom:15px;
}

@media(max-width:1200px){

    .career-dashboard{

        grid-template-columns:1fr;
    }
}

.career-column .panel-view{

    perspective:1200px;
}


.career-column .panel-view{

    position:relative;

    height:600px;

    overflow:visible;

    perspective:1500px;
}

.timeline-slide{

    position:absolute;

    top:50%;
    left:50%;

    width:80%;

    max-width:350px;

    padding:20px;

    border-radius:20px;

    background:#08110d;

    border:1px solid #00ff99;

    transition:
        transform .5s ease,
        opacity .5s ease;

    transform-origin:center center;
}

.timeline-slide .year{

    display:inline-block;

    padding:8px 18px;

    border-radius:20px;

    background:#00ff99;

    color:#000;

    font-weight:bold;
}


.career-column .panel-view{

    position:relative;

    height:350px;

    overflow:hidden;

    perspective:1000px;
}

.solar-system-section{

    display:flex;

    justify-content:center;

    align-items:center;

    min-height:auto;

    overflow:visible;
}


.solar-system{

    position:relative;

    width:1200px;
    height:1200px;

    transform-style:preserve-3d;

    perspective:1500px;
}

.planet-core{

    position:absolute;

    width:260px;
    height:260px;

    left:50%;
    top:50%;

    transform:
    translate(-50%,-50%);

    border-radius:50%;

    overflow:hidden;

    box-shadow:
    0 0 60px rgba(0,255,255,.4);
}

.planet-core img{

    width:100%;
    height:100%;

    object-fit:cover;

    animation:
    planetRotate 60s linear infinite;
	z-index:100;
}

.planet-title{

    position:absolute;

    bottom:20px;

    width:100%;

    text-align:center;

    font-size:1.2rem;

    font-weight:bold;

    color:white;

    text-shadow:
    0 0 10px cyan;
}

.orbit{

    position:absolute;

    left:50%;
    top:50%;

    transform:
    translate(-50%,-50%);

    border-radius:50%;

    border-style:dashed;

    border-width:2px;

    opacity:.35;

    pointer-events:none;
}

.orbit-label{

    position:absolute;

    font-weight:bold;

    font-size:1rem;

    text-shadow:
    0 0 10px currentColor;

    pointer-events:none;
}


.satellite{

    position:absolute;

    width:120px;
    height:120px;

    border-radius:50%;

    overflow:visible;

    cursor:pointer;

    transition:.3s;
}

.satellite:hover{

    transform:scale(1.15);

    z-index:100;
}

.satellite img{

    box-shadow:

        0 0 10px rgba(255,255,255,.8),

        0 0 25px rgba(0,255,255,.5),

        0 0 50px rgba(0,255,255,.2);
}

.satellite-info{

    position:absolute;

    top:130px;

    left:50%;

    transform:
    translateX(-50%);

    width:220px;

    opacity:0;

    transition:.3s;

    text-align:center;

    color:white;

    pointer-events:none;
}

.satellite:hover .satellite-info{

    opacity:1;
}

@keyframes planetRotate{

    from{

        transform:
        rotate(0deg);

    }

    to{

        transform:
        rotate(360deg);

    }

}

.star{

    position:fixed;

    width:2px;
    height:2px;

    border-radius:50%;

    background:white;

    opacity:.6;
}

@keyframes pulse{

    0%{

        transform:scale(1);

        opacity:.5;
    }

    50%{

        transform:scale(1.15);

        opacity:.9;
    }

    100%{

        transform:scale(1);

        opacity:.5;
    }

}


.planet-glow{

    position:absolute;

    inset:-30px;

    border-radius:50%;

    background:
    radial-gradient(
        circle,
        rgba(0,255,255,.5),
        transparent
    );

    animation:
    pulse 4s infinite;
}

#orbitContainer{

    position:absolute;

    inset:0;

    width:100%;
    height:100%;
}

.category-planet{

    position:absolute;

    width:100px;
    height:100px;

    border-radius:50%;

    border:3px solid white;

    overflow:hidden;

    box-shadow:
    0 0 25px rgba(255,255,255,.3);
}

.planet-surface{

    width:100%;
    height:100%;

    border-radius:50%;

    animation:
    planetRotate 20s linear infinite;
}

.planet-label{

    position:absolute;

    top:110px;

    width:180px;

    left:50%;

    transform:
    translateX(-50%);

    text-align:center;

    font-weight:bold;

    color:white;
}

#orbitContainer{

    position:absolute;

    inset:0;

    z-index:20;

    pointer-events:none;
}

.satellite{

    pointer-events:auto;
}

/* =====================================
   PROJECT GALAXY 3D
===================================== */

.solar-system{

    position:relative;

    width:1600px;
    min-height:auto;
}

#galaxy3d{

    position:absolute;

    inset:0;

    width:100%;
    height:100%;

    z-index:1;
}

#orbitContainer{

    position:absolute;

    inset:0;

    z-index:10;

    pointer-events:none;
}

.satellite{

    position:absolute;

    width:120px;
    height:120px;

    border-radius:50%;

    overflow:hidden;

    pointer-events:auto;

    cursor:pointer;

    transition:.3s;
}

.satellite:hover{

    transform:scale(1.15);
    z-index:100;
}

.satellite img{

    width:100%;
    height:100%;

    object-fit:cover;

    border-radius:50%;

    border:2px solid white;

    box-shadow:
        0 0 15px rgba(255,255,255,.8),
        0 0 30px rgba(0,255,255,.5);
}

.satellite-info{

    position:absolute;

    top:130px;

    left:50%;

    transform:translateX(-50%);

    width:220px;

    text-align:center;

    opacity:0;

    transition:.3s;

    color:white;
}

.satellite:hover .satellite-info{

    opacity:1;
}

/* ==========================
   CORE LABEL
========================== */

.core-label{

    position:absolute;

    width:240px;

    text-align:center;

    color:white;

    z-index:100;

    pointer-events:none;
}

.core-title{

    font-size:1.4rem;

    font-weight:800;

    letter-spacing:2px;

    text-shadow:
        0 0 20px cyan;
		
    color:white;
    text-shadow:0 1px 2px rgba(255,255,255,0.3);
}

.core-stats{

    margin-top:10px;

    font-size:.95rem;

    color:white;

    line-height:1.6;
}

/* ==========================
   CATEGORY LABEL
========================== */

.category-title{

    font-size:1rem;

    font-weight:bold;
}

.category-count{

    font-size:.8rem;

    color:#9be7ff;

    margin-top:3px;
}

.satellite{

    width:70px;
    height:70px;

}

.satellite img{

    width:70px;
    height:70px;
    border-radius:50%;

}

#projectPanel{

    position:fixed;

    width:420px;

    background:
    rgba(5,10,20,.95);

    border:
    1px solid cyan;

    border-radius:20px;

    padding:20px;

    backdrop-filter:
    blur(15px);

    box-shadow:
        0 0 40px rgba(0,255,255,.35);

    opacity:0;

    pointer-events:none;

    transition:
    opacity .35s;

    z-index:99999;
}

#projectPanel.open{

    opacity:1;

    pointer-events:auto;
}

.panel-content{

    display:flex;

    gap:20px;

}

.panel-content img{

    width:140px;

    height:140px;

    object-fit:cover;

    border-radius:12px;

}

.panel-close{

    position:absolute;

    right:15px;

    top:10px;

    cursor:pointer;

    font-size:22px;

}

#panelLink{

    display:inline-block;

    margin-top:15px;

    color:cyan;

}

.satellite{

    transition:
    transform .3s,
    filter .3s,
    box-shadow .3s;

}

.satellite.focused{

    transform:
    translate(-50%,-50%)
    scale(1.35);

    z-index:999;

    filter:
    brightness(1.4);

    box-shadow:
    0 0 35px cyan;
}

.satellite{

    transition:
    transform .35s ease,
    filter .35s ease,
    box-shadow .35s ease;

}

.satellite.focused{

    transform:
    translate(-50%,-50%)
    scale(1.4);

    z-index:9999;

    filter:
    brightness(1.5);

    box-shadow:
    0 0 40px cyan,
    0 0 80px cyan;

}

.satellite{

    transition:
    transform .35s ease,
    filter .35s ease,
    box-shadow .35s ease;

}

.satellite.focused{

    transform:
    translate(-50%,-50%)
    scale(1.4);

    z-index:9999;

    filter:
    brightness(1.5);

    box-shadow:
    0 0 40px cyan,
    0 0 80px cyan;

}


.project-open .satellite{

    opacity:.3;

}

.project-open .satellite.focused{

    opacity:1;

}

.project-open .category-title,
.project-open .category-count{

    opacity:.3;

}

.project-year{
    display:block;
    margin-top:4px;
    font-size:12px;
    opacity:.7;
    color:#8ff;
}

.left-character{
    position:fixed;
    left:10px;
    top:50%;
    transform:translateY(-60%);

    z-index:1; /* menor que el header */
    opacity:0.4;

    pointer-events:none;
}
.left-character img{
    height:75vh;
    opacity:0.35;

    mask-image: linear-gradient(
        to right,
        rgba(0,0,0,1) 60%,
        rgba(0,0,0,0)
    );

    -webkit-mask-image: linear-gradient(
        to right,
        rgba(0,0,0,1) 60%,
        rgba(0,0,0,0)
    );
}

.project-slide{
    display:flex;
    flex-direction:column;
    align-items:center;

    text-align:center;

    height:100%;
}

.featured-project-image{
    width:216px;
    height:216px;

    object-fit:cover;

    border-radius:16px;

    border:2px solid rgba(255,255,255,.15);

    box-shadow:
        0 8px 20px rgba(0,0,0,.4);
}

.featured-project-info{

    width:100%;

    display:flex;
    flex-direction:column;

    align-items:center;
}

.blog-placeholder{

    display:flex;

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

    height:100%;
}

.under-construction-image{

    width:100%;
    max-width:320px;

    height:auto;

    object-fit:contain;
}
.game-cartridge-selector
{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.game-cartridge
{
    width: 100px;
    height: 100px;

    object-fit: contain;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        filter 0.2s ease;
}

.game-cartridge:hover
{
    transform: scale(1.08);
}

.selected-cartridge
{
    transform: scale(1.1);
}