/* głównya strona*/

body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    transition: background 0.3s, color 0.3s;
}

:root {
    --bg-color: #f5f5f5;
    --text-color: #222;
    --header-bg: #fff;
    --header-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    --pro-btn-bg: #ff006e;
    --pro-btn-color: #fff;
    --pro-btn-hover: #d9045b;
}

body.dark-mode {
    --bg-color: #181a1b;
    --text-color: #f5f5f5;
    --header-bg: #23272a;
    --header-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--header-bg);
    box-shadow: var(--header-shadow);
    padding: 0 32px;
    height: 72px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.grenade-thumb {
    width: 100%;
    height: 140px;
    position: relative;
    overflow: hidden;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}
.grenade-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    display: block;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: #0077ff;
    text-decoration: none;
    letter-spacing: 2px;
    transition: color 0.2s;
    /* Dodane dla obrazka logo */
    display: flex;
    align-items: center;
    height: 48px;
}

.logo img, img.logo {
    height: 48px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    display: block;
}


.logo:hover {
    color: #0056b3;
}

.main-nav ul {
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.2s;
}

.main-nav a:hover {
    color: #0077ff;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.user-icon {
    background: none;
    border: none;
    font-size: 1.7rem;
    cursor: pointer;
    color: var(--text-color);
    transition: color 0.2s;
}

.user-icon:hover {
    color: #0077ff;
}

.pro-btn {
    background: var(--pro-btn-bg);
    color: var(--pro-btn-color);
    border: none;
    border-radius: 22px;
    padding: 10px 28px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(255, 0, 110, 0.08);
    transition: background 0.2s, box-shadow 0.2s;
}

.pro-btn:hover {
    background: var(--pro-btn-hover);
    box-shadow: 0 4px 16px rgba(255, 0, 110, 0.18);
}

.theme-toggle {
    background: none;
    border: none;
    font-size: 1.7rem;
    cursor: pointer;
    color: var(--text-color);
    transition: color 0.2s;
}

.theme-toggle:hover {
    color: #ff006e;
}

.lang-switcher {
    position: relative;
}

.lang-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
    margin-right: 2px;
    transition: color 0.2s;
}

.lang-btn:hover {
    color: #0077ff;
}

.lang-list {
    display: none;
    position: absolute;
    right: 0;
    top: 120%;
    background: var(--header-bg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
    border-radius: 8px;
    list-style: none;
    margin: 0;
    padding: 6px 0;
    min-width: 70px;
    z-index: 10;
}

.lang-list li {
    padding: 8px 18px;
    cursor: pointer;
    color: var(--text-color);
    font-size: 1rem;
    transition: background 0.2s, color 0.2s;
}

.lang-list li:hover {
    background: #0077ff;
    color: #fff;
}

.lang-switcher.active .lang-list {
    display: block;
}

.hero-section {
    width: 100vw;
    min-height: 420px;
    background: linear-gradient(120deg, #181a1b 80%, #ff006e 120%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.18);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 700px;
    width: 100%;
    text-align: center;
    padding: 60px 20px 40px 20px;
}

.hero-content h1 {
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 32px;
    letter-spacing: 1px;
    text-shadow: 0 2px 16px #ff006e44, 0 1px 2px #000;
}

.search-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 32px;
    gap: 0;
}

.search-bar input {
    padding: 12px 18px;
    border-radius: 24px 0 0 24px;
    border: none;
    font-size: 1.1rem;
    outline: none;
    width: 260px;
    background: #23272a;
    color: #fff;
    box-shadow: 0 2px 8px #0002;
}

.search-bar .search-btn {
    background: #ff006e;
    color: #fff;
    border: none;
    border-radius: 0 24px 24px 0;
    padding: 12px 22px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 2px 8px #ff006e33;
}

.search-bar .search-btn:hover {
    background: #d9045b;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 22px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.cta-btn.glow {
    background: #ff006e;
    color: #fff;
    border: none;
    border-radius: 22px;
    padding: 13px 32px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 0 16px 4px #ff006e55, 0 2px 8px #0002;
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
    outline: none;
    position: relative;
}

.cta-btn.glow:hover {
    background: #d9045b;
    box-shadow: 0 0 32px 8px #ff006e99, 0 4px 16px #0003;
    transform: translateY(-2px) scale(1.04);
}

.popular-skins {
    background: var(--header-bg);
    color: var(--text-color);
    padding: 48px 0 56px 0;
    text-align: center;
}

.popular-skins h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 36px;
    color: #ff006e;
    letter-spacing: 1px;
}

.skins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

.skin-card {
    background: #23272a;
    color: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 16px #0003;
    padding: 22px 16px 18px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: transform 0.18s, box-shadow 0.18s;
}

.skin-card:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 6px 32px #ff006e33, 0 2px 16px #0005;
}

.skin-card img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    margin-bottom: 14px;
    border-radius: 10px;
    background: #181a1b;
    box-shadow: 0 1px 6px #0002;
}

.skin-info {
    margin-bottom: 10px;
}

.skin-name {
    display: block;
    font-size: 1.08rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.skin-price {
    font-size: 1rem;
    color: #ff006e;
    font-weight: 500;
}

.compare-btn {
    background: #ff006e;
    color: #fff;
    border: none;
    border-radius: 16px;
    padding: 8px 22px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: 8px;
    box-shadow: 0 0 8px 2px #ff006e44;
    transition: background 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.compare-btn:hover {
    background: #d9045b;
    box-shadow: 0 0 16px 4px #ff006e77;
}

/* Tooltip */
.skin-card[data-tooltip]:hover:after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #23272a;
    color: #fff;
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    white-space: nowrap;
    box-shadow: 0 2px 8px #0005;
    margin-bottom: 8px;
    opacity: 0.97;
    pointer-events: none;
    z-index: 20;
}

.guides-section {
    background: var(--header-bg);
    color: var(--text-color);
    padding: 48px 0 32px 0;
    text-align: center;
}

.guides-section h2 {
    font-size: 2rem;
    color: #0077ff;
    margin-bottom: 36px;
}

.guides-grid {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.guide-card {
    background: #23272a;
    color: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px #0002;
    width: 320px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow: hidden;
    transition: transform 0.18s, box-shadow 0.18s;
}

.guide-card:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 6px 24px #0077ff33, 0 2px 12px #0004;
}

.guide-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.guide-info {
    padding: 18px 18px 16px 18px;
}

.guide-info h3 {
    font-size: 1.15rem;
    margin: 0 0 8px 0;
    color: #ff006e;
}

.guide-info p {
    font-size: 1rem;
    margin-bottom: 14px;
    color: #eee;
}

.read-more-btn {
    background: #0077ff;
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 8px 20px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 0 8px 2px #0077ff44;
}

.read-more-btn:hover {
    background: #0056b3;
    box-shadow: 0 0 16px 4px #0077ff77;
}

.all-guides-btn {
    display: inline-block;
    margin-top: 18px;
    background: #ff006e;
    color: #fff;
    border-radius: 18px;
    padding: 10px 32px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 0 12px 2px #ff006e55;
    transition: background 0.2s, box-shadow 0.2s;
}

.all-guides-btn:hover {
    background: #d9045b;
    box-shadow: 0 0 24px 6px #ff006e99;
}

.shops-section {
    background: #181a1b;
    color: #fff;
    padding: 48px 0 32px 0;
    text-align: center;
}

.shops-section h2 {
    font-size: 2rem;
    color: #ff006e;
    margin-bottom: 36px;
}

.shops-grid {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    padding: 35px;
}

.shop-card {
    background: #23272a;
    border-radius: 16px;
    box-shadow: 0 2px 12px #0002;
    width: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 22px 12px 18px 12px;
    transition: transform 0.18s, box-shadow 0.18s;
}

.shop-card:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 6px 24px #ff006e33, 0 2px 12px #0004;
}

