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

:root {
    --bg:          #07090f;
    --bg-card:     #0d1117;
    --bg-card-2:   #111620;
    --border:      rgba(255,255,255,0.07);
    --border-blue: rgba(59,130,246,0.35);
    --blue:        #2563eb;
    --blue-light:  #60a5fa;
    --blue-glow:   rgba(37,99,235,0.22);
    --yellow:      #fbbf24;
    --text:        #e2e8f0;
    --muted:       #6b7a99;
    --radius-sm:   10px;
    --radius:      16px;
    --radius-lg:   24px;
    --nav-h:       58px;
    --font-display:'Syne', sans-serif;
    --font-body:   'DM Sans', sans-serif;
    --transition:  0.25s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--text);
    line-height: 1.15;
}

p { 
    color: var(--muted); 
    font-size: clamp(1.125rem, 1.4vw, 1.25rem);
}

strong { color: var(--text); font-weight: 600; }

a { color: inherit; }

section {
    min-height: 100vh;
    padding: calc(var(--nav-h) + 60px) clamp(16px, 5vw, 80px) 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
}

/* =============================================
   LOADING SCREEN
   ============================================= */
#loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

#loader.loader-done {
    opacity: 0;
    pointer-events: none;
}

.loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loader-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    animation: loaderPop 0.6s cubic-bezier(0.22, 1, 0.36, 1) both,
                loaderGlow 1.5s ease-in-out infinite 0.6s;
    filter: drop-shadow(0 0 20px rgba(37,99,235,0.6));
}

@keyframes loaderPop {
    from { opacity: 0; transform: scale(0.5); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes loaderGlow {
    0%, 100% { filter: drop-shadow(0 0 14px rgba(37,99,235,0.5)); }
    50%       { filter: drop-shadow(0 0 30px rgba(96,165,250,0.9)); }
}

.loader-name {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    animation: heroFadeIn 0.5s ease 0.4s both;
}

.loader-bar {
    width: 180px;
    height: 3px;
    background: rgba(255,255,255,0.07);
    border-radius: 99px;
    overflow: hidden;
}

.loader-bar-fill {
    height: 100%;
    width: 0%;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--blue), var(--blue-light));
    transition: width 0.15s ease;
    box-shadow: 0 0 10px rgba(96,165,250,0.6);
}

/* =============================================
   FLOATING PARTICLES
   ============================================= */
.wrapper span {
    position: fixed;
    bottom: -200px;
    width: 55px; height: 55px;
    border-radius: 6px;
    z-index: -1;
    background: var(--bg);
    box-shadow: 0 0 40px var(--blue), 0 0 80px var(--blue), 0 0 120px var(--blue);
    animation: floatUp 14s linear infinite;
    opacity: 0.5;
}
.wrapper span:nth-child(1)  { left:  6%; animation-delay: 0.4s;  width: 95px;  height: 95px;  }
.wrapper span:nth-child(2)  { left: 13%; animation-delay: 3.1s;  width: 55px;  height: 55px;  }
.wrapper span:nth-child(3)  { left: 22%; animation-delay: 1.7s;  width: 75px;  height: 75px;  }
.wrapper span:nth-child(4)  { left: 33%; animation-delay: 5.0s;  width: 70px;  height: 70px;  }
.wrapper span:nth-child(5)  { left: 43%; animation-delay: 0.8s;  width: 50px;  height: 50px;  }
.wrapper span:nth-child(6)  { left: 54%; animation-delay: 7.2s;  width: 50px;  height: 50px;  }
.wrapper span:nth-child(7)  { left: 63%; animation-delay: 6.0s;  width: 100px; height: 100px; }
.wrapper span:nth-child(8)  { left: 73%; animation-delay: 8.4s;  width: 50px;  height: 50px;  }
.wrapper span:nth-child(9)  { left: 82%; animation-delay: 4.1s;  width: 85px;  height: 85px;  }
.wrapper span:nth-child(10) { left: 91%; animation-delay: 2.6s;  width: 50px;  height: 50px;  }

@keyframes floatUp {
    0%   { transform: translateY(0) rotate(0deg);     opacity: 0.5; }
    80%  {                                             opacity: 0.3; }
    100% { transform: translateY(-950px) rotate(360deg); opacity: 0; }
}

@media (max-width: 768px) {
    .wrapper span { display: none; }
}

/* =============================================
   NAVIGATION
   ============================================= */
