/* --- Cyberpunkowe foldery galerii --- */
.gallery-folders {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}
.gallery-folder {
    background: rgba(20, 20, 20, 0.95);
    border: 2.5px solid #00ff41;
    border-radius: 1.5rem;
    box-shadow: 0 0 18px 2px #00ff41a0, 0 0 0 2px #0f0 inset;
    padding: 2.2rem 2.5rem 1.5rem 2.5rem;
    min-width: 300px;
    max-width: 370px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.15s;
    cursor: pointer;
}
.gallery-folder:hover {
    box-shadow: 0 0 32px 6px #00ff41cc, 0 0 0 2px #0f0 inset;
    border-color: #00ffea;
    transform: translateY(-4px) scale(1.03);
}
.folder-info {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    margin-bottom: 1.2rem;
}
.folder-thumb {
    width: 100%;
    height: 160px;
    background-size: cover;
    background-position: center;
    border-radius: 1.1rem;
    margin-bottom: 1.3rem;
    box-shadow: 0 0 16px #00ff41a0;
    border: 2px solid #00ff41;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.folder-name {
    font-family: 'Michroma', 'Poppins', monospace;
    font-size: 1.45rem;
    color: #00ffea;
    letter-spacing: 1.2px;
    text-shadow: 0 0 10px #00ffea, 0 0 2px #0ff;
    font-weight: 700;
}
.folder-year {
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.65rem;
    color: #00ff41;
    background: rgba(0,0,0,0.7);
    border: 1.5px solid #00ff41;
    border-radius: 1.2rem;
    padding: 0.5rem 1.7rem;
    margin-left: 1.2rem;
    box-shadow: 0 0 14px #00ff41a0;
    font-weight: 700;
    letter-spacing: 1.2px;
}
.folder-desc {
    color: #00fff7;
    font-size: 1.45rem;
    margin-bottom: 1.1rem;
    font-family: 'Poppins', monospace;
    text-shadow: 0 0 12px #00fff7, 0 0 2px #0ff;
    font-weight: 600;
    line-height: 1.3;
}
.folder-count {
    color: #00ff41;
    font-size: 1.45rem;
    margin-bottom: 1.1rem;
    font-family: 'Share Tech Mono', monospace;
    text-shadow: 0 0 12px #00ff41;
    font-weight: 700;
}
.open-folder-btn {
    background: #181818;
    color: #00ff41;
    border: 2px solid #00ff41;
    border-radius: 0.8rem;
    font-family: 'Poppins', monospace;
    font-size: 1.35rem;
    padding: 0.8rem 2.1rem;
    margin-top: 1.1rem;
    cursor: pointer;
    box-shadow: 0 0 10px #00ff41a0;
    transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
    text-shadow: 0 0 6px #00ff41;
}

