:root {
    --bg-color: #0a0a14;
    --primary-color: #9f78ff;
    --secondary-color: #00f5d4;
    --accent-color: #ff00c1;
    --text-color: #e0e0e0;
    --text-muted-color: #88889a;
    --border-color: rgba(159, 120, 255, 0.2);
    --font-primary: 'Orbitron', sans-serif;
    --font-secondary: 'Rajdhani', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-secondary);
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at top left, rgba(159, 120, 255, 0.1), transparent 40%),
        radial-gradient(circle at bottom right, rgba(0, 245, 212, 0.1), transparent 40%),
        radial-gradient(circle at center, rgba(255, 0, 193, 0.05), transparent 50%);
    z-index: -1;
    animation: background-pan 20s infinite alternate;
}

body::after {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image:
        radial-gradient(2px 2px at 20px 30px, rgba(159, 120, 255, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(0, 245, 212, 0.3), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 0, 193, 0.3), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(159, 120, 255, 0.3), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(0, 245, 212, 0.3), transparent),
        radial-gradient(2px 2px at 200px 60px, rgba(255, 0, 193, 0.3), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    z-index: -1;
    animation: sparkle 15s linear infinite;
}

@keyframes sparkle {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(90deg); }
    50% { transform: translateY(0) rotate(180deg); }
    75% { transform: translateY(10px) rotate(270deg); }
}

@keyframes background-pan {
    from { background-position: 0% 0%; }
    to { background-position: 100% 100%; }
}

h1, h2, h3 {
    font-family: var(--font-primary);
    color: var(--text-color);
    text-transform: uppercase;
    text-shadow: 0 0 5px var(--primary-color);
}

h1 { font-size: 4rem; margin-bottom: 0.5rem; }
h2 { font-size: 2.5rem; margin-bottom: 3rem; text-align: center; }
h3 { font-size: 1.5rem; color: var(--secondary-color); text-shadow: none; }

p { font-size: 1.1rem; max-width: 650px; }
a { color: var(--secondary-color); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--primary-color); }

.section {
    padding: 100px 5%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}
.hero-section {
    scroll-snap-align: start;
}
.section {
    scroll-snap-align: start;
}

html, body {
    overscroll-behavior-y: contain;
}
.section-title {
    position: relative;
    padding-bottom: 8px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.section-subtitle {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-muted-color);
    text-align: center;
}
.section-subtitle a {
    color: var(--secondary-color);
    text-decoration: underline;
}
.section-subtitle a:hover {
    color: var(--primary-color);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 5%;
    background: rgba(10, 10, 20, 0.5);
    backdrop-filter: blur(10px);
    transition: background 0.3s;
}
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav__logo {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
}
.nav__list {
    display: flex;
    list-style: none;
    gap: 2rem;
}
.nav__link {
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    position: relative;
}
.nav__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}
.nav__link:hover::after {
    width: 100%;
}
.nav__toggle { display: none; }

.hero-section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
    position: relative;
}
.hero-avatar-container {
    position: relative;
    width: 20rem;
    margin: 0 auto 1.5rem;
}
.hero-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 15px var(--primary-color), 0 0 30px var(--primary-color) inset;
    animation: pulse 2s infinite;
}
.hero-avatar-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(0, 245, 212, 0.3), rgba(159, 120, 255, 0.3));
    animation: spin 10s linear infinite;
    z-index: -1;
}
.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted-color);
    height: 2.2rem;
}
.cursor {
    animation: blink 1s step-end infinite;
    color: var(--secondary-color);
}

.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}
.scroll-down-indicator a {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid var(--secondary-color);
    border-radius: 12px;
}
.scroll-down-indicator span {
    display: block;
    width: 4px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 2px;
    margin: 6px auto;
    animation: scroll-anim 2s infinite;
}
@keyframes scroll-anim {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.5; }
    100% { transform: translateY(0); opacity: 1; }
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    margin-top: 2rem;
    font-family: var(--font-primary);
    font-weight: 600;
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