nav {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--nav-h);
    z-index: 1000;
    background: transparent;
    transition: background var(--transition), border-color var(--transition),
                box-shadow var(--transition);
}

nav.scrolled {
    background: rgba(7, 9, 15, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

ul.navbar {
    list-style: none;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 clamp(16px, 4vw, 40px);
    gap: 2px;
}

.nav-brand {
    margin-right: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(0.85rem, 2vw, 1rem);
    color: #fff;
    white-space: nowrap;
}

.nav-logo {
    width: 28px; height: 28px;
    object-fit: contain;
    flex-shrink: 0;
}

nav a {
    display: flex; align-items: center; gap: 6px;
    color: var(--muted);
    text-decoration: none;
    font-size: clamp(0.78rem, 1.2vw, 0.9rem);
    font-weight: 500;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
    white-space: nowrap;
}

nav a:hover { color: #fff; background: rgba(255,255,255,0.07); }

.sidebar {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(300px, 85vw);
    z-index: 100000;
    background: #0a0d14;
    border-left: 1px solid var(--border);
    list-style: none;
    display: flex;
    flex-direction: column;
    padding-top: 12px;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    isolation: isolate;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.8);
}

.sidebar.open { transform: translateX(0); }

.sidebar-close {
    align-self: flex-end;
    padding: 14px 20px;
    cursor: pointer;
    color: var(--muted);
    font-size: 1.2rem;
    transition: color var(--transition);
    border-bottom: 1px solid var(--border);
    width: 100%;
    display: flex;
    justify-content: flex-end;
}
.sidebar-close:hover { color: #fff; }

.sidebar li:not(.sidebar-close) {
    border-bottom: 1px solid var(--border);
}

.sidebar a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    color: var(--text);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: background var(--transition), color var(--transition);
}

.sidebar a:hover { background: rgba(37,99,235,0.1); color: var(--blue-light); }
.sidebar a i { color: var(--blue-light); width: 18px; text-align: center; }

.menubutton {
    display: none;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
    color: var(--text);
    font-size: 1.1rem;
}
.menubutton:hover { background: rgba(255,255,255,0.08); }

@media (max-width: 820px) {
    .hideon-mobile { display: none !important; }
    .menubutton    { display: flex; align-items: center; }
}

/* =============================================
   ACTIVE NAV HIGHLIGHT
   ============================================= */
nav a.nav-active {
    color: #fff;
    position: relative;
}

nav a.nav-active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 12px;
    right: 12px;
    height: 2px;
    background: var(--blue-light);
    border-radius: 99px;
    animation: navLineIn 0.25s ease both;
}

@keyframes navLineIn {
    from { transform: scaleX(0); opacity: 0; }
    to   { transform: scaleX(1); opacity: 1; }
}

.sidebar a.nav-active {
    background: rgba(37,99,235,0.12);
    color: var(--blue-light);
    border-left: 2px solid var(--blue-light);
}

/* =============================================
   SHARED COMPONENTS
   ============================================= */
.section-label {
    display: inline-block;
    max-width: fit-content;
    font-size: clamp(0.65rem, 1.2vw, 0.75rem);
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--blue-light);
    background: rgba(37,99,235,0.1);
    border: 1px solid var(--border-blue);
    padding: 4px 14px;
    border-radius: 100px;
    margin-bottom: 12px;
}

.shinytext {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    background: linear-gradient(90deg, var(--blue), #93c5fd, var(--blue));
    background-size: 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3.5s linear infinite;
    line-height: 1.15;
    margin-bottom: 20px;
}

@keyframes shimmer { to { background-position: -200%; } }

.section-header {
    text-align: center;
    margin-bottom: clamp(28px, 4vw, 48px);
}

#about, #projects, #socials {
    position: relative;
}

#about::before,
#projects::before,
#socials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(800px, 80%);
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--border-blue) 30%,
        rgba(59,130,246,0.5) 50%,
        var(--border-blue) 70%,
        transparent 100%);
    pointer-events: none;
}

/* =============================================
   BACK TO TOP BUTTON
   ============================================= */
#back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 900;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 20px rgba(37,99,235,0.45);
    opacity: 0;
    transform: translateY(16px) scale(0.85);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
}

#back-to-top.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

#back-to-top:hover {
    background: var(--blue-light);
    transform: translateY(-3px) scale(1.05);
}