.shop-card img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 10px;
    border-radius: 10px;
    background: #fff;
}

.shop-info {
    width: 100%;
    text-align: center;
}

.shop-name {
    display: block;
    font-size: 1.08rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.shop-rating {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: block;
}

.shop-btn,
.shop-buy-btn {
    display: inline-block;
    margin: 6px 4px 0 4px;
    background: #0077ff;
    color: #fff;
    border-radius: 14px;
    padding: 8px 16px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 0 8px 2px #0077ff44;
}

.shop-buy-btn {
    background: #ff006e;
    box-shadow: 0 0 8px 2px #ff006e44;
}

.shop-btn:hover {
    background: #0056b3;
    box-shadow: 0 0 16px 4px #0077ff77;
}

.shop-buy-btn:hover {
    background: #d9045b;
    box-shadow: 0 0 16px 4px #ff006e77;
}

.cta-section {
    background: linear-gradient(90deg, #ff006e 0%, #0077ff 100%);
    color: #fff;
    padding: 44px 0 44px 0;
    text-align: center;
    box-shadow: 0 2px 16px #0003;
}

.cta-content p {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 22px;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cta-pro-btn {
    background: #fff;
    color: #ff006e;
    border-radius: 22px;
    padding: 13px 32px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 0 16px 4px #fff8, 0 2px 8px #ff006e44;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.cta-pro-btn:hover {
    background: #ff006e;
    color: #fff;
    box-shadow: 0 0 32px 8px #fff, 0 4px 16px #ff006e99;
}

.cta-discord-btn {
    background: #23272a;
    color: #fff;
    border-radius: 22px;
    padding: 13px 32px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 0 16px 4px #23272a88, 0 2px 8px #0002;
    transition: background 0.2s, box-shadow 0.2s;
}

.cta-discord-btn:hover {
    background: #5865f2;
    box-shadow: 0 0 32px 8px #5865f2cc, 0 4px 16px #0003;
}

.main-footer {
    background: #181a1b;
    color: #fff;
    padding: 36px 0 18px 0;
    text-align: center;
    font-size: 1rem;
}

.footer-links {
    margin-bottom: 18px;
}

.footer-links a {
    color: #fff;
    margin: 0 18px;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #ff006e;
}

.footer-socials {
    margin-bottom: 18px;
}

.footer-socials a {
    color: #fff;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.2s;
}
-grid
.footer-socials a:hover {
    color: #0077ff;
}

.footer-meta {
    font-size: 0.95rem;
    color: #bbb;
    margin-top: 10px;
}

@media (max-width: 700px) {
    .hero-content h1 {
        font-size: 1.3rem;
    }

    .skins-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .main-header {
        flex-direction: column;
        height: auto;
        padding: 12px;
    }

    .main-nav ul {
        gap: 14px;
    }

    .pro-btn {
        padding: 8px 16px;
        font-size: 1rem;
    }

    .guides-grid,
    .shops-grid {
        flex-direction: column;
        align-items: center;
    }

    .guide-card,
    .shop-card {
        width: 95vw;
        max-width: 340px;
    }

    .cta-btns {
        flex-direction: column;
        gap: 14px;
    }
}

/* --- Porównywarka skinów --- */

.hero-section {
    background: var(--header-bg);
    color: var(--text-color);
    padding: 48px 0 32px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 2.2rem;
    margin-bottom: 12px;
    color: #0077ff;
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 22px;
    color: var(--text-color);
}

.search-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.search-bar input[type="text"] {
    padding: 12px 18px;
    font-size: 1.1rem;
    border: 1.5px solid #0077ff44;
    border-radius: 14px;
    outline: none;
    min-width: 260px;
    background: #fff;
    color: #222;
    transition: border 0.2s;
}

body.dark-mode .search-bar input[type="text"] {
    background: #23272a;
    color: #f5f5f5;
    border: 1.5px solid #0077ff33;
}

.search-bar input[type="text"]:focus {
    border: 1.5px solid #0077ff;
}

.search-btn {
    background: #0077ff;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 10px 22px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 0 8px 2px #0077ff44;
    transition: background 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.search-btn:hover {
    background: #0056b3;
    box-shadow: 0 0 16px 4px #0077ff77;
}

/* --- Filtry PRO --- */
.compare-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 32px;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    color: #23272a;
    padding: 18px 0 10px 0;
    margin-bottom: 18px;
    border-radius: 16px;
    font-size: 1.05rem;
}

body.dark-mode .compare-filters {
    background: #23272a;
    color: #f5f5f5;
}

.compare-filters label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.compare-filters input[type="checkbox"] {
    accent-color: #0077ff;
    width: 18px;
    height: 18px;
}

.compare-filters input[type="number"] {
    width: 60px;
    padding: 4px 8px;
    border-radius: 8px;
    border: 1px solid #bbb;
    margin: 0 4px;
    font-size: 1rem;
    background: #fff;
    color: #23272a;
}

body.dark-mode .compare-filters input[type="number"] {
    background: #181a1b;
    color: #f5f5f5;
    border: 1px solid #444;
}

.compare-filters select {
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 1rem;
    border: 1px solid #bbb;
    background: #fff;
    color: #23272a;
}

body.dark-mode .compare-filters select {
    background: #181a1b;
    color: #f5f5f5;
    border: 1px solid #444;
}

/* --- Tabela wyników --- */
.compare-results {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}

.compare-results table {
    width: 100%;
    max-width: 760px;
    border-collapse: separate;
    border-spacing: 0 10px;
    background: none;
}

.compare-results th,
.compare-results td {
    padding: 14px 18px;
    text-align: left;
    font-size: 1.08rem;
}

.compare-results th {
    background: #0077ff;
    color: #fff;
    border-radius: 10px 10px 0 0;
    font-weight: 700;
    letter-spacing: 1px;
}

.compare-results td {
    background: #fff;
    color: #23272a;
    border-radius: 10px;
    vertical-align: middle;
}

body.dark-mode .compare-results td {
    background: #23272a;
    color: #f5f5f5;
}

.compare-results img {
    vertical-align: middle;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 6px #0002;
}

.compare-btn {
    background: #ff006e;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 8px 20px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 0 8px 2px #ff006e44;
    cursor: pointer;
    display: inline-block;
}

.compare-btn:hover {
    background: #d9045b;
    box-shadow: 0 0 16px 4px #ff006e77;
}

/* --- CTA PRO --- */
.cta-section {
    display: flex;
    justify-content: center;
    margin-bottom: 36px;
}

.cta-content {
    background: #fff0fa;
    color: #d9045b;
    border-radius: 18px;
    padding: 24px 36px;
    text-align: center;
    box-shadow: 0 2px 12px #ff006e22;
    font-size: 1.15rem;
}

body.dark-mode .cta-content {
    background: #2a1a25;
    color: #ff006e;
    box-shadow: 0 2px 12px #ff006e44;
}

.cta-pro-btn {
    display: inline-block;
    margin-top: 14px;
    background: #ff006e;
    color: #fff;
    border-radius: 16px;
    padding: 10px 32px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 0 8px 2px #ff006e44;
}

.cta-pro-btn:hover {
    background: #d9045b;
    box-shadow: 0 0 16px 4px #ff006e77;
}

/* --- sklepy --- */

.shop-badge {
    display: inline-block;
    background: #ff006e;
    color: #fff;
    font-size: 0.85em;
    font-weight: 700;
    border-radius: 8px;
    padding: 2px 10px;
    margin-left: 8px;
    vertical-align: middle;
}

.shops-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 32px;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    color: #23272a;
    padding: 18px 0 10px 0;
    margin-bottom: 18px;
    border-radius: 16px;
    font-size: 1.05rem;
}

body.dark-mode .shops-filters {
    background: #23272a;
    color: #f5f5f5;
}

.shops-cta {
    margin: 36px auto 0 auto;
    text-align: center;
    font-size: 1.1rem;
    color: #0077ff;
}

.shops-affiliate-info {
    margin: 24px auto 0 auto;
    text-align: center;
    font-size: 0.98rem;
    color: #888;
}

/* --- Responsywność --- */
@media (max-width: 900px) {
    .compare-results table {
        max-width: 100%;
        font-size: 0.98rem;
    }

    .compare-filters {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 1.3rem;
    }

    .compare-results th,
    .compare-results td {
        padding: 8px 6px;
        font-size: 0.95rem;
    }

    .cta-content {
        padding: 14px 8px;
        font-size: 1rem;
    }
}

/* --- Konfiguracje pro graczy --- */

.config-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 24px;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    color: #23272a;
    padding: 18px 0 10px 0;
    margin-bottom: 18px;
    border-radius: 16px;
    font-size: 1.05rem;
}

body.dark-mode .config-filters {
    background: #23272a;
    color: #f5f5f5;
}

.config-filters input[type="text"] {
    padding: 10px 16px;
    border-radius: 12px;
    border: 1.5px solid #0077ff44;
    font-size: 1.05rem;
    background: #fff;
    color: #23272a;
    min-width: 200px;
    transition: border 0.2s;
}

body.dark-mode .config-filters input[type="text"] {
    background: #181a1b;
    color: #f5f5f5;
    border: 1.5px solid #0077ff33;
}

.config-filters input[type="text"]:focus {
    border: 1.5px solid #0077ff;
}

.config-filters select {
    border-radius: 10px;
    padding: 8px 16px;
    font-size: 1.05rem;
    border: 1px solid #bbb;
    background: #fff;
    color: #23272a;
}

body.dark-mode .config-filters select {
    background: #181a1b;
    color: #f5f5f5;
    border: 1px solid #444;
}

/* --- Lista konfiguracji --- */
.configs-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 28px 32px;
    justify-content: center;
    margin-bottom: 32px;
}