/* --- Podgaleria (modal) --- */
.subgallery-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0; top: 0; right: 0; bottom: 0;
    background: rgba(10, 10, 10, 0.97);
    align-items: center;
    justify-content: center;
    animation: fadeInModal 0.3s;
}
@keyframes fadeInModal {
    from { opacity: 0; }
    to { opacity: 1; }
}
.subgallery-content {
    background: #181818;
    border: 2.5px solid #00ffea;
    border-radius: 1.5rem;
    box-shadow: 0 0 32px 6px #00ffea99, 0 0 0 2px #00ffea inset;
    padding: 2.5rem 2.5rem 2rem 2.5rem;
    min-width: 340px;
    max-width: 90vw;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.subgallery-close {
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    font-size: 2.2rem;
    color: #00ffea;
    cursor: pointer;
    text-shadow: 0 0 8px #00ffea, 0 0 2px #0ff;
    transition: color 0.2s;
    z-index: 10;
}
.subgallery-close:hover {
    color: #00ff41;
}
.subgallery-content h3 {
    color: #00ffea;
    font-family: 'Michroma', 'Poppins', monospace;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 8px #00ffea, 0 0 2px #0ff;
}
.subgallery-images {
    display: flex;
    flex-wrap: wrap;
    gap: 1.7rem;
    justify-content: center;
}
.subgallery-img {
    width: 220px;
    height: 150px;
    object-fit: cover;
    border-radius: 1.1rem;
    border: 2px solid #00ffea;
    box-shadow: 0 0 12px #00ffea99;
    transition: transform 0.18s, box-shadow 0.18s;
    cursor: pointer;
    background: #101010;
}
.subgallery-img:hover {
    transform: scale(1.06) rotate(-1deg);
    box-shadow: 0 0 24px #00ff41cc;
    border-color: #00ff41;
}
/* --- Header widgets (zegar, język) --- */
.header-widgets {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.time-widget {
    background: rgba(10, 10, 10, 0.85);
    color: var(--military-green-primary);
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.7rem;
    padding: 0.5rem 1.3rem;
    border-radius: 0.7rem;
    border: 2px solid var(--military-green-primary);
    margin-right: 0.5rem;
    letter-spacing: 1.2px;
    box-shadow: 0 0 8px rgba(0,255,76,0.13);
    min-width: 120px;
    text-align: center;
}
.language-dropdown {
    position: relative;
    display: inline-block;
}
.dropbtn {
    background: rgba(10, 10, 10, 0.85);
    color: var(--military-green-primary);
    font-size: 1.5rem;
    font-family: 'Poppins', sans-serif;
    border: 2px solid var(--military-green-primary);
    border-radius: 0.7rem;
    padding: 0.5rem 1.2rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    min-width: 60px;
}
.dropbtn:hover, .dropbtn:focus {
    background: var(--military-green-primary);
    color: var(--military-dark);
}
.dropdown-content {
    display: none;
    position: absolute;
    background: #181818;
    min-width: 120px;
    box-shadow: 0 8px 16px 0 rgba(0,255,76,0.13);
    border: 2px solid var(--military-green-primary);
    border-radius: 0.7rem;
    z-index: 1000;
    right: 0;
    top: 110%;
}
.dropdown-content.show {
    display: block;
}
.dropdown-content a {
    color: var(--military-green-primary);
    padding: 0.7rem 1.2rem;
    text-decoration: none;
    display: block;
    font-size: 1.4rem;
    font-family: 'Poppins', sans-serif;
    border-radius: 0.5rem;
    transition: background 0.2s, color 0.2s;
}
.dropdown-content a.active, .dropdown-content a:hover {
    background: var(--military-green-primary);
    color: var(--military-dark);
}
.gallery-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    background: rgba(20,20,20,0.85);
    border-radius: 1.3rem;
    padding: 1.1rem 1.1rem 0.7rem 1.1rem;
    box-shadow: 0 2px 10px 0 rgba(0,255,76,0.07);
}
.gallery-year {
    margin-top: 0.8rem;
    font-size: 1.4rem;
    color: var(--military-green-primary);
    background: rgba(0,0,0,0.65);
    padding: 0.3rem 1.3rem;
    border-radius: 1.5rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    box-shadow: 0 0 8px rgba(0,255,76,0.13);
}
/* --- Galeria screenów --- */
#gallery-section {
    margin: 5.5rem auto 3.5rem auto;
    padding: 3.5rem 2.5rem 2.5rem 2.5rem;
    background: rgba(26, 26, 26, 0.92);
    border-radius: 2rem;
    box-shadow: 0 5px 24px 0 rgba(0,255,76,0.13);
    max-width: 1100px;
    text-align: center;
    border: 2px solid var(--border-color);
}
.gallery-title {
    font-size: 3.1rem;
    color: var(--military-green-primary);
    margin-bottom: 2.7rem;
    letter-spacing: 1.5px;
    font-family: 'Michroma', 'Poppins', sans-serif;
}
.gallery-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 2.2rem;
    justify-content: center;
    align-items: flex-start;
}
.gallery-img {
    width: 200px;
    height: 135px;
    object-fit: cover;
    border-radius: 1.3rem;
    box-shadow: 0 0 14px rgba(0,255,76,0.18);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 2.5px solid var(--military-green-accent);
    background: #181818;
}
.gallery-img:hover {
    transform: scale(1.10) rotate(-2deg);
    box-shadow: 0 0 32px var(--military-green-primary);
    border-color: var(--military-green-primary);
@media (max-width: 900px) {
    #gallery-section {
        padding: 2rem 0.5rem 1.5rem 0.5rem;
        max-width: 98vw;
    }
    .gallery-img {
        width: 140px;
        height: 90px;
    }
    .gallery-title {
        font-size: 2.1rem;
    }
}
}
.gallery-lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(10,10,10,0.92);
    justify-content: center;
    align-items: center;
    z-index: 99999;
}
/* Lightbox modal */
.img-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 10, 20, 0.97);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1002;
    flex-direction: column;
    padding-top: 70px;
    box-sizing: border-box;
}
.img-lightbox img {
    max-width: 80vw;
    max-height: 60vh;
    border: 3px solid #0ff;
    box-shadow: 0 0 30px #0ff8, 0 0 10px #0ff4;
    border-radius: 10px;
    background: #111;
    margin: 0 60px;
    transition: box-shadow 0.2s;
}
.img-lightbox-close {
    position: absolute;
    top: 80px;
    right: 60px;
    font-size: 2.5rem;
    color: #0ff;
    cursor: pointer;
    text-shadow: 0 0 10px #0ff, 0 0 2px #fff;
    z-index: 1003;
    transition: color 0.2s;
}
.img-lightbox-close:hover {
    color: #f0f;
}
.img-lightbox-arrow {
    font-size: 3rem;
    color: #0ff;
    cursor: pointer;
    user-select: none;
    margin: 0 20px;
    text-shadow: 0 0 10px #0ff, 0 0 2px #fff;
    transition: color 0.2s, text-shadow 0.2s;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1003;
    background: rgba(20,20,40,0.7);
    border-radius: 50%;
    padding: 8px 18px 10px 18px;
    border: 2px solid #0ff6;
}
.img-lightbox-arrow#img-lightbox-prev {
    left: 30px;
}
.img-lightbox-arrow#img-lightbox-next {
    right: 30px;
}
.img-lightbox-arrow:hover {
    color: #f0f;
    text-shadow: 0 0 20px #f0f, 0 0 8px #fff;
    border-color: #f0f;
}
@media (max-width: 700px) {
    .img-lightbox img {
        max-width: 98vw;
        max-height: 40vh;
        margin: 0 10px;
    }
    .img-lightbox-arrow {
        font-size: 2.2rem;
        padding: 4px 10px 6px 10px;
        left: 5px !important;
        right: 5px !important;
    }
}
/* --- Animacja urodzinowa --- */
#birthday-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    pointer-events: none;
}
.birthday-banner {
    position: absolute;
    top: 8vh;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.85);
    color: #fff;
    font-size: 2.6rem;
    font-weight: 700;
    padding: 1.2rem 3.5rem;
    border-radius: 2.5rem;
    box-shadow: 0 0 30px var(--military-green-primary);
    border: 2px solid var(--military-green-primary);
    text-align: center;
    letter-spacing: 1px;
    animation: birthdayBannerPop 1s cubic-bezier(.68,-0.55,.27,1.55);
    pointer-events: auto;
}
@keyframes birthdayBannerPop {
    0% { transform: translateX(-50%) scale(0.7); opacity: 0; }
    80% { transform: translateX(-50%) scale(1.1); opacity: 1; }
    100% { transform: translateX(-50%) scale(1); opacity: 1; }
}
.confetti {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    overflow: hidden;
}
.confetti-piece {
    position: absolute;
    top: -2vh;
    width: 1.2rem;
    height: 2.2rem;
    border-radius: 0.3rem;
    opacity: 0.85;
    animation: confettiFall 3.5s linear forwards;
}
@keyframes confettiFall {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(105vh) rotate(360deg); }
}
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&family=Michroma&family=Share+Tech+Mono&display=swap');

/* --- Zmienne CSS dla militarnego motywu --- */
:root {
    --military-dark: #1a1a1a;
    --military-medium: #2a2a2a;
    --military-light: #3a3a3a;
    --military-green-primary: #00ff4c;
    --military-green-accent: #00b33c;
    --text-color-primary: #e0e0e0;
    --text-color-secondary: #a0a0a0;
    --border-color: #00ff4c;
    --shadow-color: rgba(0, 255, 76, 0.4);

    --transition-speed: 0.3s ease-in-out;
}

/* --- Global Reset & Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

html {
    font-size: 58%;
}

body {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    background-color: var(--military-dark);
    color: var(--text-color-primary);
    line-height: 1.6;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background: repeating-linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.05),
        rgba(0, 0, 0, 0.05) 1px,
        transparent 1px,
        transparent 2px
    );
    opacity: 0.8;
    animation: scanlineAnimation 10s infinite linear;
}

/* --- Background Video --- */
#background-video, #bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    object-fit: cover;
    filter: brightness(0.3) grayscale(0.7);
    opacity: 0.7;
}

/* --- Header --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 9%;
    background-color: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(5px);
    border-bottom: 2px solid var(--border-color);
    box-shadow: 0 5px 20px var(--shadow-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.logo {
    font-family: 'Michroma', sans-serif;
    font-size: 3.2rem;
    color: var(--military-green-primary);
    font-weight: 700;
    cursor: pointer;
    text-shadow: 0 0 10px var(--military-green-primary), 0 0 20px rgba(0, 255, 76, 0.5);
    transition: transform var(--transition-speed), text-shadow var(--transition-speed);
}

.logo:hover {
    transform: scale(1.05);
    text-shadow: 0 0 20px var(--border-color), 0 0 40px rgba(0, 255, 76, 0.8);
    animation: logoGlowPulse 1.5s infinite alternate ease-in-out;
}

.logo:active {
    transform: scale(0.98);
    text-shadow: 0 0 8px var(--border-color);
}

/* ZMIANA: Wyśrodkowanie nawigacji */
header nav {
    display: flex;
    justify-content: center; /* Wyśrodkowuje listę ul w elemencie nav */
    flex-grow: 1; /* Pozwala elementowi nav zająć dostępną przestrzeń */
}

nav ul {
    list-style: none;
    display: flex;
    gap: 4rem;
    padding: 0;
    margin: 0;
}

nav ul li a {
    font-size: 1.8rem;
    color: var(--text-color-primary);
    font-weight: 500;
    transition: var(--transition-speed);
    border-bottom: 2px solid transparent;
    padding-bottom: 5px;
    display: block;
    position: relative;
    overflow: hidden;
    transition: color var(--transition-speed), transform var(--transition-speed);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--military-green-primary);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