/* =============================================
   HERO ENTRANCE ANIMATIONS
   ============================================= */
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes floatPhoto {
    0%, 100% { transform: translateY(0px);   }
    50%       { transform: translateY(-14px); }
}
@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 40px rgba(37,99,235,0.35), 0 0 80px rgba(37,99,235,0.15); }
    50%       { box-shadow: 0 0 70px rgba(37,99,235,0.55), 0 0 140px rgba(37,99,235,0.25); }
}
@keyframes pulseRing {
    0%, 100% { transform: scale(1);    opacity: 0.55; }
    50%       { transform: scale(1.05); opacity: 0.12; }
}
@keyframes scrollAnim {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50%       { opacity: 0.4; transform: scaleY(0.5); }
}
@keyframes orbPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1);    opacity: 0.7; }
    50%       { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

/* =============================================
   HERO
   ============================================= */
#home {
    min-height: 100vh;
    padding: var(--nav-h) clamp(16px, 5vw, 80px) 60px;
    justify-content: center;
    background: radial-gradient(ellipse 90% 70% at 50% 20%,
        rgba(37,99,235,0.10) 0%, transparent 65%);
    overflow: hidden;
    max-width: 100vw;
}

#home::before {
    content: '';
    position: absolute;
    width: clamp(400px, 60vw, 800px);
    height: clamp(400px, 60vw, 800px);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37,99,235,0.07) 0%, transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation: orbPulse 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(40px, 7vw, 100px);
    max-width: 1200px;
    width: 100%;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.hero-photo {
    position: relative;
    flex-shrink: 0;
    animation: floatPhoto 5s ease-in-out infinite, heroFadeIn 0.8s ease both;
}

.hero-photo img {
    width: clamp(200px, 30vw, 360px);
    height: clamp(200px, 30vw, 360px);
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(59,130,246,0.55);
    animation: glowPulse 4s ease-in-out infinite;
    position: relative; z-index: 1;
}

.hero-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(59,130,246,0.22);
    animation: pulseRing 3.2s ease-in-out infinite;
}

.hero-ring--1 { inset: -18px;  animation-delay: 0s;   }

.hero-ring--2 { inset: -38px;  animation-delay: 1.0s; }

.hero-text { max-width: 580px; }

.hero-eyebrow {
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
    color: var(--muted);
    margin-bottom: 10px;
    opacity: 0;
    animation: heroFadeUp 0.7s ease 0.2s both;
}

.hero-name {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 5.5vw, 4rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    margin-bottom: 10px;
    line-height: 1.1;
    opacity: 0;
    animation: heroFadeUp 0.7s ease 0.4s both;
}

.hero-sub {
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    color: var(--muted);
    margin-bottom: 35px;
    opacity: 0;
    animation: heroFadeUp 0.7s ease 0.6s both;
}

.hero-location-inline {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.82em;
    color: var(--muted);
    margin-left: 14px;
    opacity: 0.85;
}

.hero-location-inline i { color: var(--blue-light); font-size: 0.85em; }

.hero-cta {
    display: flex; gap: 14px; flex-wrap: wrap;
    opacity: 0;
    animation: heroFadeUp 0.7s ease 0.9s both;
}

.hero-scroll {
    position: absolute;
    bottom: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.35;
    z-index: 1;
}

.scroll-line {
    width: 1px; height: 44px;
    background: linear-gradient(to bottom, transparent, var(--muted));
    animation: scrollAnim 1.7s ease-in-out infinite;
}

.hero-scroll p {
    font-size: 0.65rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}

@media (max-width: 720px) {
    .hero-inner    { flex-direction: column; text-align: center; gap: 32px; }
    .hero-cta      { justify-content: center; }
    .hero-location { justify-content: center; }
    .hero-scroll   { display: none; }
    .hero-photo img {
        width: clamp(180px, 55vw, 260px); 
        height: clamp(180px, 55vw, 260px);
    }
}

.btn-primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 4px 20px var(--blue-glow);
}

.btn-primary:hover {
    background: var(--blue-light);
    transform: translateY(-4px);
    box-shadow: 0 8px 28px var(--blue-glow);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    transform: translateY(6px);
    box-shadow: inset 4px 5px 8px black;
}

.btn-primary, .btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: clamp(10px, 1.5vw, 13px) clamp(18px, 2.5vw, 26px);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: clamp(0.82rem, 1.3vw, 0.95rem);
    text-decoration: none;
    transition: transform var(--transition), box-shadow var(--transition),
                background var(--transition), border-color var(--transition);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

