/* =========================================
   ZAKŁADKI (SOBOTA / NIEDZIELA)
========================================= */
.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    gap: 15px; 
    width: 100%;
    margin-top: 40px;
}

.tab-sobota, .tab-niedziela {
    width: 50%;
}

.tab-sobota { text-align: right; }
.tab-niedziela { text-align: left; }

.tab-button {
    background: transparent;
    border: 2px solid #f39279;
    color: #f39279;
    padding: 10px 25px;
    font-size: 40px; 
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 300px;
}

.tab-button:hover, .tab-button.active {
    background: #f39279;
    color: #fff;
    box-shadow: 0 4px 10px rgba(243, 146, 121, 0.3);
}

@media (max-width: 768px) {
    .tabs {
        flex-direction: column; 
        align-items: center;    
        gap: 20px;              
    }

    .tab-sobota, .tab-niedziela {
        width: 100%;        
        text-align: center; 
    }

    .tab-button {
        font-size: 22px;        
        padding: 12px 20px;
        width: 100%;            
        max-width: 250px;       
        box-sizing: border-box; 
    }
}

/* =========================================
   SESJE RPG CARDS (MODERN UI)
========================================= */
.rpg-sessions-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto 50px auto;
}

@media (min-width: 992px) {
    .rpg-sessions-list {
        grid-template-columns: 1fr 1fr;
    }
}

.rpg-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    border: 1px solid rgba(0,0,0,0.05);
    padding: 2.5rem 2rem;
    gap: 1.5rem;
}

.rpg-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* =========================================
   HEADER: AVATAR & GM INFO
========================================= */
.rpg-card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-bottom: 2px dashed #f0f0f0;
    padding-bottom: 1.5rem;
}

.rpg-avatar-container {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.2rem;
    border: 4px solid #f39279;
    box-shadow: 0 8px 20px rgba(243, 146, 121, 0.3);
    flex-shrink: 0;
}

.rpg-avatar-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.6s ease;
}

.rpg-card:hover .rpg-avatar-container img {
    transform: scale(1.08);
}

.rpg-gm-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rpg-gm-label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #f39279;
    font-weight: 700;
    margin-bottom: 5px;
}

.rpg-gm-name {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0;
    color: #222;
}

/* =========================================
   CONTENT: SYSTEM, TITLE, DESC, META
========================================= */
.rpg-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.rpg-badges {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
}

.rpg-system, .rpg-time {
    color: #fff;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rpg-system {
    background: #f39279;
    box-shadow: 0 4px 15px rgba(243, 146, 121, 0.4);
}

.rpg-time {
    background: #34495e; /* Elegant dark blue/grey */
    box-shadow: 0 4px 15px rgba(52, 73, 94, 0.3);
}

.rpg-time i {
    margin-right: 5px;
}

.rpg-title {
    text-align: center;
    font-size: 1.8rem;
    color: #222;
    margin-top: 0;
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 700;
}

.rpg-desc {
    color: #555;
    line-height: 1.7;
    margin-bottom: 2rem;
    flex-grow: 1;
    text-align: justify;
    font-size: 1rem;
}

/* =========================================
   META GRID (GRACZE / WIEK)
========================================= */
.rpg-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    background: #fcfcfc;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid #f0f0f0;
}

.rpg-meta-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rpg-meta-icon {
    width: 42px;
    height: 42px;
    background: rgba(243, 146, 121, 0.1);
    color: #EE728A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: transform 0.3s ease, background 0.3s ease;
}

.rpg-card:hover .rpg-meta-icon {
    background: rgba(243, 146, 121, 0.2);
    transform: scale(1.1);
}

.rpg-meta-text {
    display: flex;
    flex-direction: column;
}

.rpg-meta-label {
    font-size: 0.8rem;
    color: #999;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.rpg-meta-value {
    font-size: 1.05rem;
    color: #222;
    font-weight: 700;
}

@media (max-width: 480px) {
    .rpg-meta-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   O PROWADZĄCYM (BIO)
========================================= */
.rpg-gm-bio {
    padding: 1.5rem;
    background: #fdfdfd;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    border-left: 4px solid #f39279;
}

.rpg-gm-bio-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rpg-gm-bio-text {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}