nav ul li a:hover {
    color: var(--military-green-primary);
    transform: translateY(-2px);
    text-shadow: 0 0 8px var(--military-green-primary), 0 0 15px rgba(0, 255, 76, 0.4);
}

nav ul li a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

nav ul li a.active {
    color: var(--military-green-primary);
    border-bottom: 2px solid var(--military-green-primary);
    font-weight: 600;
    text-shadow: 0 0 8px var(--military-green-primary), 0 0 15px rgba(0, 255, 76, 0.4);
}

/* --- Language Selector and Time Widget (header-widgets) --- */
.header-widgets {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
}

.time-widget {
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.6rem;
    color: var(--military-green-primary);
    text-shadow: 0 0 5px var(--military-green-primary);
    background-color: var(--military-medium);
    padding: 0.8rem 1.2rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
}

.language-dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background-color: var(--military-medium);
    color: var(--military-green-primary);
    padding: 0.8rem 1.2rem;
    font-size: 1.6rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color var(--transition-speed);
    font-family: 'Share Tech Mono', monospace;
    text-shadow: 0 0 3px var(--military-green-primary);
}

.dropbtn:hover {
    background-color: var(--military-green-accent);
    color: var(--military-dark);
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--military-medium);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
    z-index: 1;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    margin-top: 5px;
    right: 0;
}

.dropdown-content a {
    color: var(--text-color-primary);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 1.6rem;
    transition: background-color var(--transition-speed);
}

.dropdown-content a:hover {
    background-color: var(--military-green-accent);
    color: var(--military-dark);
}

.dropdown-content a.active {
    background-color: var(--military-green-primary);
    color: var(--military-dark);
    font-weight: 600;
}

.dropdown-content.show {
    display: block;
}

/* --- Main Container & Sections --- */
main {
    padding-top: 10rem;
    padding-bottom: 5rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

section {
    padding: 3rem 0;
    background-color: transparent;
    color: var(--text-color-primary);
    position: relative;
    z-index: 1;
}

.info-sections-wrapper {
    background-color: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(0, 255, 76, 0.3);
    border-radius: 0.5rem;
    box-shadow: 0 0 10px rgba(0, 255, 76, 0.2);
    padding: 3rem;
    margin-bottom: 3rem;
    margin-top: 5rem;
}

/* --- Hero Section --- */
#hero-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem; /* Odstęp między elementami w hero-content */
    text-align: center;
    min-height: calc(100vh - 10rem);
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content .avatar {
    width: 30vw;
    max-width: 350px;
    border-radius: 50%;
    border: 4px solid var(--border-color);
    box-shadow: 0 0 30px var(--shadow-color);
    cursor: pointer;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed), opacity 0.5s ease-in-out;
    margin-bottom: 3rem;
}

/* Dodane klasy dla animacji PFP */
.avatar.fade-out {
    opacity: 0; /* Obraz znika */
}

.avatar.fade-in {
    opacity: 1; /* Obraz się pojawia */
}

.hero-content .avatar:hover {
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 0 45px var(--shadow-color);
}

.hero-content h1.nickname {
    font-size: 6rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-color-primary);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    font-family: 'Michroma', sans-serif;
    margin-bottom: 1.5rem;
}

.hero-content h1.nickname span {
    color: var(--military-green-primary);
    text-shadow: 0 0 15px var(--military-green-primary), 0 0 30px rgba(0, 255, 76, 0.6);
}

/* ZMIANA: Animacja dla dynamic-text - teraz zanikanie i pojawianie się */
.dynamic-text {
    color: var(--military-green-primary);
    font-size: 3.2rem;
    font-family: 'Share Tech Mono', monospace;
    font-weight: 600;
    white-space: nowrap;
    margin-bottom: 3rem;
    transition: opacity 0.5s ease-in-out; /* Dodano transition dla płynnego przejścia opacity */
    opacity: 1; /* Początkowa widoczność */
}

/* Nowe klasy dla animacji dynamicznego tekstu */
.dynamic-text.fade-out-text {
    opacity: 0; /* Tekst zanika */
}

.dynamic-text.fade-in-text {
    opacity: 1; /* Tekst się pojawia */
}


/* Stylizacja .social-discord-container w hero-content */
.hero-content .social-discord-container {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 2rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    justify-content: center;
}


/* Wyraźna ramka dla Discord tag widget */
.discord-tag-widget {
    border: 4px solid #00ff41 !important;
    box-shadow: 0 0 22px #00ff41cc, 0 0 12px #00ff41aa;
    background: rgba(20, 20, 30, 0.92);
    border-radius: 2.2em !important;
    padding: 1.1em 2.8em !important;
    font-size: 1.6rem;
}

/* Stylizacja ikon social media w social-discord-container */
.social-discord-container .social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-discord-container .social-icons .social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4.5rem;
    height: 4.5rem;
    background-color: var(--military-medium);
    border: 0.2rem solid var(--border-color);
    font-size: 2.5rem;
    border-radius: 50%;
    transition: var(--transition-speed);
    color: var(--military-green-primary);
    box-shadow: 0 0 10px rgba(0, 255, 76, 0.3);
}

.social-discord-container .social-icons .social-icon:hover {
    color: var(--military-dark);
    transform: scale(1.1) translateY(-5px);
    background-color: var(--military-green-primary);
    box-shadow: 0 0 20px var(--shadow-color);
}

/* --- Buttons (if any, e.g., for "Download CV") --- */
.btn {
    display: inline-block;
    padding: 1.1rem 2.8rem;
    background-color: var(--military-dark);
    border-radius: 0.5rem;
    font-size: 1.6rem;
    color: var(--military-green-primary);
    letter-spacing: 0.2rem;
    font-weight: 600;
    border: 2px solid var(--border-color);
    transition: var(--transition-speed);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 255, 76, 0.2);
}

.btn:hover {
    transform: scale(1.05);
    background-color: var(--military-green-primary);
    color: var(--military-dark);
    box-shadow: 0 0 25px var(--shadow-color);
}

/* --- About Section (inside the wrapper) --- */
#about-section, #additional-info-section {
    padding: 0;
    background-color: transparent;
    margin-bottom: 3rem;
}

.info-sections-wrapper section:last-child {
    margin-bottom: 0;
}

#about-section h2, #additional-info-section h2 {
    font-size: 3.2rem;
    color: var(--military-green-primary);
    margin-bottom: 2.5rem;
    text-shadow: 0 0 10px var(--military-green-primary);
    font-family: 'Michroma', sans-serif;
    text-align: center;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 0;
}

.info-item {
    background-color: var(--military-medium);
    border-radius: 0.5rem;
    padding: 2.5rem;
    box-shadow: 0 0 15px rgba(0, 255, 76, 0.2);
    border: 1px solid rgba(0, 255, 76, 0.2);
    text-align: left;
}

.info-item p {
    font-size: 1.7rem;
    margin-bottom: 1.5rem;
    color: var(--text-color-secondary);
    letter-spacing: 0.02em;
}

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

.info-item ul li {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-color-primary);
    list-style-type: "✓ ";
    padding-left: 1rem;
}

