/*
Theme Name: Clones.bet
Description: Szablon clones.bet
Version: 1.2
Author: Clones.bet
Text Domain: clones-bet
Domain Path: /languages
Requires at least: 5.8
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: dark, modern, responsive, business, directory, betting, clones
*/

/* === RESET & BASE STYLES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(to bottom right, #131722, #1a2339, #1e2a4a, #1a2339, #131722);
    background-attachment: fixed;
    color: #e5e9f0;
    line-height: 1.6;
    font-weight: 400;
    min-height: 100vh;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #ffffff;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
    margin-bottom: 1rem;
    color: #b3b3b3;
}

a {
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #3b82f6;
    text-decoration: underline;
}

/* === LAYOUT CONTAINERS === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container-fluid {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

/* === CARDS === */
.card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.card-header {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-content {
    padding: 0;
}

/* === HEADER === */
.site-header {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(96, 165, 250, 0.2);
    padding: 0.25rem 0;
    position: sticky;
    top: 0;
    z-index: 99990;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    min-height: 60px;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8, #1e40af);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none !important;
    display: inline-block;
}

.site-logo:hover {
    text-decoration: none !important;
}

/* === NAVIGATION === */
.main-navigation {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
    margin: 0;
}

.nav-menu a {
    color: #e5e5e5;
    font-weight: 500;
    padding: 0.4rem 0;
    transition: color 0.2s ease;
    font-size: 0.9rem;
}

.nav-menu a:hover {
    color: #60a5fa;
    text-decoration: none;
}

/* === PLATFORM DROPDOWN === */
.platform-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    background: linear-gradient(135deg, #1e2a4a, #1a2339);
    border: 1px solid rgba(96, 165, 250, 0.3);
    color: #ffffff;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.dropdown-toggle:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-color: #60a5fa;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.3);
}

.dropdown-toggle svg {
    transition: transform 0.3s ease;
}

.dropdown-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: 280px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(20px);
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.25rem;
    color: #e5e5e5;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.dropdown-item:first-child {
    border-radius: 12px 12px 0 0;
}

.dropdown-item:last-child {
    border-bottom: none;
    border-radius: 0 0 12px 12px;
}

.dropdown-item:hover {
    background: rgba(96, 165, 250, 0.1);
    color: #60a5fa;
    border-radius: 6px;
}

