.bonus-date-tooltip .tooltip-title {
    display: block;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 2px;
    color: #b3e6c1;
}
.bonus-date-tooltip .tooltip-date {
    display: block;
    /* font-size: 17px; */
    font-weight: 700;
    color: #fff;
}

/* Bonus Stats Row */
.bonus-stats-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
        justify-content: space-between;
}
.meta-counts-wrapper{
    display: flex;
    gap: 10px;
}

.bonus-stats-item {
    /* background: rgba(0, 0, 0, 0.3); */
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    /* border: 1px solid rgba(255, 255, 255, 0.2); */
    backdrop-filter: blur(10px);
    position: relative;
    cursor: pointer;
    transition: box-shadow 0.2s, transform 0.2s;
}

.bonus-stats-item:hover {
    transform: translateY(-1px);
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); */
}

.bonus-stats-item:focus,
.bonus-stats-item:active {
    box-shadow: 0 0 0 2px #43d047;
    outline: none;
}

.stats-text {
    font-weight: 600;
}

.bonus-stats-tooltip {
    display: none;
    position: absolute;
    left: 50%;
    top: -50px;
    transform: translateX(-50%);
    background: #3f3f3f;
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bonus-stats-item.show-tooltip .bonus-stats-tooltip {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

.bonus-stats-tooltip .tooltip-title {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
}

/* Light mode styles for stats */
.casino-bonus-light .bonus-stats-item {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.casino-bonus-light .bonus-stats-tooltip {
    background: #2a2a2a;
    color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .filter-dropdown select{
        padding: 8px 10px;
        max-width: 118px;
        min-width: auto;
    }
    .filter-label{
        padding: 8px 10px;
    }
    .bonus-stats-row {
        gap: 12px;
        justify-content: center;
    }

    .bonus-stats-item {
        padding: 6px 12px;
        font-size: 12px;
    }

    .bonus-stats-tooltip {
        font-size: 13px;
        padding: 8px 14px;
    }
}

/* Bonus Rating Circle Styles */
.bonus-rating-field .bonus-rating-circle {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bonus-rating-field .rating-circle {
    transform-origin: center;
    transition: all 0.3s ease;
}

.bonus-rating-field:hover .rating-circle {
    transform: scale(1.1);
}

.bonus-rating-field .rating-circle-bg {
    opacity: 0.3;
}

.bonus-rating-field .rating-circle-fill {
    transition: stroke-dashoffset 0.6s ease;
    stroke-linecap: round;
}

.bonus-rating-field .rating-text {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
}

/* Light mode rating styles */
.casino-bonus-light .bonus-rating-field .rating-text {
    fill: #333;
}

.casino-bonus-light .bonus-rating-field .rating-circle-bg {
    stroke: #e0e0e0;
}

.casino-bonus-light .bonus-rating-field .rating-circle-fill {
    stroke: #4CAF50;
}

/* Dark mode rating styles */
.casino-bonus-dark .bonus-rating-field .rating-text {
    fill: #fff;
}

.casino-bonus-dark .bonus-rating-field .rating-circle-bg {
    stroke: #444;
}

.casino-bonus-dark .bonus-rating-field .rating-circle-fill {
    stroke: #66BB6A;
}

/* Different colors based on rating value */
.bonus-rating-field[data-rating="1"] .rating-circle-fill,
.bonus-rating-field[data-rating="2"] .rating-circle-fill,
.bonus-rating-field[data-rating="3"] .rating-circle-fill {
    stroke: #f44336 !important; /* Red for low ratings */
}

.bonus-rating-field[data-rating="4"] .rating-circle-fill,
.bonus-rating-field[data-rating="5"] .rating-circle-fill,
.bonus-rating-field[data-rating="6"] .rating-circle-fill {
    stroke: #ff9800 !important; /* Orange for medium ratings */
}

.bonus-rating-field[data-rating="7"] .rating-circle-fill,
.bonus-rating-field[data-rating="8"] .rating-circle-fill,
.bonus-rating-field[data-rating="9"] .rating-circle-fill,
.bonus-rating-field[data-rating="10"] .rating-circle-fill {
    stroke: #4CAF50 !important; /* Green for high ratings */
}
/* Casino Bonus Search + Hamburger Styles */
.bonuses-list-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 15px;
    position: relative;
}

.casino-bonus-search-form {
    flex: 1;
    display: flex;
    min-width: 0; /* Allow flex item to shrink */
}

.search-and-filters {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 100%;
    /* justify-content: center; */
}

.search-input-wrapper {
    display: flex;
    gap: 8px;
    align-items: center;
    min-width: 250px;
    flex: 1;
}

.casino-bonus-search-form input[type="text"] {
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 16px;
    flex: 1;
    min-width: 0;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.casino-bonus-search-form input[type="text"]:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.1);
}

.casino-bonus-search-form button[type="submit"] {
    padding: 12px 16px;
    border-radius: 8px;
    background: #007cba;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.casino-bonus-search-form button[type="submit"]:hover {
    background: #005a8b;
    transform: translateY(-1px);
}

.casino-bonus-search-form button[type="submit"]:active {
    transform: translateY(0);
}

.casino-bonus-search-form button[type="submit"] svg {
    width: 18px;
    height: 18px;
}

.sidebar-hamburger {
    background: none;
    border: none;
    cursor: pointer;
    display: none;
    padding: 12px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.sidebar-hamburger:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Light Mode Styles for Search and Filters */
.casino-bonus-light .casino-bonus-search-form input[type="text"] {
    background: white;
    border-color: #ddd;
    color: #333;
}

.casino-bonus-light .casino-bonus-search-form input[type="text"]:focus {
    border-color: #007cba;
    background: white;
}

.casino-bonus-light .casino-bonus-search-form button[type="submit"] {
    background: #007cba;
    color: white;
}

.casino-bonus-light .casino-bonus-search-form button[type="submit"]:hover {
    background: #005a8b;
}

.casino-bonus-light .sidebar-hamburger {
    color: #333;
}

.casino-bonus-light .sidebar-hamburger:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Dark Mode Styles for Search and Filters */
.casino-bonus-dark .casino-bonus-search-form input[type="text"] {
    background: #2a2a2a;
    border-color: #555;
    color: #e0e0e0;
}

.casino-bonus-dark .casino-bonus-search-form input[type="text"]:focus {
    border-color: #007cba;
    background: #333;
}

.casino-bonus-dark .casino-bonus-search-form input[type="text"]::placeholder {
    color: #999;
}

.casino-bonus-dark .casino-bonus-search-form button[type="submit"] {
    background: #007cba;
    color: white;
}

.casino-bonus-dark .casino-bonus-search-form button[type="submit"]:hover {
    background: #005a8b;
}

.casino-bonus-dark .sidebar-hamburger {
    color: #e0e0e0;
}

.casino-bonus-dark .sidebar-hamburger:hover {
    background: rgba(255, 255, 255, 0.1);
}

.sidebar-hamburger span {
    display: block;
    width: 32px;
    height: 32px;
    position: relative;
}

.sidebar-hamburger span span {
    position: absolute;
    left: 0;
    width: 32px;
    height: 4px;
    background: #222;
    border-radius: 2px;
}
.sidebar-hamburger span span:nth-child(1) { top: 8px; }
.sidebar-hamburger span span:nth-child(2) { top: 14px; }
.sidebar-hamburger span span:nth-child(3) { top: 20px; }
.casino-bonus-light .casino-bonus-header {
    border-bottom: 1px solid #eee;
}

.casino-bonus-light .bonus-details-wrapper {
    gap: 30px;
    border-bottom: none;
}

.casino-bonus-light .bonus-terms-right-panel {
    border-left: 1px solid #eee;
}

.casino-bonus-light .games-casino-section {
    border-top: 1px solid #eee;
}

.casino-bonus-light .casino-section-heading,
.casino-bonus-light .bonus-offer-title,
.casino-bonus-light .detail-label,
.casino-bonus-light .detail-value,
.casino-bonus-light .casino-game-title,
.casino-bonus-light .casino-brand-name {
    color: #222;
}
.casino-bonus-light .bonus-offer-title{
    text-shadow: none;
}
.casino-bonus-light .bonus-status-active {
    color: #388e3c;
    text-shadow: none;
}
.casino-bonus-light .bonus-details {
    background: #f5f5f5;
    color: #222;
    border: 1px solid #eee;
}

.casino-bonus-light .bonus-instructions-card {
    background: #f5f5f5;
    color: #222;
    border: 1px solid #eee;
}

.casino-bonus-light .eligible-game-item {
    background: #f5f5f5;
    color: #222;
    border: 1px solid #eee;
}
.casino-bonus-light .eligible-game-item:hover > .casino-game-title {
    color: #fff;
}
.casino-bonus-light .casino-logo-header{
    background: #444;
}
.casino-bonus-light .participating-casino-card:hover  .casino-brand-name {
    color: #fff;
}
.casino-bonus-light .casino-brand-logo{
    background: #444;
}
.casino-bonus-light .bonus-offer-title:hover{
    color: unset;
}

.casino-bonus-light .participating-casino-card {
    background: #f5f5f5;
    color: #222;
    border: 1px solid #eee;
}
/* Casino Bonus Archive Styles - Based on index.html Design */

/* Base Styles */
.casino-bonus-archive {
    min-height: 100vh;
    padding: 20px 0;
    transition: all 0.3s ease;
    /* No background color */
}

.casino-bonus-archive .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 30px;
}

.archive-main {
    flex: 1;
}

.archive-sidebar {
    width: 280px;
    flex-shrink: 0;
    position: sticky;
    top: 20px;
    height: fit-content;
}

/* Dark Mode Styles */
.casino-bonus-dark .filter-section {
    background: #2a2a2a;
    border: 1px solid #444;
}

.casino-bonus-dark .filter-section h3 {
    color: #fff;
    border-bottom: 1px solid #444;
}

.casino-bonus-dark .filter-option label {
    color: #ccc;
}

.casino-bonus-dark .filter-option input[type="checkbox"] {
    accent-color: #e74c3c;
}

/* Light Mode Styles */
.casino-bonus-light .filter-section {
    background: #fff;
    border: 1px solid #ddd;
}

.casino-bonus-light .filter-section h3 {
    color: #333;
    border-bottom: 1px solid #ddd;
}

.casino-bonus-light .filter-option label {
    color: #666;
}

.casino-bonus-light .filter-option input[type="checkbox"] {
    accent-color: #007cba;
}

/* Sidebar Styles */
.filter-section {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    /* border-radius: unset !important; */
    border-radius: 15px;
}

.filter-section h3 {
    margin: 0;
    padding: 15px 20px;
    font-size: 1.1em;
    font-weight: 600;
}

.filter-content {
    padding: 15px 20px;
}

.filter-option {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 5px 0;
}

.filter-option:last-child {
    margin-bottom: 0;
}

.filter-option input[type="checkbox"] {
    margin-right: 10px;
    width: 16px;
    height: 16px;
}

.filter-option label {
    cursor: pointer;
    font-size: 0.9em;
    flex: 1;
}

.filter-option .count {
    font-size: 0.8em;
    opacity: 0.7;
    margin-left: 5px;
    display: none;
}

/* Bonuses List - Vertical Stacking */
.bonuses-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

/* New Bonus Card Design - From index.html */

.bonus-card-container {
    /* max-width: 900px; */
    width: 100%;
    margin: 0 auto 20px auto;
    background: #2a2a2a;
    backdrop-filter: blur(20px);
    /* border-radius: 24px; */
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(255, 255, 255, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: bonusCardFadeIn 0.8s ease-out;
    /* cursor: pointer; */
    transition: all 0.3s ease;
    border-radius: 15px;
}

.casino-bonus-light .bonus-card-container {
    background: #fff;
    color: #222;
}

.bonus-card-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.6),
                0 0 0 1px rgba(255, 255, 255, 0.15);
}

@keyframes bonusCardFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.casino-bonus-header {
    /* background: linear-gradient(135deg, #ff6b47 0%, #d32f2f 100%); */
    padding: 30px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.casino-logo-header {
    width: 180px;
    /* height: 60px; */
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.casino-logo-header img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.logo-placeholder {
    width: 80px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.header-text {
    flex: 1;
    text-align: left;
}
/*
.casino-bonus-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s infinite;
}*/

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.bonus-offer-title {
    font-family: 'Playfair Display', serif;
    color: white;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.5px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.bonus-offer-title:hover {
    color: #ffd700;
}

.bonus-expiry-date {
    background: rgba(0, 0, 0, 0.3);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    cursor: pointer;
    transition: box-shadow 0.2s;
}
.bonus-expiry-date:focus, .bonus-expiry-date:active {
    box-shadow: 0 0 0 2px #43d047;
    outline: none;
}
.date-icon {
    display: inline-block;
    margin-right: 6px;
    vertical-align: middle;
}
.bonus-date-tooltip {
    display: none;
    position: absolute;
    left: 50%;
    top: -70px;
    transform: translateX(-50%);
    background: #3f3f3f;
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.bonus-expiry-date.show-tooltip .bonus-date-tooltip {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

.bonus-details-wrapper {
    display: flex;
    padding: 30px;
    gap: 30px;
}

.bonus-code-left-panel {
    flex: 1;
}

.bonus-code-section {
    border: 2px dashed rgba(255, 215, 0, 0.6);
    padding: 10px;
    text-align: center;
    margin-bottom: 15px;
    border-radius: 16px;
    background: rgba(255, 215, 0, 0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.exclusive-bonus-section {
    text-align: center;
    margin-bottom: 25px;
}

.bonus-code-section:hover {
    border-color: rgba(255, 215, 0, 0.8);
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
}

.bonus-code-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.1) 0%, transparent 50%, rgba(255, 215, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bonus-code-section:hover::before {
    opacity: 1;
}

.bonus-code {
    font-weight: 800;
    font-size: 15px;
    color: #ffd700;
    /* margin-bottom: 12px; */
    font-family: 'Inter', sans-serif;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.bonus-code-text {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.bonus-code-hover {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    font-weight: 800;
    font-size: 15px;
    color: #ffd700;
    font-family: 'Inter', sans-serif;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.bonus-code:hover .bonus-code-text {
    opacity: 0;
}

.bonus-code:hover .bonus-code-hover {
    opacity: 1;
}

/* When copied, override hover states */
.bonus-code.copied .bonus-code-text {
    opacity: 1 !important; /* Override hover opacity */
    color: #4caf50;
    text-shadow: 0 0 20px rgba(76, 175, 80, 0.5);
}

.bonus-code.copied .bonus-code-hover {
    opacity: 0 !important; /* Hide hover text when copied */
}

.bonus-code.copied:hover .bonus-code-text {
    opacity: 1 !important; /* Keep COPIED! visible even on hover */
}

.bonus-code.copied:hover .bonus-code-hover {
    opacity: 0 !important; /* Keep hover text hidden when copied */
}

.exclusive-bonus {
    background: linear-gradient(135deg, #d32f2f 0%, #8b0000 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.exclusive-bonus::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

.bonus-details {
    /* background: rgba(30, 30, 60, 0.8); */
    background: #404040;
    padding: 25px;
    border-radius: 16px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 15px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.detail-row:hover {
    background: rgba(255, 255, 255, 0.02);
    padding-left: 5px;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: #b0b0d0;
    font-weight: 500;
}

.detail-value {
    color: white;
    font-weight: 600;
}

.free-value {
    color: #4caf50;
    text-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
}

.bonus-terms-right-panel {
    flex: 1;
    padding-left: 30px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    margin-left: 30px;
    display: flex;
    align-items: center;
}

.bonus-instructions-card {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
    background: #404040;
    padding: 25px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #fff;
}

.bonus-instructions-card p {
    margin-bottom: 15px;
}

.bonus-instructions-card strong {
    /* color: #ffd700; */
    font-weight: 700;
}

.casino-games-section, .participating-casinos-section {
    margin-top: 35px;
    padding: 0 30px 30px;
}

/* New Games and Casino Section - Two Columns */
.games-casino-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 35px;
    padding: 0 30px 30px;
}

.games-section, .casino-section {
    flex: 1;
}

.casino-section-heading {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffd700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 8px;
}

.casino-section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #ffd700, transparent);
}

.eligible-game-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    background: #404040;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.eligible-game-item:hover {
    background: #000;
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.casino-game-image {
    width: 90px;
    height: 68px;
    border-radius: 8px;
    margin-right: 20px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.eligible-game-item:hover .casino-game-image {
    transform: scale(1.05);
}

.casino-game-title {
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.participating-casino-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #404040;
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.participating-casino-card:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.casino-brand-info {
    display: flex;
    align-items: center;
}

.casino-brand-logo {
    width: 70px;
    height: 50px;
    margin-right: 20px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.casino-brand-name {
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.casino-action-buttons {
    display: flex;
    gap: 12px;
}

.casino-action-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.casino-action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.casino-action-btn:hover::before {
    left: 100%;
}

.casino-review-btn {
    background: linear-gradient(135deg, #666 0%, #444 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 102, 102, 0.3);
}

.casino-review-btn:hover {
    background: linear-gradient(135deg, #777 0%, #555 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 102, 102, 0.4);
}

.casino-visit-btn {
    background: linear-gradient(135deg, #d32f2f 0%, #8b0000 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4);
}

.casino-visit-btn:hover {
    background: linear-gradient(135deg, #e53935 0%, #c62828 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.6);
}

.bonus-status-active {
    color: #4caf50;
    font-size: 12px;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Pagination */
.archive-pagination {
    text-align: center;
    margin-top: 40px;
}

.archive-pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    background: #2a2a2a;
    color: white;
    border: 1px solid #2a2a2a;
}

.archive-pagination .page-numbers:hover,
.archive-pagination .page-numbers.current {
    background: #fff;
    transform: translateY(-2px);
    color: #000;
}

/* No Bonuses */
.no-bonuses {
    text-align: center;
    padding: 60px 20px;
    opacity: 0.8;
    color: white;
}

/* Sidebar Hamburger/Close Icon Animation */
#sidebar-toggle {
    position: absolute;
    width: 40px;
    padding: 0 !important;
    height: 40px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    display: none;
    top: 0;
    right: 10px;
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
}

#sidebar-toggle:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(0, 0, 0, 0.2);
    /* transform: scale(1.05); */
}

#sidebar-toggle span span {
    display: block;
    width: 20px;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
}

#sidebar-toggle span span:nth-child(1) {
    top: 12px;
}

#sidebar-toggle span span:nth-child(2) {
    top: 18px;
}

#sidebar-toggle span span:nth-child(3) {
    top: 24px;
}

/* Close icon state */
#sidebar-toggle.open {
    background: #d32f2f;
    border-color: #d32f2f;
    /* box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3); */
    border-radius: 50%;
}

#sidebar-toggle.open:hover {
    background: #b71c1c;
    border-color: #b71c1c;
    /* transform: scale(1.1); */
}

#sidebar-toggle.open span span {
    background: #fff;
    width: 16px;
}

#sidebar-toggle.open span span:nth-child(1) {
    transform: rotate(45deg);
    top: 18px;
}

#sidebar-toggle.open span span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

#sidebar-toggle.open span span:nth-child(3) {
    transform: rotate(-45deg);
    top: 18px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .casino-bonus-archive .container {
        flex-direction: column;
    }

    .archive-sidebar {
        width: 100%;
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        text-align: center;
    }

    .header-text {
        text-align: center;
    }

    .bonus-details-wrapper {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .bonus-terms-right-panel {
        padding-left: 0;
        border-left: none;
        margin-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 20px;
        margin-top: 20px;
    }

    .games-casino-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .bonus-offer-title {
        font-size: 24px;
    }

    .bonus-card-container {
        margin: 0 !important;
        border-radius: 16px;
    }

    .archive-sidebar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .casino-bonus-archive .container {
        padding: 0;
    }

    .bonus-offer-title {
        font-size: 20px;
    }

    .casino-games-section, .participating-casinos-section,
    .games-casino-section {
        padding: 0 15px 20px;
    }

    .games-casino-section {
        gap: 15px;
    }
}

.archive-sidebar.open{
    padding: 1em;
}

/* Bonus Navigation Below Post */
.bonus-navigation-below {
    /* max-width: 900px; */
    width: 100%;
    margin: 30px auto 0;
}

.bonus-navigation-wrapper {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.bonus-nav-item {
    flex: 1;
    max-width: 48%;
}

.bonus-nav-item.prev-bonus {
    text-align: left;
}

.bonus-nav-item.next-bonus {
    text-align: right;
}

.bonus-nav-item .nav-link {
    display: flex;
    align-items: center;
    padding: 20px;
    background: rgba(42, 42, 42, 0.95);
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    min-height: 80px;
}

.casino-bonus-light .bonus-nav-item .nav-link {
    background: rgba(255, 255, 255, 0.95);
    color: #222;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.bonus-nav-item .nav-link:hover {
    background: #000;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.casino-bonus-light .bonus-nav-item .nav-link:hover {
    background: #f8f9fa;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 0, 0, 0.15);
}

.bonus-nav-item .arrow-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.2);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.bonus-nav-item .arrow-icon svg {
    color: #ffd700;
    transition: transform 0.3s ease;
}

.bonus-nav-item .nav-link:hover .arrow-icon {
    background: rgba(255, 215, 0, 0.3);
    transform: scale(1.1);
}

.bonus-nav-item.next-bonus .nav-link:hover .arrow-icon svg {
    transform: translateX(3px);
}

.bonus-nav-item.prev-bonus .nav-link:hover .arrow-icon svg {
    transform: translateX(-3px);
}

.bonus-nav-item .nav-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.bonus-nav-item.prev-bonus .nav-content {
    margin-left: 15px;
    text-align: left;
}

.bonus-nav-item.next-bonus .nav-content {
    margin-right: 15px;
    text-align: right;
}

.bonus-nav-item .nav-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #b0b0d0;
    margin-bottom: 5px;
}

.casino-bonus-light .bonus-nav-item .nav-label {
    color: #666;
}

.bonus-nav-item .nav-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.casino-bonus-light .bonus-nav-item .nav-title {
    color: #222;
}

/* Responsive adjustments for below post navigation */
@media (max-width: 768px) {
    .bonus-navigation-wrapper {
        flex-direction: column;
        gap: 15px;
    }

    .bonus-nav-item {
        max-width: 100%;
        text-align: center !important;
    }

    .bonus-nav-item .nav-link {
        justify-content: center;
        min-height: 70px;
        padding: 15px;
    }

    .bonus-nav-item .nav-content {
        text-align: center !important;
        margin: 0 15px !important;
    }

    .bonus-nav-item .nav-title {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .bonus-navigation-below {
        padding: 0 10px;
    }

    .bonus-nav-item .nav-link {
        padding: 12px;
        min-height: 60px;
    }

    .bonus-nav-item .arrow-icon {
        width: 35px;
        height: 35px;
    }

    .bonus-nav-item .nav-title {
        font-size: 13px;
    }

    .bonus-nav-item .nav-label {
        font-size: 10px;
    }
}

/* Old navigation styles - keeping for reference but not used */
.bonus-navigation-container {
    display: none; /* Hide the old side navigation */
}/* Other Bonus Promotions Section */
.other-bonuses-section {
    /* max-width: 900px; */
    width: 100%;
    margin: 20px auto;
    background: #2a2a2a;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(255, 255, 255, 0.1);
}

.casino-bonus-light .other-bonuses-section {
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.other-bonuses-header {
    background: linear-gradient(135deg, #1976d2 0%, #0d47a1 100%);
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.other-bonuses-header h3 {
    color: #fff;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.other-bonuses-table {
    display: flex;
    flex-direction: column;
}

.table-header {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 20px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #b0b0d0;
}

.casino-bonus-light .table-header {
    background: #f8f9fa;
    border-bottom: 1px solid #ddd;
    color: #666;
}

.table-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
    align-items: center;
}

.casino-bonus-light .table-row {
    border-bottom: 1px solid #eee;
}

.table-row:hover {
    background: rgba(255, 255, 255, 0.02);
}

.casino-bonus-light .table-row:hover {
    background: #f8f9fa;
}

.table-row:last-child {
    border-bottom: none;
}

.bonus-title a {
    color: #ffd700;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.casino-bonus-light .bonus-title a {
    color: #d32f2f;
}

.bonus-title a:hover {
    color: #fff;
    text-decoration: underline;
}

.casino-bonus-light .bonus-title a:hover {
    color: #b71c1c;
}

.bonus-code-cell {
    min-width: 140px;
    text-align: center;
}

.code-badge {
    background: linear-gradient(135deg, #ffd700 0%, #ffb300 100%);
    color: #000;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 2px dashed rgba(0, 0, 0, 0.2);
    display: inline-block;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.no-code {
    color: #ff6b47;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px dashed #ff6b47;
    padding: 8px 12px;
    border-radius: 4px;
    background: rgba(255, 107, 71, 0.1);
}

.casino-bonus-light .no-code {
    color: #d32f2f;
    border-color: #d32f2f;
    background: rgba(211, 47, 47, 0.1);
}

.bonus-status {
    min-width: 100px;
    text-align: center;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.restricted {
    background: rgba(255, 255, 255, 0.1);
    color: #ccc;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.casino-bonus-light .status-badge.restricted {
    background: #f5f5f5;
    color: #666;
    border: 1px solid #ddd;
}

/* Responsive design for other bonuses table */
@media (max-width: 768px) {
    .table-header,
    .table-row {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: left;
    }

    .table-header {
        display: none;
    }

    .table-row {
        padding: 15px 20px;
        border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    }

    .casino-bonus-light .table-row {
        border-bottom: 2px solid #eee;
    }

    .bonus-code-cell,
    .bonus-status {
        margin-top: 8px;
        text-align: left;
    }

    .bonus-code-cell::before {
        content: "Code: ";
        color: #b0b0d0;
        font-size: 12px;
        font-weight: 600;
        text-transform: uppercase;
        margin-right: 8px;
    }

    .casino-bonus-light .bonus-code-cell::before {
        color: #666;
    }

    .bonus-status::before {
        content: "Status: ";
        color: #b0b0d0;
        font-size: 12px;
        font-weight: 600;
        text-transform: uppercase;
        margin-right: 8px;
    }

    .casino-bonus-light .bonus-status::before {
        color: #666;
    }
}

@media (max-width: 1200px) {
    .archive-sidebar {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 320px;
        height: 100vh;
        background: #fff;
        z-index: 9999;
        box-shadow: 2px 0 16px rgba(0,0,0,0.15);
        overflow-y: auto;
        transition: transform 0.3s ease;
        transform: translateX(-100%);
    }
    .archive-sidebar.open {
        display: block;
        transform: translateX(0);
    }
    .sidebar-hamburger {
        display: flex !important;
    }
    .bonuses-list-header {
        flex-direction: row;
    }
    body.sidebar-open {
        overflow: hidden;
    }
}

.bonus-offer-title h1 {
    font-size: 28px;
    margin: 0;
}

/* Reviews and Comments Section */
.bonus-reviews-section {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 30px;
    margin-top: 20px;
    border: 1px solid #333;
}

.casino-bonus-light .bonus-reviews-section {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    color: #333;
}

.reviews-header {
    margin-bottom: 25px;
}

.reviews-header h3 {
    margin: 0 0 15px 0;
    color: #fff;
    font-size: 1.4em;
    font-weight: 600;
}

.casino-bonus-light .reviews-header h3 {
    color: #333;
}

.rating-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.like-btn, .dislike-btn {
    background: #333;
    border: 2px solid #555;
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.casino-bonus-light .like-btn,
.casino-bonus-light .dislike-btn {
    background: #fff;
    border: 2px solid #ddd;
    color: #333;
}

.like-btn:hover {
    background: #2e7d32;
    border-color: #2e7d32;
    transform: translateY(-2px);
}

.casino-bonus-light .like-btn:hover {
    background: #2e7d32;
    border-color: #2e7d32;
    color: #fff;
}

.dislike-btn:hover {
    background: #d32f2f;
    border-color: #d32f2f;
    transform: translateY(-2px);
}

.casino-bonus-light .dislike-btn:hover {
    background: #d32f2f;
    border-color: #d32f2f;
    color: #fff;
}

.like-btn.active {
    background: #2e7d32;
    border-color: #2e7d32;
}

.dislike-btn.active {
    background: #d32f2f;
    border-color: #d32f2f;
}

.like-btn.loading,
.dislike-btn.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Comment Form Section */
.comment-form-section {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #333;
}

.casino-bonus-light .comment-form-section {
    border-top: 1px solid #e9ecef;
}

.comment-form-header p {
    color: #ccc;
    margin-bottom: 20px;
    font-size: 14px;
}

.casino-bonus-light .comment-form-header p {
    color: #666;
}

.optional-text {
    color: #888;
    font-style: italic;
}

.comment-form .form-group {
    margin-bottom: 20px;
}

.comment-form label {
    display: block;
    color: #fff;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.casino-bonus-light .comment-form label {
    color: #333;
}

.comment-form input[type="text"],
.comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 2px solid #555;
    background: #2a2a2a;
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.casino-bonus-light .comment-form input[type="text"],
.casino-bonus-light .comment-form textarea {
    background: #fff;
    border: 2px solid #ddd;
    color: #333;
}

.comment-form input[type="text"]:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #007cba;
}

.comment-form textarea {
    resize: vertical;
    min-height: 100px;
}

.character-counter {
    text-align: right;
    font-size: 12px;
    color: #888;
    margin-top: 5px;
}

.character-counter.warning {
    color: #f39c12;
}

.submit-comment-btn {
    background: #dc3545;
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-comment-btn:hover {
    background: #c82333;
    transform: translateY(-2px);
}

.submit-comment-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.comment-success-message,
.comment-error-message {
    margin-top: 15px;
    padding: 12px 16px;
    border-radius: 8px;
    animation: fadeIn 0.5s ease;
}

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

.comment-success-message {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.comment-error-message {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.comment-success-message p,
.comment-error-message p {
    margin: 0;
}

/* Form hiding animation */
.comment-form-section {
    transition: opacity 0.3s ease, height 0.3s ease;
    overflow: hidden;
}

.comment-form-section[style*="display: none"] {
    opacity: 0;
    height: 0;
    margin: 0;
    padding: 0;
}

/* Comments Display */
.comments-display {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #333;
}

.casino-bonus-light .comments-display {
    border-top: 1px solid #e9ecef;
}

.comments-display h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2em;
    font-weight: 600;
}

.casino-bonus-light .comments-display h4 {
    color: #333;
}

.comment-item {
    background: #2a2a2a;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid #444;
}

.casino-bonus-light .comment-item {
    background: #fff;
    border: 1px solid #e9ecef;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #444;
}

.casino-bonus-light .comment-header {
    border-bottom: 1px solid #e9ecef;
}

.comment-meta {
    display: flex;
    align-items: center;
}

.delete-comment-btn {
    transition: all 0.3s ease;
}

.delete-comment-btn:hover {
    background: #c82333 !important;
    transform: translateY(-1px);
}

.delete-comment-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.comment-author {
    color: #007cba;
    font-size: 14px;
    font-weight: 600;
}

.comment-date {
    color: #888;
    font-size: 12px;
}

.comment-content {
    color: #ccc;
    line-height: 1.5;
    font-size: 14px;
}

.casino-bonus-light .comment-content {
    color: #555;
}

/* Responsive Design for Reviews */
@media (max-width: 768px) {
    .bonus-reviews-section {
        padding: 20px;
        margin-top: 15px;
    }

    .rating-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .like-btn, .dislike-btn {
        justify-content: center;
        padding: 15px;
    }

    .comment-form input[type="text"],
    .comment-form textarea {
        padding: 15px;
        font-size: 16px; /* Prevent zoom on iOS */
    }
}

/* Taxonomy Header Styles */
.taxonomy-header {
    margin-bottom: 0;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.casino-bonus-light .taxonomy-header {
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

.taxonomy-header h1 {
    font-size: 2.5rem;
    padding: 0;
    margin: 0;

    /* color: #43d047; */
}

.term-count {
    font-size: 1rem;
    /* color: rgba(255, 255, 255, 0.7); */
    font-weight: 400;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

.casino-bonus-light .term-count {
    color: rgba(0, 0, 0, 0.6);
    background: rgba(0, 0, 0, 0.1);
}

.taxonomy-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.casino-bonus-light .taxonomy-description {
    color: rgba(0, 0, 0, 0.7);
}

/* Updated Filter Styles for List Format */
.filter-option {
    margin-bottom: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.filter-option:hover {
    background: rgba(255, 255, 255, 0.1);
}

.casino-bonus-light .filter-option:hover {
    background: rgba(0, 0, 0, 0.05);
}

.filter-option.active {
    background: rgba(67, 208, 71, 0.2);
    border-left: 3px solid #43d047;
}

.filter-link,
.backto-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 12px;
    color: inherit;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    gap: 5px;
}
.filter-link {
    color: #2a2a2a;
}
.casino-bonus-dark .filter-link {
    color: #ffffff;
}

.filter-link:hover {
    color: #43d047;
    text-decoration: none;
}

.filter-option.active .filter-link {
    color: #43d047;
    font-weight: 500;
}

.filter-option .count {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 500;
}

.casino-bonus-light .filter-option .count {
    background: rgba(0, 0, 0, 0.1);
}

.filter-option.active .count {
    background: rgba(67, 208, 71, 0.3);
    color: #43d047;
}

/* Remove old checkbox styles */
.filter-option input[type="checkbox"] {
    display: none;
}

.filter-option label {
    display: none;
}

/* Responsive Taxonomy Header */
@media (max-width: 768px) {
    .taxonomy-header h1 {
        font-size: 2rem;
    }

    .term-count {
        font-size: 0.9rem;
    }

    .taxonomy-description {
        font-size: 1rem;
    }
}

/* Other Bonuses from Same Casino Section Styles */
.other-bonuses-section {
    margin: 30px 0;
    padding: 25px;
    background: #2a2a2a;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.casino-bonus-light .other-bonuses-section {
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.other-bonuses-header {
    margin-bottom: 20px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #4285f4 0%, #1976d2 100%);
    border-radius: 8px;
    text-align: center;
}

.other-bonuses-header h3 {
    margin: 0;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.other-bonuses-table {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 140px;
    gap: 0;
    background: #444;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.casino-bonus-light .table-header {
    background: #f5f5f5;
    color: #333;
    border-bottom: 2px solid #ddd;
}

.table-header > div {
    padding: 15px 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.casino-bonus-light .table-header > div {
    border-right: 1px solid #ddd;
}

.table-header > div:last-child {
    border-right: none;
}

.bonus-table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 140px;
    gap: 0;
    align-items: center;
    background: #333;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.casino-bonus-light .bonus-table-row {
    background: #fff;
    border-bottom: 1px solid #eee;
}

.bonus-table-row:hover {
    background: #3a3a3a;
    transform: translateY(-1px);
}

.casino-bonus-light .bonus-table-row:hover {
    background: #f9f9f9;
}

.bonus-table-row:last-child {
    border-bottom: none;
}

.bonus-name {
    padding: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.casino-bonus-light .bonus-name {
    border-right: 1px solid #eee;
}

.bonus-name a {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
}

.casino-bonus-light .bonus-name a {
    color: #e74c3c;
}

.bonus-name a:hover {
    color: #fff;
    text-decoration: underline;
}

.casino-bonus-light .bonus-name a:hover {
    color: #c0392b;
}

.bonus-code-cell {
    padding: 15px 20px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.casino-bonus-light .bonus-code-cell {
    border-right: 1px solid #eee;
}

.bonus-code-cell .bonus-code-section {
    margin: 0;
    border: 2px dashed rgba(255, 215, 0, 0.6);
    background: rgba(255, 215, 0, 0.05);
    padding: 8px 12px;
    border-radius: 8px;
    display: inline-block;
    /* min-width: 120px; */
    width: 100%;
}

.bonus-code-cell .bonus-code {
    background: none;
    padding: 0;
    font-size: 14px;
    font-weight: 700;
    color: #ffd700;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.bonus-code-cell .bonus-code:hover {
    color: #fff;
    background: rgba(255, 215, 0, 0.2);
}

.bonus-code-cell .bonus-code-text {
    padding: 4px 8px;
    display: inline-block;
}

.bonus-code-cell .bonus-code-hover {
    display: none;
    position: absolute;
    /* background: #333; */
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 10;
}

.bonus-code-cell .bonus-code:hover .bonus-code-hover {
    display: inline-block;
}

.no-code-required {
    color: #888;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.casino-bonus-light .no-code-required {
    color: #666;
}

.bonus-action-cell {
    padding: 15px 20px;
    text-align: center;
}

.claim-bonus-btn {
    background: #e74c3c;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.claim-bonus-btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
    color: #fff;
}

/* Responsive design for other bonuses table */
@media (max-width: 768px) {
    .other-bonuses-table {
        display: block;
    }

    .table-header {
        display: none;
    }

    .bonus-table-row {
        display: block;
        margin-bottom: 15px;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .casino-bonus-light .bonus-table-row {
        border: 1px solid #ddd;
    }

    .bonus-name, .bonus-code-cell, .bonus-action-cell {
        display: block;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 15px;
    }

    .casino-bonus-light .bonus-name,
    .casino-bonus-light .bonus-code-cell,
    .casino-bonus-light .bonus-action-cell {
        border-bottom: 1px solid #eee;
    }

    .bonus-action-cell {
        border-bottom: none;
    }

    .bonus-name::before {
        content: "Bonus: ";
        font-weight: 700;
        color: #888;
        display: inline-block;
        margin-right: 10px;
    }

    .bonus-code-cell::before {
        content: "Code: ";
        font-weight: 700;
        color: #888;
        display: inline-block;
        margin-right: 10px;
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 767px){
    .participating-casino-card,
    .eligible-game-item{
        flex-direction: column;
        gap: 20px;
    }
    .casino-section-heading{
        text-align: center;
    }
    .casino-section-heading::after{
        left: 0;
        right: 0;
        margin-left: auto;
        margin-right: auto;
    }
    .casino-brand-info img,.casino-game-image{
        margin: 0;
    }
}


/* Enhanced Bonuses List Header - Duplicate removed, see main styles below */

.quick-filters {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    height: 100%;
    /* margin-top: 8px; */
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    margin-bottom: 0;
}

.filter-checkbox input[type="checkbox"] {
    margin: 0;
    opacity: 0;
    position: absolute;
}

.filter-label {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.filter-label:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.active-filter {
    background: #e8f5e8;
    color: #43d047;
    border: 1px solid #43d047;
}

.filter-checkbox input[type="checkbox"]:checked + .active-filter {
    background: #43d047;
    color: white;
}

.no-deposit-filter {
    background: #e3f2fd;
    color: #2196f3;
    border: 1px solid #2196f3;
}

.filter-checkbox input[type="checkbox"]:checked + .no-deposit-filter {
    background: #2196f3;
    color: white;
}

.filter-dropdown select {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: white;
    color: #333;
    font-size: 13px;
    min-width: 120px;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.filter-dropdown select:focus {
    outline: none;
    border-color: #007cba;
}



@media screen and (max-width: 1200px){
    .filter-dropdown {
    margin-right: 60px;
}
}

#sidebar-toggle{
    top: 50%;
    transform: translateY(-50%);
}

@media screen and (max-width: 710px){
 .search-and-filters{
    display: block;
 }
 .search-input-wrapper{
    padding-right: 62px;
 }
 #sidebar-toggle{
    top: 0;
    transform: none;
    height: 50px;
 }
 .filter-dropdown{
    margin-right: 0;
 }
 .quick-filters{
    gap: 4px;
 }

/* Bonus Category Custom Content Styling */
.taxonomy-before-content,
.taxonomy-after-content {
    margin: 20px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.taxonomy-before-content {
    margin-bottom: 30px;
}

.taxonomy-after-content {
    margin-top: 30px;
    margin-bottom: 20px;
}

/* Light mode styles */
.casino-bonus-light .taxonomy-before-content,
.casino-bonus-light .taxonomy-after-content {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.1);
    color: #333;
}

/* Dark mode styles */
.casino-bonus-dark .taxonomy-before-content,
.casino-bonus-dark .taxonomy-after-content {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
}

/* Content within the custom areas */
.taxonomy-before-content h1,
.taxonomy-before-content h2,
.taxonomy-before-content h3,
.taxonomy-before-content h4,
.taxonomy-before-content h5,
.taxonomy-before-content h6,
.taxonomy-after-content h1,
.taxonomy-after-content h2,
.taxonomy-after-content h3,
.taxonomy-after-content h4,
.taxonomy-after-content h5,
.taxonomy-after-content h6 {
    margin-top: 0;
    margin-bottom: 15px;
}

.taxonomy-before-content p,
.taxonomy-after-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.taxonomy-before-content ul,
.taxonomy-before-content ol,
.taxonomy-after-content ul,
.taxonomy-after-content ol {
    margin-bottom: 15px;
    padding-left: 30px;
}

.taxonomy-before-content li,
.taxonomy-after-content li {
    margin-bottom: 5px;
}

.taxonomy-before-content a,
.taxonomy-after-content a {
    color: #007cba;
    text-decoration: none;
    transition: color 0.3s ease;
}

.taxonomy-before-content a:hover,
.taxonomy-after-content a:hover {
    color: #005a8b;
    text-decoration: underline;
}

/* Dark mode link styles */
.casino-bonus-dark .taxonomy-before-content a,
.casino-bonus-dark .taxonomy-after-content a {
    color: #64b5f6;
}

.casino-bonus-dark .taxonomy-before-content a:hover,
.casino-bonus-dark .taxonomy-after-content a:hover {
    color: #90caf9;
}
}

.casino-bonus-dark .taxonomy-before-content,
.casino-bonus-dark .taxonomy-after-content {
    background: #2a2a2a;
    color: #fff;
    padding: 40px;
    margin-top: 20px;
    border-radius: 15px;
}
.casino-bonus-light .taxonomy-before-content,
.casino-bonus-light .taxonomy-after-content {
    background: #f9f9f9;
    color: #333;
    padding: 40px;
    margin-top: 20px;
    border-radius: 15px;
}

.bonus-offer-title h1 a{
    color: #ab404c !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.casino-brand-info img{
    display: none !important;
}