@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

* { box-sizing: border-box; }

body {
    margin: 0; padding: 0; overflow-x: hidden;
    background: radial-gradient(circle at 15% 25%, rgba(90, 0, 180, 0.2), transparent 45%),
                radial-gradient(circle at 85% 75%, rgba(0, 80, 150, 0.25), transparent 45%), #020205;
    font-family: 'Outfit', sans-serif;
    min-height: 100vh; display: flex; justify-content: center; align-items: center; color: white;
}

#galaxyCanvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }

.container { display: flex; flex-direction: column; gap: 20px; width: 95%; max-width: 650px; z-index: 1; padding: 40px 0; }

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px; padding: 30px;
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}

.glass-card:hover { background: rgba(255, 255, 255, 0.06); transform: translateY(-5px); border-color: rgba(255, 255, 255, 0.15); }

/* PROFIL */
.profile-header { display: flex; justify-content: space-between; align-items: center; }
.profile-main-info { display: flex; align-items: center; gap: 25px; }
.avatar-wrapper { position: relative; width: 100px; height: 100px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.3); padding: 5px; transition: all 0.4s ease; }
.avatar { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.name-details .full-name { font-size: 1.8rem; font-weight: 700; margin: 0; letter-spacing: -1px; }
.name-details .nickname { font-size: 1rem; font-weight: 300; color: rgba(255, 255, 255, 0.6); font-style: italic; }

.social-links { display: flex; gap: 20px; align-items: center; }
.social-icon { font-size: 2rem; color: rgba(255, 255, 255, 0.4); transition: all 0.4s ease; text-decoration: none; }
.social-icon:hover { transform: scale(1.15) rotate(5deg); }
.github:hover { color: #e066ff; text-shadow: 0 0 20px rgba(224, 102, 255, 0.8); }
.spotify:hover { color: #1DB954; text-shadow: 0 0 20px rgba(29, 185, 84, 0.8); }

/* NAGŁÓWKI SEKCJI */
.section-header { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.header-icon { background: #6366f1; width: 38px; height: 38px; border-radius: 12px; display: flex; justify-content: center; align-items: center; box-shadow: 0 0 15px rgba(99, 102, 241, 0.4); }
.section-header h2 { margin: 0; font-size: 1.5rem; font-weight: 600; }

/* O MNIE */
.about-text { font-size: 1.05rem; line-height: 1.6; color: rgba(255, 255, 255, 0.85); font-weight: 300; margin: 0; text-align: justify; }

/* UMIEJĘTNOŚCI */
.skills-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 15px; }
.skill-item {
    background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px; padding: 20px 5px; display: flex; flex-direction: column; align-items: center; gap: 12px; transition: all 0.3s ease;
}
.skill-item i { font-size: 2rem; color: #818cf8; }
.skill-item span { font-size: 0.85rem; color: rgba(255, 255, 255, 0.8); text-align: center; }

/* SPECS */
.specs-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.specs-col h3 { font-size: 1.2rem; color: #818cf8; margin-top: 0; margin-bottom: 15px; border-bottom: 1px solid rgba(129, 140, 248, 0.2); display: inline-block; padding-bottom: 5px; }
.spec-item { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; background: rgba(255, 255, 255, 0.02); padding: 10px; border-radius: 15px; }
.spec-item i { font-size: 1.4rem; color: rgba(255, 255, 255, 0.5); width: 25px; text-align: center; }
.spec-info { display: flex; flex-direction: column; }
.spec-info .label { font-size: 0.75rem; color: rgba(255, 255, 255, 0.4); text-transform: uppercase; }
.spec-info .value { font-size: 0.95rem; font-weight: 400; color: rgba(255, 255, 255, 0.9); }

/* KONTAKT */
.contact-content { display: flex; justify-content: center; padding: 10px 0; }
.contact-item { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 15px 30px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 24px; transition: all 0.3s ease; }
.contact-item i { font-size: 2.2rem; color: #818cf8; }
.contact-item span { font-size: 1.1rem; font-weight: 500; color: rgba(255, 255, 255, 0.9); }
.contact-item.discord:hover { background: rgba(88, 101, 242, 0.15); border-color: rgba(88, 101, 242, 0.4); transform: scale(1.05); }
.contact-item.discord:hover i { color: #5865F2; text-shadow: 0 0 15px rgba(88, 101, 242, 0.6); }

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