/* =============================================
   ABOUT
   ============================================= */
#about {
    background: radial-gradient(ellipse 70% 60% at 80% 50%,
        rgba(37,99,235,0.05) 0%, transparent 70%);
}

.about-card {
    width: 100%;
    max-width: 1500px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.abt-content {
    display: flex;
    align-items: stretch;
    min-height: 500px;
}

.abt-text {
    flex: 1 1 0;
    min-width: 0;
    padding: clamp(28px, 5vw, 64px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.abt-img-wrap {
    max-height: 50em;
    flex: 0 0 38%;
    position: relative;
    overflow: hidden;
}

.abt-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
        var(--bg-card) 0%,
        transparent 20%);
    pointer-events: none;
    z-index: 1;
}

.abt-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    border: none;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                filter 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.abt-img-wrap:hover img {
    transform: scale(1.06);
}

.abt-img-overlay {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 2;
    padding: clamp(20px, 3vw, 32px) clamp(18px, 2.5vw, 28px);
    background: linear-gradient(to top,
        rgba(7, 9, 15, 0.96) 0%,
        rgba(7, 9, 15, 0.705) 60%,
        rgba(7, 9, 15, 0.534) 70%,
        transparent 100%);
    transform: translateY(30%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                opacity   0.45s ease;
    pointer-events: none;
}

.abt-img-wrap:hover .abt-img-overlay {
    transform: translateY(0);
    opacity: 1;
}

.abt-overlay-info {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.abt-overlay-info li {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-family: var(--font-body);
    font-size: clamp(0.8rem, 1.2vw, 0.92rem);
    line-height: 1.4;
    transform: translateY(12px);
    opacity: 0;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                opacity   0.38s ease;
}

.abt-img-wrap:hover .abt-overlay-info li {
    transform: translateY(0);
    opacity: 1;
}

.abt-img-wrap:hover .abt-overlay-info li:nth-child(1) { transition-delay: 0.06s; }
.abt-img-wrap:hover .abt-overlay-info li:nth-child(2) { transition-delay: 0.12s; }
.abt-img-wrap:hover .abt-overlay-info li:nth-child(3) { transition-delay: 0.18s; }
.abt-img-wrap:hover .abt-overlay-info li:nth-child(4) { transition-delay: 0.24s; }

.abt-info-label {
    color: var(--muted);
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    min-width: 90px;
    flex-shrink: 0;
}

.abt-info-value {
    color: #fff;
    font-weight: 600;
}


.abt-text h2 { margin-bottom: 30px; }

.abt-text p { margin-bottom: 12px;  }

.abt-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 24px 0;
    flex-wrap: wrap;
    cursor: pointer;
}

.stat {
    display: flex; flex-direction: column;
    align-items: center; text-align: center;
    transition: transform var(--transition), color var(--transition);
}

.stat:hover {
    transform: translateY(-4px);
    color: var(--blue-light);
}

.stat-num {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 800;
    color: var(--blue-light);
    line-height: 1;
    transition: transform 0.3s ease;
}

.stat-num:hover {
    transform: scale(1.1);
}

.stat-lbl {
    font-size: clamp(0.68rem, 1vw, 0.75rem);
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
    flex-shrink: 0;
}

.abt-tags {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin-top: 20px;
    cursor: pointer;
}

.abt-tags span {
    font-size: clamp(0.72rem, 1.1vw, 0.8rem);
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 100px;
    background: rgba(37,99,235,0.1);
    border: 1px solid var(--border-blue);
    color: var(--blue-light);
    transition: transform var(--transition), background var(--transition), 
                border-color var(--transition), box-shadow var(--transition);
}

.abt-tags span:hover {
    background: var(--border-blue);
    border-color: var(--blue-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px var(--blue-glow);
}

@media (max-width: 840px) {
    .abt-content { flex-direction: column-reverse; min-height: unset; }
    .abt-img-wrap {
        flex: 0 0 auto;
        height: 280px;
        width: 100%;
    }
    .abt-img-wrap::after {
        background: linear-gradient(to top,
            var(--bg-card) 0%,
            transparent 20%);
    }
    .abt-text { padding: clamp(24px, 6vw, 40px); }
    .abt-text .section-label { text-align: center; }
    .abt-stats  { justify-content: center; }
    .abt-tags   { justify-content: center; }
}

/* =============================================
   SKILLS SECTION 
   ============================================= */
#skills {
    padding: 0;
    overflow: hidden;
    position: relative;
    background: #060810;
    background-image: radial-gradient(ellipse 70% 50% at 20% 60%,
                    rgba(37,99,235,0.05) 0%, transparent 70%);
}

.skills-section {
    max-width: 1100px;
    width: 100%;
}

#skillParticleCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

#skillAtomCanvas {
    position: absolute;
    z-index: 1;
    display: block;
    pointer-events: none;
    width: 560px;
    height: 560px;
}

.skills-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    position: relative;
    z-index: 2;
}