.cta-button:hover {
    color: var(--bg-color);
    box-shadow: 0 0 25px var(--secondary-color), 0 0 50px var(--secondary-color);
    transform: translateY(-3px);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    z-index: -1;
    transition: left 0.3s ease;
}

.cta-button:hover::before {
    left: 0;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.cta-button:hover::after {
    width: 300px;
    height: 300px;
}

.about-container {
    display: flex;
    gap: 3rem;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}
.about-text { flex: 1.5; }
.about-text h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}
.about-text p {
    margin-bottom: .5rem;
    color: var(--text-color);
    font-weight: 600;
}
.about-text a {
    color: var(--secondary-color);
    font-weight: 600;
}

.about-skills { flex: 1; display: flex; flex-direction: column; align-items: center; }
#skillsRadarChart { max-width: 100%; height: auto; }

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 900px;
}
.project-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    text-align: center;
    justify-content: center;
    justify-items: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}
.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px var(--border-color);
}
.project-card:not(.has-collage) img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background: rgba(255,255,255,0.02);
    margin-bottom: 1rem;
    filter: grayscale(50%);
    transition: filter 0.3s;
}
.project-card:hover img {
    filter: grayscale(0%);
}
.project-card h3 { margin-bottom: 0.5rem; }
.project-card-tech {
    font-size: 0.9rem;
    color: var(--text-muted-color);
}

.card-collage {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 6px;
    height: 200px;
    margin-bottom: 1rem;
}
.collage-main {
    grid-column: 1;
    grid-row: 1 / span 2;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.collage-main .main-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.collage-thumbs {
    grid-column: 2;
    grid-row: 1 / span 2;
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 6px;
}
.collage-thumbs .thumb {
    position: relative;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.collage-thumbs img.thumb-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.collage-thumbs .more-badge {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.45);
    color: #fff;
    font-weight: 700;
    letter-spacing: .5px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}
.modal-content {
    background-color: var(--bg-color);
    margin: 10% auto;
    padding: 30px;
    border: 1px solid var(--primary-color);
    width: 80%;
    max-width: 900px;
    position: relative;
    box-shadow: 0 0 30px var(--primary-color);
    animation: slide-in 0.5s ease;
}
.close-button {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.close-button:hover,
.close-button:focus {
    color: var(--text-color);
}
.gallery-main {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    height: min(60vh, 520px);
}
.modal-img { 
    width: 100%; 
    height: 100%;
    max-height: none; 
    object-fit: contain; 
    margin-bottom: 0; 
}
.modal-gallery {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.gallery-main {
    position: relative;
}
.gallery-btn {
    background: rgba(255,255,255,0.08);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
.gallery-btn:hover {
    background: var(--secondary-color);
    color: var(--bg-color);
}
.modal-thumbs {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
    margin-bottom: 10px;
}
.modal-thumbs img {
    width: 64px;
    height: 48px;
    object-fit: contain;
    border: none;
    border-radius: 0;
    opacity: 0.85;
    cursor: pointer;
    background: transparent;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.modal-thumbs img:hover { opacity: 1; transform: translateY(-2px); }
.modal-thumbs img.active { opacity: 1; }

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1002;
    cursor: zoom-out;
}
.lightbox.visible { display: flex; }
.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border: 1px solid var(--border-color);
    border-radius: 6px;
}
.modal-tech { margin: 1rem 0; }
.modal-tech span {
    background: var(--border-color);
    padding: 5px 10px;
    margin-right: 5px;
    border-radius: 3px;
    font-size: 0.9rem;
}
.modal-links { margin-top: 1.5rem; }
.modal-links .secondary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.modal-links .secondary:hover {
    background: var(--primary-color);
    color: var(--bg-color);
    box-shadow: 0 0 15px var(--primary-color);
}
.modal-links .secondary::before {
    background: var(--primary-color);
}

.timeline-container {
    position: relative;
    max-width: 1200px;
    width: 100%;
}
.timeline-container::after {
    content: '';
    position: absolute;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}
.timeline-item:nth-child(odd) { left: 0; }
.timeline-item:nth-child(even) { left: 50%; }
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--bg-color);
    border: 4px solid var(--secondary-color);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
}
.timeline-item:nth-child(even)::after {
    left: -10px;
}
.timeline-content {
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    position: relative;
    border-radius: 6px;
}
.timeline-content h3 { font-size: 1.2rem; }
.timeline-content p { font-size: 1rem; max-width: none; }
.timeline-description { color: var(--text-muted-color); font-size: 0.9rem; }


.contact-container {
    display: flex;
    gap: 3rem;
    width: 100%;
    max-width: 1000px;
    background: rgba(255, 255, 255, 0.03);
    padding: 3rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}
.contact-form-wrapper { flex: 1.5; }
.contact-info { flex: 1; text-align: center; }
.contact-info h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}
.qr-code { width: 180px; height: 180px; margin: 1rem auto; display: block; border: 2px solid var(--border-color); }
.social-links {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}
.social-links a svg {
    fill: var(--text-muted-color);
    transition: all 0.3s;
}
.social-links a:hover svg {
    fill: var(--secondary-color);
    transform: scale(1.1) translateY(-5px);
    filter: drop-shadow(0 0 5px var(--secondary-color));
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--bg-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    transform: translateY(20px);
    z-index: 998;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    box-shadow: 0 0 15px var(--primary-color);
    transform: scale(1.1);
}

