:root {
    --bg-primary: #0f0c29;
    --bg-header: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    --bg-main: radial-gradient(circle at 50% 50%, rgba(48, 43, 99, 0.4) 0%, rgba(15, 12, 41, 0.8) 100%);
    --bg-container: rgba(20, 20, 30, 0.6);
    --bg-column: rgba(30, 30, 50, 0.7);
    --text-primary: #e0e0e0;
    --text-white: #ffffff;
    --accent-color: #00d2ff;
    --accent-secondary: #3a7bd5;
    --link-color: #00d2ff;
    --card-bg: linear-gradient(145deg, rgba(40, 40, 60, 0.8), rgba(20, 20, 30, 0.9));
    --footer-bg: #0f0c29;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] {
    --bg-primary: #050505;
    --bg-header: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    --bg-main: radial-gradient(circle at 50% 50%, rgba(20, 20, 20, 0.4) 0%, rgba(0, 0, 0, 0.9) 100%);
    --bg-container: rgba(10, 10, 10, 0.8);
    --bg-column: rgba(20, 20, 20, 0.9);
    --text-primary: #ffffff;
    --text-white: #ffffff;
    --accent-color: #00d2ff;
    --accent-secondary: #3a7bd5;
    --link-color: #00d2ff;
    --card-bg: linear-gradient(145deg, rgba(20, 20, 20, 0.9), rgba(10, 10, 10, 1));
    --footer-bg: #000000;
}

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

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: all 0.3s ease;
}

a {
    text-decoration: none;
    color: var(--link-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

a:hover {
    color: #00509E;
}

a:focus {
    outline: 2px solid #928bff;
    outline-offset: 2px;
}

.content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

header {
    background: var(--bg-header);
    color: var(--text-white);
    padding: 60px 20px;
    text-align: center;
    position: relative;
    backdrop-filter: blur(15px);
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, transparent, var(--accent-color), transparent) 1;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0, 210, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

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

    to {
        transform: rotate(360deg);
    }
}

.subtitle {
    font-size: 0.9em;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 8px;
    letter-spacing: 1px;
}

.header-actions {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    gap: 15px;
    align-items: center;
    z-index: 10;
}

.theme-switch {
    display: flex;
    align-items: center;
}

.cv-download-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--accent-color);
    color: var(--text-white);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    backdrop-filter: blur(5px);
}

.cv-download-btn i {
    font-size: 16px;
    color: var(--accent-color);
}

.cv-download-btn:hover {
    background: var(--accent-color);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.4);
}

.cv-download-btn:hover i {
    color: #000;
}

.cv-download-btn:active {
    transform: translateY(0);
}

.theme-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--accent-color);
    color: var(--text-white);
    padding: 12px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.theme-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, var(--accent-color), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.theme-btn:hover::before {
    width: 200%;
    height: 200%;
}

.theme-btn:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 6px 20px rgba(146, 139, 255, 0.5);
    border-color: #ffffff;
}

.theme-btn:active {
    transform: scale(0.95) rotate(0deg);
}

.language-switch {
    position: absolute;
    top: 10px;
    right: 20px;
    z-index: 10;
}