.skills-bars-panel {
    padding: 80px 60px 80px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-heading {
    font-size: clamp(36px, 4vw, 54px);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
    color: var(--text);
}

.section-heading span {
    color: #3b9eff;
}

.skills-desc {
    line-height: 1.75;
    color: var(--muted);
    max-width: 50em;
    margin-bottom: 44px;
    font-family: var(--font-body);
}

.skill-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 20px;
    transition: border-color var(--transition), box-shadow var(--transition),
                transform var(--transition), transform var(--transition);
}

.skill-item.will-reveal:hover {
    transform: translateY(-6px);
    border-color: var(--border-blue);
    box-shadow: 0 8px 28px rgba(37,99,235,0.12);
}

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

.skill-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.04em;
    color: var(--text);
    cursor: pointer;
    transition : color var(--transition), transform var(--transition),
                background var(--transition), border-color var(--transition), padding var(--transition);
}

.skill-label:hover {
    transform: translateY(-4px);
    color: var(--blue-light);
    background: rgba(37,99,235,0.08);
    border-radius: var(--radius-sm);
    padding: 2px 8px;
}

.skill-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 6px currentColor;
    opacity: 0.85;
}

.skill-lang-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    padding: 2px;
}

.skill-pct {
    font-family: 'Space Mono', 'DM Mono', monospace;
    font-size: 12px;
    color: #00e5ff;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition : color var(--transition), background var(--transition), 
                border-color var(--transition), padding var(--transition);
}

.skill-pct:hover {
    color: #3b9eff;
    background: rgba(59,158,255,0.1);
    border-radius: var(--radius-sm);
    padding: 2px 8px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 2px;
    cursor: pointer;
}

.skill-tags span {
    font-size: clamp(0.6rem, 0.9vw, 0.68rem);
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--muted);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    padding: 2px 9px;
    border-radius: 100px;
    transition: color var(--transition), border-color var(--transition), 
                background var(--transition), transform var(--transition);
}

.skill-tags span:hover {
    transform: translateY(-3px);
}

.skill-item:hover .skill-tags span {
    color: var(--blue-light);
    border-color: var(--border-blue);
    background: rgba(37,99,235,0.08);
}

.bar-track {
    height: 6px;
    background: #1a1a2e;
    border-radius: 99px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, #3b9eff, #00e5ff);
    width: 0%;
    transition: width 1.3s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 0 10px rgba(59,158,255,0.5);
    position: relative;
}

.bar-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: white;
    border-radius: 99px;
    box-shadow: 0 0 8px white;
    opacity: 0.8;
}

@media (max-width: 1100px) {
    .skills-layout { grid-template-columns: 1fr; }
    .skills-atom-spacer { min-height: 320px; }
    #skillAtomCanvas { width: 320px !important; height: 320px !important; }
    .skills-bars-panel {
        padding: 40px 24px 60px;
        border-left: none;
        border-top: 1px solid rgba(59,158,255,0.08);
    }
    .section-heading { font-size: clamp(28px, 7vw, 40px); }
}

@media (max-width: 480px) {
    .skills-atom-spacer { min-height: 260px; }
    #skillAtomCanvas { width: 260px !important; height: 260px !important; }
    .skills-bars-panel { padding: 28px 16px 48px; }
    .skill-list { gap: 10px; grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    #skillAtomCanvas,
    #skillParticleCanvas  { display: none !important; }
    .skills-atom-spacer   { display: none; min-height: 0; }
}

/* =============================================
   PROJECTS
   ============================================= */
#projects {
    background: #0d11170e;
    backdrop-filter: blur(12px);
    padding-top: calc(var(--nav-h) + 80px);
    padding-bottom: 100px;
}

.projects-section {
    max-width: 1300px;
    width: 100%;
}

.project-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    gap: clamp(20px, 3vw, 36px);
}