.info-item ul li strong {
    color: var(--military-green-primary);
    text-shadow: 0 0 5px var(--military-green-primary);
}

/* --- Sekcje takie jak Fav Games, Projects, Membership --- */
.fav-games, .projects, .membership, .membership2 {
    min-height: calc(100vh - 10rem);
    background-color: transparent;
    color: var(--text-color-primary);
}

/* OGÓLNE STYLE DLA KART PROJEKTÓW */
.projects {
    max-width: 900px;
    margin: 5rem auto 3rem auto;
    padding: 3rem;
    background-color: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(0, 255, 76, 0.3);
    border-radius: 0.5rem;
    box-shadow: 0 0 10px rgba(0, 255, 76, 0.2);
}

.fav-games, .membership, .membership2 {
    padding: 3rem 0;
    margin-top: 5rem;
}

.membership, .membership2 {
    max-width: 900px;
    margin: 5rem auto 3rem auto;
    padding: 3rem;
    background-color: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(0, 255, 76, 0.3);
    border-radius: 0.5rem;
    box-shadow: 0 0 10px rgba(0, 255, 76, 0.2);
}

.membership + .membership2 {
    margin-top: 3rem;
}

.membership2 p {
    font-size: 1.7rem;
    text-align: center;
    color: var(--text-color-secondary);
    margin-bottom: 2.5rem;
    letter-spacing: 0.02em;
}

.fav-games h2, .projects h2, .membership h2, .membership2 h2 {
    font-size: 3.8rem;
    font-weight: 900;
    text-align: center;
    color: var(--military-green-primary);
    margin-bottom: 3.5rem;
    letter-spacing: 0.2rem;
    font-family: 'Michroma', sans-serif;
    text-shadow: 0 0 15px var(--military-green-primary), 0 0 30px rgba(0, 255, 76, 0.4);
}

.games-category, .project-card, .community-card, .community-card2 {
    background-color: var(--military-medium);
    margin-bottom: 2.5rem;
    padding: 2rem 3rem;
    border-radius: 0.5rem;
    box-shadow: 0 0 15px var(--shadow-color);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    max-width: 100%;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 76, 0.3);
}

.games-category:hover, .project-card:hover, .community-card:hover, .community-card2:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px var(--shadow-color), 0 0 40px rgba(0, 255, 76, 0.6);
}

/* ZMIENIONE STYLE DLA TYTUŁÓW KART (uwzględniające nowe ikony) */
.games-category h3, .community-title { /* project-card h3 został przeniesiony do .project-header h3 */
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--military-green-primary);
    margin-bottom: 1.2rem;
    text-shadow: 0 0 10px var(--military-green-primary);
    font-family: 'Michroma', sans-serif;
}

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

.games-category ul li {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-color-primary);
    margin-bottom: 1rem;
    padding-left: 3rem;
    position: relative;
    cursor: default;
    transition: color var(--transition-speed);
}

.games-category ul li::before {
    content: "✓ ";
    position: absolute;
    left: 0;
    color: var(--military-green-primary);
    font-weight: 900;
    transform: scale(1.1);
    transition: color var(--transition-speed), transform var(--transition-speed);
    text-shadow: 0 0 5px var(--military-green-primary);
}

.games-category ul li:hover {
    color: var(--military-green-accent);
}

.games-category ul li:hover::before {
    color: var(--military-green-accent);
    transform: scale(1.3) translateX(5px);
}

/* --- Project Card specifics - UPIĘKSZONE STYLE --- */
.project-card {
    position: relative;
    padding-bottom: 7rem;
    /* Nowe upiększenia */
    border: 2px solid var(--military-dark); /* Początkowa ciemniejsza ramka */
    transition: all 0.4s ease-in-out; /* Dłuższa i płynniejsza tranzycja */
    background: linear-gradient(145deg, var(--military-medium) 0%, #222222 100%); /* Subtelny gradient */
    overflow: hidden; /* Upewnij się, że cienie wewnętrzne są obcięte */
    box-shadow: inset 0 0 10px rgba(0, 255, 76, 0.1), 0 0 20px var(--shadow-color); /* Cień wewnętrzny i zewnętrzny */
}

.project-card:hover {
    transform: translateY(-8px); /* Większe uniesienie na hover */
    border-color: var(--border-color); /* Ramka staje się zielona na hover */
    box-shadow: inset 0 0 20px rgba(0, 255, 76, 0.3), 0 0 45px var(--shadow-color), 0 0 80px rgba(0, 255, 76, 0.3); /* Bardziej intensywne cienie */
    background: linear-gradient(145deg, var(--military-medium) 0%, var(--military-dark) 100%); /* Zmiana gradientu na hover */
}


/* Nowy kontener dla ikony i tytułu projektu */
.project-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    position: relative; /* Dla ewentualnych efektów na hover */
}

/* Styl dla obrazka/ikony projektu */
.project-icon {
    width: 65px; /* Nieco większy rozmiar ikonki */
    height: 65px;
    object-fit: contain;
    margin-right: 2.2rem;
    border-radius: 10px; /* Lekkie zaokrąglenie, jeśli to obrazek */
    box-shadow: 0 0 15px rgba(0, 255, 76, 0.5); /* Bardziej wyraźny cień */
    flex-shrink: 0;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    border: 2px solid rgba(0, 255, 76, 0.3); /* Subtelna ramka */
}

.project-icon:hover {
    transform: scale(1.15) rotate(-3deg); /* Większe powiększenie i obrót */
    box-shadow: 0 0 25px var(--shadow-color), 0 0 50px rgba(0, 255, 76, 0.7); /* Intensywniejszy cień */
}

/* Jeśli używasz ikon Devicons/Font Awesome bezpośrednio w `project-header h3` */
.project-header h3 {
    font-size: 3.2rem; /* Zwiększony rozmiar czcionki dla tytułu projektu */
    color: var(--military-green-primary);
    margin-bottom: 0;
    text-shadow: 0 0 12px var(--military-green-primary), 0 0 25px rgba(0, 255, 76, 0.5); /* Intensywniejszy cień tekstu */
    flex-grow: 1;
    font-family: 'Michroma', sans-serif;
    position: relative; /* Dla ewentualnych pseudo-elementów */
}

.project-header h3::after {
    content: '';
    position: absolute;
    bottom: -8px; /* Pod tytułem */
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--military-green-accent);
    transform: scaleX(0);
    transform-origin: bottom left;
    transition: transform 0.4s ease-out;
}

.project-card:hover .project-header h3::after {
    transform: scaleX(1); /* Linia rozwija się na hover karty */
}


.project-header h3 .devicon,
.project-header h3 .fas,
.project-header h3 .fab {
    font-size: 4.8rem; /* Większy rozmiar ikony Devicon/Font Awesome w nagłówku */
    margin-right: 1.8rem;
    vertical-align: middle;
    filter: drop-shadow(0 0 8px var(--military-green-primary)); /* Intensywniejszy cień dla ikon */
    color: var(--military-green-primary); /* Ujednolicony kolor akcentu */
    transition: color 0.3s ease, filter 0.3s ease;
}