.language-switch button {
    background: linear-gradient(135deg, rgba(94, 86, 99, 0.6), rgba(94, 86, 99, 0.8));
    color: white;
    border: 2px solid var(--accent-color);
    padding: 12px 24px;
    cursor: pointer;
    margin: 8px 8px 0;
    border-radius: 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.language-switch button:hover::before {
    left: 100%;
}

.language-switch button:hover {
    background: linear-gradient(135deg, var(--accent-color), #4a90e2);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(146, 139, 255, 0.4);
    border-color: #ffffff;
}

.language-switch button:active {
    transform: translateY(0) scale(0.98);
}

.language-switch button:focus {
    outline: 2px solid #928bff;
    outline-offset: 3px;
}

h1 {
    font-size: 42px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeInUp 1s ease-out;
    z-index: 1;
}

.name {
    font-size: 35px;
    text-align: center;
    margin-bottom: 5px;
}

.title {
    font-size: 0.95em;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.experience-highlight {
    font-size: 0.85em;
    text-align: center;
    color: var(--accent-color);
    font-weight: 500;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    animation: gentleGlow 4s ease-in-out infinite;
}

@keyframes gentleGlow {

    0%,
    100% {
        text-shadow: 0 0 8px rgba(146, 139, 255, 0.3);
    }

    50% {
        text-shadow: 0 0 16px rgba(146, 139, 255, 0.6);
    }
}

main {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    padding: 40px;
    position: relative;
    z-index: 1;
}

main::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../assets/bg.jpg);
    background-size: cover;
    filter: blur(5px);
    z-index: -1;
}

main::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-main);
    z-index: -1;
}

.resume-container {
    width: 95%;
    max-width: 1200px;
    padding: 40px;
    border-radius: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    background: var(--bg-container);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    color: var(--text-white);
    transition: all 0.3s ease;
    gap: 30px;
}

.resume-container::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    width: calc(100% + 20px);
    height: calc(100% + 40px);
    background: rgba(255, 255, 255, 0.5);
    filter: blur(30px);
    z-index: -1;
}

.left-column,
.right-column {
    flex: 1;
    min-width: 350px;
    padding: 30px;
    background: var(--bg-column);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease-out;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.left-column {
    animation-delay: 0.2s;
}

.right-column {
    animation-delay: 0.4s;
}

.left-column:hover,
.right-column:hover {
    box-shadow: 0 8px 25px rgba(146, 139, 255, 0.2);
}

.profile {
    position: relative;
    text-align: center;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 100;
}

/* Desktop-only Pinned State */
@media (min-width: 1024px) {
    .profile.pinned {
        position: fixed !important;
        top: 50px !important;
        right: 50px !important;
        left: auto !important;
        margin: 0 !important;
        z-index: 100000 !important;
        animation: profileLevitate 4s ease-in-out infinite;
        transform: scale(0.65);
        transform-origin: top right;
        pointer-events: auto;
    }

    @keyframes profileLevitate {

        0%,
        100% {
            transform: scale(0.65) translateY(0);
        }

        50% {
            transform: scale(0.65) translateY(-30px);
        }
    }
}

.profile.pinned .profile-img {
    margin: 0;
}

.profile.pinned .name,
.profile.pinned .title,
.profile.pinned .experience-highlight {
    display: none;
}

.profile.pinned .eyes-container,
.profile-is-pinned .profile .eyes-container {
    opacity: 1 !important;
    display: flex !important;
}

.profile-placeholder {
    height: 350px;
    margin-bottom: 20px;
}

.profile:active .profile-img {
    transform: scale(0.98);
}

.profile-img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px auto;
    display: block;
    border: 4px solid var(--accent-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(146, 139, 255, 0.3),
        0 0 30px rgba(146, 139, 255, 0.2);
    position: relative;
    background: var(--bg-column);
}

.profile.pinned .profile-img {
    box-shadow: 0 20px 80px rgba(0, 210, 255, 0.5),
        0 0 120px rgba(0, 210, 255, 0.2);
    border-color: #00d2ff !important;
}

.profile .eyes-container.closing .eye {
    animation: blinkClose 0.3s ease forwards;
}

@keyframes blinkClose {
    0% {
        transform: scaleY(1);
    }

    50% {
        transform: scaleY(0.1);
    }

    100% {
        transform: scaleY(0);
        opacity: 0;
    }
}

/* Eyes that follow cursor */
.eyes-container {
    position: absolute;
    top: 38.5%;
    left: 49.5%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 16px;
    pointer-events: none;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.eye {
    width: 22px;
    /* Smaller eyes */
    height: 12px;
    position: relative;
    pointer-events: none;
    transform-origin: center;
}

.eye-white {
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, #ffffff 0%, #f0f0f0 70%, #e0e0e0 100%);
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.2);
}

.pupil {
    width: 10px;
    /* Smaller pupil */
    height: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.08s ease-out;
}

.iris {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 40% 40%,
            #5b8a72 0%,
            #4a705d 30%,
            #3d5c4d 60%,
            #2d4a3d 100%);
    border-radius: 50%;
    position: relative;
    box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.4);
}