.project--solo:not(.project--wide) {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-column: span 2;
}

.project--solo:not(.project--wide) .project-img-wrap {
    height: 100%;
    min-height: 240px;
}

.project--solo:not(.project--wide) .project-image {
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
}

.project--solo:not(.project--wide) .project-content {
    display: flex;
    flex-direction: column;
    justify-content: start;
}

@media (max-width: 860px) {
    .project--solo:not(.project--wide) { grid-column: span 1; display: block !important; }
    .project--solo:not(.project--wide) .project-img-wrap { height: auto; }
    .project--solo:not(.project--wide) .project-image { height: clamp(220px, 40vw, 280px); width: 100%; }
}

.project {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition);
    will-change: opacity, transform;
}

.project.featured {
    border-color: rgba(37,99,235,0.3);
    box-shadow: 0 0 0 1px rgba(37,99,235,0.12),
                0 8px 32px rgba(37,99,235,0.1);
}

.project:hover {
    border-color: var(--border-blue);
    box-shadow: 0 20px 60px rgba(37,99,235,0.18);
}

.project-img-wrap { position: relative; overflow: hidden; }

.project-image {
    width: 100%;
    height: clamp(220px, 26vw, 320px);
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.project:hover .project-image { transform: scale(1.06); }

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 9, 15, 0.82);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: opacity var(--transition);
}

.project:hover .project-overlay { opacity: 1; }

.overlay-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 26px;
    background: var(--blue);
    color: #fff;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background var(--transition), transform var(--transition);
}
.overlay-btn:hover { background: var(--blue-light); transform: scale(1.04); }

.project-content { padding: clamp(20px, 3vw, 30px); }

.project-meta {
    display: flex; 
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.project-tag {
    font-size: clamp(0.65rem, 1vw, 0.75rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue-light);
    background: rgba(37,99,235,0.1);
    border: 1px solid var(--border-blue);
    padding: 4px 12px;
    border-radius: 100px;
    transition: background var(--transition), border-color var(--transition), 
                color var(--transition), transform var(--transition);
}

.project:hover .project-tag {
    background: var(--border-blue);
    transform: translateY(-5px) scale(1.05);
    border-color: var(--blue-light);
    color: #fff;
}

.project-year {
    font-size: 0.8rem;
    color: var(--muted);
    margin-left: auto;
}

.project-content h2 {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.project-content p {
    font-size: clamp(0.85rem, 1.4vw, 0.96rem);
    line-height: 1.65;
    margin-bottom: 16px;
}

.project-link { 
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--blue-light);
    text-decoration: none;
    transition: gap var(--transition), color var(--transition);
}
.project-link:hover { gap: 10px; color: #fff; }

.project-techstack{
    display: flex; flex-wrap: wrap; gap: 8px;
}

.project-lang-icon {
    width: 35px; height: 35px;
    object-fit: contain;
    padding-bottom: clamp(6px, 1vw, 8px);
    transition: drop-shadow var(--transition), transform var(--transition);
}

.project:hover .project-lang-icon {
    filter: drop-shadow(0 0 4px rgba(59,158,255,0.8));
    transform: translateY(-2px) scale(1.1);
}

.project--wide {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.project--wide .project-img-wrap {
    height: 100%;
    min-height: 240px;
}

.project--wide .project-image {
    height: 100%;
    object-fit: cover;
}

.project--wide .project-content {
    display: flex;
    flex-direction: column;
    justify-content: top;
}

.project-techstack {
    margin-bottom: 10px;
}

@media (max-width: 860px) {
    .project--wide { grid-column: span 1; display: block; }
    .project--wide .project-img-wrap { height: auto; }
    .project--wide .project-image { height: clamp(220px, 40vw, 280px); }
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: clamp(0.6rem, 0.9vw, 0.68rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f5d800;
    background: rgba(245, 216, 0, 0.1);
    border: 1px solid rgba(245, 216, 0, 0.35);
    padding: 4px 10px;
    border-radius: 100px;
    transition: background var(--transition), border-color var(--transition), 
                color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.featured-badge i {
    font-size: 0.6em;
}

.project:hover .featured-badge{
    background: rgba(245, 216, 0, 0.2);
    border-color: rgba(245, 216, 0, 0.5);
    color: #f5d800;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 4px 16px rgba(245, 216, 0, 0.4);
}

/* =============================================
   PROJECT FILTER
   ============================================= */
.project-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: clamp(24px, 3vw, 36px);
}

.filter-btn {
    padding: 7px 20px;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition),
                color var(--transition), transform var(--transition);
    font-family: var(--font-body);
}

.filter-btn:hover {
    border-color: var(--border-blue);
    color: var(--blue-light);
    background: rgba(37,99,235,0.08);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
    box-shadow: 0 4px 14px rgba(37,99,235,0.35);
}

/* =============================================
   CONTACT SECTION
   ============================================= */
#contact {
    background: #0d1117;
    background-image: radial-gradient(ellipse 70% 60% at 50% 0%,
        rgba(37,99,235,0.07) 0%, transparent 70%);
    padding-top: calc(var(--nav-h) + 80px);
    padding-bottom: 100px;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(800px, 80%);
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--border-blue) 30%,
        rgba(59,130,246,0.5) 50%,
        var(--border-blue) 70%,
        transparent 100%);
    pointer-events: none;
}