/* === TELEGRAM LINK === */
.telegram-link {
    background: linear-gradient(135deg, #229ED9, #0088cc);
    color: #ffffff !important;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(34, 158, 217, 0.3);
    font-size: 0.85rem;
}

.telegram-link:hover {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-color: #60a5fa;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

/* === MOBILE MENU TOGGLE === */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hamburger span {
    width: 20px;
    height: 2px;
    background: #ffffff;
    transition: 0.3s;
}

/* === SEARCH BAR === */
.search-section {
    padding: 1.5rem 0;
    position: relative;
    z-index: 10000;
}

.search-container {
    max-width: 450px;
    margin: 0 auto;
    position: relative;
    z-index: 10000;
    isolation: isolate;
}

.search-form {
    position: relative;
    display: flex;
    z-index: 10000;
}

.search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;    
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.search-input:focus {
    outline: none;
    border-color: #60a5fa;
    box-shadow: 0 4px 20px rgba(96, 165, 250, 0.2);
}

.search-input::placeholder {
    color: #94a3b8;
}

/* === PAGE SECTIONS === */
.page-section {
    margin: 2rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(to bottom right, #3b82f6, #2563eb);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-description {
    color: #b3b3b3;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.clone-info-section .section-description {
    margin: 0;
}

/* === VIEW SWITCHER === */
.view-switcher {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
    justify-content: flex-end;
}

.view-btn {
    background: linear-gradient(135deg, #1e2a4a, #1a2339);
    border: 1px solid rgba(96, 165, 250, 0.3);
    color: #e5e9f0;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.view-btn:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-color: #60a5fa;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.3);
}

.view-btn[aria-pressed="true"] {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-color: #60a5fa;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.view-btn svg {
    width: 16px;
    height: 16px;
}

/* === BACK TO TOP BUTTON === */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, #1e2a4a, #1a2339);
    border: 1px solid rgba(96, 165, 250, 0.3);
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-color: #60a5fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.4);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* === TABLES === */
.clones-table {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    overflow: hidden;
    margin: 2rem 0;
    border: 1px solid rgba(96, 165, 250, 0.2);
}

.clones-table table,
.clones-data-table {
    width: 100%;
    border-collapse: collapse;
}

.clones-table thead tr {
    background: linear-gradient(135deg, #1e2a4a, #1a2339);
}

.clones-table th {
    color: #ffffff;
    font-weight: 600;
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.clones-table td {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #e5e5e5;
}

.clone-row {
    font-size: 13px;
}

.clones-table td.clone-name {
    padding-left: 1.5rem;
}

.clones-table tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.clone-title {
    font-size: 16px !important;
    margin-bottom: 0 !important;
    line-height: 1.3;
}

.clone-title a {
    color: #60a5fa;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.clone-title a:hover {
    color: #3b82f6;
}

/* === VIEW STATES === */
.table-view {
    display: none;
}

.table-view.active {
    display: block;
}

.grid-view {
    display: none;
}

.grid-view.active {
    display: block;
}

.clones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.clones-grid .card-footer {
    border-top: 0;
    margin-top: 0;
}

.clones-grid .platform-tag {
    margin-top: 10px;
    display: inline-block;
}

.clone-sidebar > .card {
    padding: 0 !important;
}

.clone-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.clone-card:hover {
    transform: translateY(-3px);
    border-color: rgba(96, 165, 250, 0.3);
}

.clone-card .card-content {
    padding: 1.5rem;
}

.clone-card .clone-title {
    font-size: 16px !important;
    margin-bottom: 0 !important;
}

/* Card Details */
.card-details {
    margin: 1rem 0;
}

.card-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    padding: 0.25rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-detail:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.detail-label {
    font-size: 0.75rem;
    color: #b3b3b3;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    margin-right: 1rem;
}

.detail-value {
    font-size: 0.875rem;
    color: #ffffff;
    font-weight: 400;
    text-align: right;
    word-break: break-word;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    line-height: 1;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border: 1px solid #3b82f6;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-color: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    text-decoration: none;
    color: #ffffff;
}

.btn-secondary {
    background: linear-gradient(135deg, #1e2a4a, #1a2339);
    color: #e5e9f0;
    border: 1px solid rgba(96, 165, 250, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-color: #60a5fa;
    color: #ffffff;
    transform: translateY(-1px);
    text-decoration: none;
}

/* === FOOTER === */
.site-footer {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 15px 15px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    margin-top: 4rem;
    color: #b3b3b3;
}

.footer-content {
    text-align: center;
}

.footer-links {
    margin-bottom: 2rem;
}

.footer-links a {
    color: #b3b3b3;
    margin: 0 1rem;
    transition: color 0.2s ease;
}

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

.footer-copyright {
    color: #666666;
    font-size: 0.9rem;
}

/* === PLATFORM FILTER === */
.platform-filter {
    background: linear-gradient(135deg, #1e2a4a, #1a2339);
    border: 1px solid rgba(96, 165, 250, 0.3);
    color: #ffffff;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    min-width: 150px;
}

.platform-filter:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-color: #60a5fa;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.3);
}

.platform-filter:focus {
    outline: none;
    border-color: #60a5fa;
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.3);
}

/* === TEXT UTILITIES === */
.text-center {
    text-align: center;
}

/* === BUTTON VARIANTS === */
.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
    display: block;
    text-align: center;
}

/* === PLATFORM GRID === */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1rem 0;
}

.platform-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-3px);
    border-color: rgba(96, 165, 250, 0.3);
}

.platform-content {
    margin-bottom: 1rem;
}

.platform-name {
    margin-bottom: 0.5rem;
}

.platform-name a {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
}

.platform-name a:hover {
    color: #60a5fa;
    text-decoration: none;
}

.platform-count {
    color: #b3b3b3;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.platform-description {
    color: #999999;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* === FEATURED BADGES === */
.featured-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 50%;
    margin-left: 0.5rem;
    cursor: help;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.3);
    vertical-align: middle;
}

.featured-badge:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 8px rgba(245, 158, 11, 0.5);
}

.featured-badge svg {
    width: 10px;
    height: 10px;
    fill: #ffffff;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.3));
}

.featured-badge.large {
    width: 22px;
    height: 22px;
    margin-left: 1rem;
}

.featured-badge.large svg {
    width: 12px;
    height: 12px;
}

/* === PLATFORM TAGS === */
.platform-tag {
    background: linear-gradient(135deg, #1e2a4a, #1a2339);
    color: #60a5fa;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    border: 1px solid rgba(96, 165, 250, 0.46);
}

/* === BONUS STYLING === */
.bonus-amount {
    color: #00ff88;
    font-weight: 600;
}

.no-bonus {
    color: #999999;
    font-style: italic;
}

.bonus-label {
    color: #b3b3b3;
    margin-right: 0.5rem;
}

/* === GRID CARD STYLING === */
.card-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.card-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.clone-card:hover .card-image img {
    transform: scale(1.05);
}

.card-image .featured-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
}

.card-platform {
    margin-bottom: 1rem;
}

.card-bonus {
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 8px;
    border-left: 3px solid #00ff88;
}

.card-excerpt {
    color: #b3b3b3;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.card-footer {
    margin-top: auto;
}

/* === SORT INDICATORS === */
.sortable {
    cursor: pointer;
    position: relative;
    user-select: none;
}

.sortable:hover {
    color: #60a5fa;
}

.sort-indicator {
    margin-left: 0.5rem;
    opacity: 0.5;
}

.sort-indicator::after {
    content: "↕";
}

.sortable.sort-asc .sort-indicator::after {
    content: "↑";
    opacity: 1;
}

.sortable.sort-desc .sort-indicator::after {
    content: "↓";
    opacity: 1;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
    .site-header {
        padding: 0.5rem 0;
    }
    
    .header-content {
        min-height: 50px;
    }
    
    .site-logo {
        font-size: 1.25rem;
    }
    
    .main-navigation {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .controls-row {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch !important;
    }
    
    .view-switcher {
        justify-content: center;
    }
    
    .platform-grid {
        grid-template-columns: 1fr;
    }
    
    .clones-table {
        overflow-x: auto;
    }
    
    .clones-table table {
        min-width: 600px;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
    
    .controls-container {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .filters-section {
        flex-direction: column;
    }
    
    .view-controls {
        justify-content: center;
    }
    
    /* Ukryj kolumny platform i action w tabelach na mobile */
    .clones-table th:nth-child(2), /* kolumna platform */
    .clones-table td.clone-platform,
    .clones-table th:nth-child(4), /* kolumna action */
    .clones-table td.clone-action {
        display: none !important;
    }
    
    /* Kompaktowe tabelki na mobile */
    .clones-table {
        overflow-x: visible !important;
    }
    
    .clones-table table {
        min-width: auto !important;
        width: 100%;
        table-layout: fixed;
    }
    
    .clones-table th,
    .clones-table td {
        padding: 0.5rem 0.25rem !important;
        font-size: 0.8rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .clones-table th:first-child,
    .clones-table td:first-child {
        width: 60%;
    }
    
    .clones-table th:nth-child(3),
    .clones-table td.clone-bonus {
        width: 40%;
    }
    
    .clone-info {
        flex-direction: column !important;
        gap: 0.5rem !important;
    }
    
    .clone-logo {
        width: 40px !important;
        height: 40px !important;
    }
    
    .clone-logo img {
        width: 40px !important;
        height: 40px !important;
    }
    
    .clone-title {
        font-size: 0.85rem !important;
        line-height: 1.2 !important;
    }
    
    /* Clone list items jedno pod drugim na mobile */
    .clones-list {
        display: block !important;
        grid-template-columns: none !important;
    }
    
    .clone-list-item {
        width: 100% !important;
        display: block !important;
        margin-bottom: 0.5rem;
    }
    
    /* Filter controls center na mobile */
    .view-controls {
        justify-content: center !important;
        text-align: center;
    }
    
    .filters-section {
        text-align: center;
    }
    
    /* Platform dropdown widoczny na mobile */
    .platform-dropdown {
        display: inline-block !important;
    }
    
    .main-navigation {
        display: flex !important;
        justify-content: center;
        margin-top: 0.5rem;
    }
    
    /* Bonus amount text wrapping */
    span.bonus-amount {
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
        max-width: 100%;
        display: inline-block;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .card {
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}

/* === LOADING STATES === */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top: 2px solid #60a5fa;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-right: 0.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* === ACCESSIBILITY === */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles */
.btn:focus,
.search-input:focus,
.dropdown-toggle:focus,
.view-btn:focus {
    outline: 2px solid #60a5fa;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    body {
        background: #000000;
        color: #ffffff;
    }
    
    .card {
        background: #111111;
        border-color: #ffffff;
    }
}

/* === SEARCH RESULTS === */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 0 0 12px 12px;
    border-top: none;
    max-height: 400px;
    overflow-y: auto;
    z-index: 9999 !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    margin-top: 4px;
}

.search-results.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-results-list {
    padding: 0.5rem 0;
}

.search-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background-color 0.2s ease;
}

.search-result-item:hover {
    background: rgba(96, 165, 250, 0.05);
}

.search-result-item:last-child {
    border-bottom: none;
}

.result-info {
    flex: 1;
    min-width: 0;
}

.result-title {
    margin: 0 0 0.25rem 0;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: left;
}

.result-title a {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 500;
}

.result-title a:hover {
    color: #3b82f6;
}

.result-platform,
.result-bonus {
    display: inline-block;
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    margin-right: 0.5rem;
    margin-top: 0.25rem;
}

.result-platform {
    background: rgba(96, 165, 250, 0.2);
    color: #60a5fa;
}

.result-bonus {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.search-loading,
.search-error,
.search-no-results {
    padding: 2rem;
    text-align: center;
    color: #b3b3b3;
}

.loading-spinner {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top: 2px solid #60a5fa;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

/* === SCREEN READER ONLY === */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Header Title Margin Fix */
.site-title {
    margin-bottom: 0;
}

/* Alphabetical List Styles */
.alphabetical-list {
    margin-top: 1rem;
}

.letter-section {
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(96, 165, 250, 0.1);
    border-radius: 12px;
}

.letter-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    padding: 1rem 0;
    border-bottom: 2px solid rgba(96, 165, 250, 0.3);
}

.letter-char {
    font-size: 2rem;
    font-weight: bold;
    color: #60a5fa;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.letter-count {
    font-size: 0.9rem;
    color: #b3b3b3;
    font-weight: normal;
}

.clones-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.clone-list-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.25rem;
    width: 100%;
}

.clone-name a {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 500;
}

.clone-name a:hover {
    text-decoration: underline;
    color: #3b82f6;
}

.clone-platform {
    color: #2563eb;
    font-size: 0.85rem;
}

.clone-bonus {
    color: #b3b3b3;
    font-size: 0.85rem;
}

.no-clones-alphabetical {
    text-align: center;
    padding: 3rem 1rem;
    color: #b3b3b3;
}

.no-clones-alphabetical p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

@media (min-width: 768px) {
    .clones-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 0.5rem;
    }
    
    .clone-list-item {
        width: auto;
    }
}

/* === FILTER SELECTS === */
.filter-select,
select {
    background: linear-gradient(135deg, #2a2a3a, #1a1a2e);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    min-width: 150px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

.filter-select:hover,
select:hover {
    background: linear-gradient(135deg, #1e2a4a, #1a2339);
    border-color: #60a5fa;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.2);
}

.filter-select:focus,
select:focus {
    outline: none;
    border-color: #60a5fa;
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.3);
}

.filter-select option,
select option {
    background: #1a1a2e;
    color: #ffffff;
    padding: 0.5rem;
}

/* === BREADCRUMBS === */
.breadcrumbs {
    margin: 1rem 0;
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
    align-items: center;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
    content: "›";
    margin-left: 0.5rem;
    color: #666;
}

.breadcrumb-item a {
    color: #60a5fa;
    text-decoration: none;
    font-size: 0.9rem;
}

.breadcrumb-item a:hover {
    color: #3b82f6;
    text-decoration: underline;
}

.breadcrumb-item.active span {
    color: #e5e5e5;
    font-size: 0.9rem;
}

/* === FILTER CONTROLS === */
.controls-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    flex-wrap: wrap;
}

.filters-section {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-label {
    font-size: 0.85rem;
    color: #b3b3b3;
    font-weight: 500;
}

.view-controls {
    display: flex;
    align-items: center;
}

.view-toggle {
    display: flex;
    gap: 0.5rem;
}

/* === GRID CARD IMPROVEMENTS === */
.card-content {
    padding: 1.5rem !important;
}

.card-image {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    margin-bottom: 0;
}

.card-footer {
    padding: 1.5rem;
    padding-top: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1rem;
}

.card-footer .btn {
    margin-bottom: 0.5rem;
}

/* === ACTION BUTTONS === */
.action-buttons,
.card-action-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-direction: column;
}

.action-buttons .btn,
.card-action-buttons .btn {
    width: 100%;
    text-align: center;
    margin-bottom: 0;
}

/* Table view - przyciski obok siebie */
.table-view .action-buttons {
    flex-direction: row;
    gap: 0.25rem;
    align-items: stretch;
}

.table-view .action-buttons .btn {
    width: auto;
    font-size: 0.8rem;
    padding: 0.5rem 0.6rem;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    line-height: 1;
}

.clones-grid .card-bonus {
    margin-bottom: 0;
}

.home .action-buttons, .home .card-action-buttons {
    display: block;
}

.home .action-buttons .btn, .home .card-action-buttons .btn {
    width: auto;
}

.clones-table .grid-view {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
}

.clones-table .grid-view .clones-grid {
    background: none;
    border: none;
    margin: 2rem 0;
}

.clones-table .grid-view .card-action-buttons {
    display: block;
}

.clones-table .grid-view .card-action-buttons .btn {
    width: auto;
    margin-bottom: 0.5rem;
}

.tax-platform .clones-table {
    background: none;
    border: none;
}

.tax-platform .table-view {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 12px !important;
    overflow: hidden;
}

.tax-platform .clones-grid {
    margin-top: 10px !important;
}

.details-btn {
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
}

.signup-btn {
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
}

/* === SINGLE CLONE STYLES === */
.clone-header-content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.clone-main-info {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    flex: 1;
    min-width: 300px;
}

.clone-logo-large {
    flex-shrink: 0;
}

.clone-logo-large img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.clone-title-section {
    flex: 1;
}

.clone-bonus-highlight {
    margin-top: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.1), rgba(59, 130, 246, 0.1));
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 8px;
}

.clone-bonus-highlight .bonus-label {
    color: #b3b3b3;
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

.clone-bonus-highlight .bonus-amount {
    color: #60a5fa;
    font-weight: 600;
    font-size: 1.1rem;
}

.clone-actions-section {
    flex-shrink: 0;
    text-align: right;
    min-width: 200px;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.clone-quick-info {
    margin-top: 1rem;
}

.quick-info-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.info-label {
    color: #b3b3b3;
}

.info-value {
    color: #ffffff;
    font-weight: 500;
}

.status-active {
    color: #22c55e;
}

/* === CONTENT LAYOUT === */
.content-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    margin-top: 2rem;
}

.main-content {
    min-width: 0;
}

.clone-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-widget {
    margin-bottom: 0;
}

/* === FEATURES GRID === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(96, 165, 250, 0.3);
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    border-radius: 8px;
    color: #ffffff;
}

.feature-content h3 {
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-size: 1rem;
}

.feature-content p {
    color: #b3b3b3;
    font-size: 0.9rem;
    margin: 0;
}

/* === DESCRIPTION CARD === */
.clone-description-card h2 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.clone-description-card .description-content {
    color: #e5e5e5;
    line-height: 1.6;
}

.clone-description-card .description-content p {
    margin-bottom: 1rem;
}

.clone-description-card .description-content p:last-child {
    margin-bottom: 0;
}

/* === RELATED CLONES === */
.related-clones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.related-clone-card {
    background: rgba(17, 17, 17, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.related-clone-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.related-clone-card .card-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-clone-card .card-content {
    padding: 1.5rem;
}

.related-clone-card .card-footer {
    padding: 1.5rem;
    padding-top: 0;
}

/* === STATS === */
.stats-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-label {
    color: #b3b3b3;
    font-size: 0.9rem;
}

.stat-value {
    color: #ffffff;
    font-weight: 500;
}

.stat-value.featured {
    color: #60a5fa;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .clone-header-content {
        flex-direction: column;
    }
    
    .clone-main-info {
        flex-direction: column;
        text-align: center;
    }
    
    .clone-actions-section {
        text-align: center;
        width: 100%;
    }
    
    .content-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .related-clones-grid {
        grid-template-columns: 1fr;
    }
    
    .clone-logo-large img {
        width: 80px;
        height: 80px;
    }

    .archive .controls-container {
        align-items: center;
    }

    .single-clone span.bonus-amount {
        display: block;
    }

    .dropdown-menu {
        min-width: 100px;
    }

    table.clones-data-table th, table.clones-data-table td {
        padding-left: 12px !important;
    }

    .clone-main-info {
        align-items: center;
    }
}

/* === NEW TABLE COLUMNS STYLES === */
.clone-owner,
.clone-licence,
.clone-year,
.clone-important {
    text-align: left;
    vertical-align: middle;
}

.owner-text,
.licence-text,
.year-text,
.important-text {
    color: #e5e5e5;
    font-size: 0.9rem;
    font-weight: 500;
}

.clone-year {
    min-width: 60px;
    max-width: 80px;
}

.clone-important {
    min-width: 120px;
    max-width: 200px;
}

.important-text {
    display: block;
    cursor: help;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.important-text:hover {
    color: #60a5fa;
}

.no-data {
    color: #6b7280;
    font-style: italic;
    font-size: 0.85rem;
}

/* Responsive column widths for new structure - flexible with max limits */
@media (min-width: 769px) {
    .clones-table {
        table-layout: auto;
    }
    
    .clones-table th:nth-child(1), /* Name */
    .clones-table td.clone-name {
        width: auto;
        min-width: 180px;
        max-width: 25%;
    }
    
    .clones-table th:nth-child(2), /* Owner */
    .clones-table td.clone-owner {
        width: auto;
        min-width: 120px;
        max-width: 20%;
    }
    
    .clones-table th:nth-child(3), /* Licence */
    .clones-table td.clone-licence {
        width: auto;
        min-width: 100px;
        max-width: 15%;
    }
    
    .clones-table th:nth-child(4), /* Year */
    .clones-table td.clone-year {
        width: auto;
        min-width: 60px;
        max-width: 80px;
        text-align: center;
    }
    
    .clones-table th:nth-child(5), /* Important */
    .clones-table td.clone-important {
        width: auto;
        min-width: 120px;
        max-width: 20%;
    }
    
    .clones-table th:nth-child(6), /* Action */
    .clones-table td.clone-action {
        width: auto;
        min-width: 120px;
        max-width: 150px;
    }
}

/* Mobile responsive updates for new columns */
@media (max-width: 768px) {
    .clones-table {
        table-layout: auto !important;
    }
    
    /* Hide some columns on mobile to maintain readability */
    .clones-table th:nth-child(2), /* Owner */
    .clones-table td.clone-owner,
    .clones-table th:nth-child(3), /* Licence */
    .clones-table td.clone-licence,
    .clones-table th:nth-child(4), /* Year */
    .clones-table td.clone-year,
    .clones-table th:nth-child(6), /* Action */
    .clones-table td.clone-action,
    .platform-clones-table th:nth-child(2), /* Owner */
    .platform-clones-table td:nth-child(2),
    .platform-clones-table th:nth-child(3), /* Licence */
    .platform-clones-table td:nth-child(3),
    .platform-clones-table th:nth-child(4), /* Year */
    .platform-clones-table td:nth-child(4),
    .platform-clones-table th:nth-child(6), /* Action */
    .platform-clones-table td:nth-child(6) {
        display: none !important;
    }
    
    /* Adjust remaining column widths - flexible */
    .clones-table th:nth-child(1),
    .clones-table td.clone-name,
    .platform-clones-table th:nth-child(1),
    .platform-clones-table td:nth-child(1) {
        width: auto !important;
        min-width: 150px !important;
        max-width: 60% !important;
    }
    
    .clones-table th:nth-child(5),
    .clones-table td.clone-important,
    .platform-clones-table th:nth-child(5),
    .platform-clones-table td:nth-child(5) {
        width: auto !important;
        min-width: 100px !important;
        max-width: 40% !important;
    }
    
    /* Override previous mobile styles for old platform/bonus columns */
    .clones-table th:nth-child(2):not(.clone-owner),
    .clones-table td.clone-platform,
    .clones-table th:nth-child(3):not(.clone-licence),
    .clones-table td.clone-bonus {
        display: none !important;
    }
}

/* === TOOLTIP STYLES === */
.tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.9);
    color: #ffffff;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.4;
    max-width: 250px;
    word-wrap: break-word;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.tooltip.show {
    opacity: 1;
    transform: translateY(0);
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.9) transparent transparent transparent;
}

/* === DETAILS BUTTON WITH EYE ICON === */
.details-btn-icon {
    padding: 0.5rem 0.5rem;
    font-size: 0.8rem;
    min-width: auto;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    line-height: 1;
}

.details-btn-icon svg {
    width: 14px;
    height: 14px;
}

/* === HEADER SEARCH === */
.header-search {
    position: relative;
    margin: 0 1rem;
}

.header-search-form {
    position: relative;
    display: flex;
    align-items: center;
}

.header-search-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 6px;
    color: #ffffff;
    padding: 0.5rem 2.5rem 0.5rem 1rem;
    font-size: 0.85rem;
    width: 250px;
    transition: all 0.3s ease;
}

.header-search-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #60a5fa;
    outline: none;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}

.header-search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-button {
    position: absolute;
    right: 0.5rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 0.25rem;
    transition: color 0.2s ease;
}

.search-button:hover {
    color: #60a5fa;
}

/* === SOCIAL MEDIA LINKS === */
.social-media-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 8px;
    color: #ffffff;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-color: #60a5fa;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.3);
    text-decoration: none;
}

