.waw-poke-container {
    font-family: inherit;
    max-width: 1200px;
    margin: 0 auto;
    color: #333;
}

.waw-poke-section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: #e3350d;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* (Usunięto stare style Top 3) */

/* Controls */
.waw-poke-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    margin-bottom: 2rem;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 12px;
}

.waw-poke-filters, .waw-poke-sort {
    display: contents;
}

#waw-poke-filter-tags, #waw-poke-search-text {
    padding: 8px 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: white;
    font-family: inherit;
    outline: none;
    width: 200px;
    flex-grow: 1;
    min-width: 150px;
}

.waw-poke-filters label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.waw-poke-controls select {
    padding: 8px 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: white;
    font-family: inherit;
    outline: none;
    flex-grow: 1;
    min-width: 140px;
}

.waw-poke-sort select {
    margin-left: auto;
    background-color: #f0f4f8;
    border-color: #cbd5e1;
    font-weight: 600;
}

/* List */
.waw-poke-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.waw-poke-card {
    display: flex;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.waw-poke-card-header {
    width: 250px;
    flex-shrink: 0;
    position: relative;
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 20px 20px 20px;
    gap: 15px;
    box-sizing: border-box;
}

.waw-poke-card-header a {
    display: flex;
    justify-content: center;
    width: 100%;
}

.waw-poke-card-logo {
    max-width: 100%;
    max-height: 150px;
    object-fit: contain;
    transition: transform 0.2s;
    display: block;
    margin: 0 auto;
}

.waw-poke-card-header a:hover .waw-poke-card-logo {
    transform: scale(1.05);
}

.waw-poke-card-header .waw-poke-card-meta {
    justify-content: center;
    margin-bottom: 0;
    gap: 8px;
    width: 100%;
}

.waw-poke-stars {
    letter-spacing: 2px;
    margin-bottom: 5px;
    font-size: 1rem;
    color: #f59e0b;
}

.waw-poke-card-rating-under-logo {
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
    color: #f59e0b;
    margin-top: 10px;
    width: 100%;
}

.waw-poke-recommended-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff4757;
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 12px;
    z-index: 2;
}

.waw-poke-not-recommended-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #555;
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 12px;
    z-index: 2;
}

.waw-poke-card-body {
    padding: 25px;
    flex-grow: 1;
}

.waw-poke-card-title {
    margin: 0 0 10px 0;
    font-size: 1.5rem;
    color: #222;
}

.waw-poke-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.waw-poke-card-title a:hover {
    color: #3b4cca;
}

.waw-poke-top-info h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.waw-poke-top-info h3 a:hover {
    color: #3b4cca;
}

.waw-poke-card-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.waw-poke-card-header .waw-poke-card-tags {
    justify-content: center;
    margin-bottom: 0;
    width: 100%;
}