.contact-wrapper {
    max-width: 1100px;
    width: 100%;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 28px;
    width: 100%;
    align-items: start;
}

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

.contact-form-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 20px;
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,0.02);
}

.terminal-dots {
    display: flex;
    gap: 6px;
}

.terminal-dots span {
    width: 10px; height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.terminal-title {
    font-family: 'Space Mono', monospace;
    font-size: 0.72rem;
    color: var(--muted);
    letter-spacing: 0.06em;
}

.panel-body {
    padding: clamp(20px, 3vw, 32px);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: 
    "name phone"
    "email email";
    gap: 16px;
}

@media (max-width: 550px) {
    .form-row { 
        grid-template-columns: 1fr; 
        grid-template-areas:
        "name"
        "phone"
        "email";
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-group.grow textarea {
    min-height: 130px;
    resize: none;
    flex: 1;
}

.form-group label {
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    color: var(--blue-light);
    letter-spacing: 0.12em;
}

.contact-input {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 11px 14px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    width: 100%;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-input::placeholder { color: var(--muted); opacity: 0.5; }

.contact-input:focus {
    border-color: var(--border-blue);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.send-btn {
    width: 100%;
    justify-content: center;
    font-size: 0.92rem;
    padding: 13px 24px;
    border: none;
}

.contact-note {
    font-size: 0.78rem;
    color: var(--muted);
    text-align: center;
    opacity: 0.7;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 11px;
}

.contact-info-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-status-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contact-status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.contact-status-row:last-child { border-bottom: none; }

.contact-status-label {
    font-size: 0.75rem;
    color: var(--muted);
    letter-spacing: 0.04em;
    cursor: pointer;
}

.contact-status-val {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: color var(--transition);
}

.contact-status-val:hover {
    color: var(--muted);
}

.contact-status-val.open { 
    color: #22c55e; 
    transition: transform var(--transition);
}

.contact-status-val.open:hover { 
    transform: scale(1.05);
}

.contact-online-dot {
    width: 7px; height: 7px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 6px #22c55e;
    animation: pulseGreenContact 1.5s ease-in-out infinite;
}

@keyframes pulseGreenContact {
    0%, 100% { box-shadow: 0 0 4px #22c55e; }
    50%       { box-shadow: 0 0 12px #22c55e; }
}

.socials-panel{
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-socials { display: flex; flex-direction: column; gap: 8px; }

.channel-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 13px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: border-color var(--transition), background var(--transition), transform var(--transition);
    cursor: pointer;
    color: inherit;
}

.channel-card:hover {
    border-color: var(--border-purple);
    background: rgba(109,40,217,0.05);
    transform: translateX(4px);
}

.channel-card:hover .ch-arrow {
    color: var(--green-light);
    transform: translateX(3px);
}

.channel-icon {
    width: 34px; height: 34px;
    background: rgba(109,40,217,0.1);
    border: 1px solid var(--border-purple);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-light);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.channel-icon.discord   { background: rgba(88,101,242,0.12); border-color: rgba(88,101,242,0.35); color: #7289da; }

.channel-icon.github    { background: rgba(109,40,217,0.04); border-color: rgba(109,40,217,0.07); color: #e2e8f0; }

.channel-text {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 1px;
}

.channel-label {
    font-family: var(--font-display);
    font-size: 0.75rem;
    color: var(--muted);
}

.channel-text strong {
    font-family: var(--font-display);
    font-size: clamp(0.85rem, 1.2vw, 0.95rem);
    color: var(--text);
    font-weight: 700;
}

.ch-arrow {
    color: rgba(109,40,217,0.12);
    font-size: 0.75rem;
    transition: color var(--transition), transform var(--transition);
}

/* =============================================
   FOOTER
   ============================================= */
footer {
    width: 100%;
    padding: 22px clamp(16px, 5vw, 40px);
    background: rgba(5, 7, 12, 0.9);
    border-top: 1px solid var(--border);
}

.footer {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    flex-direction: column;
    gap: 16px;
    padding: 32px 0 24px;
}

.footer p {
    font-size: clamp(0.78rem, 1.2vw, 0.85rem);
    color: var(--muted);
}

.footer h4 {
    font-size: clamp(0.9rem, 1.4vw, 1.05rem);
    font-weight: 700;
}

.footer-links {
    font-size: clamp(0.78rem, 1.2vw, 0.85rem);
    display: flex;
    gap: clamp(16px, 3vw, 32px);
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition);
}

.footer-links a:hover { color: var(--blue-light); }

.footer-wrapper{
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    width: 60%;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: left;
    gap: 8px;
}

.footer-content p {
    color: var(--blue-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.footer-socials {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    max-width: fit-content;
}

.footer-socials a{
    color: var(--muted);
    font-size: clamp(0.72rem, 1vw, 0.8rem);
    text-decoration: none;
    transition: color var(--transition), transform var(--transition);
}

.footer-socials a:hover{ color: var(--blue-light); transform: translateY(-3px); }

.cat {
    max-width: clamp(50px, 8vw, 80px);
    display: block;
    position: relative;
    z-index: 1;
    image-rendering: pixelated;
    animation: catBounce 1.8s ease-in-out infinite;
    transform-origin: center bottom;
    cursor: pointer;
    transition: filter 0.15s ease;
}

@keyframes catBounce {
    0%,  100% { transform: translateY(0px);   }
    50%        { transform: translateY(-3px);  }
}

.cat-wrap {
    position: relative;
    display: inline-block;
    cursor: pointer;
    max-height: fit-content;
}

.cat-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.cat-wrap:hover .cat {
    animation: catHoverTilt 0.6s ease-in-out infinite alternate;
}

@keyframes catHoverTilt {
    0%   { transform: rotate(-4deg) translateY(-2px); }
    100% { transform: rotate( 4deg) translateY(-2px); }
}

.cat.cat-clicked { filter: brightness(1.4) drop-shadow(0 0 8px rgba(255,220,100,0.8)); }

@media (max-width: 480px) {
    .footer-wrapper { grid-template-columns: 1fr; width: 100%; }
    .footer-content { align-items: center; text-align: center; }
    .footer-content p { margin-bottom: 0px; }
    .footer-socials { flex-direction: row; justify-content: center; }
    .cat { max-width: 70px; }
    .cat-wrap { margin: 0 auto; }
}

.footer-copy {
    color: var(--muted);
    opacity: 0.7;
}

/* =============================================
   REVEAL ANIMATIONS
   ============================================= */
.will-reveal {
    will-change: opacity, transform, filter;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                filter 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-fade-up    { opacity: 0; transform: translateY(60px) scale(0.95); filter: blur(4px); }
.reveal-fade-left  { opacity: 0; transform: translateX(60px) scale(0.95); filter: blur(4px); }
.reveal-fade-right { opacity: 0; transform: translateX(-60px) scale(0.95); filter: blur(4px); }
.reveal-fade-in    { opacity: 0; transform: scale(0.9); filter: blur(6px); }

.will-reveal.revealed {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
}
.acc.will-reveal.revealed {
    transition: border-color 0.3s ease, transform 0.3s ease,
                box-shadow 0.3s ease, background 0.3s ease;
}

.acc.will-reveal.revealed:hover {
    transform: translateY(-6px);
}

.overlay-btn--mobile {
    display: none;
    margin-top: 12px;
    margin-right: 10px;
    padding: 10px 20px;
    background-color: #0066cc;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(0, 102, 204, 0.4);
    align-items: center;
    gap: 6px;
}

.overlay-btn--mobile:hover {
    background-color: #0052a3;
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.6);
    transform: translateY(-2px);
    color: #ffffff;
}

@media (hover: none), (max-width: 700px) {
    .project-overlay         { display: none !important; }
    .overlay-btn--mobile     { display: inline-flex; }
}