/*All these color combinations i have used here is from the color grid which i will mention in README once i done with coding part.*/
:root {
    --bg: #4A4A4A;
    --bg2: #5a5a5a;
    --bg3: #686868;
    --surface: #5a5a5a;
    --surface2: #686868;

    /*i will update these in future may be*/
    --border: #7a7a7a;
    --border-h: #a0a0a0;

    --text-1: #FFFEE3;
    --text-2: #CBCBCB;
    --text-3: #d8d8d8;

    --accent: #6D8196;
    --accent-dark: #57687a;
    --accent-bg: rgba(109, 129, 150, 0.12);
    --accent-border: rgba(109, 129, 150, 0.28);
    --accent-rgb: 109, 129, 150;

    --hc-red: #ff6b6b;
    --hc-orange: #ff8c37;
    --green: #7fd38a;

    --font-display: 'Instrument Serif', Georgia, serif;
    --font-body: 'Instrument Sans', system-ui, sans-serif;

    --r-sm: 6px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-xl: 24px;

    --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
    /*for light theme*/
    --bg: #FFFEE3;
    --bg2: #f4f1d6;
    --bg3: #e7e2bf;
    --surface: #FFFEE3;
    --surface2: #f4f1d6;

    --border: #d7d1a8;
    --border-h: #b7b08a;

    --text-1: #4A4A4A;
    --text-2: #6b6b6b;
    --text-3: #8a8a8a;

    --accent: #6D8196;
    --accent-dark: #5c7084;
    --accent-bg: rgba(109, 129, 150, 0.08);
    --accent-border: rgba(109, 129, 150, 0.2);
    --accent-rgb: 109, 129, 150;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text-1);
    line-height: 1.6;
    transition: background var(--transition-slow), color var(--transition-slow);
}

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

::selection {
    background: rgba(var(--accent-rgb), .25);
    color: var(--text-1);
}

@media (hover: hover) and (pointer: fine) {
    *,
    *::before,
    *::after,
    a,
    button,
    input,
    label {
        cursor: none !important;
    }
}

@media (hover: none),
(pointer: coarse) {
    #hc-cursor {
        display: none;
    }
}

/*Hack Club cursor*/
#hc-cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 20px;
    height: 20px;
    transform: translate(-10%, -10%);
    pointer-events: none;
    background: url('bg-cursor.png') no-repeat center center;
    background-size: contain;
    transition: width 180ms ease, height 180ms ease, transform 80ms linear;
    will-change: transform, left, top;
    filter: invert(1) brightness(2) drop-shadow(0 2px 6px rgba(0,0,0,0.5));
}

#hc-cursor::before {
    display: none;
}

#hc-cursor span {
    display: none;
}

#hc-cursor.is-hover {
    width: 30px;
    height: 30px;
    filter: invert(1) brightness(2) drop-shadow(0 4px 10px rgba(0,0,0,0.5));
}

/* #hc-cursor.is-hover span {
    font-size: 18px;
} */

#hc-cursor.is-pressed {
    transform: translate(-10%, -10%) scale(0.88) rotate(-8deg);
}

[data-theme="light"] #hc-cursor{
    filter: invert(1) brightness(0) drop-shadow(0 2px 6px rgba(0,0,0,0.25));
}
[data-theme="light"] #hc-cursor.is-hover{
    filter: invert(1) brightness(0) drop-shadow(0 4px 10px rgba(0,0,0,0.25));
}

/*NAV*/
#nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background var(--transition-slow), border-bottom var(--transition);
    border-bottom: 1px solid transparent;
}

#nav.scrolled {
    background: rgba(74, 74, 74, .88);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom-color: var(--border);
}

[data-theme="light"] #nav.scrolled {
    background: rgba(255, 254, 227, .88);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-1);
    flex-shrink: 0;
}

.logo-initials {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: white;
}

.logo-name {
    font-size: 14px;
    color: var(--text-2);
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 4px;
    list-style: none;
}

.nav-links a {
    padding: 6px 14px;
    border-radius: var(--r-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-2);
    transition: color var(--transition), background var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
    background: var(--accent-bg);
}

.nav-end {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-github {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    border-radius: var(--r-sm);
    border: 1px solid var(--border);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-1);
    background: var(--bg3);
    transition: all var(--transition);
}