.waw-poke-tag {
    background: #f0f2f5;
    color: #666;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.waw-poke-card-meta {
    display: flex;
    gap: 15px;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.waw-poke-card-meta span {
    background: #f0f2f5;
    padding: 4px 10px;
    border-radius: 6px;
}

.waw-poke-rating-small {
    font-size: 0.9rem;
    font-weight: bold;
    color: #f59e0b;
    background: #fffbeb !important;
    padding: 3px 8px;
    border-radius: 4px;
}

.waw-poke-card-desc {
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.waw-poke-card-links {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.waw-poke-link-btn {
    padding: 6px 15px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    background: #e4e6eb;
    color: #333;
    transition: all 0.2s;
}

.waw-poke-link-btn:hover {
    background: #d8dadf;
}

.waw-poke-link-btn.primary {
    background: #3b4cca;
    color: white;
}

.waw-poke-link-btn.primary:hover {
    background: #2a3899;
}

/* Screens Gallery */
.waw-poke-screens-gallery {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.waw-poke-screen-thumb {
    width: 160px;
    height: 100px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 6px;
    border: 1px solid #ddd;
    transition: transform 0.2s, box-shadow 0.2s;
}

.waw-poke-screen-thumb:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Layout */
.waw-poke-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.waw-poke-main-column {
    flex: 0 0 75%;
    max-width: 75%;
}

.waw-poke-sidebar {
    flex: 0 0 calc(25% - 30px);
    max-width: calc(25% - 30px);
}

/* Sidebar Widgets */
.waw-poke-sidebar-widget {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.waw-poke-widget-title {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: #333;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.waw-poke-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.waw-poke-sidebar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    padding: 10px;
    border-radius: 8px;
    background: #f9f9f9;
    transition: transform 0.2s ease;
}

.waw-poke-sidebar-item:hover {
    transform: translateX(5px);
}

.waw-poke-sidebar-item.first-place {
    background: linear-gradient(135deg, #fff9e6 0%, #fff2cc 100%);
    border: 1px solid #ffd700;
}

.waw-poke-sidebar-item.worst-place {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    border: 1px solid #ef5350;
}

.waw-poke-sidebar-badge {
    position: absolute;
    top: -8px;
    left: -8px;
    background: #333;
    color: #fff;
    font-size: 0.8rem;
    font-weight: bold;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.waw-poke-sidebar-item.first-place .waw-poke-sidebar-badge {
    background: #ffd700;
    color: #000;
}

.waw-poke-sidebar-item.worst-place .waw-poke-sidebar-badge {
    background: #ef5350;
}

.waw-poke-sidebar-logo {
    width: 50px;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
}

.waw-poke-sidebar-info h4 {
    margin: 0 0 5px 0;
    font-size: 0.95rem;
    line-height: 1.2;
}

.waw-poke-sidebar-info h4 a {
    color: #2196f3;
    text-decoration: none;
}

.waw-poke-sidebar-info h4 a:hover {
    text-decoration: underline;
}

.waw-poke-sidebar-rating {
    font-size: 0.85rem;
    font-weight: bold;
    color: #555;
}

/* Alpha List */
.waw-poke-alpha-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.waw-poke-alpha-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}

.waw-poke-alpha-list li:last-child {
    border-bottom: none;
}

.waw-poke-alpha-list a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.waw-poke-alpha-list a:hover {
    color: #2196f3;
}

/* Timeline */
.waw-poke-timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    padding-top: 5px;
}

.waw-poke-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 15px;
    bottom: 0;
    width: 2px;
    background: #e0e0e0;
}

.waw-poke-timeline-year-block {
    position: relative;
    padding-left: 40px;
}

.waw-poke-timeline-year {
    font-weight: bold;
    font-size: 1.1rem;
    color: #e3350d;
    margin-bottom: 10px;
    position: relative;
}

.waw-poke-timeline-year::before {
    content: '';
    position: absolute;
    left: -31px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: #fff;
    border: 3px solid #e3350d;
    border-radius: 50%;
    z-index: 2;
}

.waw-poke-timeline-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.waw-poke-timeline-item {
    width: 60px;
    height: 60px;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.waw-poke-timeline-item:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 2;
}

.waw-poke-timeline-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Responsive adjustments for layout */
@media (max-width: 992px) {
    .waw-poke-layout {
        flex-direction: column;
    }
    .waw-poke-main-column,
    .waw-poke-sidebar {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Lightbox */
.waw-poke-lightbox {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
    backdrop-filter: blur(5px);
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.waw-poke-lightbox.show {
    visibility: visible;
    opacity: 1;
}

.waw-poke-lightbox-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.waw-poke-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 100000;
}

.waw-poke-lightbox-close:hover {
    color: #ccc;
}

/* DLC Section */
.waw-poke-dlc-section {
    background: #f8f9fa;
    border-left: 4px solid #9c27b0;
    padding: 15px;
    border-radius: 0 8px 8px 0;
    margin-top: 15px;
}

.waw-poke-dlc-section h4 {
    margin: 0 0 10px 0;
    color: #9c27b0;
    font-size: 1rem;
}

.waw-poke-dlc-content {
    display: flex;
    gap: 15px;
}

.waw-poke-dlc-logo {
    width: 150px;
    height: 90px;
    object-fit: contain;
    background: white;
    border-radius: 4px;
    padding: 5px;
}

.waw-poke-dlc-info p {
    margin: 0 0 5px 0;
    font-size: 0.9rem;
    color: #555;
}

.waw-poke-dlc-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
    align-items: flex-start;
}

.waw-poke-dlc-date {
    font-size: 0.85rem;
    color: #666;
    background: #f0f2f5;
    padding: 3px 8px;
    border-radius: 4px;
}

.waw-poke-dlc-screen-thumb {
    width: 80px;
    height: 50px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 6px;
    border: 1px solid #ddd;
    transition: transform 0.2s, box-shadow 0.2s;
}

.waw-poke-dlc-screen-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .waw-poke-card {
        flex-direction: column;
    }
    .waw-poke-card-header {
        width: 100%;
        height: auto;
    }
    .waw-poke-screen-thumb,
    .waw-poke-dlc-screen-thumb {
        width: calc(50% - 5px);
        height: auto;
        aspect-ratio: 16/9;
        box-sizing: border-box;
    }
    .waw-poke-dlc-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .waw-poke-dlc-logo {
        margin-bottom: 10px;
    }
    .waw-poke-dlc-meta {
        align-items: center;
    }
    .waw-poke-screens-gallery {
        justify-content: center;
    }
    .waw-poke-rating-small {
        font-size: 0.85rem;
    }
}

/* Pagination */
.waw-poke-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.waw-poke-page-btn {
    padding: 8px 14px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    cursor: pointer;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.2s;
}

.waw-poke-page-btn:hover {
    background: #f0f2f5;
}

.waw-poke-page-btn.active {
    background: #3b4cca;
    color: #fff;
    border-color: #3b4cca;
}