.config-card {
    background: #fff;
    color: #23272a;
    border-radius: 16px;
    box-shadow: 0 2px 12px #0002;
    width: 320px;
    display: flex;
    align-items: flex-start;
    padding: 18px 18px 16px 18px;
    transition: transform 0.18s, box-shadow 0.18s;
    position: relative;
    flex-direction: row;
    gap: 16px;
}

body.dark-mode .config-card {
    background: #23272a;
    color: #f5f5f5;
    box-shadow: 0 2px 12px #0006;
}

.config-card:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 6px 24px #0077ff33, 0 2px 12px #0004;
}

.config-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    background: #eee;
    margin-right: 10px;
    flex-shrink: 0;
    border: 2px solid #0077ff22;
}

body.dark-mode .config-avatar {
    background: #181a1b;
    border: 2px solid #0077ff44;
}

.config-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.config-nick {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0077ff;
}

body.dark-mode .config-nick {
    color: #4db3ff;
}

.config-team-badge {
    display: inline-block;
    background: #ff006e;
    color: #fff;
    font-size: 0.85em;
    font-weight: 700;
    border-radius: 8px;
    padding: 2px 10px;
    margin-left: 8px;
    vertical-align: middle;
}

.config-icons {
    display: flex;
    gap: 10px;
    font-size: 1.25rem;
    margin-bottom: 2px;
}

.config-actions {
    display: flex;
    gap: 10px;
    margin-top: 6px;
}

.config-btn {
    background: #0077ff;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 7px 18px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 0 8px 2px #0077ff44;
    cursor: pointer;
}

.config-btn:hover {
    background: #0056b3;
    box-shadow: 0 0 16px 4px #0077ff77;
}

.config-copy-btn,
.config-download-btn {
    background: #ff006e;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 7px 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 0 8px 2px #ff006e44;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.config-copy-btn:hover,
.config-download-btn:hover {
    background: #d9045b;
    box-shadow: 0 0 16px 4px #ff006e77;
}

/* --- Popularne configi --- */
.popular-configs h2 {
    text-align: center;
    margin-bottom: 18px;
    color: #ff006e;
    font-size: 1.3rem;
    font-weight: 700;
}

.popular-configs .configs-grid {
    margin-bottom: 0;
}

/* --- Responsywność --- */
@media (max-width: 900px) {
    .configs-grid {
        gap: 18px 10px;
    }

    .config-card {
        width: 98vw;
        max-width: 400px;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 14px 8px;
    }

    .config-avatar {
        margin: 0 0 10px 0;
    }
}

@media (max-width: 600px) {
    .config-filters {
        flex-direction: column;
        gap: 10px;
    }

    .config-card {
        width: 98vw;
        max-width: 98vw;
        padding: 10px 2vw;
    }
}

/* --- Esport & Kalendarz wydarzeń --- */

.esport-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 24px;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    color: #23272a;
    padding: 18px 0 10px 0;
    margin-bottom: 18px;
    border-radius: 16px;
    font-size: 1.05rem;
}

body.dark-mode .esport-filters {
    background: #23272a;
    color: #f5f5f5;
}

.esport-filters select {
    border-radius: 10px;
    padding: 8px 16px;
    font-size: 1.05rem;
    border: 1px solid #bbb;
    background: #fff;
    color: #23272a;
}

body.dark-mode .esport-filters select {
    background: #181a1b;
    color: #f5f5f5;
    border: 1px solid #444;
}

/* --- Kalendarz wydarzeń --- */
.calendar-section {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px #0077ff11;
    padding: 28px 18px 18px 18px;
    margin-bottom: 32px;
}

body.dark-mode .calendar-section {
    background: #181a1b;
    box-shadow: 0 2px 12px #0077ff33;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 18px;
}

.calendar-header button {
    background: #0077ff;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 6px 14px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.calendar-header button:hover {
    background: #0056b3;
}

.calendar-view-btn {
    background: #ff006e;
    margin-left: 18px;
}

.calendar-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: flex-start;
    min-height: 120px;
}

