:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --text-secondary: #a0a0a0;
    --primary-purple: #8A2BE2;
    --primary-blue: #00BFFF;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.1);
    --glass-blur: 10px;
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    position: relative;
}

/* Efekty tła*/
.background-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(circle at 20% 30%, rgba(138, 43, 226, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 191, 255, 0.15) 0%, transparent 50%);
    animation: pulseGlow 10s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.1); opacity: 1; }
}

.container {
    width: 100%;
    max-width: 600px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 1;
}

/* Nagłowek - header */
.profile-header {
    text-align: center;
    margin-bottom: 1rem;
}

.profile-avatar-placeholder {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-blue));
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.3);
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.3);
    margin: 0 auto 1.5rem;
    display: block;
}

.name {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #fff, #ccc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.aka {
    font-weight: 300;
    font-size: 1.5rem;
    color: var(--text-secondary);
    -webkit-text-fill-color: var(--text-secondary);
}

.tagline {
    color: var(--primary-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
}

/* Karty */
.card {
    background: var(--card-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(138, 43, 226, 0.3);
}

h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

p {
    line-height: 1.6;
    color: #e0e0e0;
}

/* Tagi */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.9rem;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(138, 43, 226, 0.2);
    border-color: var(--primary-purple);
    color: #fff;
}

.tag a {
    text-decoration: none;
    color: inherit;
}

.plain-link {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.9rem;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.plain-link:hover {
    background: rgba(138, 43, 226, 0.2);
    border-color: var(--primary-purple);
    color: #fff;
}

/* Linki */
.links-grid {
    display: grid;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.social-link:hover {
    background: linear-gradient(90deg, rgba(138, 43, 226, 0.2), rgba(0, 191, 255, 0.2));
    border-color: var(--primary-purple);
    transform: scale(1.02);
}

/* Stopka */
footer {
    margin-top: 3rem;
    color: var(--text-secondary);
    font-size: 0.8rem;
    padding-bottom: 2rem;
}

/* Animacje */
.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-delay-1 {
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.fade-in-delay-2 {
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.fade-in-delay-3 {
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

.fade-in-delay-4 {
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.8s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Przyciski nawigacyjne */
.nav-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    width: 100%;
}

.nav-btn {
    flex: 1;
    padding: 1.5rem;
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(var(--glass-blur));
    border-radius: 16px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
}

.nav-btn:hover {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.3), rgba(0, 191, 255, 0.3));
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-purple);
}

.nav-icon {
    font-size: 2rem;
}

.nav-text {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Górna nawigacja (strony pod) */
.top-nav {
    width: 100%;
    max-width: 600px;
    padding: 1rem 2rem 0;
    z-index: 10;
}

.nav-back {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.nav-back:hover {
    color: var(--primary-blue);
}

/* Nagłówek strony */
.page-header {
    text-align: center;
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* Siatka galerii - Zdjecia */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

.gallery-item {
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
    border-color: var(--primary-blue);
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-weight: 600;
    background: linear-gradient(45deg, rgba(255,255,255,0.02), rgba(255,255,255,0.05));
}

/* Lista sprzętu - Sprzęt */
.gear-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gear-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
}

.gear-icon {
    font-size: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.gear-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.gear-image:hover {
    border-color: var(--primary-purple);
    transform: scale(1.05);
}

.gear-details h2 {
    margin-bottom: 0.25rem;
    color: var(--text-color);
    font-size: 1.1rem;
}

.gear-name {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.gear-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Lista projektów */
.projects-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.project-item {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.project-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(138, 43, 226, 0.3);
    transform: translateX(5px);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-name {
    font-size: 1.1rem;
    color: var(--text-color);
    margin: 0;
    font-weight: 600;
}

.project-status {
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-active {
    background: rgba(0, 191, 255, 0.2);
    color: var(--primary-blue);
    border: 1px solid var(--primary-blue);
}

.status-completed {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid #22c55e;
}

.status-paused {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    border: 1px solid #fbbf24;
}

.project-desc {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tag {
    background: rgba(138, 43, 226, 0.15);
    color: var(--primary-purple);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.8rem;
    border: 1px solid rgba(138, 43, 226, 0.3);
}