.iris::before {
    content: '';
    position: absolute;
    width: 50%;
    height: 50%;
    background: #1a1a1a;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.iris::after {
    content: '';
    position: absolute;
    width: 25%;
    height: 25%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.3) 100%);
    border-radius: 50%;
    top: 20%;
    left: 20%;
}

/* Lasers from eyes */
.lasers-svg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 200000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-is-pinned .lasers-svg {
    opacity: 1 !important;
}

.lasers-svg.fading {
    opacity: 0 !important;
    transition: opacity 0.5s ease;
}

.laser-l,
.laser-r {
    stroke: #ff0040;
    stroke-width: 1.5;
    stroke-linecap: round;
    filter: drop-shadow(0 0 8px #ff0040) drop-shadow(0 0 15px #ff0080) drop-shadow(0 0 25px #ff0020);
    opacity: 0.9;
    animation: laserPulse 0.1s infinite alternate, laserFlicker 0.05s infinite;
}

@keyframes laserPulse {
    0% {
        stroke-width: 1.5;
        opacity: 0.85;
        filter: drop-shadow(0 0 8px #ff0040) drop-shadow(0 0 15px #ff0080) drop-shadow(0 0 25px #ff0020);
    }

    100% {
        stroke-width: 2.5;
        opacity: 1;
        filter: drop-shadow(0 0 12px #ff0040) drop-shadow(0 0 20px #ff0080) drop-shadow(0 0 35px #ff0020);
    }
}

@keyframes laserFlicker {

    0%,
    100% {
        opacity: 0.9;
    }

    50% {
        opacity: 0.75;
    }
}

/* Laser burn point at cursor */
.laser-burn-point {
    position: fixed;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: radial-gradient(circle,
            #ffffff 0%,
            #ffff00 10%,
            #ff8800 25%,
            #ff0040 50%,
            #ff0080 75%,
            transparent 100%);
    pointer-events: none;
    z-index: 10000;
    opacity: 0;
    transform: translate(-50%, -50%);
    filter: blur(3px);
    transition: opacity 0.2s ease;
    animation: burnPointPulse 0.15s infinite alternate;
    box-shadow:
        0 0 20px #ff4400,
        0 0 40px #ff0020,
        0 0 60px #ff0000,
        inset 0 0 15px rgba(255, 255, 255, 0.8);
}

@keyframes burnPointPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        filter: blur(3px) brightness(1);
    }

    100% {
        transform: translate(-50%, -50%) scale(1.3);
        filter: blur(4px) brightness(1.3);
    }
}

.profile-is-pinned .laser-burn-point {
    opacity: 1;
}

/* Smoke particles from burn point */
.smoke-particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle,
            rgba(100, 100, 100, 0.4) 0%,
            rgba(60, 60, 60, 0.2) 50%,
            transparent 100%);
    pointer-events: none;
    filter: blur(2px);
    animation: smokeRise 2s ease-out forwards;
}

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

    50% {
        opacity: 0.3;
    }

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

/* Heat distortion effect */
.heat-distortion {
    position: fixed;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle,
            rgba(255, 100, 50, 0.15) 0%,
            rgba(255, 50, 0, 0.1) 30%,
            transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    filter: blur(8px);
    animation: heatWave 0.5s infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-is-pinned .heat-distortion {
    opacity: 1;
}

@keyframes heatWave {

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

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.4;
    }
}

/* Laser trails container */
.laser-trails {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9998;
}