.nav-github:hover {
    border-color: var(--accent-border);
    background: var(--accent-bg);
    color: var(--accent);
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 4px;
}

.nav-hamburger span {
    width: 18px;
    height: 1.5px;
    background: var(--text-2);
    transition: transform .3s, opacity .3s;
}

.nav-hamburger.open span:first-child {
    transform: translate(6.5px) rotate(45deg);
}

.nav-hamburger.open span:last-child {
    transform: translate(-6.5px) rotate(-45deg);
}

.mobile-nav {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    padding: 16px 32px 24px;
    display: none;
}

.mobile-nav.open {
    display: block;
}

.mobile-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-link {
    display: block;
    padding: 12px 0;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-2);
    border-bottom: 1px solid var(--border);
    transition: color var(--transition);
}

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

/*Theme switch*/
.switch {
    font-size: 17px;
    position: relative;
    display: inline-block;
    width: 3.5em;
    height: 2em;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    border: 2px solid var(--border-h);
    border-radius: 50px;
    background: var(--bg3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.slider:before {
    position: absolute;
    content: "";
    height: 1.4em;
    width: 1.4em;
    left: 0.2em;
    bottom: 0.2em;
    background-color: var(--text-1);
    border-radius: inherit;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
}

.switch input:checked+.slider {
    /* border: 2px solid #0974f1; */
    box-shadow: 0 0 20px rgba(9, 117, 241, 0.3);
    background: var(--accent-bg);
}

.switch input:checked+.slider:before {
    transform: translate(1.5em);
    background: #fff;
}

@media (hover: hover) {
    .switch:hover .slider {
        transform: translate(-1px);
    }
}

/*Theme Riple and transition*/
#theme-transition {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0.5;
    filter: blur(10px);
    will-change: transform, opacity;
    animation: rippleAnim 0.8s ease-out forwards;
}

@keyframes rippleAnim {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0.5;
    }

    50% {
        opacity: 0.25;
    }

    100% {
        transform: translate(-50%, -50%) scale(14);
        opacity: 0;
    }
}

/*Buttons*/
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: var(--r-md);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    transition: all var(--transition);
    border: 1px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent-dark);
    color: white;
    border-color: var(--accent-dark);
}

.btn-primary:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(var(--accent-rgb), .28);
}

.btn-secondary {
    background: var(--bg3);
    color: var(--text-1);
    border-color: var(--border);
}

.btn-secondary:hover {
    border-color: var(--border-h);
    background: var(--surface2);
    transform: translateY(-2px);
}

/*HERO*/
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 120px 32px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(80px);
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(109, 129, 150, .18), transparent 70%);
    top: -200px;
    left: -150px;
    animation: orbFloat1 20s ease-in-out infinite;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 254, 227, .07), transparent 70%);
    bottom: -100px;
    right: -100px;
    animation: orbFloat2 25s ease-in-out infinite;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(109, 129, 150, .12), transparent 70%);
    top: 40%;
    left: 60%;
    animation: orbFloat3 18s ease-in-out infinite;
}

@keyframes orbFloat1 {

    0%,
    100% {
        transform: translate(0, 0)
    }

    50% {
        transform: translate(40px, 30px)
    }
}

@keyframes orbFloat2 {

    0%,
    100% {
        transform: translate(0, 0)
    }

    50% {
        transform: translate(-30px, -20px)
    }
}

@keyframes orbFloat3 {

    0%,
    100% {
        transform: translate(0, 0)
    }

    50% {
        transform: translate(20px, -30px)
    }
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 50px;
    background: var(--bg2);
    border: 1px solid var(--border);
    font-size: 12px;
    font-weight: 500;
    color: var(--text-2);
    margin-bottom: 32px;
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(127, 211, 138, .4);
    }

    50% {
        box-shadow: 0 0 0 5px rgba(127, 211, 138, 0);
    }
}

