/* =========================================
   UKŁAD GŁÓWNY (DASHBOARD)
   ========================================= */
.dashboard-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    color: var(--text-main); 
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.dashboard-banner {
    width: 100%;
    height: auto;
    clip-path: polygon(25px 0, 100% 0, 100% calc(100% - 25px), calc(100% - 25px) 100%, 0 100%, 0 25px);
    margin-bottom: 40px;
    opacity: 0.85;
    transition: opacity 0.3s, filter 0.3s;
}

/* =========================================
   KARTA PROFILU (O MNIE)
   ========================================= */
.profile-card {
    display: flex;
    gap: 25px;
    padding: 30px;
    align-items: center;
    margin-bottom: 20px;
}

.profile-avatar {
    width: 140px;
    height: 140px;
    object-fit: cover;
    flex-shrink: 0;
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}

.profile-bio {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    font-family: sans-serif;
}

.profile-bio h2 {
    color: var(--text-main);
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.5rem;
    font-family: ui-monospace, SFMono-Regular, monospace;
}

/* =========================================
   SZYBKIE LINKI (Kafelki)
   ========================================= */
.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 50px;
}

.quick-link {
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    text-align: center;
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: bold;
    transition: all 0.2s;
    /* Ucięte rogi */
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.quick-link:hover {
    background: var(--accent);
    color: var(--bg-main);
}

/* =========================================
   GALERIA TOP GIER
   ========================================= */
.top-games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px 20px; 
}

.top-game-item {
    display: flex;
    flex-direction: column;
}

.top-game-img-box {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    overflow: hidden;
    margin-bottom: 12px; 
}

.top-game-img-box img {
    width: 100%;
    height: auto; 
    display: block;
}

/* Techniczne podpisy pod zdjęciami */
.tg-description {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: monospace;
    display: flex;
    align-items: center;
}

.tg-description::before {
    content: ">";
    color: var(--accent);
    margin-right: 8px;
    font-weight: bold;
    font-size: 1.1rem;
}

/* =========================================
   RESPONSYWNOŚĆ (TELEFONY)
   ========================================= */
@media (max-width: 768px) {
    .profile-card { 
        flex-direction: column; 
        text-align: center; 
    }
    
    .quick-links-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
    
    .top-games-grid { 
        grid-template-columns: 1fr; 
        gap: 30px; 
    }
}