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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 60px;
}

body {
    background-color: #0d0d0d;
    color: #e5e5e5;
    font-family: 'Space Mono', monospace;
    font-size: 16px;
    overflow-x: hidden;
    line-height: 1.7;
}

header {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    background: linear-gradient(to bottom, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.6) 100%);
    background-size: cover;
    background-position: center;

}

header h1 {
    font-size: 72px;
    letter-spacing: 6px;
    margin-bottom: 12px;
    text-shadow: 0 0 60px rgba(249, 168, 212, 0.35), 0 0 120px rgba(249, 168, 212, 0.1);
}

header h2 {
    font-size: 16px;
    color: #888888;
    letter-spacing: 3px;
    text-transform: uppercase;
}

header p {
    margin-bottom: 8px;
    font-size: 28px;
    color: #f9a8d4;
    letter-spacing: 1px;
}

nav{
    margin-top: 25px;
    display: flex;
    gap: 15px;
    transition: all 0.4s ease;
    z-index: 1000;
}

nav a {
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    background: rgba(0, 0, 0, 0.45);
    padding: 8px 18px;
    border: 1px solid rgba(249, 168, 212, 0.35);
    border-radius: 10px;
    text-decoration: none;
    color: #e5e5e5;
    font-size: 13px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

nav a:hover {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid #f9a8d4;
}

section {
    background-color: #111111;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    isolation: isolate;
    padding: 30px 0;
}

section::after {
    content: '';
    display: block;
    width: 60%;
    height: 1px;
    background: rgba(249, 168, 212, 0.3);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

section h2 {
    color: #ffffff;
    font-size: 42px;
    letter-spacing: 4px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(249, 168, 212, 0.4);
    padding-bottom: 12px;
    display: inline-block;
    text-transform: uppercase;
}

section p {
    max-width: 620px;
    line-height: 1.9;
    font-size: 15px;
    color: #aaaaaa;
}

.projects-list {
    width: 100%;
    max-width: 1100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.project-card {
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(249, 168, 212, 0.15);
    border-radius: 14px;
    padding: 28px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
}

.project-card:hover {
    transform: translateY(-6px);
    border: 1px solid rgba(249, 168, 212, 0.7);
    box-shadow: 0 12px 40px rgba(249, 168, 212, 0.12), 0 0 0 1px rgba(249, 168, 212, 0.1);
}

.project-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(249, 168, 212, 0.2);
    width: 100%;
}

.project-header h3 {
    font-size: 18px;
    color: #e5e5e5;
}

.tools {
    font-size: 13px;
    color: #f9a8d4;
    letter-spacing: 1px;
}


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

#contact a {
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    background: rgba(0, 0, 0, 0.45);
    padding: 10px 20px;
    border-radius: 10px;
    border: 1px solid rgba(249, 168, 212, 0.4);
    text-decoration: none;
    color: #e5e5e5;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

#contact a:hover {
    border: 1px solid #f9a8d4;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.github-link {
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    background: rgba(0, 0, 0, 0.45);
    padding: 10px 20px;
    border-radius: 10px;
    border: 1px solid rgba(249, 168, 212, 0.4);
    text-decoration: none;
    color: #e5e5e5;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-top:30px;
    margin-bottom: 30px;
}

.github-link:hover {
    border: 1px solid #f9a8d4;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.github-link img {
    width: 20px;
    height: 20px;
}


.languages {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    margin-bottom: 20px;
}

.lang-tag {
    background: rgba(0, 0, 0, 0.45);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(249, 168, 212, 0.4);
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 13px;
    color: #e5e5e5;
    letter-spacing: 1px;
    pointer-events: none;
}

.about-layout {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    width: 100%;
    padding: 0 60px;
    box-sizing: border-box;
}

.about-layout .about-card {
    flex-shrink: 0;
    width: 300px;
    height: 420px;
}

.about-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
}

.about-spacer {
    flex-shrink: 0;
    width: 300px;
}

.about-cards {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    width: 100%;
    max-width: 1500px;
    padding: 0 60px 30px 60px;
    box-sizing: border-box;
}