.badge-sep {
    color: var(--text-3);
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -.02em;
    color: var(--text-1);
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-headline .line {
    display: block;
}

.hero-headline .line-italic {
    font-style: italic;
    color: var(--accent);
}

.hero-sub {
    font-size: clamp(15px, 2vw, 18px);
    color: var(--text-2);
    line-height: 1.75;
    max-width: 550px;
    margin: 0 auto 40px;
}

.hero-sub strong {
    color: var(--text-1);
    font-weight: 600;
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stats {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 20px 40px;
    gap: 40px;
    margin-top: 64px;
}

.stat {
    text-align: center;
}

.stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 400;
    color: var(--text-1);
    line-height: 1;
    letter-spacing: -.02em;
}

.stat span {
    font-size: 12px;
    color: var(--text-2);
    margin-top: 4px;
    display: block;
}

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

.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-mouse {
    width: 22px;
    height: 34px;
    border: 2px solid var(--border);
    border-radius: 50px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--text-3);
    border-radius: 2px;
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {

    0%,
    100% {
        transform: translateY(0);
        opacity: .8;
    }

    50% {
        transform: translateY(4px);
        opacity: .2;
    }
}

/*marquee*/
.marquee-section {
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
    background: var(--bg2);
}

.marquee-track {
    display: flex;
    gap: 24px;
    white-space: nowrap;
    animation: marqueeScroll 22s linear infinite;
}

.marquee-track span {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-3);
    flex-shrink: 0;
    letter-spacing: .04em;
}

.marquee-track .dot {
    color: var(--accent);
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/*sections*/
.section {
    padding: 100px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.eyebrow::before {
    content: '';
    width: 20px;
    height: 1.5px;
    background: var(--accent);
    display: inline-block;
}

.section-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -.02em;
    color: var(--text-1);
    margin-bottom: 20px;
}

.section-heading em {
    font-style: italic;
    color: var(--accent);
}

.body-text {
    font-size: 16px;
    color: var(--text-2);
    line-height: 1.8;
    margin-bottom: 16px;
    max-width: 520px;
}

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

/*About*/
.about-section {
    background: var(--bg2);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 80px;
    align-items: center;
}

.about-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.chip {
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 500;
    color: var(--text-2);
    background: var(--bg3);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.chip:hover {
    border-color: var(--accent-border);
    color: var(--accent);
}

.chip-hc {
    color: var(--hc-red) !important;
    background: rgba(236, 55, 80, 0.08) !important;
    border-color: rgba(236, 55, 80, 0.2) !important;
}

.profile-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    overflow: hidden;
}

.profile-card-top {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    background: var(--bg2);
}

.profile-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    display: flex;
    align-items: center;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 400;
    color: white;
    flex-shrink: 0;
    font-style: italic;
}

.profile-meta strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-1);
}

.profile-meta span {
    font-size: 14px;
    color: var(--text-2);
}

.profile-rows {
    padding: 8px 0;
}

.profile-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    font-size: 13px;
    color: var(--text-2);
    transition: background var(--transition);
}

.profile-row:hover {
    background: var(--bg2);
}

.profile-row svg {
    color: var(--text-3);
    flex-shrink: 0;
}

.hc-row {
    color: var(--hc-red) !important;
}

.hc-row svg {
    color: var(--hc-red) !important;
}

.profile-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--text-2);
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    animation: badgePulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

/*Skills*/
.skills-section {
    background: var(--bg);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 48px;
}

.skill-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 24px;
    position: relative;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.skill-card:hover {
    border-color: var(--accent-border);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .18);
}

.skill-card-featured {
    border-color: var(--accent-border);
    background: linear-gradient(135deg, var(--bg2), rgba(var(--accent-rgb), .04));
}

.skill-card-icon {
    width: 40px;
    height: 40px;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 16px;
}

.skill-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-1);
    margin-bottom: 8px;
}

.skill-card p {
    font-size: 13px;
    color: var(--text-2);
}

.skill-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 3px 10px;
    border-radius: 50px;
    font-weight: 600;
    background: var(--accent-bg);
    color: var(--accent);
    border: 1px solid var(--accent-border);
    letter-spacing: .04em;
}

/*project*/
.projects-note {
    background: var(--bg2);
}

.heading-note {
    display: block;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    color: var(--text-3);
    font-style: normal;
    letter-spacing: normal;
    margin-top: 10px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 48px;
}

.project-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 20px;
    display: flex;
    flex-direction: column;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(var(--accent-rgb), .04), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.project-card:hover {
    border-color: var(--accent-border);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .22);
}

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

.project-card-featured {
    border-color: var(--accent-border);
}

.project-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
}

.project-icon {
    font-size: 24px;
}

.project-links-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-tag {
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .04em;
    background: var(--bg3);
    color: var(--text-3);
    border: 1px solid var(--border);
}