.calendar-day {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 12px 16px;
    min-width: 120px;
    min-height: 90px;
    position: relative;
    box-shadow: 0 1px 6px #0077ff11;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

body.dark-mode .calendar-day {
    background: #23272a;
    box-shadow: 0 1px 6px #0077ff33;
}

.calendar-date {
    font-size: 1.3rem;
    font-weight: bold;
    color: #0077ff;
    margin-bottom: 6px;
}

.calendar-event {
    font-size: 0.98rem;
    color: #23272a;
    margin-top: 2px;
}

body.dark-mode .calendar-event {
    color: #f5f5f5;
}

.calendar-add-btn {
    background: #ff006e;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 5px 14px;
    font-size: 0.98rem;
    font-weight: 600;
    margin-top: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.calendar-add-btn:hover {
    background: #d9045b;
}

.calendar-pro-info {
    margin-top: 18px;
    text-align: center;
    color: #0077ff;
    font-size: 1.05rem;
}

/* --- Nadchodzące mecze --- */
.upcoming-matches {
    margin: 36px 0 32px 0;
}

.upcoming-matches h2 {
    color: #0077ff;
    font-size: 1.2rem;
    margin-bottom: 12px;
    text-align: center;
}

.upcoming-matches table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: separate;
    border-spacing: 0 8px;
    background: none;
}

.upcoming-matches th,
.upcoming-matches td {
    padding: 10px 14px;
    text-align: left;
    font-size: 1.05rem;
}

.upcoming-matches th {
    background: #0077ff;
    color: #fff;
    border-radius: 8px 8px 0 0;
    font-weight: 700;
}

.upcoming-matches td {
    background: #fff;
    color: #23272a;
    border-radius: 8px;
    vertical-align: middle;
}

body.dark-mode .upcoming-matches td {
    background: #23272a;
    color: #f5f5f5;
}

.upcoming-matches a {
    color: #ff006e;
    font-weight: 600;
    text-decoration: none;
}

.upcoming-matches a:hover {
    text-decoration: underline;
}

/* --- News / Artykuły esportowe --- */
.esport-news h2 {
    text-align: center;
    margin-bottom: 18px;
    color: #ff006e;
    font-size: 1.3rem;
    font-weight: 700;
}

.news-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 28px 32px;
    justify-content: center;
    margin-bottom: 32px;
}

.news-card {
    background: #fff;
    color: #23272a;
    border-radius: 16px;
    box-shadow: 0 2px 12px #0002;
    width: 320px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow: hidden;
    transition: transform 0.18s, box-shadow 0.18s;
}

body.dark-mode .news-card {
    background: #23272a;
    color: #f5f5f5;
    box-shadow: 0 2px 12px #0006;
}

.news-card:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 6px 24px #ff006e33, 0 2px 12px #0004;
}

.news-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.news-info {
    padding: 18px 18px 16px 18px;
}

.news-info h3 {
    font-size: 1.15rem;
    margin: 0 0 8px 0;
    color: #0077ff;
}

.news-info p {
    font-size: 1rem;
    margin-bottom: 14px;
    color: #555;
}

body.dark-mode .news-info p {
    color: #eee;
}

.read-more-btn {
    background: #0077ff;
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 8px 20px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s;
}

.read-more-btn:hover {
    background: #0056b3;
    box-shadow: 0 0 16px 4px #0077ff77;
}

/* --- Responsywność --- */
@media (max-width: 900px) {

    .calendar-grid,
    .news-grid {
        gap: 14px 8px;
    }

    .news-card,
    .calendar-day {
        width: 98vw;
        max-width: 400px;
    }

    .upcoming-matches table {
        font-size: 0.98rem;
    }
}

@media (max-width: 600px) {
    .esport-filters {
        flex-direction: column;
        gap: 10px;
    }

    .calendar-section {
        padding: 10px 2vw;
    }

    .news-card,
    .calendar-day {
        width: 98vw;
        max-width: 98vw;
        padding: 0;
    }
}

/* --- Treningi granatów --- */

.maps-select {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin: 32px 0 18px 0;
}

.map-btn {
    background: #0077ff;
    color: #fff;
    border: none;
    border-radius: 16px;
    padding: 18px 32px;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 12px #0077ff22;
    transition: background 0.18s, box-shadow 0.18s, transform 0.18s;
    outline: none;
}

.map-btn:hover,
.map-btn.active {
    background: #ff006e;
    color: #fff;
    box-shadow: 0 6px 24px #ff006e33, 0 2px 12px #0004;
    transform: scale(1.04);
}


body.dark-mode {
    background: #23272a;
    color: #f5f5f5;
}

body.dark-mode  input[type="text"] {
    background: #181a1b;
    color: #f5f5f5;
    border: 1.5px solid #0077ff33;
}

body.dark-mode select {
    background: #181a1b;
    color: #f5f5f5;
    border: 1px solid #444;
}
/* --- Lista artykułów-akordeon --- */
.articles-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto 48px auto;
  padding: 0 12px;
}

.article-card {
  background: #fff;
  color: #23272a;
  border-radius: 16px;
  box-shadow: 0 2px 12px #0002;
  overflow: hidden;
  transition: box-shadow 0.18s, transform 0.18s;
  font-size: 1rem;
}

body.dark-mode .article-card {
  background: #23272a;
  color: #f5f5f5;
  box-shadow: 0 2px 12px #0006;
}

.article-card[open] {
  box-shadow: 0 6px 24px #0077ff33, 0 2px 12px #0004;
  transform: scale(1.01);
}

.article-card summary {
  display: flex;
  align-items: center;
  gap: 18px;
  cursor: pointer;
  padding: 18px 24px;
  outline: none;
  list-style: none;
  border-radius: 16px;
  transition: background 0.2s;
}

.article-card summary::-webkit-details-marker {
  display: none;
}

.article-thumb {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 12px;
  background: #181a1b;
  box-shadow: 0 1px 6px #0002;
  flex-shrink: 0;
}

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

.article-info h3 {
  font-size: 1.15rem;
  margin: 0 0 2px 0;
  color: #0077ff;
  font-weight: 700;
}

body.dark-mode .article-info h3 {
  color: #4db3ff;
}

.article-meta {
  font-size: 0.95rem;
  color: #888;
}

body.dark-mode .article-meta {
  color: #bbb;
}

.article-lead {
  font-size: 1.05rem;
  color: #ff006e;
  margin-bottom: 0;
}

.article-content {
  padding: 0 24px 18px 132px;
  color: inherit;
  font-size: 1.08rem;
  animation: fadeIn 0.3s;
}
/* --- Akordeon poradników: lepszy wygląd slotów artykułów --- */
.articles-accordion-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
    max-width: 900px;
    margin: 0 auto 48px auto;
    padding: 0 12px;
}

.guide-accordion-article {
    background: #f4f6fa;
    border-radius: 18px;
    box-shadow: 0 2px 16px #0001, 0 1.5px 6px #0077ff11;
    overflow: hidden;
    transition: box-shadow 0.18s, background 0.18s, transform 0.18s;
    border: 1.5px solid #e0e6ef;
    font-size: 1rem;
    position: relative;
}

body.dark-mode .guide-accordion-article {
    background: #232a36;
    border-color: #2e3642;
    box-shadow: 0 2px 16px #0005, 0 1.5px 6px #0077ff33;
}

.guide-accordion-article[open] {
    box-shadow: 0 8px 32px #0077ff22, 0 2px 16px #0002;
    background: #eaf1fb;
    transform: scale(1.012);
    border-color: #b6d2f7;
}

body.dark-mode .guide-accordion-article[open] {
    background: #273042;
    border-color: #4db3ff;
}