.project-header h3 .devicon:hover,
.project-header h3 .fas:hover,
.project-header h3 .fab:hover {
    color: var(--military-green-accent); /* Zmiana koloru na hover */
    filter: drop-shadow(0 0 12px var(--military-green-accent));
}


.project-card p {
    font-size: 1.7rem; /* Nieco większa czcionka dla lepszej czytelności */
    color: var(--text-color-secondary);
    line-height: 1.8; /* Większa wysokość linii */
    margin-bottom: 2.2rem; /* Większy odstęp */
    letter-spacing: 0.03em; /* Delikatne zwiększenie odstępu liter */
}

/* Styl dla listy technologii - UPIĘKSZONE STYLE */
.project-technologies {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    color: var(--text-color-primary);
    border-top: 1px dashed rgba(0, 255, 76, 0.15); /* Delikatna linia rozdzielająca */
    padding-top: 2rem;
}

.project-technologies .technologies-label {
    font-size: 1.9rem; /* Nieco większa etykieta */
    font-weight: 700; /* Mocniejszy font */
    color: var(--military-green-primary);
    margin-bottom: 1rem;
    display: block;
    text-shadow: 0 0 5px var(--military-green-primary); /* Wyraźniejszy cień */
    font-family: 'Michroma', sans-serif;
    text-transform: uppercase; /* Duże litery dla etykiety */
}

.project-technologies .tech-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.8rem; /* Większy odstęp między elementami */
}

.project-technologies .tech-list li {
    background-color: var(--military-dark);
    border: 2px solid var(--military-green-primary); /* Grubsza ramka */
    border-radius: 8px; /* Bardziej zaokrąglone rogi */
    padding: 1rem 1.8rem; /* Większy padding */
    font-size: 1.6rem; /* Nieco większa czcionka */
    display: flex;
    align-items: center;
    gap: 1rem; /* Większy odstęp między ikoną a tekstem */
    color: var(--text-color-primary);
    font-family: 'Share Tech Mono', monospace;
    transition: all 0.3s ease-in-out; /* Płynniejsza tranzycja */
    box-shadow: 0 0 8px rgba(0, 255, 76, 0.3); /* Bardziej wyraźny cień */
    position: relative;
    overflow: hidden;
}

.project-technologies .tech-list li::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(0, 255, 76, 0.1); /* Subtelna nakładka */
    transition: left 0.4s ease-in-out;
    z-index: 0;
}

.project-technologies .tech-list li:hover::before {
    left: 0; /* Nakładka przesuwa się na hover */
}

.project-technologies .tech-list li span,
.project-technologies .tech-list li i {
    position: relative; /* Zapewnia, że tekst i ikony są nad pseudo-elementem */
    z-index: 1;
}

.project-technologies .tech-list li:hover {
    background-color: var(--military-green-accent); /* Zmiana koloru tła na hover */
    border-color: var(--military-green-primary);
    color: var(--military-dark);
    transform: translateY(-5px) scale(1.02); /* Większe uniesienie i delikatne powiększenie */
    box-shadow: 0 0 20px var(--shadow-color), 0 0 35px rgba(0, 255, 76, 0.5);
}

.project-technologies .tech-list li i {
    font-size: 2.2rem; /* Większe ikony */
    line-height: 1;
    color: var(--military-green-primary); /* Początkowy kolor ikony */
    transition: color 0.3s ease;
}

.project-technologies .tech-list li:hover i {
    color: var(--military-dark); /* Kolor ikon na hover, aby pasowały do tła */
}

/* Specyficzne kolory dla Devicons (jeśli chcesz je nadpisać domyślnym 'colored' ) */
/* Jeśli chcesz, aby Devicons zachowały swoje oficjalne kolory, usuń ten blok */
.devicon-python-plain.colored,
.devicon-discordjs-plain.colored,
.devicon-sqlite-plain.colored,
.devicon-docker-plain.colored,
.devicon-html5-plain.colored,
.devicon-css3-plain.colored,
.devicon-javascript-plain.colored,
.devicon-java-plain.colored {
    color: var(--military-green-primary); /* Ujednolicony kolor akcentu */
}


.project-links {
    display: flex;
    gap: 1.2rem; /* Nieco większy odstęp */
    margin-top: 2.5rem; /* Większy odstęp od technologii */
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    justify-content: flex-start; /* Domyślnie na lewo */
}

.project-links .btn {
    padding: 1rem 2rem; /* Większy padding */
    font-size: 1.5rem; /* Nieco większa czcionka */
    display: inline-flex;
    align-items: center;
    gap: 1rem; /* Większy odstęp ikona-tekst */
    border-color: var(--military-green-primary); /* Zawsze zielona ramka */
    color: var(--military-green-primary);
    background-color: var(--military-dark);
    box-shadow: 0 0 10px rgba(0, 255, 76, 0.2);
    text-transform: uppercase; /* Duże litery */
    letter-spacing: 0.05em; /* Odstępy między literami */
}

.project-links .btn i {
    font-size: 1.8rem; /* Rozmiar ikon w przyciskach */
    transition: transform 0.3s ease;
}

.project-links .btn:hover i {
    transform: translateX(5px); /* Ikona przesuwa się na hover */
}

.project-links .btn:hover {
    background-color: var(--military-green-primary);
    color: var(--military-dark);
    border-color: var(--military-green-accent); /* Zmiana koloru ramki na hover */
    box-shadow: 0 0 20px var(--shadow-color), 0 0 35px rgba(0, 255, 76, 0.5); /* Intensywniejszy cień */
    transform: translateY(-3px) scale(1.02); /* Lekkie uniesienie i powiększenie */
}


.project-status {
    font-size: 1.5rem; /* Nieco większa czcionka */
    font-weight: 700; /* Mocniejszy font */
    padding: 0.6rem 1.2rem; /* Większy padding */
    border-radius: 0.4rem; /* Delikatnie większe zaokrąglenie */
    text-transform: uppercase;
    letter-spacing: 0.08rem; /* Większe odstępy między literami */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); /* Wyraźniejszy cień */
    position: absolute;
    bottom: 2rem;
    right: 2.2rem; /* Nieco większy odstęp od prawej */
    transition: transform 0.2s ease;
}

.project-status:hover {
    transform: scale(1.05); /* Lekkie powiększenie na hover */
}

/* Właściwe kolory statusów (bez zmian, już są dobre) */
.status-in-progress {
    background-color: rgba(255, 165, 0, 0.2);
    color: orange;
    border: 1px solid rgba(255, 165, 0, 0.4);
}

.status-completed {
    background-color: rgba(0, 255, 76, 0.2);
    color: var(--military-green-primary);
    border: 1px solid rgba(0, 255, 76, 0.4);
}

.status-planned {
    background-color: rgba(66, 135, 245, 0.2);
    color: #4287f5;
    border: 1px solid rgba(66, 135, 245, 0.4);
}

.status-on-hold {
    background-color: rgba(255, 0, 0, 0.15);
    color: #ff3333;
    border: 1px solid rgba(255, 0, 0, 0.3);
}


/* --- Community Card specifics --- */
.community-card, .community-card2 {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
}

.community-image {
    width: 130px;
    height: 130px;
    border-radius: 0.5rem;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 0 15px var(--shadow-color);
    border: 2px solid var(--border-color);
}

.community-content {
    flex-grow: 1;
}