.floating-menu {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 999;
}

.fab-main {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--bg-color);
    box-shadow: 0 4px 15px rgba(159, 120, 255, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.fab-main:hover {
    transform: scale(1.1) rotate(180deg);
    box-shadow: 0 6px 25px rgba(159, 120, 255, 0.6);
}

.fab-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.fab-main:hover::before {
    opacity: 1;
    transform: scale(1);
}

.fab-icon {
    transition: transform 0.3s ease;
}

.fab-main:hover .fab-icon {
    transform: scale(1.2);
}

.fab-options {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.floating-menu:hover .fab-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fab-option {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.fab-option:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 245, 212, 0.4);
}

.fab-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.fab-option:hover::before {
    transform: translateX(100%);
}

@keyframes pulse {
    0% { box-shadow: 0 0 15px var(--primary-color), 0 0 30px var(--primary-color) inset; }
    50% { box-shadow: 0 0 25px var(--primary-color), 0 0 40px var(--primary-color) inset; }
    100% { box-shadow: 0 0 15px var(--primary-color), 0 0 30px var(--primary-color) inset; }
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes blink {
    50% { opacity: 0; }
}
@keyframes slide-in {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.skill-card { animation: fadeIn 0.5s ease; }
.visible { animation: fadeIn 0.6s ease; }

@media (max-width: 1024px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2rem; }
    .about-container, .contact-container { flex-direction: column; }
    .timeline-container::after { left: 30px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-item:nth-child(even) { left: 0; }
    .timeline-item::after { left: 15px; }
}

@media (max-width: 768px) {
    .nav__list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.5s ease-in-out;
    }
    .nav__list.active {
        right: 0;
    }
    .nav__toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 25px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1001;
    }
    .nav__toggle span {
        width: 100%;
        height: 3px;
        background: var(--text-color);
        transition: all 0.3s;
    }
     .nav__list.active + .nav__toggle span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }
    .nav__list.active + .nav__toggle span:nth-child(2) {
        opacity: 0;
    }
    .nav__list.active + .nav__toggle span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    h1 { font-size: 2.5rem; }
    .hero-avatar-container {
        width: 15rem;
        height: 15rem;
    }
    .contact-container { padding: 1.5rem; }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
        display: flex;
    }
    
    .skills-grid, .tools-grid, .learning-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-tags {
        justify-content: center;
    }
    
    .skill-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin-bottom: 3rem;
}