.guide-accordion-article summary {
    display: flex;
    align-items: center;
    gap: 18px;
    cursor: pointer;
    padding: 22px 32px;
    outline: none;
    list-style: none;
    border-radius: 18px;
    transition: background 0.2s;
    font-weight: 500;
    user-select: none;
    position: relative;
}

.guide-accordion-article summary::-webkit-details-marker {
    display: none;
}
.guide-accordion-article summary::after {
    content: "▼";
    font-size: 1.1em;
    color: #0077ff;
    margin-left: auto;
    transition: transform 0.2s;
}
.guide-accordion-article[open] summary::after {
    transform: rotate(-180deg);
    color: #ff006e;
}

body.dark-mode .guide-accordion-article summary::after {
    color: #4db3ff;
}
body.dark-mode .guide-accordion-article[open] summary::after {
    color: #ffb3e6;
}

.guide-accordion-article summary:hover,
.guide-accordion-article summary:focus {
    background: #e0e6ef;
}
body.dark-mode .guide-accordion-article summary:hover,
body.dark-mode .guide-accordion-article summary:focus {
    background: #2e3642;
}

.guide-accordion-article summary img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    background: #dbeafe;
    box-shadow: 0 1px 8px #0077ff11;
    flex-shrink: 0;
    border: 2px solid #fff;
    transition: border-color 0.2s;
}
body.dark-mode .guide-accordion-article summary img {
    background: #232a36;
    border-color: #2e3642;
}

.guide-accordion-article[open] summary img {
    border-color: #0077ff;
}
body.dark-mode .guide-accordion-article[open] summary img {
    border-color: #4db3ff;
}

.guide-accordion-article summary h2 {
    font-size: 1.18rem;
    margin: 0 0 4px 0;
    color: #0077ff;
    font-weight: 700;
    letter-spacing: 0.01em;
}
body.dark-mode .guide-accordion-article summary h2 {
    color: #4db3ff;
}

.guide-accordion-article .guide-meta {
    font-size: 0.98rem;
    color: #888;
}
body.dark-mode .guide-accordion-article .guide-meta {
    color: #bbb;
}

.guide-accordion-article .guide-category {
    background: #ff006e;
    color: #fff;
    border-radius: 8px;
    padding: 2px 12px;
    font-size: 0.95em;
    font-weight: 600;
    margin-left: 8px;
    letter-spacing: 0.01em;
    box-shadow: 0 1px 4px #ff006e22;
}

.guide-accordion-article[open] .guide-category {
    background: #0077ff;
    box-shadow: 0 1px 6px #0077ff33;
}
body.dark-mode .guide-accordion-article[open] .guide-category {
    background: #4db3ff;
    color: #232a36;
}

.guide-accordion-article .guide-article {
    padding: 0 32px 24px 128px;
    color: inherit;
    font-size: 1.08rem;
    animation: fadeIn 0.3s;
    background: transparent;
}
@media (max-width: 700px) {
    .guide-accordion-article summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 14px 10px;
    }
    .guide-accordion-article .guide-article {
        padding: 0 10px 18px 10px;
    }
    .guide-accordion-article summary img {
        width: 60px;
        height: 60px;
    }
}

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

@media (max-width: 700px) {
  .article-card summary {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 8px;
  }
  .article-content {
    padding: 0 12px 12px 12px;
  }
  .article-thumb {
    width: 70px;
    height: 70px;
  }
}

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

/* --- Sloty treningów: szersze i bardziej widoczne --- */
.grenades-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    padding: 32px 0;
}

.grenade-card {
    background: #232a36;
    color: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 24px #0008, 0 2px 12px #0077ff22;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    padding: 28px 28px 22px 28px; /* równo z obu stron */
    transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
    position: relative;
    border: 2px solid #181a1b;
    width: 100%;
    gap: 6px;
    align-items: center;
    text-align: center;
}

/* Upewnij się, że .grenade-info nie ma dodatkowego paddingu z lewej/prawej */
.grenade-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    text-align: center;
    padding: 0; /* lub padding: 18px 0 16px 0; jeśli chcesz trochę góra/dół */
}

.grenade-card:hover {
    background: #273042;
    transform: translateY(-6px) scale(1.025);
    box-shadow: 0 8px 32px #0077ff44, 0 2px 12px #ff006e33;
    border-color: #0077ff;
}

.grenade-video {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 10px 0;
    min-height: 180px;
    /* Dodaj: */
    padding: 0;
}

.grenade-video iframe {
    width: 320px;
    max-width: 90vw;
    height: 180px;
    border-radius: 12px;
    box-shadow: 0 2px 8px #0077ff22;
    background: #000;
    display: block;
    margin: 0 auto;
}
.grenade-card
.grenade-video iframe {
    width: 100%;
    height: 236px; /* proporcja 16:9 dla szerokości 420px */
    border-radius: 12px;
    box-shadow: 0 2px 8px #0077ff22;
    background: #000;
    display: block;
    margin: 0 auto;
}                                                                                                                                                                                                                                                                                                                                                                   
.grenade-type-icon {
    font-size: 2.2rem;
    position: absolute;
    right: 18px;
    top: 18px;
    color: #ff006e;
    background: #fff;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px #ff006e22;
}
.weapon-select option {
    color: #bfc4cc; /* jaśniejszy szary */
    background: #fff;
}
body.dark-mode .weapon-select option {
    color: #e0e4ea; /* jaśniejszy szary dla dark mode */
    background: #232a36;
}
.grenade-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center; /* wyśrodkowanie napisów */
    text-align: center;  /* wyśrodkowanie tekstu */
}

.grenade-place {
    font-size: 1.13rem;
    font-weight: 700;
    color: #4db3ff;
    margin-bottom: 2px;
}

.grenade-map {
    font-size: 1.01rem;
    color: #bbb;
    margin-bottom: 6px;
}

.grenade-video {
    margin: 10px 0 10px 0;
    width: 100%;
}

.grenade-steps {
    font-size: 1rem;
    color: #eee;
    margin-top: 8px;
}

.grenade-steps ol {
    margin: 6px 0 0 18px;
    padding: 0;
}

.empty-slot {
    background: #181a1b;
    color: #888;
    border: 2px dashed #444;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 220px;
}

.empty-slot .grenade-thumb {
    justify-content: center;
}

@media (max-width: 1100px) {
    .grenade-card {
        width: 98vw;
        max-width: 520px;
        padding: 18px 10px 14px 10px;
    }
}
@media (max-width: 700px) {
    .grenades-grid {
        gap: 14px 4px;
    }
    .grenade-card {
        width: 98vw;
        max-width: 98vw;
        padding: 10px 2vw;
    }
    .grenade-card .grenade-thumb img {
        width: 80px;
        height: 80px;
    }
    .grenade-type-icon {
        width: 32px;
        height: 32px;
        font-size: 1.3rem;
        right: 8px;
        top: 8px
    }
}
.shops-opi {
    justify-content: center;
    padding: 40px;
    color: rgb(168, 168, 168);
}
.pro-accordion summary img {
    width: 38px;
    height: 38px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 12px;
    background: #232a36;
    border: 2px solid #0077ff22;
    box-shadow: 0 1px 6px #0077ff11;
    flex-shrink: 0;
}
.grenade-card {
    background: #232a36;
    color: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 24px #0008, 0 2px 12px #0077ff22;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    padding: 28px 28px 22px 28px;
    transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
    position: relative;
    border: 2px solid #181a1b;
    width: 100%;
    max-width: 420px; /* dodaj to! */
    gap: 6px;
    align-items: center;
    text-align: center;
    margin: 0 auto; /* wyśrodkowanie slotu w gridzie */
}

