/* ==========================================================================
   1. STRUKTURA I TŁO (Tło wyjściowe zachowane i rozbudowane o głębię)
   ========================================================================== */

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

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #f1f5f9;
    min-height: 100vh;
    padding: 24px;
    position: relative;
    overflow-x: hidden;

    /* Tło zachowane bezpośrednio z Twojego pliku style.css */
    background:
            radial-gradient(
                    circle at 20% 20%,
                    rgba(120, 60, 180, 0.45),
                    transparent 40%
            ),
            radial-gradient(
                    circle at 80% 70%,
                    rgba(70, 50, 160, 0.35),
                    transparent 45%
            ),
            linear-gradient(
                    135deg,
                    #08070d 0%,
                    #110b1a 50%,
                    #07070c 100%
            );
    background-attachment: fixed;
}

/* Kule świetlne w tle - podbijają efekt soczewki/załamania światła w Glassmorphism */
.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

.glow-1 {
    width: 350px;
    height: 350px;
    background: rgba(168, 85, 247, 0.35);
    top: -50px;
    right: 10%;
}

.glow-2 {
    width: 450px;
    height: 450px;
    background: rgba(59, 130, 246, 0.25);
    bottom: 5%;
    left: -50px;
}

.glow-3 {
    width: 250px;
    height: 250px;
    background: rgba(236, 72, 153, 0.2);
    top: 40%;
    left: 45%;
}


/* ==========================================================================
   2. UNIWERSALNA KLASA GLASSMORPHISM (BLOCZKI STRONY)
   ========================================================================== */

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.35);
    padding: 24px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s ease,
                box-shadow 0.3s ease,
                background 0.3s ease;
}

/* Interaktywny hover dla efektu "unoszenia" szkła */
.glass-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 16px 48px 0 rgba(147, 51, 234, 0.2);
}


/* ==========================================================================
   3. SIATKA ZEWNĘTRZNA - CSS GRID (STRUKTURA GŁÓWNA STRONY)
   ========================================================================== */

.grid-container {
    position: relative;
    z-index: 1;
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    /* Tworzymy siatkę 12-kolumnową z automatycznymi wierszami */
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

/* Rozmieszczenie elementów w siatce CSS Grid */

.header-card {
    grid-column: span 12;
    /* sticky header */
    position: sticky;
    top: 15px;
    z-index: 1000;
    /* sticky header */
}

.hero {
    grid-column: span 12;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.hero-text {
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-text h1, h2 {
    font-family: 'Audiowide', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #c084fc;
}

.hero-image {
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    border-radius: 50%;
    border: 2px solid rgba(192, 132, 252, 0.5);
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.4);
    transition: transform 0.2s ease, border-color 0.2s ease;
    width: 80%;
}

.sidebar-card {
    grid-column: span 3;
}

.hero-card {
    grid-column: span 9;
}

.stat-card {
    grid-column: span 3;
}

.content-card {
    grid-column: span 8;
}

.widget-card {
    grid-column: span 4;
}

.footer-card {
    grid-column: span 12;
}

.it-card {
    grid-column: span 7;
}

.pc-card {
    grid-column: span 5;
}

.music-header-card {
    grid-column: span 12;
    display: flex;
    justify-content: center;
}

.games-header-card {
    grid-column: span 12;
}

.games-card {
    grid-column: span 4;
}

.why-games-card {
    grid-column: span 5;
}

.ttrpg-card {
    grid-column: span 7;
}

/* ==========================================================================
   4. INTERIOR CARD LAYOUTS - FLEXBOX (TREŚĆ WEWNĄTRZ BLOCZKÓW)
   ========================================================================== */

/* --- 4.1. NAGŁÓWEK (HEADER) - FLEXBOX ROW --- */

.header-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 28px;
    font-family: 'Audiowide', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    /* sticky header */
    background: rgba(17, 11, 26, 0.75);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    /* sticky header */
}

/* sticky header */
.header-card:hover {
    transform: none;
}
/* sticky header */

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
}

.logo-icon {
    display: flex;
    align-items: center;
}

.awatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(192, 132, 252, 0.5);
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.4);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.awatar:hover {
    transform: scale(1.08);
    border-color: rgba(192, 132, 252, 0.9);
}

.logo-text b {
    color: #c084fc;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a {
    color: #94a3b8;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #ffffff;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-indicator {
    width: 10px;
    height: 10px;
    background-color: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 8px #22c55e;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a855f7, #6366f1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.username {
    font-size: 0.9rem;
    font-weight: 500;
}


/* --- 4.2. PANEL BOCZNY (SIDEBAR / ODTWARZACZ SPOTIFY) --- */
.sidebar-card {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    gap: 20px;
    padding: 24px;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.player-badge {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #1db954;
    border-radius: 50%;
    box-shadow: 0 0 10px #1db954;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(29, 185, 84, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(29, 185, 84, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(29, 185, 84, 0);
    }
}

.player-badge h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #f1f5f9;
}

.spotify-icon {
    font-size: 1.2rem;
    opacity: 0.85;
}