.skill-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.skill-card.frontend::before { background: linear-gradient(90deg, #61dafb, #20232a); }
.skill-card.backend::before { background: linear-gradient(90deg, #68d391, #38a169); }
.skill-card.devops::before { background: linear-gradient(90deg, #f6ad55, #ed8936); }

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(159, 120, 255, 0.2);
    border-color: var(--secondary-color);
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.skill-icon {
    font-size: 2.5rem;
    animation: float 3s ease-in-out infinite;
}

.skill-header h3 {
    flex: 1;
    font-size: 1.3rem;
    margin: 0;
}

.skill-technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tech-tag.expert {
    background: linear-gradient(45deg, var(--secondary-color), #00d4aa);
    color: var(--bg-color);
}

.tech-tag.advanced {
    background: linear-gradient(45deg, var(--primary-color), #7c3aed);
    color: white;
}

.tech-tag.intermediate {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    color: var(--text-muted-color);
}

.skill-progress {
    position: absolute;
    height: 8px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    bottom: 0;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
    width: 0%;
    transition: width 2s ease;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.skill-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-color);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--secondary-color);
    background: var(--secondary-color);
    color: var(--bg-color);
    box-shadow: 0 0 15px rgba(0, 245, 212, 0.3);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    width: 100%;
    max-width: 1200px;
}

.hero-stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.hero-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.hero-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(159, 120, 255, 0.2);
}

.stat-value {
    display: block;
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-shadow: 0 0 10px var(--secondary-color);
}

.stat-unit {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--primary-color);
}

.stat-desc {
    display: block;
    font-size: 1rem;
    color: var(--text-muted-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

.key-skills {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-left: 4px solid var(--secondary-color);
    border-radius: 0 10px 10px 0;
}

.key-skills h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-family: var(--font-primary);
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--bg-color);
    white-space: nowrap;
    transition: transform 0.3s ease;
}

.skill-tag:hover {
    transform: scale(1.05);
}

.skill-tag.react { background: linear-gradient(45deg, #61dafb, #20232a); }
.skill-tag.javascript { background: linear-gradient(45deg, #f0db4f, #323330); }
.skill-tag.python { background: linear-gradient(45deg, #68d391, #38a169); }
.skill-tag.cloud { background: linear-gradient(45deg, #f6ad55, #ed8936); }
.skill-tag.docker { background: linear-gradient(45deg, #0db7ed, #384d54); }
.skill-tag.database { background: linear-gradient(45deg, #9f7aea, #805ad5); }
.skill-tag.git { background: linear-gradient(45deg, #f34f29, #c92a2a); }

.learning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    justify-content: center;
    justify-items: center;
    max-width: 1000px;
}

.learning-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 2rem;
    max-width: 450px;
    text-align: center;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.learning-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.learning-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(159, 120, 255, 0.3);
    border-color: var(--secondary-color);
}

.learning-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

.learning-card h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.learning-card p {
    color: var(--text-muted-color);
    max-width: none;
}

.learning-site {
    display: inline-block;
    background: var(--border-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1000px;
    margin-bottom: 3rem;
    justify-content: center;
    justify-items: center;
}

.tools-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;    
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.tools-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.tools-card.tools::before { background: linear-gradient(90deg, #9f778a, #805ad5); }

.tools-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(159, 120, 255, 0.3);
    border-color: var(--secondary-color);
}

.tools-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tools-icon {
    font-size: 3rem;
    animation: float 3s ease-in-out infinite;
}

.tools-header h3 {
    flex: 1;
    font-size: 1.3rem;
    margin: 0;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader-content {
    text-align: center;
}

.loader-circle {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(159, 120, 255, 0.3);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
}

.loader-text {
    color: var(--text-color);
    font-family: var(--font-primary);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: pulse 1.5s ease-in-out infinite;
    padding: 20px;
    border-radius: 5px;
}

.custom-cursor {
    position: fixed;
    width: 30px;
    height: 30px;
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: all 0.1s ease;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
}

.custom-cursor.cursor-hover {
    transform: translate(-50%, -50%) scale(1.5);
    background: rgba(159, 120, 255, 0.2);
}

.cursor-dot.cursor-hover {
    transform: translate(-50%, -50%) scale(2);
}

@media (max-width: 768px) {
    .custom-cursor,
    .cursor-dot {
        display: none;
    }
    
    .floating-menu {
        bottom: 80px;
        right: 20px;
    }
    
    .fab-main {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .fab-option {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}