/* SVG for burn marks (continuous lines) */
.burn-marks-svg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9997;
}

/* Burn mark path (the continuous groove) */
.burn-mark-path {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0;
    animation: burnMarkFade 10s ease-out forwards;
}

@keyframes burnMarkFade {
    0% {
        opacity: 1;
    }

    20% {
        opacity: 0.9;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        opacity: 0;
    }
}

/* Individual laser trail point */
.laser-trail {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: radial-gradient(circle,
            #ffffff 0%,
            #ffcc00 15%,
            #ff6600 30%,
            #ff2200 50%,
            #880000 70%,
            #330000 85%,
            transparent 100%);
    transform: translate(-50%, -50%);
    filter: blur(1px);
    animation: trailFade 10s ease-out forwards;
    box-shadow:
        0 0 6px #ff6600,
        0 0 12px #ff2200,
        0 0 18px #ff0000,
        inset 0 0 4px rgba(255, 255, 255, 0.5);
    opacity: 1;
}

/* Burn mark - darker edge for realism */
.laser-trail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle,
            transparent 40%,
            rgba(0, 0, 0, 0.8) 70%,
            rgba(0, 0, 0, 0.95) 100%);
    opacity: 0.7;
}

/* Spark particles */
.laser-spark {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: radial-gradient(circle,
            #ffffff 0%,
            #ffff00 20%,
            #ffcc00 40%,
            #ff6600 70%,
            #ff2200 100%);
    transform: translate(-50%, -50%);
    filter: blur(0.3px);
    animation: sparkFly 1.2s ease-out forwards;
    box-shadow:
        0 0 6px #ffcc00,
        0 0 12px #ff6600,
        0 0 18px #ff2200,
        0 0 24px #ff0000;
    opacity: 1;
}

@keyframes sparkFly {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.5);
    }

    50% {
        opacity: 0.8;
    }

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

@keyframes trailFade {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
    }

    10% {
        opacity: 0.95;
        transform: translate(-50%, -50%) scale(1);
    }

    30% {
        opacity: 0.8;
    }

    60% {
        opacity: 0.5;
    }

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

h2,
h3 {
    font-size: 1.6em;
    margin-bottom: 18px;
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    display: inline-block;
}

h2::after,
h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    border-radius: 2px;
    transition: width 0.3s ease;
}

h2:hover::after,
h3:hover::after {
    width: 100%;
}

.skills-list,
.experience-list {
    list-style: none;
    padding: 0;
}

/* Featured Main Stack Skills */
.main-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.featured-skill {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    border-radius: 14px;
    border: 2px solid transparent;
    background: linear-gradient(135deg, rgba(146, 139, 255, 0.15), rgba(74, 144, 226, 0.1));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.5s ease-out backwards;
}

.angular-skill {
    animation-delay: 0.05s;
}

.webapi-skill {
    animation-delay: 0.15s;
}

.featured-skill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--accent-color);
    border-radius: 14px 0 0 14px;
}

.angular-skill {
    border-color: #dd0031;
    background: linear-gradient(135deg, rgba(221, 0, 49, 0.15), rgba(221, 0, 49, 0.05));
}