.about-card {
    flex: 1;
    height: 700px;
    border-radius: 16px;
    border: 1px solid rgba(249, 168, 212, 0.15);
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 30px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

.about-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.6) 100%);
    border-radius: 16px;
    pointer-events: none;
}

.about-card .about-btn {
    position: relative;
    z-index: 1;
}

.about-card:hover {
    border: 1px solid rgba(249, 168, 212, 0.6);
    box-shadow: 0 0 30px rgba(249, 168, 212, 0.1);
    transform: translateY(-4px);
}

#card-tech {
    background-image: url('wizard.png');
    background-size: cover;
    background-position: center 5%;
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

#card-tech:hover {
    filter: grayscale(0%);
}

#card-athlete {
    background-image: url('ball.jpeg');
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

#card-athlete:hover {
    filter: grayscale(0%);
}

.about-btn {
    background: rgba(0, 0, 0, 0.49);
    color: #e5e5e5;
    border: 1px solid rgba(249, 168, 212, 0.4);
    padding: 16px 40px;
    border-radius: 8px;
    font-family: monospace;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.about-btn:hover {
    border: 1px solid #f9a8d4;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

#back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: rgba(0, 0, 0, 0.45);
    color: #e5e5e5;
    border: 1px solid rgba(249, 168, 212, 0.4);
    padding: 10px 16px;
    border-radius: 10px;
    cursor: pointer;
    font-family: monospace;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
    opacity: 0;
    pointer-events: none;
    font-size: 18px;
}

#back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

#back-to-top:hover {
    border: 1px solid #f9a8d4;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('wizard.png');
    background-size: cover;
    background-position: center;
    filter: blur(4px) grayscale(100%);
    z-index: 0;
    opacity: 0.15;
}

#contact h2,
#contact p,
#contact .contact-links,
#projects h2,
#projects p,
#projects .github-link,
#projects .projects-list,
.about-glass-card,
#skills h2,
#skills p,
.radar-charts,
#experience h2,
#experience p,
.timeline {
    position: relative;
    z-index: 1;
}

header::after {
    content: '';
    display: block;
    width: 60%;
    height: 1px;
    background: rgba(249, 168, 212, 0.3);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}


#hamburger {
    display: block;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.45);
    color: #e5e5e5;
    border: 1px solid rgba(249, 168, 212, 0.4);
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 20px;
    cursor: pointer;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

#hamburger.visible {
    opacity: 1;
    pointer-events: auto;
}

.timeline {
    position: relative;
    max-width: 900px;
    width: 100%;
    margin-top: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(249, 168, 212, 0.5), transparent);
    transform: translateX(-50%);
}

.timeline-item{
    display: flex;
    justify-content: flex-end;
    padding-right: calc(50% + 30px);
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: calc(50% + 30px);
}