.community-description {
    font-size: 1.6rem;
    color: var(--text-color-secondary);
    letter-spacing: 0.02em;
}

/* --- Stopka --- */
footer {
    background: rgba(0, 0, 0, 0.8);
    color: var(--text-color-secondary);
    text-align: center;
    padding: 30px 20px;
    margin-top: 50px;
    border-top: 1px solid var(--border-color);
    font-size: 1.4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* ===================================== */
/* QoL: Scroll-to-Top Button */
/* ===================================== */
#scroll-to-top-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background-color: var(--military-green-primary);
    color: var(--military-dark);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 0 15px var(--shadow-color);
    transition: background-color var(--transition-speed), transform var(--transition-speed), opacity 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
}

#scroll-to-top-btn.show {
    opacity: 1;
    pointer-events: auto;
}

#scroll-to-top-btn:hover {
    background-color: var(--military-green-accent);
    transform: translateY(-3px);
    box-shadow: 0 0 20px var(--shadow-color), 0 0 30px var(--shadow-color);
}

#scroll-to-top-btn:active {
    transform: translateY(0);
    background-color: var(--military-green-primary);
}


/* ===================================== */
/* QoL: Scroll Reveal (początkowe ukrycie) */
/* ===================================== */
.reveal {
    opacity: 0;
}


/* --- Media Queries (Responsywność) --- */
@media(max-width:1200px) {
    html {
        font-size: 52%;
    }
    header {
        padding: 1.5rem 5%;
    }
    nav ul {
        gap: 3rem;
    }
    .header-widgets {
        gap: 1rem;
        margin-left: auto;
    }
    .time-widget, .dropbtn {
        padding: 0.6rem 1rem;
        font-size: 1.4rem;
    }
    .dropdown-content a {
        font-size: 1.4rem;
    }
    #hero-section {
        gap: 3rem;
    }
    .hero-content h1.nickname {
        font-size: 5rem;
    }
    .dynamic-text {
        font-size: 2.8rem;
    }
    .info-sections-wrapper {
        padding: 2.5rem;
    }
    .info-grid {
        gap: 1.5rem;
    }
    footer {
        font-size: 1.5rem;
    }
    .projects, .membership, .membership2 {
        max-width: 800px;
        padding: 2.5rem;
    }

    /* ZMIANA: Dopasowanie kontenera social-discord-container w hero-content */
    .hero-content .social-discord-container {
        gap: 15px; /* Mniejszy odstęp na tabletach */
    }
    .social-discord-container .social-icons .social-icon {
        width: 4rem; /* Nieznacznie mniejsze ikony */
        height: 4rem;
        font-size: 2.2rem;
    }

    /* MEDIA QUERY DLA PROJEKTÓW */
    .projects h2 {
        font-size: 3.5rem; /* Zmniejszony nagłówek projektów */
    }
    .project-card {
        padding: 2rem 2.5rem 6.5rem; /* Zmniejszony padding */
    }
    .project-header h3 {
        font-size: 2.8rem; /* Zmniejszony rozmiar tytułu projektu */
    }
    .project-header h3 .devicon,
    .project-header h3 .fas,
    .project-header h3 .fab {
        font-size: 4rem; /* Zmniejszony rozmiar ikon w nagłówku */
        margin-right: 1.2rem;
    }
    .project-icon {
        width: 55px; /* Zmniejszony rozmiar ikonki */
        height: 55px;
        margin-right: 1.8rem; /* Skorygowany margines */
    }
    .project-card p {
        font-size: 1.6rem; /* Nieco mniejsza czcionka */
    }
    .project-technologies {
        padding-top: 1.8rem; /* Skorygowany padding */
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
    .project-technologies .technologies-label {
        font-size: 1.8rem; /* Nieco mniejsza etykieta */
    }
    .project-technologies .tech-list {
        gap: 1.5rem;
    }
    .project-technologies .tech-list li {
        font-size: 1.5rem;
        padding: 0.8rem 1.6rem;
        gap: 0.8rem;
    }
    .project-technologies .tech-list li i {
        font-size: 2rem;
    }
    .project-links {
        gap: 1rem;
        margin-top: 2rem;
    }
    .project-links .btn {
        font-size: 1.4rem;
        padding: 0.8rem 1.6rem;
        gap: 0.8rem;
    }
    .project-links .btn i {
        font-size: 1.7rem;
    }
    .project-status {
        font-size: 1.4rem;
        padding: 0.5rem 1rem;
        bottom: 1.8rem;
        right: 2rem;
    }
}

@media(max-width:995px) {
    header {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.2rem 4%;
        align-items: center;
    }

    .logo {
        flex-basis: 100%;
        text-align: center;
        margin-bottom: 1rem;
    }

    nav ul {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
        margin-bottom: 1rem;
    }

    nav ul li a {
        padding: 0.8rem 1.2rem;
        text-align: center;
    }

    .header-widgets {
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
        flex-wrap: wrap;
        margin-left: 0;
    }

    .time-widget, .language-dropdown {
        flex-shrink: 0;
    }

    main {
        padding-top: 15rem;
        padding-left: 4%;
        padding-right: 4%;
    }

    #hero-section {
        flex-direction: column;
        margin: 5rem 0;
        gap: 4rem;
    }

    .hero-content h1.nickname {
        font-size: 4rem;
    }

    .dynamic-text {
        font-size: 2.5rem;
    }

    .hero-content .avatar {
        width: 60vw;
        margin-top: 3rem;
    }

    .info-sections-wrapper {
        padding: 2rem 4%;
        margin-top: 3rem;
    }

    #about-section h2, #additional-info-section h2 {
        font-size: 2.8rem;
    }

    .info-item p, .info-item ul li {
        font-size: 1.5rem;
    }

    .fav-games h2, .projects h2, .membership h2, .membership2 h2 {
        font-size: 3.2rem;
        margin-bottom: 2.5rem;
    }

    .games-category, .project-card, .community-card, .community-card2 {
        padding: 1.5rem 2rem;
        margin-bottom: 2rem;
    }

    .games-category h3, .community-title {
        font-size: 2.3rem;
    }

    .games-category ul li, .community-description {
        font-size: 1.4rem;
    }

    .community-card, .community-card2 {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }

    .community-image {
        width: 90px;
        height: 90px;
    }

    footer {
        font-size: 1.5rem;
    }

    .projects, .membership, .membership2 {
        max-width: 90%;
        margin: 4rem auto 2rem auto;
        padding: 2rem;
    }

    /* ZMIANA: Dopasowanie social-discord-container w hero-content dla tabletów */
    .hero-content .social-discord-container {
        flex-direction: row; /* Wróć do rzędu na tabletach */
        gap: 10px;
        width: auto;
        justify-content: center; /* Wyśrodkowanie */
        margin-top: 2.5rem;
        margin-bottom: 3rem;
    }
    .social-discord-container .social-icons .social-icon {
        width: 3.8rem; /* Nieznacznie mniejsze ikony */
        height: 3.8rem;
        font-size: 2rem;
    }

    /* MEDIA QUERY DLA PROJEKTÓW (tablet) */
    .project-card {
        padding: 1.8rem 2.2rem 6rem; /* Zmniejszony padding */
    }
    .project-header {
        flex-direction: column; /* Układanie ikony i tytułu w kolumnie na tabletach */
        align-items: flex-start;
    }
    .project-icon {
        margin-bottom: 1rem;
        margin-right: 0; /* Usuń margines z prawej */
        width: 50px;
        height: 50px;
    }
    .project-header h3 {
        font-size: 2.5rem;
        text-align: left;
    }
    .project-header h3 .devicon,
    .project-header h3 .fas,
    .project-header h3 .fab {
        font-size: 3.5rem;
        margin-right: 1rem;
    }
    .project-card p {
        font-size: 1.4rem;
    }
    .project-technologies {
        padding-top: 1.5rem;
        margin-top: 1.8rem;
        margin-bottom: 1.8rem;
    }
    .project-technologies .technologies-label {
        font-size: 1.7rem;
    }
    .project-technologies .tech-list {
        gap: 1rem;
    }
    .project-technologies .tech-list li {
        font-size: 1.3rem;
        padding: 0.7rem 1.4rem;
    }
    .project-technologies .tech-list li i {
        font-size: 1.6rem;
    }
    .project-links {
        flex-direction: column; /* Linki w kolumnie */
        align-items: flex-start;
        gap: 0.8rem;
        margin-top: 1.8rem;
    }
    .project-links .btn {
        width: auto; /* Pozwól na automatyczną szerokość */
        text-align: left;
        padding: 0.7rem 1.4rem;
        font-size: 1.3rem;
    }
    .project-links .btn i {
        font-size: 1.6rem;
    }
    .project-status {
        bottom: 1.5rem;
        right: 1.8rem;
        font-size: 1.3rem;
        padding: 0.4rem 0.9rem;
    }
    .project-card {
        padding-bottom: 6rem; /* Zwiększony padding-bottom dla statusu */
    }
}