.project-tag-accent {
    background: transparent;
    border-color: transparent;
    padding-left: 0;
    padding-right: 4px;
}

.project-tag-green {
    background: rgba(127, 211, 138, .08);
    color: var(--green);
    border-color: rgba(127, 211, 138, .2);
}

.ext-icon {
    font-size: 16px;
    color: var(--text-3);
    transition: transform var(--transition), color var(--transition);
}

.project-card:hover .ext-icon {
    transform: translate(3px, -3px);
    color: var(--accent);
}

.project-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-1);
    margin-bottom: 8px;
}

.project-card p {
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.65;
    flex: 1;
    margin-bottom: 18px;
}

.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-top: 1px solid var(--border);
}

.project-meta {
    font-size: 11px;
    color: var(--text-3);
}

.project-lang {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--text-2);
}

.lang-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.projects-cta {
    margin-top: 40px;
    text-align: center;
}

/*Contact*/
.contact-section {
    background: var(--bg);
}

.contact-inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.contact-heading {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 400;
    letter-spacing: -.03em;
    line-height: 1.0;
    margin-bottom: 20px;
}

.contact-heading em {
    font-style: italic;
    color: var(--accent);
}

.contact-sub {
    font-size: 16px;
    color: var(--text-2);
    line-height: 1.75;
    margin-bottom: 44px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    text-align: left;
    transition: all var(--transition);
}

.contact-link:hover {
    border-color: var(--accent-border);
    transform: translateX(6px);
}

.contact-link-hc:hover {
    border-color: rgba(255, 107, 107, .3);
}

.contact-link-icon {
    width: 42px;
    height: 42px;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-2);
    flex-shrink: 0;
    transition: all var(--transition);
}

.contact-link:hover .contact-link-icon {
    color: var(--hc-red);
    border-color: rgba(255, 107, 107, .25);
}

.contact-link-text {
    flex: 1;
}

.contact-link-text strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-1);
    margin-bottom: 2px;
}

.contact-link-text span {
    font-size: 12px;
    color: var(--text-3);
}

.contact-link-arrow {
    font-size: 18px;
    color: var(--text-3);
    transition: transform var(--transition), color var(--transition);
}

.contact-link:hover .contact-link-arrow {
    transform: translateX(4px);
    color: var(--accent);
}

/*footer*/
footer {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    padding: 24px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: var(--text-3);
}

.footer-links {
    display: flex;
    gap: 8px;
}

.footer-links a {
    padding: 6px 14px;
    border-radius: var(--r-sm);
    border: 1px solid var(--border);
    background: var(--bg3);
    color: var(--text-2);
    font-size: 12px;
    font-weight: 500;
    transition: all var(--transition);
}

.footer-links a:hover {
    border-color: var(--accent-border);
    background: var(--accent-bg);
    color: var(--accent);
}

.footer-top {
    padding: 6px 14px;
    border-radius: var(--r-sm);
    border: 1px solid var(--border);
    background: var(--bg3);
    color: var(--text-2);
    font-size: 12px;
    font-weight: 500;
    transition: all var(--transition);
}

.footer-top:hover {
    border-color: var(--accent-border);
    background: var(--accent-bg);
    color: var(--accent);
    transform: translateY(-2px);
}

/*Scroll*/
.reveal,
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .65s cubic-bezier(.4, 0, .2, 1), transform .65s cubic-bezier(.4, 0, .2, 1);
}

.fade-up {
    transition-delay: var(--d, 0s);
}

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

/*Responsive*/
@media (max-width: 1024px) {

    .skills-grid,
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .nav-links,
    .nav-github {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .hero-hamburger {
        display: flex;
    }

    .hero-stats {
        padding: 16px 24px;
        gap: 24px;
        flex-wrap: wrap;
        justify-content: center;
    }

    #hc-cursor {
        display: none;
    }
}

@media (max-width:640px) {

    .skills-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
        border-radius: var(--r-lg);
    }

    .stat-divider {
        width: 80px;
        height: 1px;
    }

    .hero {
        padding: 100px 24px 60px;
    }

    .section {
        padding: 72px 0;
    }

    .container {
        padding: 0 20px;
    }

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

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

img.logo-initials,
img.profile-avatar {
    display: block;
    object-fit: cover;
    object-position: center top;
}