.angular-skill::before {
    background: linear-gradient(180deg, #dd0031, #c3002f);
}

.angular-skill .skill-icon {
    background: linear-gradient(135deg, #dd0031, #c3002f);
    box-shadow: 0 4px 15px rgba(221, 0, 49, 0.4);
}

.webapi-skill {
    border-color: #512BD4;
    background: linear-gradient(135deg, rgba(81, 43, 212, 0.15), rgba(81, 43, 212, 0.05));
}

.webapi-skill::before {
    background: linear-gradient(180deg, #512BD4, #3b1a9e);
}

.webapi-skill .skill-icon {
    background: linear-gradient(135deg, #512BD4, #3b1a9e);
    box-shadow: 0 4px 15px rgba(81, 43, 212, 0.4);
}

.featured-skill .skill-icon {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: white;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.featured-skill .skill-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.featured-skill .skill-name {
    font-size: 1.15em;
    font-weight: 600;
    color: var(--text-white);
}

.featured-skill .skill-badge {
    font-size: 0.7em;
    padding: 3px 10px;
    background: linear-gradient(135deg, var(--accent-color), #4a90e2);
    border-radius: 20px;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    width: fit-content;
}

.featured-skill:hover {
    transform: translateX(5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(146, 139, 255, 0.3);
}

.angular-skill:hover {
    box-shadow: 0 8px 25px rgba(221, 0, 49, 0.4);
    border-color: #ff1a5c;
}

.webapi-skill:hover {
    box-shadow: 0 8px 25px rgba(81, 43, 212, 0.4);
    border-color: #6b35ff;
}

.angular-skill:hover .skill-icon {
    transform: rotate(10deg) scale(1.1);
}

.webapi-skill:hover .skill-icon {
    transform: scale(1.1);
}

/* Collapsible Section */
.other-skills-section {
    margin-top: 15px;
}

.collapsible-toggle {
    width: 100%;
    padding: 12px 18px;
    background: linear-gradient(135deg, rgba(146, 139, 255, 0.1), rgba(74, 144, 226, 0.08));
    border: 2px solid var(--accent-color);
    border-radius: 10px;
    color: var(--text-white);
    font-size: 0.95em;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.collapsible-toggle:hover {
    background: linear-gradient(135deg, rgba(146, 139, 255, 0.2), rgba(74, 144, 226, 0.15));
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(146, 139, 255, 0.2);
}

.collapsible-toggle i {
    transition: transform 0.3s ease;
}

.collapsible-toggle.active i {
    transform: rotate(180deg);
}

.skills-list.collapsible {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 0;
}

.skills-list.collapsible.show {
    max-height: 1000px;
    opacity: 1;
    margin-top: 15px;
}

/* Experience Tabs */
.experience-tabs {
    margin-top: 10px;
}

.tabs-header {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tab-btn {
    flex: 1;
    min-width: 70px;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(146, 139, 255, 0.08), rgba(74, 144, 226, 0.05));
    border: 2px solid transparent;
    border-radius: 12px;
    color: var(--text-white);
    font-size: 0.85em;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tab-btn::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), #4a90e2);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.tab-btn:hover {
    background: linear-gradient(135deg, rgba(146, 139, 255, 0.15), rgba(74, 144, 226, 0.1));
    transform: translateY(-2px);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--accent-color), #4a90e2);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(146, 139, 255, 0.3);
}

.tab-btn.active::before {
    width: 80%;
}

.tab-btn i {
    font-size: 1em;
}

.tabs-content {
    position: relative;
}

.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInTab 0.4s ease-out;
}

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.tab-content .experience-list li {
    animation: slideInRight 0.4s ease-out backwards;
}

.tab-content .experience-list li:nth-child(1) {
    animation-delay: 0.05s;
}

.tab-content .experience-list li:nth-child(2) {
    animation-delay: 0.1s;
}

.tab-content .experience-list li:nth-child(3) {
    animation-delay: 0.15s;
}

/* Projects Section */
.projects-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.project-card {
    background: linear-gradient(145deg, rgba(30, 30, 50, 0.6), rgba(40, 40, 70, 0.8));
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(146, 139, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.5s ease-out backwards;
}

.project-card:nth-child(1) {
    animation-delay: 0.05s;
}

.project-card:nth-child(2) {
    animation-delay: 0.1s;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), #4a90e2, #00d4ff);
    background-size: 200% 100%;
    animation: shimmer 4s linear infinite;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 12px 35px rgba(146, 139, 255, 0.25);
}

.project-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.project-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
    flex-shrink: 0;
}

.streaming-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.recipes-icon {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.4);
}

.booking-icon {
    background: linear-gradient(135deg, #00d2ff, #3a7bd5);
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.4);
}

.featured-project {
    border: 2px solid var(--accent-color) !important;
    background: linear-gradient(145deg, rgba(30, 30, 60, 0.8), rgba(40, 40, 90, 0.9)) !important;
    box-shadow: 0 15px 45px rgba(0, 210, 255, 0.2) !important;
}

.featured-project::after {
    content: 'TOP PROJECT';
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--accent-color);
    color: #000;
    font-size: 0.65em;
    font-weight: 800;
    padding: 5px 40px;
    transform: rotate(45deg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.project-title {
    font-size: 1.3em;
    font-weight: 600;
    color: var(--text-white);
    margin: 0;
}

.project-title-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.project-subtitle {
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

.project-image {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(146, 139, 255, 0.2);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-description {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95em;
    margin-bottom: 16px;
    line-height: 1.5;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.tech-tag {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tech-tag.backend {
    background: linear-gradient(135deg, #512BD4, #6b35ff);
    color: white;
}

.tech-tag.frontend {
    background: linear-gradient(135deg, #dd0031, #ff1a5c);
    color: white;
}

.tech-tag.database {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: white;
}

.tech-tag.search {
    background: linear-gradient(135deg, #00e676, #00a854);
    color: white;
}

.tech-tag.devops {
    background: linear-gradient(135deg, #26a69a, #00796b);
    color: white;
}

.tech-tag.architecture {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: white;
}

.project-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.project-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 12px;
    background: rgba(146, 139, 255, 0.08);
    border-radius: 8px;
    border-left: 3px solid var(--accent-color);
    transition: all 0.3s ease;
}

.project-features li:hover {
    background: rgba(146, 139, 255, 0.15);
    transform: translateX(5px);
    border-left-width: 4px;
}

.project-features li i {
    color: var(--accent-color);
    font-size: 1.1em;
}

.skills-list li,
.experience-list li {
    margin-bottom: 15px;
    font-size: 1.1em;
    padding: 14px 18px;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.08), rgba(146, 139, 255, 0.05));
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
    animation: slideInLeft 0.6s ease-out;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 12px;
}

.skills-list li i,
.experience-list li i {
    font-size: 1.3em;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.skills-list li:hover,
.experience-list li:hover {
    transform: translateX(8px) scale(1.02);
    background: linear-gradient(135deg, rgba(146, 139, 255, 0.25), rgba(74, 144, 226, 0.15));
    box-shadow: 0 6px 20px rgba(146, 139, 255, 0.35);
    border-left-width: 5px;
}

.skills-list li:hover i {
    transform: scale(1.2) rotate(5deg);
}

.card {
    background: var(--card-bg);
    color: var(--text-white);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    border: 1px solid var(--accent-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), #4a90e2, var(--accent-color));
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

.card:hover {
    transform: translateY(-8px);
    border-color: #928bff;
    box-shadow: 0 15px 40px rgba(146, 139, 255, 0.3);
}

.card h4 {
    font-size: 22px;
    color: #ffffff;
}

.card .university {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin-top: 8px;
}

.card .specialty {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    margin-top: 4px;
}

.social-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icon {
    width: 52px;
    height: 52px;
    font-size: 1.4em;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(146, 139, 255, 0.15), rgba(74, 144, 226, 0.1));
    color: #dbceff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.social-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s ease;
}

.social-icon:hover {
    color: #ffffff;
    transform: scale(1.15) translateY(-3px);
    background: linear-gradient(135deg, rgba(146, 139, 255, 0.4), rgba(74, 144, 226, 0.3));
    border-color: #928bff;
    box-shadow: 0 8px 25px rgba(146, 139, 255, 0.5);
}

.social-icon:hover::after {
    opacity: 1;
    transform: scale(1.3);
}

.social-icon:active {
    transform: scale(1.05) translateY(-1px);
}

/* About & Hobbies Text */
.about-text,
.hobbies-text {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

/* Contact Info */
.contact-info {
    margin-top: 10px;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95em;
}

.contact-info i {
    color: var(--accent-color);
    font-size: 1.1em;
    width: 20px;
}

.contact-info a {
    color: var(--link-color);
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--accent-color);
}

footer {
    background-color: var(--footer-bg);
    color: var(--text-white);
    padding: 10px 20px;
    text-align: center;
}

footer .footer-content {
    font-size: 14px;
    letter-spacing: 1px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(146, 139, 255, 0.4);
    }

    50% {
        box-shadow: 0 0 0 15px rgba(146, 139, 255, 0);
    }
}

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

    100% {
        background-position: 200% 0;
    }
}

@keyframes float {

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

    50% {
        transform: translateY(-10px);
    }
}

/* Staggered animation for skills */
.skills-list li {
    animation: slideInLeft 0.5s ease-out backwards;
}

.skills-list li:nth-child(1) {
    animation-delay: 0.05s;
}

.skills-list li:nth-child(2) {
    animation-delay: 0.1s;
}

.skills-list li:nth-child(3) {
    animation-delay: 0.15s;
}

.skills-list li:nth-child(4) {
    animation-delay: 0.2s;
}

.skills-list li:nth-child(5) {
    animation-delay: 0.25s;
}

.skills-list li:nth-child(6) {
    animation-delay: 0.3s;
}

.skills-list li:nth-child(7) {
    animation-delay: 0.35s;
}

.skills-list li:nth-child(8) {
    animation-delay: 0.4s;
}

.skills-list li:nth-child(9) {
    animation-delay: 0.45s;
}

.skills-list li:nth-child(10) {
    animation-delay: 0.5s;
}

.skills-list li:nth-child(11) {
    animation-delay: 0.55s;
}

/* Experience list staggered animation */
.experience-list li {
    animation: slideInRight 0.5s ease-out backwards;
}

.experience-list li:nth-child(1) {
    animation-delay: 0.1s;
}

.experience-list li:nth-child(2) {
    animation-delay: 0.15s;
}

.experience-list li:nth-child(3) {
    animation-delay: 0.2s;
}

.experience-list li:nth-child(4) {
    animation-delay: 0.25s;
}

.experience-list li:nth-child(5) {
    animation-delay: 0.3s;
}

.experience-list li:nth-child(6) {
    animation-delay: 0.35s;
}

.experience-list li:nth-child(7) {
    animation-delay: 0.4s;
}

.experience-list li:nth-child(8) {
    animation-delay: 0.45s;
}

.experience-list li:nth-child(9) {
    animation-delay: 0.5s;
}

/* Enhanced skill item with gradient border effect */
.skills-list li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    border-radius: 10px 0 0 10px;
    transition: width 0.3s ease;
    z-index: 0;
}

.skills-list li:hover::before {
    width: 100%;
    opacity: 0.15;
}

.skills-list li span {
    position: relative;
    z-index: 1;
}

/* Social icons staggered animation */
.social-icon {
    animation: fadeInUp 0.5s ease-out backwards;
}

.social-icon:nth-child(1) {
    animation-delay: 0.1s;
}

.social-icon:nth-child(2) {
    animation-delay: 0.2s;
}

.social-icon:nth-child(3) {
    animation-delay: 0.3s;
}

.social-icon:nth-child(4) {
    animation-delay: 0.4s;
}

/* Experience tab company meta line */
.exp-company {
    font-size: 0.9rem;
    color: var(--text-primary);
    opacity: 0.85;
    margin-bottom: 0.6rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.exp-company strong {
    color: var(--accent-color);
}

/* "See more" section links */
.section-more {
    margin-top: 0.75rem;
    text-align: right;
}

.more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-color);
}

.more-link i {
    transition: transform 0.25s ease;
}

.more-link:hover i {
    transform: translateX(4px);
}