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

body {
    font-family: 'Space Mono', monospace;
    background: linear-gradient(135deg, #11131F 0%, #1a1a2e 100%);
    min-height: 100vh;
    color: white;
}

.profile-container {
    position: fixed;
    top: 0; right: 0;
    width: 380px; height: 100vh;
    z-index: 100;
    background: rgba(255,255,255,0.95);
    box-shadow: -10px 0 30px rgba(0,0,0,0.3);
}

.profile-container iframe {
    width: 100%; height: 100%;
    border-radius: 0;
}

main {
    margin-right: 420px;
    padding: 60px 50px;
    max-width: 1200px;
}

/* HEADER - SEKWENCYJNE ANIMACJE */
.header-section {
    text-align: center;
    margin-bottom: 60px;
}

h1 {
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 10px;
    opacity: 0;
    animation: fadeInUp 1s 0.5s forwards;  /* PIERWSZY - 0.5s */
}

.title {
    font-size: 1.5rem;
    opacity: 0.8;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeInUp 1s 0.7s forwards;  /* DRUGI - 0.7s */
}

.contact {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 1.1rem;
    opacity: 0.7;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s 0.9s forwards;  /* TRZECI - 0.9s */
}

/* SEKCJE - kontynuacja animacji */
section {
    margin-bottom: 50px;
    opacity: 0;
    animation: fadeInUp 1s forwards;
    text-align: left;
}

.section-delay-1 { animation-delay: 1.1s; }  /* O mnie */
.section-delay-2 { animation-delay: 1.3s; }  /* Doświadczenie */
.section-delay-3 { animation-delay: 1.5s; }  /* Umiejętności */
.section-delay-4 { animation-delay: 1.7s; }  /* Wykształcenie */

h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 30px;
    border-bottom: 2px solid rgba(255,255,255,0.3);
    padding-bottom: 10px;
}

.job, .item {
    margin-bottom: 30px;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.date {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

ul {
    list-style: none;
    padding-left: 0;
}

li {
    margin-bottom: 8px;
    padding-left: 25px;
    position: relative;
}

li::before {
    content: '▹';
    position: absolute;
    left: 0; top: 0;
    color: #64ffda;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.skills-grid span {
    background: rgba(255,255,255,0.1);
    padding: 12px 20px;
    border-radius: 30px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.sup-small {
    font-size: 0.4em;
}

.company {
    color: #3e4e81;
    font-weight: 400;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .profile-container {
        width: 100%; height: 50vh;
        position: relative;
        margin-top: 40px;
    }
    main {
        margin-right: 0;
        padding: 40px 20px;
    }
    h1 { font-size: 2.5rem; }
}