body.dark-mode .grenade-card {
    background: #23272a;
    color: #f5f5f5;
    box-shadow: 0 2px 12px #0006;
}

.grenade-card:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 6px 24px #0077ff33, 0 2px 12px #0004;
}

.grenade-thumb {
    width: 100%;
    height: 140px;
    position: relative;
    overflow: hidden;
}

.grenade-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}

.grenade-type-icon {
    position: absolute;
    bottom: 10px;
    right: 16px;
    font-size: 2.1rem;
    background: #fff;
    color: #0077ff;
    border-radius: 50%;
    padding: 4px 10px;
    box-shadow: 0 2px 8px #0077ff22;
}

body.dark-mode .grenade-type-icon {
    background: #23272a;
    color: #ff006e;
    box-shadow: 0 2px 8px #ff006e33;
}

.grenade-info {
    padding: 18px 18px 16px 18px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.grenade-place {
    font-size: 1.13rem;
    font-weight: 700;
    color: #0077ff;
}

body.dark-mode .grenade-place {
    color: #4db3ff;
}

.grenade-map,
.grenade-meta {
    font-size: 0.98rem;
    color: #888;
}

body.dark-mode .grenade-map,
body.dark-mode .grenade-meta {
    color: #ccc;
}

.grenade-video {
    margin: 10px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px #0077ff22;
}

.grenade-steps {
    font-size: 0.98rem;
    margin-bottom: 8px;
}

.grenade-steps ol {
    margin: 6px 0 0 18px;
    padding: 0;
}

.fav-btn {
    background: #ff006e;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 8px 20px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 0 8px 2px #ff006e44;
}

.fav-btn:hover {
    background: #d9045b;
    box-shadow: 0 0 16px 4px #ff006e77;
}

/* --- Responsywność --- */
@media (max-width: 900px) {
    .maps-select {
        gap: 10px;
    }

    .grenades-grid {
        gap: 18px 10px;
    }

    .grenade-card {
        width: 98vw;
        max-width: 400px;
    }
}

@media (max-width: 600px) {

    .maps-select,
    .grenade-filters {
        flex-direction: column;
        gap: 10px;
    }

    .grenade-card {
        width: 98vw;
        max-width: 98vw;
        padding: 0;
    }

    .grenade-info {
        padding: 10px 8px 10px 8px;
    }
}

/* --- Poradnik / artykuł --- */

.breadcrumb {
    margin: 24px 0 0 0;
    padding-left: 18px;
    font-size: 1rem;
}

.breadcrumb a {
    color: #0077ff;
    text-decoration: none;
    font-weight: 600;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.guide-article {
    max-width: 820px;
    margin: 0 auto 48px auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px #0002;
    padding: 32px 28px 24px 28px;
}

body.dark-mode .guide-article {
    background: #23272a;
    color: #f5f5f5;
    box-shadow: 0 2px 12px #0006;
}

.guide-article header h1 {
    font-size: 2.1rem;
    margin-bottom: 10px;
    color: #0077ff;
}

.guide-meta {
    font-size: 0.98rem;
    color: #888;
    margin-bottom: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

body.dark-mode .guide-meta {
    color: #bbb;
}

.guide-category {
    background: #ff006e;
    color: #fff;
    border-radius: 8px;
    padding: 2px 12px;
    font-size: 0.95em;
    font-weight: 600;
    margin-left: 8px;
}

.guide-banner {
    width: 100%;
    margin-bottom: 24px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px #0077ff22;
}

.guide-banner img,
.guide-banner video {
    width: 100%;
    display: block;
    border-radius: 14px;
    object-fit: cover;
    max-height: 340px;
}

.guide-content h2,
.guide-content h3 {
    color: #ff006e;
    margin-top: 24px;
    margin-bottom: 10px;
}

.guide-content p,
.guide-content ol,
.guide-content ul {
    font-size: 1.08rem;
    margin-bottom: 12px;
}

.guide-content img.guide-img {
    max-width: 100%;
    border-radius: 10px;
    margin: 18px 0;
    box-shadow: 0 2px 8px #0077ff22;
}

.guide-video {
    margin: 18px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px #0077ff22;
}

.guide-note {
    background: #fff0fa;
    color: #d9045b;
    border-left: 5px solid #ff006e;
    border-radius: 10px;
    padding: 12px 18px;
    margin: 18px 0;
    font-size: 1.05rem;
}

body.dark-mode .guide-note {
    background: #2a1a25;
    color: #ff006e;
    border-left: 5px solid #ff006e;
}

.guide-code {
    background: #181a1b;
    color: #fff;
    border-radius: 8px;
    padding: 12px 18px;
    font-family: 'Fira Mono', 'Consolas', monospace;
    font-size: 1.05rem;
    margin: 14px 0;
    overflow-x: auto;
}

.guide-content pre {
    white-space: pre-wrap;
    word-break: break-all;
}

.guide-related {
    margin: 36px 0 0 0;
}

.guide-related h2 {
    color: #0077ff;
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.related-guides {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.related-guide-card {
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 1px 6px #0077ff11;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    min-width: 220px;
    max-width: 320px;
}

body.dark-mode .related-guide-card {
    background: #23272a;
    color: #f5f5f5;
    box-shadow: 0 1px 6px #0077ff33;
}

.related-guide-card img {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
}

.related-guide-card h3 {
    font-size: 1.05rem;
    margin: 0 0 6px 0;
    color: #ff006e;
}

.related-guide-card .read-more-btn {
    background: #0077ff;
    color: #fff;
    border-radius: 10px;
    padding: 5px 14px;
    font-size: 0.98rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
    margin-top: 4px;
    display: inline-block;
}

.related-guide-card .read-more-btn:hover {
    background: #0056b3;
}

.guide-comments {
    margin: 38px 0 0 0;
}

.guide-comments h2 {
    color: #0077ff;
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.comment-form textarea {
    border-radius: 10px;
    border: 1.5px solid #0077ff44;
    padding: 10px 14px;
    font-size: 1.05rem;
    min-height: 60px;
    resize: vertical;
    background: #fff;
    color: #23272a;
}

body.dark-mode .comment-form textarea {
    background: #181a1b;
    color: #f5f5f5;
    border: 1.5px solid #0077ff33;
}

.comment-form button {
    background: #0077ff;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 8px 20px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    align-self: flex-end;
    transition: background 0.2s;
}

.comment-form button:hover {
    background: #0056b3;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.comment {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 10px 16px;
    box-shadow: 0 1px 6px #0077ff11;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
}

body.dark-mode .comment {
    background: #23272a;
    color: #f5f5f5;
    box-shadow: 0 1px 6px #0077ff33;
}

.comment-nick {
    font-weight: 700;
    color: #0077ff;
}

.comment-date {
    font-size: 0.92rem;
    color: #888;
    margin-left: 8px;
}

body.dark-mode .comment-date {
    color: #bbb;
}

.comment-report,
.comment-reply {
    background: none;
    border: none;
    color: #ff006e;
    font-size: 0.98rem;
    font-weight: 600;
    cursor: pointer;
    margin-right: 10px;
    transition: color 0.2s;
}

.comment-report:hover,
.comment-reply:hover {
    color: #d9045b;
}

.guide-social {
    margin: 38px 0 0 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 18px;
    font-size: 1.1rem;
}

.guide-social a {
    font-size: 1.3rem;
    text-decoration: none;
    margin-right: 6px;
    color: #0077ff;
    transition: color 0.2s;
}

.guide-social a:hover {
    color: #ff006e;
}

.fav-btn {
    background: #ff006e;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 8px 20px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 0 8px 2px #ff006e44;
}

.fav-btn:hover {
    background: #d9045b;
    box-shadow: 0 0 16px 4px #ff006e77;
}

.guide-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 1.05rem;
}

.stars button {
    background: none;
    border: none;
    color: #ffb400;
    font-size: 1.4rem;
    cursor: pointer;
    transition: color 0.2s;
    padding: 0 2px;
}

.stars button:hover,
.stars button:focus {
    color: #ff006e;
    outline: none;
}

/* --- Responsywność --- */
@media (max-width: 900px) {
    .guide-article {
        padding: 18px 4vw 18px 4vw;
    }

    .related-guides {
        gap: 10px;
    }
}

@media (max-width: 600px) {
    .guide-article {
        padding: 8px 2vw 8px 2vw;
    }

    .guide-article header h1 {
        font-size: 1.3rem;
    }

    .guide-banner img {
        max-height: 180px;
    }

    .related-guides {
        flex-direction: column;
        gap: 10px;
    }
}
.pro-configs-section {
    max-width: 1200px;
    margin: 40px auto 48px auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px #0002;
    padding: 32px 28px 24px 28px;
}
body.dark-mode .pro-configs-section {
    background: #23272a;
    color: #f5f5f5;
    box-shadow: 0 2px 12px #0006;
}
.pro-configs-section h1 {
    font-size: 2.1rem;
    margin-bottom: 18px;
    color: #0077ff;
    text-align: center;
}
.pro-accordion details {
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 14px;
    box-shadow: 0 1px 6px #0077ff11;
    padding: 0;
    transition: background 0.2s;
}
body.dark-mode .pro-accordion details {
    background: #23272a;
    color: #f5f5f5;
    box-shadow: 0 1px 6px #0077ff33;
}
.pro-accordion summary {
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: 700;
    padding: 18px 24px;
    outline: none;
    color: #0077ff;
    display: flex;
    align-items: center;
    gap: 16px;
    border-radius: 12px;
    transition: background 0.2s;
}
.pro-accordion details[open] summary {
    background: #e6f0ff;
}
body.dark-mode .pro-accordion details[open] summary {
    background: #1a2233;
}
.pro-config-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 18px 0;
    background: none;
    font-size: 0.98rem;
    overflow-x: auto;
}
.pro-config-table th, .pro-config-table td {
    padding: 8px 10px;
    text-align: left;
    border-bottom: 1px solid #eee;
    white-space: nowrap;
}
body.dark-mode .pro-config-table th, body.dark-mode .pro-config-table td {
    border-bottom: 1px solid #333;
}
.pro-config-table th {
    background: #0077ff;
    color: #fff;
    font-weight: 700;
    border-radius: 8px 8px 0 0;
}
.pro-config-table td {
    background: transparent;
    color: inherit;
}
@media (max-width: 900px) {
    .pro-configs-section {
        padding: 12px 2vw;
    }
    .pro-config-table th, .pro-config-table td {
        padding: 6px 2px;
        font-size: 0.92rem;
    }
    .pro-accordion summary {
        padding: 12px 10px;
        font-size: 1rem;
    }
    .pro-config-table {
        font-size: 0.85rem;
    }
}
/* --- SKLEPY: styl jak treningi (ciemniejsze karty, większe, ładniejsze) --- */
.shops-section {
    background: #23272a;
    color: #fff;
    padding: 48px 0 32px 0;
    text-align: center;
}

.shops-section h1 {
    font-size: 2rem;
    color: #ff006e;
    margin-bottom: 18px;
    letter-spacing: 1px;
}

.shops-subtitle {
    font-size: 1.15rem;
    color: #bbb;
    margin-bottom: 36px;
}

.shops-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 32px;
    align-items: center;
    justify-content: center;
    background: #23272a;
    color: #f5f5f5;
    padding: 18px 0 10px 0;
    margin-bottom: 28px;
    border-radius: 16px;
    font-size: 1.05rem;
    box-shadow: 0 2px 12px #0005;
}

.shops-filters label,
.shops-filters select {
    background: #181a1b;
    color: #f5f5f5;
    border-radius: 8px;
    padding: 8px 16px;
    border: none;
    font-size: 1rem;
    margin: 0 4px;
}

.shops-filters select {
    border: none;
    outline: none;
}

.shops-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    padding: 35px 0;
}

.shop-card {
    background: #181a1b;
    color: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 24px #0008, 0 2px 12px #0077ff22;
    width: 340px;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 18px 24px 18px;
    transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
    position: relative;
    border: 2px solid #23272a;
}

.shop-card:hover {
    background: #232a36;
    transform: translateY(-6px) scale(1.035);
    box-shadow: 0 8px 32px #0077ff44, 0 2px 12px #ff006e33;
    border-color: #0077ff;
}

.shop-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 18px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 2px 12px #0077ff11;
    border: 2px solid #fff;
    transition: border-color 0.2s;
}

.shop-card:hover img {
    border-color: #0077ff;
}

.shop-info {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.shop-name {
    display: block;
    font-size: 1.18rem;
    font-weight: 700;
    margin-bottom: 2px;
    color: #4db3ff;
    letter-spacing: 0.01em;
}

.shop-badge {
    background: #ff006e;
    color: #fff;
    font-size: 0.85em;
    font-weight: 700;
    border-radius: 8px;
    padding: 2px 10px;
    margin-left: 8px;
    vertical-align: middle;
    box-shadow: 0 1px 6px #ff006e33;
}

.shop-rating {
    color: #ffd700;
    font-size: 1.1rem;
    margin-bottom: 2px;
    display: block;
}

.shop-reviews {
    color: #bbb;
    font-size: 0.98rem;
    margin-bottom: 2px;
}

.shop-info p {
    color: #eee;
    font-size: 1rem;
    margin: 8px 0 10px 0;
}

.shop-btn,
.shop-buy-btn {
    display: inline-block;
    margin: 6px 4px 0 4px;
    background: #0077ff;
    color: #fff;
    border-radius: 14px;
    padding: 10px 22px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 0 8px 2px #0077ff44;
    border: none;
    cursor: pointer;
}

.shop-buy-btn {
    background: #ff006e;
    box-shadow: 0 0 8px 2px #ff006e44;
}

.shop-btn:hover {
    background: #0056b3;
    box-shadow: 0 0 16px 4px #0077ff77;
}

.shop-buy-btn:hover {
    background: #d9045b;
    box-shadow: 0 0 16px 4px #ff006e77;
}

.shops-opi {
    justify-content: center;
    padding: 24px 0 0 0;
    color: #aaa;
    font-size: 1.05rem;
}

.shops-cta {
    margin: 36px auto 0 auto;
    text-align: center;
    font-size: 1.1rem;
    color: #4db3ff;
}

.shops-cta .cta-pro-btn {
    background: #ff006e;
    color: #fff;
    border-radius: 16px;
    padding: 10px 32px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    margin-left: 18px;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 0 8px 2px #ff006e44;
    display: inline-block;
}

.shops-cta .cta-pro-btn:hover {
    background: #d9045b;
    box-shadow: 0 0 16px 4px #ff006e77;
}

.shops-affiliate-info {
    margin: 24px auto 0 auto;
    text-align: center;
    font-size: 0.98rem;
    color: #888;
    background: #181a1b;
    border-radius: 12px;
    padding: 10px 18px;
    max-width: 600px;
    box-shadow: 0 1px 6px #0077ff11;
}

@media (max-width: 900px) {
    .shops-grid {
        gap: 18px 10px;
    }
    .shop-card {
        width: 98vw;
        max-width: 400px;
        padding: 18px 8px 14px 8px;
    }
}

@media (max-width: 600px) {
    .shops-section {
        padding: 18px 0 12px 0;
    }
    .shops-grid {
        gap: 10px 4px;
    }
    .shop-card {
        width: 98vw;
        max-width: 98vw;
        padding: 10px
    }
}

.zd_trening{
    height: 15px;
    width: auto;
}

.weapon-select-section {
    background: #f8f9fa;
    border-radius: 18px;
    box-shadow: 0 2px 12px #0077ff22;
    max-width: 500px;
    margin: 32px auto 24px auto;
    padding: 32px 24px;
    text-align: center;
}
.weapon-select-section h2 {
    color: #0077ff;
    font-size: 1.5rem;
    margin-bottom: 18px;
}
.weapon-select-label {
    font-size: 1.08rem;
    color: #444;
    margin-bottom: 8px;
    display: block;
}
.weapon-select {
    width: 100%;
    padding: 10px 12px;
    font-size: 1.08rem;
    border-radius: 8px;
    border: 1px solid #0077ff44;
    background: #fff;
    color: #23272a;
    margin-bottom: 12px;
    box-shadow: 0 1px 6px #0077ff11;
    outline: none;
    transition: border 0.2s;
}
.weapon-select:focus {
    border: 1.5px solid #0077ff;
}
.weapon-select-section {
    background: #eaf1fb; 
    border-radius: 18px;
    box-shadow: 0 2px 12px #0077ff22;
    max-width: 500px;
    margin: 32px auto 24px auto;
    padding: 32px 24px;
    text-align: center;
}

body.dark-mode .weapon-select-section {
    background: #232a36; 
}
.weapon-select optgroup {
    color: #ff006e;
    font-weight: bold;
    font-size: 1.08rem;
}
.weapon-select option {
    color: #23272a;
    font-size: 1.05rem;
}
@media (max-width: 600px) {
    .weapon-select-section {
        padding: 14px 6px;
        max-width: 98vw;
    }
    .weapon-select {
        font-size: 1rem;
        padding: 8px
    }
}
/* --- Fix przycisków na telefonie: wersja ulepszona --- */
@media (max-width: 600px) {
    .header-actions {
        flex-direction: row;
        gap: 2px;
        width: auto;
        align-items: center;
        margin-top: 0;
    }
    .pro-btn,
    .theme-toggle,
    .user-icon {
        width: 32px;
        min-width: 32px;
        max-width: 32px;
        height: 32px;
        padding: 0;
        font-size: 1.1rem;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        box-shadow: none;
    }
    .pro-btn {
        background: #ff006e;
        color: #fff;
        font-size: 1.1rem;
        font-weight: bold;
        border-radius: 50%;
        padding: 0;
    }
    .pro-btn span,
    .theme-toggle span {
        display: none; /* ukryj tekst, zostaw tylko ikonę */
    }
    .main-nav ul {
        flex-direction: column;
        gap: 8px;
        width: 100%;
        align-items: stretch;
        margin: 0;
        padding: 0;
    }
    .main-nav a {
        width: 96%;
        display: block;
        text-align: center;
        padding: 12px 0;
        margin: 0 auto 6px auto;
        border-radius: 12px;
    }
    .cta-btns {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        align-items: stretch;
        margin-top: 10px;
    }
    .cta-btn,
    .cta-btn.glow,
    .cta-pro-btn,
    .cta-discord-btn {
        width: 96%;
        min-width: 0;
        box-sizing: border-box;
        margin: 0 auto 8px auto;
        display: block;
        font-size: 1.05rem;
        padding: 12px 0;
    }
    .map-btn {
        width: 96%;
        min-width: 0;
        box-sizing: border-box;
        margin: 0 auto 8px auto;
        font-size: 1rem;
        padding: 12px 0;
        display: block;
    }
    .compare-btn,
    .shop-btn,
    .shop-buy-btn {
        width: 96%;
        min-width: 0;
        box-sizing: border-box;
        margin: 0 auto 8px auto;
        padding: 10px 0;
        font-size: 1rem;
        display: block;
    }
    /* Dodatkowo: niech nie skleja się z innymi elementami */
    .header-actions > *:last-child,
    .cta-btns > *:last-child {
        margin-bottom: 0;
    }
}

/* --- Hamburger menu --- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 8px;
    z-index: 120;
}
.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background: #0077ff;
    margin: 4px 0;
    border-radius: 2px;
    transition: all 0.3s;
}
@media (max-width: 700px) {
    .main-nav ul {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--header-bg);
        flex-direction: column;
        gap: 0;
        align-items: stretch;
        box-shadow: 0 4px 24px #0002;
        display: none;
        z-index: 110;
        padding: 0;
        margin: 0;
    }
    .main-nav ul.open {
        display: flex;
    }
    .main-nav a {
        padding: 18px 0;
        border-bottom: 1px solid #eee;
        font-size: 1.15rem;
    }
    .hamburger {
        display: flex;
    }
    .main-nav {
        position: relative;
        width: 100%;
    }
    .main-header {
        flex-direction: row;
        height: 54px;
        padding: 0 8px;
    }
    .logo img, img.logo {
        height: 36px;
        max-width: 120px;
    }
    .header-actions {
        gap: 4px;
    }
}

@media (max-width: 700px) {
    .main-header {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        height: 54px;
        padding: 0 8px;
        position: relative;
        z-index: 100;
    }
    .logo img, img.logo {
        height: 34px;
        max-width: 110px;
    }
    .header-actions {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 6px;
        margin-left: auto;
        margin-right: 0;
        height: 38px;
    }
    .pro-btn,
    .theme-toggle,
    .user-icon {
        width: 32px;
        min-width: 32px;
        max-width: 32px;
        height: 32px;
        padding: 0;
        font-size: 1.1rem;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        box-shadow: none;
        overflow: hidden;
        white-space: nowrap;
    }
       .pro-btn {
        width: auto;
        min-width: 90px;
        max-width: 140px;
        padding: 0 16px;
        border-radius: 18px;
        font-size: 1rem;
        font-weight: bold;
        background: #ff006e;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .pro-btn::after {
        content: "";
        display: none;
    }
    .pro-btn span {
        display: inline;
    }
    .theme-toggle span {
        font-size: 1.1rem;
    }
    .user-icon span {
        font-size: 1.1rem;
    }
}