@media (max-width: 768px) {
    html {
        font-size: 48%;
    }
    .hero-content h1.nickname {
        font-size: 3.5rem;
    }
    .dynamic-text {
        font-size: 2.2rem;
    }
    .hero-content .avatar {
        width: 70vw;
    }
    #about-section h2, #additional-info-section h2 {
        font-size: 2.5rem;
    }
    .info-item p, .info-item ul li {
        font-size: 1.4rem;
    }
    .fav-games h2, .projects h2, .membership h2, .membership2 h2 {
        font-size: 2.8rem;
    }
    .games-category h3, .community-title {
        font-size: 2rem;
    }
    footer {
        font-size: 1.4rem;
    }
    .projects, .membership, .membership2 {
        max-width: 95%;
        padding: 1.5rem;
    }
    .header-widgets {
        flex-direction: column;
        gap: 0.8rem;
    }
    .time-widget, .language-dropdown {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    .dropdown-content {
        left: 50%;
        transform: translateX(-50%);
        min-width: unset;
        width: auto;
    }

    /* ZMIANA: Dopasowanie social-discord-container dla telefonów */
    .hero-content .social-discord-container {
        flex-direction: column; /* Ułożenie w kolumnie na mniejszych ekranach */
        gap: 15px; /* Odstęp między ikonami social a widgetem Discorda */
        width: auto;
        margin-top: 2rem;
        margin-bottom: 3rem;
    }
    .social-discord-container .social-icons {
        flex-wrap: wrap; /* Pozwoli na zawijanie ikon social mediów */
        justify-content: center;
        width: 100%;
    }
    .social-discord-container .social-icons .social-icon {
        font-size: 2.2rem; /* Trochę większe ikony dla lepszej widoczności */
        width: 4rem;
        height: 4rem;
    }

    /* MEDIA QUERY DLA PROJEKTÓW (mniejsze telefony) */
    .project-card {
        padding: 1.5rem 1.8rem 5.5rem; /* Dalsze zmniejszenie paddingu */
    }
    .project-header {
        flex-direction: column; /* Zapewnia stackowanie */
        align-items: center; /* Wyśrodkowanie elementów w kolumnie */
        text-align: center;
    }
    .project-icon {
        width: 45px;
        height: 45px;
        margin-right: 0;
        margin-bottom: 0.8rem;
    }
    .project-header h3 {
        font-size: 2.2rem;
        text-align: center; /* Wyśrodkowanie tytułu */
    }
    .project-header h3 .devicon,
    .project-header h3 .fas,
    .project-header h3 .fab {
        font-size: 3.2rem;
        margin-right: 0.8rem;
    }
    .project-header h3::after {
        left: 50%;
        transform: translateX(-50%) scaleX(0); /* Wyśrodkowanie i ukrycie linii */
    }
    .project-card:hover .project-header h3::after {
        transform: translateX(-50%) scaleX(1); /* Wyśrodkowanie i pokazanie linii na hover */
    }
    .project-card p {
        font-size: 1.3rem;
    }
    .project-technologies {
        padding-top: 1.2rem;
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }
    .project-technologies .technologies-label {
        font-size: 1.6rem;
    }
    .project-technologies .tech-list {
        gap: 0.8rem;
        justify-content: center; /* Wyśrodkowanie listy technologii */
    }
    .project-technologies .tech-list li {
        font-size: 1.2rem;
        padding: 0.6rem 1.2rem;
    }
    .project-technologies .tech-list li i {
        font-size: 1.4rem;
    }
    .project-links {
        align-items: center; /* Wyśrodkowanie linków */
        gap: 0.6rem;
        margin-top: 1.5rem;
    }
    .project-links .btn {
        padding: 0.6rem 1.2rem;
        font-size: 1.2rem;
    }
    .project-links .btn i {
        font-size: 1.5rem;
    }
    .project-status {
        position: static; /* Powrót do pozycji statycznej, aby nie kolidować na bardzo małych ekranach */
        margin-top: 1.5rem;
        margin-left: auto;
        margin-right: auto;
        display: block; /* Aby zajmował całą szerokość rodzica dla wyśrodkowania */
        width: fit-content; /* Dopasowanie szerokości do zawartości */
        float: none; /* Upewnij się, że float jest usunięty */
        clear: both; /* Upewnij się, że float jest usunięty */
        font-size: 1.2rem;
        padding: 0.4rem 0.9rem;
    }
    .project-card {
        padding-bottom: 2rem; /* Zmniejszony padding-bottom, bo status jest statyczny */
    }
}