.social-link svg {
    width: 18px;
    height: 18px;
}

/* === LATEST CLONES SECTION === */
.latest-clones-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.latest-clone-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(96, 165, 250, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.latest-clone-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(96, 165, 250, 0.3);
    transform: translateY(-1px);
}

.latest-clone-item .clone-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.latest-clone-item .clone-logo {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.latest-clone-item .clone-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.latest-clone-item .clone-details {
    flex: 1;
}

.latest-clone-item .clone-title {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.latest-clone-item .clone-title a {
    color: #ffffff;
    font-weight: 600;
}

.latest-clone-item .clone-title a:hover {
    color: #60a5fa;
    text-decoration: none;
}

.clone-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: #b3b3b3;
}

.date-added {
    color: #9ca3af;
}

.bonus-info {
    background: linear-gradient(135deg, #059669, #047857);
    color: #ffffff;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* === PLATFORM GROUPS === */
.platform-group {
    margin-bottom: 2.5rem;
}

.platform-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(96, 165, 250, 0.2);
}

.platform-title {
    margin: 0;
    font-size: 1.5rem;
}

.platform-title a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

.platform-title a:hover {
    color: #60a5fa;
    text-decoration: none;
}

.platform-count {
    background: rgba(96, 165, 250, 0.2);
    color: #60a5fa;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.platform-clones-table {
    margin-top: 1rem;
    border: 1px solid rgba(96, 165, 250, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.platform-clones-table .clones-data-table {
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
}

.platform-clones-table thead tr {
    background: rgba(96, 165, 250, 0.1);
}

.platform-clones-table th {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
}

.platform-clones-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(96, 165, 250, 0.1);
}

.platform-clones-table .clone-title h4 {
    font-size: 1rem;
    margin: 0;
}

.platform-clones-table tr:last-child td {
    border-bottom: 0;
}

/* === RESPONSIVE ADJUSTMENTS === */
/* === MOBILE MENU === */
.mobile-menu-toggle {
    display: none;
    background: rgba(17, 17, 17, 0.9);
    border: 1px solid rgba(96, 165, 250, 0.3);
    padding: 0.25rem;
    cursor: pointer;
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 100000;
    margin-left: auto;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle:hover {
    background: rgba(96, 165, 250, 0.2);
    border-color: #60a5fa;
    transform: translateY(-1px);
}

.hamburger {
    display: flex;
    flex-direction: column;
    width: 20px;
    height: 14px;
    position: relative;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: #ffffff;
    border-radius: 1px;
    transition: all 0.3s ease;
    position: absolute;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

.mobile-menu-toggle[aria-expanded="true"] {
    background: rgba(96, 165, 250, 0.3);
    border-color: #60a5fa;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger span:nth-child(1) {
    transform: rotate(45deg) translateY(7px);
    top: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translateY(-7px);
    bottom: 0;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    background: rgba(17, 17, 17, 0.98);
    backdrop-filter: blur(10px);
    z-index: 99999;
    overflow-y: auto;
    padding-top: 0;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-content {
    padding: 100px 1rem 2rem 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.mobile-search {
    margin-bottom: 2rem;
}

.mobile-search .search-input {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
}

.mobile-nav-menu {
    list-style: none;
    margin: 0 0 2rem 0;
    padding: 0;
}

.mobile-nav-menu li {
    margin-bottom: 1rem;
}

.mobile-nav-menu a {
    display: block;
    padding: 0.75rem 0;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.2s ease;
}

.mobile-nav-menu a:hover {
    color: #60a5fa;
}

.mobile-platforms h4 {
    color: #60a5fa;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.mobile-platform-link {
    display: block;
    padding: 0.5rem 0;
    color: #e5e5e5;
    font-size: 0.95rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: color 0.2s ease;
}

.mobile-platform-link:hover {
    color: #60a5fa;
}

.mobile-social {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-telegram-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: #60a5fa;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mobile-telegram-link:hover {
    color: #3b82f6;
}

/* Prevent scrolling when mobile menu is open */
body.mobile-menu-open {
    overflow: hidden;
}

/* Desktop/Mobile visibility classes */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

/* Hide mobile menu button on desktop */
@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none !important;
    }
}

/* Hide social media icons by default if no link set */
.social-media-links {
    display: flex;
    align-items: center;
}

.social-media-links .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
    border-radius: 4px;
}

.social-media-links .social-link:hover {
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.1);
}

.social-media-links .social-link svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 768px) {
    .header-content {
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 0;
        position: relative;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 2;
        position: fixed;
    }
    
    .site-branding {
        order: 1;
        flex: 1;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .header-search-input {
        width: 200px;
    }
    
    /* Latest Bookmakers mobile - tylko nazwa i data w jednej linii */
    .latest-clone-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.75rem 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        min-height: 60px;
    }
    
    .latest-clone-item .clone-info {
        flex: 1;
        display: flex;
        align-items: center;
        gap: 0.75rem;
        min-width: 0;
    }
    
    .latest-clone-item .clone-logo {
        width: 32px;
        height: 32px;
        flex-shrink: 0;
    }
    
    .latest-clone-item .clone-logo img {
        width: 32px;
        height: 32px;
        border-radius: 4px;
    }
    
    .latest-clone-item .clone-details {
        flex: 1;
        min-width: 0;
    }
    
    .latest-clone-item .clone-title {
        font-size: 0.9rem;
        margin: 0;
        line-height: 1.3;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .latest-clone-item .clone-title a {
        color: #ffffff;
        font-weight: 600;
        text-decoration: none;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        flex: 1;
        min-width: 0;
    }
    
    .latest-clone-item .featured-badge {
        flex-shrink: 0;
        margin-left: 0;
        width: 16px;
        height: 16px;
    }
    
    .latest-clone-item .featured-badge svg {
        width: 8px;
        height: 8px;
    }
    
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: block;
    }
    
    .date-added.mobile-only {
        font-size: 0.8rem;
        color: #9ca3af;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .latest-clone-item .clone-action {
        display: none;
    }
    
    /* Platform header mobile - count jako badge */
    .platform-header {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 0.75rem;
        margin-bottom: 1rem;
        padding-bottom: 0.75rem;
        border-bottom: 1px solid rgba(96, 165, 250, 0.2);
    }
    
    .platform-title {
        margin: 0;
        font-size: 1.25rem;
    }
    
    .platform-count {
        flex-shrink: 0;
        font-size: 0.75rem;
        padding: 0.2rem 0.5rem;
    }
    
    .platform-clones-table {
        overflow-x: auto;
    }
    
    /* Platform table mobile featured badge */
    .platform-clones-table .clone-title {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .platform-clones-table .featured-badge {
        flex-shrink: 0;
        margin-left: 0;
        width: 16px;
        height: 16px;
    }
    
    .platform-clones-table .featured-badge svg {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 480px) {
    .header-search-input {
        width: 150px;
        font-size: 0.8rem;
    }
    
    .social-link {
        width: 32px;
        height: 32px;
    }
    
    .social-link svg {
        width: 16px;
        height: 16px;
    }
}

/* === RELATED CLONES SECTION === */
.related-clones-section {
    margin-top: 3rem;
}

.related-clones-section .section-title.centered {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: #ffffff;
    text-align: center;
}

.related-clones-table {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    margin: 2rem 0;
}

.related-clone-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    margin: 3px;
    border-bottom-width: 0;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
}

.related-clone-row:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(96, 165, 250, 0.3);
}

.related-clone-row:nth-child(odd) {
    background: rgba(255, 255, 255, 0.03);
}

.related-clone-row:nth-child(odd):hover {
    background: rgba(255, 255, 255, 0.06);
}

.clone-name {
    flex: 1;
    margin-right: 1rem;
}

.clone-title-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s ease;
}

.clone-title-link:hover {
    color: #60a5fa;
    text-decoration: none;
}

.clone-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-shrink: 0;
}

.clone-actions .btn {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    min-width: auto;
}

.clone-actions .details-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.clone-actions .details-btn svg {
    opacity: 0.7;
}

.clone-actions .details-btn:hover svg {
    opacity: 1;
}

.clone-actions .details-btn-icon svg {
    stroke: currentColor;
    fill: none;
}

/* Responsive for related clones */
@media (max-width: 768px) {
    .related-clones-table {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .related-clone-row {
        padding: 0.75rem 1rem;
    }
    
    .clone-title-link {
        font-size: 0.9rem;
    }
    
    .clone-actions {
        gap: 0.5rem;
    }
    
    .clone-actions .btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.75rem;
    }
    
    .clone-actions .details-btn {
        width: 32px;
        height: 32px;
    }
    
    .clone-actions .details-btn svg {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    .related-clones-table {
        grid-template-columns: 1fr;
    }
    
    .related-clones-section .section-title.centered {
        font-size: 1.5rem;
    }
    
    .related-clone-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 1rem;
    }
    
    .clone-name {
        margin-right: 0;
        width: 100%;
    }
    
    .clone-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .clone-actions .btn:not(.details-btn) {
        flex: 1;
    }
} 