/* Odtwarzacz Spotify */
.sidebar-player {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.player-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.player-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.player-cover:hover img {
    transform: scale(1.04);
}

.player-overlay {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    padding: 6px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.sound-wave {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 14px;
}

.sound-wave span {
    width: 3px;
    background: #1db954;
    border-radius: 3px;
    animation: bounce 1.2s ease-in-out infinite alternate;
}

.sound-wave span:nth-child(1) { height: 60%; animation-delay: 0.1s; }
.sound-wave span:nth-child(2) { height: 100%; animation-delay: 0.3s; }
.sound-wave span:nth-child(3) { height: 40%; animation-delay: 0.2s; }
.sound-wave span:nth-child(4) { height: 80%; animation-delay: 0.4s; }

@keyframes bounce {
    0% { height: 20%; }
    100% { height: 100%; }
}

.player-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.song-title {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-artist {
    font-size: 0.85rem;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-progress {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.player-progress .progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
}

.player-progress .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #1db954, #1ed760);
    border-radius: 3px;
    transition: width 0.2s ease;
}

.player-timestamps {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}


/* --- 4.3. SEKCJA HERO - FLEXBOX LAYOUT --- */
.hero-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    padding: 36px 40px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(168, 85, 247, 0.12) 100%);
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    flex: 1.2;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.3);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #e9d5ff;
    font-weight: 500;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: #a855f7;
    border-radius: 50%;
    box-shadow: 0 0 8px #a855f7;
}

.hero-content h1 {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
}

.gradient-text {
    background: linear-gradient(135deg, #c084fc 0%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    color: #cbd5e1;
    line-height: 1.6;
    font-size: 1rem;
    max-width: 540px;
}

.hero-skills-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 6px 0;
}

.hero-skills-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 0.88rem;
    color: #e2e8f0;
    backdrop-filter: blur(8px);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.hero-skills-list li:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(192, 132, 252, 0.4);
}

.hero-skills-list s {
    color: #94a3b8;
}

.li-icon {
    font-size: 1rem;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.btn {
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 6px 28px rgba(168, 85, 247, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
}

/* --- Hero Visual Showcase (Karta Profilowa po prawej) --- */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0.8;
}

.hero-profile-card {
    position: relative;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 220px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    animation: floatCard 4s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.hero-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(192, 132, 252, 0.6);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
}

.profile-info {
    text-align: center;
}

.profile-info h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
}

.role-tag {
    font-size: 0.75rem;
    color: #c084fc;
    font-weight: 600;
}

.profile-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.p-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.p-val {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
}

.p-lbl {
    font-size: 0.7rem;
    color: #94a3b8;
}

.p-stat-divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.12);
}

.big-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #c084fc;
}

.subtext {
    font-size: 0.85rem;
    color: #cbd5e1;
}


/* --- 4.4. KARTY STATYSTYK (STAT CARDS) - FLEXBOX --- */
.stat-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-title {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 500;
}

.stat-icon {
    font-size: 1.2rem;
}

.stat-body {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
}

.stat-trend {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 8px;
}

.stat-trend.positive {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
}

.stat-trend.neutral {
    background: rgba(148, 163, 184, 0.15);
    color: #cbd5e1;
}

.stat-footer {
    font-size: 0.75rem;
    color: #64748b;
}


/* --- 4.5. SEKCJA GŁÓWNA (CONTENT CARD) - FLEXBOX --- */
.content-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header-flex h2 {
    font-size: 1.3rem;
    font-weight: 600;
}

.subtitle {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 2px;
}

.btn-icon {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;

}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.feature-icon {
    font-size: 1.5rem;
    background: rgba(168, 85, 247, 0.15);
    padding: 10px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.feature-info p {
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.5;
}

code {
    background: rgba(168, 85, 247, 0.2);
    color: #e9d5ff;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
}


/* --- 4.6. WIDGET AKTYWNOŚCI (WIDGET CARD) - FLEXBOX --- */
.widget-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.widget-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    padding-left: 8px;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #475569;
    margin-top: 4px;
    flex-shrink: 0;
}

.dot.active {
    background: #c084fc;
    box-shadow: 0 0 10px #c084fc;
}

.timeline-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.timeline-content strong {
    font-size: 0.88rem;
    font-weight: 500;
}

.timeline-content small {
    font-size: 0.75rem;
    color: #64748b;
}


/* --- 4.7. STOPKA (FOOTER) - FLEXBOX ROW --- */
.footer-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 28px;
    font-size: 0.85rem;
    color: #94a3b8;
}

.footer-right {
    display: flex;
    gap: 20px;
}

.footer-right a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-right a:hover {
    color: #ffffff;
}

/* ==========================================================================
   4.8. SEKCJA INFORMATYKA & SPECKA PC
   ========================================================================== */

.card-title-group {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.card-icon-badge {
    font-size: 1.6rem;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.3);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-title-group h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
}

/* --- Informatyka Card --- */
.it-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
}

.it-bio {
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.65;
}

.link-highlight {
    color: #c084fc;
    text-decoration: underline;
    font-weight: 600;
}

.quote-box {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.12) 0%, rgba(59, 130, 246, 0.12) 100%);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.q-title {
    font-size: 0.95rem;
    color: #ffffff;
}