@media (max-width: 480px) {
    html {
        font-size: 42%;
    }
    header {
        padding: 1rem 2%;
    }
    .logo {
        font-size: 2.6rem;
    }
    nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    nav ul li a {
        margin: 0.5rem 0;
    }
    main {
        padding-top: 13rem;
        padding-left: 2%;
        padding-right: 2%;
    }
    .hero-content h1.nickname {
        font-size: 3rem;
    }
    .dynamic-text {
        font-size: 1.8rem;
    }
    .info-sections-wrapper {
        padding: 2rem 2%;
        margin-top: 2rem;
    }
    #about-section h2, #additional-info-section h2 {
        font-size: 2.2rem;
    }
    .info-item p, .info-item ul li {
        font-size: 1.3rem;
    }
    .fav-games h2, .projects h2, .membership h2, .membership2 h2 {
        font-size: 2.5rem;
    }
    .games-category h3, .community-title {
        font-size: 1.8rem;
    }
    .games-category ul li, .community-description {
        font-size: 1.2rem;
    }
    footer {
        font-size: 1.2rem;
    }

    /* ZMIANA: Dopasowanie social-discord-container dla najmniejszych ekranów */
    .hero-content .social-discord-container {
        flex-direction: column; /* Utrzymaj w kolumnie */
        gap: 15px;
        margin-top: 1.5rem;
        margin-bottom: 2rem;
    }
    .social-discord-container .social-icons .social-icon {
        font-size: 2rem; /* Powiększone ikony, żeby były klikalne */
        width: 3.8rem;
        height: 3.8rem;
    }

    /* MEDIA QUERY DLA PROJEKTÓW (bardzo małe telefony) */
    .project-card {
        padding: 1.2rem 1.5rem 2rem; /* Maksymalne zmniejszenie paddingu */
    }
    .project-header h3 {
        font-size: 2rem;
    }
    .project-header h3 .devicon,
    .project-header h3 .fas,
    .project-header h3 .fab {
        font-size: 3rem;
    }
    .project-icon {
        width: 40px;
        height: 40px;
    }
    .project-technologies .technologies-label {
        font-size: 1.5rem;
    }
    .project-technologies .tech-list {
        gap: 0.6rem;
    }
    .project-technologies .tech-list li {
        font-size: 1.1rem;
        padding: 0.5rem 1rem;
    }
    .project-technologies .tech-list li i {
        font-size: 1.2rem;
    }
    .project-links .btn {
        padding: 0.5rem 1rem;
        font-size: 1.1rem;
    }
    .project-links .btn i {
        font-size: 1.4rem;
    }
    .project-status {
        font-size: 1.1rem;
        padding: 0.3rem 0.7rem;
    }
}

/* Nowe kluczowe klatki dla animacji */
@keyframes scanlineAnimation {
    from { background-position: 0 0; }
    to { background-position: 0 100vh; }
}

@keyframes logoGlowPulse {
    from { text-shadow: 0 0 15px var(--border-color), 0 0 30px rgba(0, 255, 76, 0.7); }
    to { text-shadow: 0 0 25px var(--border-color), 0 0 50px rgba(0, 255, 76, 0.9); }
}

/* Styl dla kontenera cytatów */
.quote-container {
    margin-top: 15px; /* Odstęp od dynamicznego tekstu */
    text-align: center;
    min-height: 80px; /* Zapewnia miejsce dla dłuższych cytatów, zapobiega skakaniu layoutu */
    display: flex; /* Użyj flexboxa do centrowania */
    flex-direction: column; /* Ułożenie cytatu i autora pionowo */
    justify-content: center; /* Wyśrodkowanie w pionie */
    align-items: center; /* Wyśrodkowanie w poziomie */
    color: rgba(255, 255, 255, 0.8); /* Jasny kolor tekstu */
}

.quote-text {
    font-family: 'Poppins', sans-serif;
    font-size: 3em;
    font-weight: 400;
    margin-bottom: 5px;
    opacity: 0; /* Początkowo ukryj dla animacji */
    transition: opacity 0.5s ease-in-out; /* Animacja zanikania/pojawiania się */
}

.quote-author {
    font-family: 'Share Tech Mono', monospace; /* Lekko inny font dla autora */
    font-size: 2.5em;
    font-weight: 300;
    opacity: 0; /* Początkowo ukryj dla animacji */
    transition: opacity 0.5s ease-in-out; /* Animacja zanikania/pojawiania się */
}

/* Animacje, które już masz, ale upewnij się, że są odpowiednie */
/* Jeśli ich nie masz, dodaj poniższe */
@keyframes fadeInText {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOutText {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-10px); }
}

.fade-in-text {
    animation: fadeInText 0.5s forwards;
}

.fade-out-text {
    animation: fadeOutText 0.5s forwards;
}

/* Opcjonalnie: dostosowanie dla mniejszych ekranów */
@media (max-width: 768px) {
    .quote-text {
        font-size: 1em;
    }
    .quote-author {
        font-size: 0.8em;
    }
}

/* Styl dla kontenera przycisku, który zapewnia wyśrodkowanie */
.neo-docs-button-container {
    margin-top: 25px; /* Odstęp od tekstu powyżej */
    text-align: left; /* WAŻNE: Wyśrodkowanie zawartości liniowej w tym kontenerze */
}

/* Podstawowe style dla przycisku/linku stylizowanego na przycisk */
.button-link {
    display: inline-block; /* WAŻNE: Dzięki temu text-align: center na rodzicu zadziała */
    background: linear-gradient(45deg, #5a2b82, #8e44ad); /* Subtelny gradient fioletu */
    color: #e0f7fa; /* Jasny, "neonowy" kolor tekstu */
    padding: 14px 30px; /* Nieco większy padding dla lepszej klikalności */
    border-radius: 6px; /* Lekko mniej zaokrąglone rogi dla ostrzejszego wyglądu */
    text-decoration: none; /* Usuń podkreślenie linku */
    font-family: 'Michroma', sans-serif; /* Font dla przycisków */
    font-size: 1em; /* Lekko większy rozmiar czcionki */
    font-weight: 600; /* Mocniejsza waga czcionki */
    letter-spacing: 0.05em; /* Lekki odstęp między literami */
    text-transform: uppercase; /* Wielkie litery dla lepszego efektu cyberpunka */
    cursor: pointer; /* Wyraźny kursor wskazujący, że to klikalne */

    /* Efekty przejścia */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); /* Płynniejsze przejścia */

    /* Ramka neonowa */
    border: 1px solid rgba(142, 68, 173, 0.6); /* Ramka w kolorze gradientu */
    box-shadow: 0 0 15px rgba(142, 68, 173, 0.5), /* Fioletowy blask */
                0 0 5px rgba(255, 255, 255, 0.2) inset; /* Delikatny wewnętrzny blask */
    position: relative; /* Potrzebne dla pseudo-elementów lub bardziej zaawansowanych efektów */
    overflow: hidden; /* Ukrywa zawartość wychodzącą poza granice przycisku */
}

.button-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1); /* Delikatny, migoczący blask */
    transform: skewX(-20deg);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.button-link:hover::before {
    left: 100%; /* Efekt "swipe" po najechaniu */
}

.button-link:hover {
    background: linear-gradient(45deg, #7a3ec5, #a35dd6); /* Jaśniejszy gradient po najechaniu */
    transform: translateY(-3px) scale(1.02); /* Lekkie uniesienie i powiększenie */
    box-shadow: 0 5px 20px rgba(142, 68, 173, 0.8), /* Intensywniejszy blask */
                0 0 10px rgba(255, 255, 255, 0.3) inset;
    border-color: rgba(163, 93, 214, 0.8); /* Jaśniejsza ramka */
}

.button-link:active {
    transform: translateY(0) scale(1); /* Powrót do pierwotnej pozycji przy kliknięciu */
    background: #5a2b82; /* Ciemniejszy fiolet przy kliknięciu */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
    border-color: rgba(142, 68, 173, 0.4);
}

/* Dla responsywności przycisku */
@media (max-width: 600px) {
    .button-link {
        padding: 10px 20px;
        font-size: 0.85em; /* Nieco mniejszy font na małych ekranach */
    }
}

/* --- Style discord --- */