.timeline-content {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(249, 168, 212, 0.2);
    border-radius: 6px;
    padding: 20px;
    max-width: 380px;
    width: 100%;
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.timeline-content:hover {
    border: 1px solid #f9a8d4;
    background: rgba(249, 168, 212, 0.05);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(249, 168, 212, 0.12), 0 0 0 1px rgba(249, 168, 212, 0.1);
}

.date {
    color: #f9a8d4;
    font-size: 14px;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}

.timeline-content h3 {
    font-size: 18px;
    margin: 0 0 10px 0;
    color: #e5e5e5;
    border-bottom: 1px solid rgba(249, 168, 212, 0.2);
    padding-bottom: 8px;
    margin-bottom: 8px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 20px;
    width: 10px;
    height: 10px;
    background: #f9a8d4;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 12px rgba(249, 168, 212, 0.8), 0 0 24px rgba(249, 168, 212, 0.4);
}


.chart-legend {
    list-style: none;
    padding: 0;
    margin: 12px 0 0 0;
    display: none;
    flex-wrap: wrap;
    gap: 6px 16px;
    justify-content: center;
}

.chart-legend li {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #aaaaaa;
}


.chart-legend span {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 8px;
}

@media (max-width: 768px) {

    body {
        font-size: 14px;
    }

    header h1 {
        font-size: 38px;
        letter-spacing: 3px;
        word-break: break-word;
    }

    header p {
        font-size: 22px;
    }

    header h2 {
        font-size: 13px;
        letter-spacing: 2px;
    }

    section h2 {
        font-size: 28px;
        letter-spacing: 3px;
    }

    section, header {
        padding: 30px 20px;
    }

    section p {
        padding: 0 10px;
        font-size: 14px;
    }

    header h1, header p, header h2 {
        padding: 0 15px;
    }

    .project-card {
        opacity: 1;
    }

    .projects-list {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }

    .project-header {
        align-items: flex-start;
        text-align: left;
    }

    .project-card p {
        font-size: 13px;
    }

    .contact-links {
        flex-direction: column;
        align-items: center;
    }

    .contact-links img {
        width: 20px;
        height: 20px;
        margin-right: 10px;
    }

    .timeline::before {
        left: 10px;
    }

    .timeline-item {
        padding-right: 0;
        padding-left: 30px;
        justify-content: flex-start;
    }

    .timeline-item:nth-child(even) {
        padding-left: 30px;
    }

    .timeline-item::before {
        left: 10px;
    }

    .timeline-content p {
        font-size: 13px;
    }

    nav {
        display: none;
    }

    .github-link {
        font-size: 13px;
    }

    .skills-grid {
        grid-template-columns: 1fr !important;
        padding: 0 20px;
        gap: 16px;
        margin-top: 24px;
        width: 100%;
        box-sizing: border-box;
    }

    .skill-category-card {
        padding: 18px;
    }

    .skill-category-card h3 {
        font-size: 12px;
        margin-bottom: 14px;
    }

    .skill-label {
        font-size: 11px;
    }

    .radar-charts {
        flex-direction: column;
        align-items: center;
        padding: 0 20px;
        gap: 24px;
        margin-top: 32px;
    }

    .radar-card {
        width: 100%;
        max-width: 280px;
        padding: 16px;
    }

    .radar-card canvas {
        width: 100px !important;
        height: 100px !important;
    }

    .chart-legend {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }


}

#sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 250px;
    height: 100%;
    background: rgba(13, 13, 13, 0.97);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    padding: 80px 20px 20px;
    gap: 20px;
    z-index: 1500;
    transition: left 0.3s ease;
    border-right: 1px solid rgba(249, 168, 212, 0.2);
    overflow: hidden;
}

#sidebar.open {
    left: 0;
}

#sidebar a {
    color: #e5e5e5;
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(249, 168, 212, 0.15);
    padding-bottom: 12px;
    font-family: 'Space Mono', monospace;
}


.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-links img {
    width: 20px;
    height: 20px;
    max-width: 20px;
    margin-right: 10px;
    vertical-align: middle;
}

#card-artist {
    background-image: url(arts.png);
    background-color: #ffffff;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

#card-artist:hover {
    filter: grayscale(0%);
}

.about-glass-card {
    background: rgba(0, 0, 0, 0.45);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(249, 168, 212, 0.2);
    border-radius: 16px;
    padding: 40px 48px;
    max-width: 680px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.language-title{
    font-size: 16px;
    letter-spacing: 2px;
    color: #f9a8d4;
    margin-bottom: 10px;
    margin-top: 20px;
    text-transform: uppercase;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    width: 100%;
    padding: 0 40px;
    margin-top: 40px;
}

.skill-category-card {
    background: rgba(0, 0, 0, 0.45);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(249, 168, 212, 0.2);
    border-radius: 12px;
    padding: 24px;
    text-align: left;
    transition: border 0.3s ease;
}

.skill-category-card:hover {
    border: 1px solid rgba(249, 168, 212, 0.6);
}

.skill-category-card h3 {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #f9a8d4;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(249, 168, 212, 0.2);
}

.skill-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.skill-item {
    width: 100%;
}

.skill-label {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #e5e5e5;
    margin-bottom: 6px;
    letter-spacing: 1px;
}

.skill-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    background: linear-gradient(to right, #f9a8d4, #e879a0);
    border-radius: 2px;
}

.radar-charts {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 48px;
    flex-wrap: wrap;
    width: 100%;
    padding: 0 40px;
    box-sizing: border-box;
}

.radar-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.radar-card h3 {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #f9a8d4;
    margin: 0 0 12px 0;
}

.radar-card canvas {
    width: 360px !important;
    height: 360px !important;
}