.q-sub {
    font-size: 0.8rem;
    color: #94a3b8;
}

.tech-stack-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.tech-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 0.85rem;
    color: #e2e8f0;
    backdrop-filter: blur(8px);
    transition: all 0.2s ease;
}

.tech-tag:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(192, 132, 252, 0.5);
    transform: translateY(-2px);
}

.t-icon {
    font-size: 1rem;
}

/* --- Specka PC Card --- */
.pc-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.spec-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    transition: all 0.2s ease;
}

.spec-item:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(192, 132, 252, 0.4);
    transform: translateX(4px);
}

.spec-icon {
    font-size: 1.3rem;
    background: rgba(168, 85, 247, 0.12);
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.spec-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.spec-label {
    font-size: 0.7rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.spec-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
}

.spec-sub {
    font-size: 0.78rem;
    color: #cbd5e1;
}


/* --- Sekcja Muzyczna (Autorskie dane Spotify) --- */
.music-header-card {
    grid-column: span 12;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.music-topsongs-card {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.top-songs-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.top-songs-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.top-songs-list li:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(192, 132, 252, 0.4);
    transform: translateX(4px);
}

.rank-num {
    font-size: 0.85rem;
    font-weight: 800;
    color: #c084fc;
    background: rgba(168, 85, 247, 0.15);
    padding: 4px 8px;
    border-radius: 8px;
    flex-shrink: 0;
}

.song-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.song-info strong {
    font-size: 0.86rem;
    color: #ffffff;
    line-height: 1.3;
}

.song-info small {
    font-size: 0.75rem;
    color: #94a3b8;
}

.music-taste-card {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.taste-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 0.92rem;
    color: #cbd5e1;
    line-height: 1.6;
}

.music-stats-card {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
}

.stats-grid-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.m-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.m-stat-label {
    font-size: 0.82rem;
    color: #94a3b8;
}

.m-stat-value {
    font-size: 0.88rem;
    color: #c084fc;
    font-weight: 700;
}

.spotify-script-box {
    margin-top: 10px;
    display: flex;
    justify-content: center;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.82rem;
}


/* --- Sekcja Gier (Games Slider) --- */
.games-slider-container {
    grid-column: span 12;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.games-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.game-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px;
    height: 100%;
}

.game-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.game-icon-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.game-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
}

.game-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.game-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.game-card:hover .game-cover-img {
    transform: scale(1.06);
}

.game-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.game-tag {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
    border: 1px solid rgba(192, 132, 252, 0.25);
}

.game-status {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.game-description {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.5;
    flex-grow: 1;
}

/* Pasek Nawigacji Slidera */
.games-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 8px;
    padding: 10px 0;
}

.slider-arrow {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.slider-arrow:hover {
    background: rgba(192, 132, 252, 0.25);
    border-color: rgba(192, 132, 252, 0.5);
    color: #c084fc;
    transform: scale(1.08);
}

.slider-dots {
    display: flex;
    align-items: center;
    gap: 10px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.4);
}

.slider-dot.active {
    width: 26px;
    border-radius: 6px;
    background: #c084fc;
    box-shadow: 0 0 12px rgba(192, 132, 252, 0.6);
}


/* --- Sekcje Why Games & TTRPG --- */
.why-games-card,
.ttrpg-card {
    grid-column: span 6;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
}

.why-games-bio,
.ttrpg-bio {
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.65;
}

.game-genres-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.rpg-systems-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rpg-list-title {
    font-size: 0.9rem;
    color: #ffffff;
}

.rpg-systems-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rpg-systems-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: #cbd5e1;
}

.ttrpg-footer-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 6px;
}

.tpk-badge {
    font-size: 0.82rem;
    color: #f43f5e;
    background: rgba(244, 63, 94, 0.12);
    border: 1px solid rgba(244, 63, 94, 0.25);
    padding: 4px 12px;
    border-radius: 8px;
    font-weight: 600;
}

.exp-badge {
    font-size: 0.82rem;
    color: #c084fc;
    background: rgba(168, 85, 247, 0.12);
    border: 1px solid rgba(168, 85, 247, 0.25);
    padding: 4px 12px;
    border-radius: 8px;
    font-weight: 600;
}


/* ==========================================================================
   5. RESPONSYWNOŚĆ (MEDIA QUERIES)
   ========================================================================= */

@media (max-width: 1024px) {
    .sidebar-card {
        grid-column: span 4;
    }

    .hero-card {
        grid-column: span 8;
    }

    .stat-card {
        grid-column: span 4;
    }

    .content-card {
        grid-column: span 12;
    }

    .widget-card {
        grid-column: span 12;
    }

    .it-card {
        grid-column: span 12;
    }

    .pc-card {
        grid-column: span 12;
    }

    .why-games-card,
    .ttrpg-card {
        grid-column: span 12;
    }

    .music-topsongs-card,
    .music-taste-card,
    .music-stats-card {
        grid-column: span 12;
    }

    .games-cards-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body {
        padding: 12px;
    }

    .grid-container {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .header-card {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .hero-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-card {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

