/**
 * Website Builder Vergleich - Professional Table Design
 *
 * Pixel-perfect table layout based on topcasinosus.com
 *
 * @package WebsiteBuilderVergleich
 */

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

.wbv-toplist-page,
.wbv-toplist-page *,
.wbv-toplist-page *::before,
.wbv-toplist-page *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.wbv-toplist-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    background: #f5f5f5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.wbv-toplist-page img {
    max-width: 100%;
    height: auto;
    display: block;
}

.wbv-toplist-page a {
    color: #1976d2;
    text-decoration: none;
    transition: all 0.2s ease;
}

.wbv-toplist-page a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   CONTAINER
   ========================================================================== */

.wbv-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

/* Mobile overflow prevention */
@media (max-width: 767px) {
    html,
    body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    .wbv-toplist-page {
        overflow-x: hidden;
        max-width: 100%;
    }

    .wbv-container {
        padding: 0 12px;
        max-width: 100%;
        overflow-x: hidden;
    }
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.wbv-header {
    background: #ffffff;
    padding: 5px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.wbv-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: relative;
}

.wbv-header-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.wbv-header-logo img {
    height: 32px;
    width: auto;
    margin-bottom: 0;
}

.wbv-header-logo-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #3b82f6;
    border-radius: 6px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.wbv-header-logo-text {
    color: #1e293b;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Header layout with trust badges */
.wbv-header-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.wbv-header-trust-badges {
    display: none;
    align-items: center;
    gap: 16px;
}

.wbv-header-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
}

.wbv-header-trust-badge__icon {
    color: #3b82f6;
    font-weight: 700;
}

.wbv-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

@media (min-width: 768px) {
    .wbv-header-trust-badges {
        display: flex;
    }
}

.wbv-header-nav {
    display: none;
}

.wbv-header-nav a {
    color: #1e293b;
    padding: 8px 16px;
    font-size: 17px;
    font-weight: 500;
    border-radius: 4px;
    text-decoration: none;
}

.wbv-header-nav a:hover {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    text-decoration: none;
}

.wbv-header-nav a.wbv-nav-active {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border-bottom: 2px solid #3b82f6;
}

.wbv-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    color: #1e293b;
    cursor: pointer;
    font-size: 24px;
}

/* Mobile menu when active */
.wbv-header-nav.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 55px;
    left: auto;
    right: 16px;
    width: 180px;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    padding: 8px;
    gap: 2px;
    z-index: 1000;
    border-radius: 8px;
}

.admin-bar .wbv-header-nav.active {
    top: 87px;
}

@media (max-width: 782px) {
    .admin-bar .wbv-header-nav.active {
        top: 101px;
    }
}

.wbv-header-nav.active a {
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 15px;
}

.wbv-header-nav.active a:hover {
    background: rgba(59, 130, 246, 0.1);
}

/* Desktop: Keep hamburger menu, remove auto-show of nav */
@media (min-width: 992px) {
    .wbv-header-nav {
        display: none;
    }

    .wbv-header-nav.active {
        display: flex;
        width: 180px;
    }

    .wbv-menu-toggle {
        display: flex;
    }
}

/* ==========================================================================
   HERO SECTION - Compact layout with author on right
   ========================================================================== */

.wbv-hero {
    background: #3b82f6;
    color: #ffffff;
    padding: 4px 0 0 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.wbv-hero-inner {
    width: 100%;
}

/* Top Row: Title/Subtitle (left) + Author Box (right) */
.wbv-hero-top-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.wbv-hero-content {
    flex: 1;
}

.wbv-hero-author-wrapper {
    flex-shrink: 0;
}

.wbv-hero-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1.3;
}

/* Dynamic title colors for blue background */
.wbv-title-white {
    color: #ffffff;
}

.wbv-title-gold {
    color: #fbbf24;
}

/* Hero Subtitle */
.wbv-hero-subtitle {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin-top: 8px;
    margin-bottom: 0;
    max-width: 700px;
}

@media (min-width: 576px) {
    .wbv-hero-subtitle {
        font-size: 16px;
    }
}

@media (min-width: 992px) {
    .wbv-hero-subtitle {
        font-size: 18px;
    }
}

.wbv-hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
    margin-top: 12px;
}

.wbv-hero-feature {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
}

.wbv-hero-feature-icon {
    font-size: 16px;
    line-height: 1;
}

@media (min-width: 576px) {
    .wbv-hero {
        padding: 6px 0 0 0;
    }

    .wbv-hero-title {
        font-size: 26px;
    }

    .wbv-hero-features {
        gap: 8px 24px;
    }
}

@media (min-width: 992px) {
    .wbv-hero {
        padding: 8px 0 0 0;
        text-align: left;
    }

    .wbv-hero-top-row {
        flex-direction: row;
        align-items: flex-start;
        gap: 30px;
    }

    .wbv-hero-author-wrapper {
        margin-top: 4px;
    }

    .wbv-hero-title {
        font-size: 32px;
    }

    .wbv-hero-features {
        justify-content: flex-start;
    }
}

/* ==========================================================================
   HERO LAYOUT - Trust badges under subtitle, Author on right
   ========================================================================== */

/* Trust badges directly under subtitle in hero-content */
.wbv-hero-content .wbv-hero-trust-badges {
    margin-top: 12px;
    justify-content: center;
}

@media (min-width: 992px) {
    .wbv-hero-content .wbv-hero-trust-badges {
        justify-content: flex-start;
    }
}

/* ==========================================================================
   AUTHOR BOX - Hero Section (RIGHT side, aligned with title)
   ========================================================================== */

.wbv-author-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wbv-author-photo-link {
    display: block;
    flex-shrink: 0;
}

.wbv-author-photo {
    width: 62px !important;
    height: 62px !important;
    min-width: 62px;
    min-height: 62px;
    max-width: 62px;
    max-height: 62px;
    border-radius: 50% !important;
    border: 2px solid #ffffff;
    object-fit: cover !important;
    transition: border-color 0.2s ease;
}

.wbv-author-photo-link:hover .wbv-author-photo {
    border-color: #fbbf24;
}

.wbv-author-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wbv-author-name-line,
.wbv-author-date-line {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #ffffff;
}

.wbv-author-label {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
}

.wbv-author-name-link,
.wbv-author-name-link:link,
.wbv-author-name-link:visited {
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
}

.wbv-author-name-link:hover,
.wbv-author-name-link:active {
    color: #fbbf24;
    text-decoration: underline;
}

.wbv-author-date {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

/* Author Credentials Badge (E-E-A-T) */
.wbv-author-credentials {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    margin-left: 6px;
    font-size: 10px;
    font-weight: 600;
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 10px;
    white-space: nowrap;
}

/* Mobile: centered and optimized */
@media (max-width: 767px) {
    .wbv-author-box {
        justify-content: center;
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .wbv-author-info {
        align-items: center;
    }

    .wbv-author-name-line,
    .wbv-author-date-line {
        flex-wrap: wrap;
        justify-content: center;
        font-size: 12px;
        gap: 4px;
    }

    .wbv-author-credentials {
        margin-left: 0;
        margin-top: 4px;
    }

    .wbv-author-photo {
        width: 50px !important;
        height: 50px !important;
        min-width: 50px;
        min-height: 50px;
        max-width: 50px;
        max-height: 50px;
    }
}

/* Small Mobile: even more compact */
@media (max-width: 374px) {
    .wbv-author-name-line,
    .wbv-author-date-line {
        font-size: 11px;
    }

    .wbv-author-photo {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px;
        min-height: 44px;
        max-width: 44px;
        max-height: 44px;
    }
}

/* ==========================================================================
   AUTHOR INLINE - Compact version under hero title
   ========================================================================== */

.wbv-hero-author-inline {
    margin-top: 8px;
    margin-bottom: 12px;
}

.wbv-author-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.wbv-author-inline__photo-link {
    display: block;
    flex-shrink: 0;
}

.wbv-author-inline__photo {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px;
    min-height: 24px;
    max-width: 24px;
    max-height: 24px;
    border-radius: 50% !important;
    border: 2px solid #ffffff;
    object-fit: cover !important;
    transition: border-color 0.2s ease;
}

.wbv-author-inline__photo-link:hover .wbv-author-inline__photo {
    border-color: #fbbf24;
}

.wbv-author-inline__text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    flex-wrap: nowrap;
}

.wbv-author-inline__by {
    white-space: nowrap;
}

.wbv-author-inline__name,
.wbv-author-inline__name:link,
.wbv-author-inline__name:visited {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
}

.wbv-author-inline__name:hover,
.wbv-author-inline__name:active {
    color: #fbbf24;
    text-decoration: underline;
}

.wbv-author-inline__separator {
    color: rgba(255, 255, 255, 0.5);
}

.wbv-author-inline__date {
    color: rgba(255, 255, 255, 0.8);
}

/* Mobile: Author inline wrap fix */
@media (max-width: 767px) {
    .wbv-author-inline {
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px 8px;
    }

    .wbv-author-inline__text {
        flex-wrap: wrap;
        justify-content: center;
        gap: 3px 6px;
        font-size: 12px;
        text-align: center;
    }

    .wbv-author-inline__separator {
        display: none;
    }

    .wbv-author-inline__date {
        width: 100%;
        text-align: center;
    }
}

/* ==========================================================================
   HERO TRUST BADGES (under subtitle)
   ========================================================================== */

.wbv-hero-trust-badges {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px 24px;
    flex-wrap: wrap;
}

.wbv-hero-trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #ffffff;
    white-space: nowrap;
}

.wbv-hero-trust-badge__icon {
    color: #fbbf24;
    font-size: 14px;
    font-weight: 700;
}

.wbv-hero-trust-badge__text {
    font-size: 13px;
    color: #ffffff;
    white-space: nowrap;
}

/* Mobile: 2x2 grid */
@media (max-width: 767px) {
    .wbv-hero-trust-badges {
        display: grid;
        grid-template-columns: auto auto;
        gap: 8px 20px;
        justify-content: center;
    }
}

/* ==========================================================================
   SECTION WRAPPER
   ========================================================================== */

.wbv-section {
    padding: 20px 0;
}

@media (min-width: 576px) {
    .wbv-section {
        padding: 24px 0;
    }
}

/* ==========================================================================
   GEO INFO BAR
   ========================================================================== */

.wbv-toplist__geo-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #e8f5e9;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 14px;
    color: #2e7d32;
}

.wbv-toplist__geo-flag {
    font-size: 20px;
}

/* ==========================================================================
   PROFESSIONAL TABLE - DESKTOP
   ========================================================================== */

.wbv-pro-table-wrapper {
    width: 100%;
    overflow: visible;
}

.wbv-pro-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    display: none;
    overflow: visible;
}

@media (min-width: 768px) {
    .wbv-pro-table {
        display: table;
    }

    .wbv-mobile-cards {
        display: none;
    }
}

/* Table Header - Dark Purple like topcasinosus.com */
.wbv-pro-table thead {
    background: #2d1f3d;
}

.wbv-pro-table th {
    height: 52px;
    padding: 0 16px;
    text-align: left;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    border: none;
}

/* Column Widths */
.wbv-col-picks { width: 25%; }
.wbv-col-bonus { width: 25%; }
.wbv-col-rating { width: 20%; text-align: center; }
.wbv-col-score { width: 15%; text-align: center; }
.wbv-col-cta { width: 15%; text-align: center; }

/* Table Rows */
.wbv-table-row {
    background: #fff;
    transition: background 0.2s ease;
    overflow: visible;
}

.wbv-table-row td {
    overflow: visible;
}

/* Clickable Rows */
.wbv-table-row.wbv-clickable,
.wbv-mobile-card.wbv-clickable {
    cursor: pointer;
}

.wbv-table-row.wbv-clickable:hover {
    background: #f0f7ff;
}

.wbv-mobile-card.wbv-clickable:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.wbv-table-row:nth-child(even) {
    background: #F8F9FA;
}

.wbv-table-row.wbv-row-alt {
    background: #F8F9FA;
}

.wbv-table-row:hover {
    background: #f0f0f0;
}

/* Best Choice Row (Rank #1) */
.wbv-table-row.wbv-row-best {
    background: #FFF9E6;
    border-left: 4px solid #FFD700;
}

.wbv-table-row.wbv-row-best:hover {
    background: #fff3cd;
}

/* Table Cells - Larger like topcasinosus.com */
.wbv-pro-table td {
    padding: 20px 16px;
    vertical-align: middle;
    border-bottom: 1px solid #e9ecef;
}

/* ==========================================================================
   COLUMN 1: OUR TOP PICKS - Compact sizes like topcasinosus.com
   ========================================================================== */

.wbv-cell-picks {
    position: relative;
}

.wbv-picks-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wbv-picks-main {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Rank Number - Larger like topcasinosus.com */
.wbv-rank-number {
    font-size: 36px;
    font-weight: 300;
    color: #333;
    min-width: 40px;
}

/* Operator Logo - Larger like topcasinosus.com */
.wbv-operator-logo {
    max-height: 70px;
    max-width: 140px;
    object-fit: contain;
    transition: opacity 0.2s ease;
}

.wbv-logo-link:hover .wbv-operator-logo {
    opacity: 0.8;
}

/* Fallback when no logo - just show name */
.wbv-operator-name-only {
    font-size: 17px;
    font-weight: 600;
    color: #333;
}

/* Logo wrapper - contains logo and casino name */
.wbv-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wbv-logo-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

/* Casino name under logo */
.wbv-casino-name {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 500;
    color: #666666;
    text-align: center;
    transition: color 0.2s ease;
}

.wbv-logo-link:hover .wbv-casino-name {
    color: #333333;
    text-decoration: underline;
}

/* Badges - Larger like topcasinosus.com */
.wbv-badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-radius: 3px;
    color: #fff;
    white-space: nowrap;
}

.wbv-badge-gold {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
}

.wbv-badge-blue {
    background: #1a237e;
}

.wbv-badge-green {
    background: #2e7d32;
}

.wbv-badge-purple {
    background: #6a1b9a;
}

/* ==========================================================================
   OFFER BADGES - Seal (Rank 1) and Ribbon (Rank 2+)
   ========================================================================== */

/* --- SEAL BADGE (Best Choice - Rank 1) --- */
.wbv-badge-seal {
    position: absolute;
    top: 50%;
    left: -20px;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    z-index: 20;

    /* Outer ring - darker orange */
    background: linear-gradient(145deg, #c67a15 0%, #a86810 100%);
    border-radius: 50%;
    padding: 3px;

    /* Shadow */
    box-shadow:
        3px 4px 8px rgba(0, 0, 0, 0.35),
        1px 2px 4px rgba(0, 0, 0, 0.2),
        inset 0 -1px 3px rgba(0, 0, 0, 0.1);
}

/* Middle white ring */
.wbv-badge-seal-middle {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 50%;
    padding: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Inner circle - lighter orange */
.wbv-badge-seal-inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #f5a623 0%, #e89a1d 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.wbv-badge-seal-text {
    font-size: 9px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 1.1;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.wbv-badge-seal-text span {
    display: block;
}

/* Row with seal needs extra left padding and hides rank number */
.wbv-table-row.has-seal {
    position: relative;
}

.wbv-table-row.has-seal .wbv-cell-picks {
    padding-left: 50px;
}

/* Hide rank number when seal is present - seal replaces it */
.wbv-table-row.has-seal .wbv-rank-number {
    display: none;
}

/* --- RIBBON BADGES (Rank 2+) --- */
.wbv-badge-ribbon {
    position: absolute;
    top: 0;
    left: -10px;                    /* Extends beyond the row */
    padding: 8px 24px 8px 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
    z-index: 15;
}

/* Arrow shape on right (border trick) */
.wbv-badge-ribbon::before {
    content: '';
    position: absolute;
    top: 0;
    right: -15px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 16px 0 16px 15px;   /* Height matches ribbon height */
    border-color: transparent transparent transparent currentColor;
}

/* Shadow fold at bottom left (3D effect) */
.wbv-badge-ribbon::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 10px 8px 0;
    border-color: transparent rgba(0, 0, 0, 0.3) transparent transparent;
}

/* Row with ribbon needs top padding */
.wbv-table-row.has-ribbon .wbv-cell-picks {
    padding-top: 40px;
}

/* Ribbon Colors - background + arrow color */
.wbv-badge-ribbon--instant_withdrawals {
    background: #1e3a5f;
}
.wbv-badge-ribbon--instant_withdrawals::before {
    border-left-color: #1e3a5f;
}

.wbv-badge-ribbon--exclusive_offer {
    background: #28a745;
}
.wbv-badge-ribbon--exclusive_offer::before {
    border-left-color: #28a745;
}

.wbv-badge-ribbon--new {
    background: #17a2b8;
}
.wbv-badge-ribbon--new::before {
    border-left-color: #17a2b8;
}

.wbv-badge-ribbon--hot {
    background: #dc3545;
}
.wbv-badge-ribbon--hot::before {
    border-left-color: #dc3545;
}

.wbv-badge-ribbon--top_rated {
    background: #6f42c1;
}
.wbv-badge-ribbon--top_rated::before {
    border-left-color: #6f42c1;
}

.wbv-badge-ribbon--editor_pick {
    background: #17a2b8;
}
.wbv-badge-ribbon--editor_pick::before {
    border-left-color: #17a2b8;
}

/* Legacy fallback for old badge class */
.wbv-offer-badge {
    position: absolute;
    top: 0;
    left: 0;
    padding: 4px 12px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 0 0 6px 0;
    z-index: 10;
    white-space: nowrap;
}

.wbv-table-row.has-badge .wbv-cell-picks {
    padding-top: 32px;
}

/* ==========================================================================
   COLUMN 2: BONUS - Compact like topcasinosus.com
   ========================================================================== */

.wbv-cell-bonus {
    text-align: left;
    position: relative;
}

.wbv-bonus-text {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    line-height: 1.5;
    cursor: pointer;
    transition: color 0.2s ease;
}

.wbv-bonus-text:hover {
    color: #28a745;
}

.wbv-bonus-text strong {
    font-weight: 600;
}

/* ==========================================================================
   BONUS TOOLTIP/POPOVER
   ========================================================================== */

.wbv-bonus-tooltip {
    /* Position set by JS - fixed positioning relative to viewport */
    width: 300px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 20px;
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.wbv-bonus-tooltip--visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    pointer-events: auto;
}

/* Arrow - hidden by default, shown based on position class */
.wbv-bonus-tooltip__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

/* Arrow pointing right (tooltip on left side of trigger) */
.wbv-bonus-tooltip--left .wbv-bonus-tooltip__arrow {
    right: -8px;
    left: auto;
    border-left: 10px solid #ffffff;
    border-right: none;
    filter: drop-shadow(2px 0 2px rgba(0, 0, 0, 0.1));
}

/* Arrow pointing left (tooltip on right side of trigger) */
.wbv-bonus-tooltip--right .wbv-bonus-tooltip__arrow {
    left: -8px;
    right: auto;
    border-right: 10px solid #ffffff;
    border-left: none;
    filter: drop-shadow(-2px 0 2px rgba(0, 0, 0, 0.1));
}

.wbv-bonus-tooltip__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.wbv-bonus-tooltip__logo {
    margin-bottom: 16px;
}

.wbv-bonus-tooltip__logo img {
    max-width: 120px;
    max-height: 60px;
    object-fit: contain;
}

.wbv-bonus-tooltip__headline {
    font-size: 18px;
    font-weight: 700;
    color: #28a745;
    line-height: 1.3;
    margin-bottom: 8px;
}

.wbv-bonus-tooltip__subtext {
    font-size: 13px;
    color: #666666;
    margin-bottom: 16px;
    line-height: 1.4;
}

.wbv-bonus-tooltip__cta {
    display: block;
    width: 100%;
    background: #28a745;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 25px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.wbv-bonus-tooltip__cta:hover {
    background: #f5a623;
    color: #ffffff !important;
    text-decoration: none;
}

.wbv-bonus-tooltip__tc {
    font-size: 11px;
    color: #888888;
    margin-top: 12px;
}

.wbv-bonus-tooltip__trust {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.wbv-bonus-tooltip__trust-badge {
    font-size: 9px;
    font-weight: 600;
    color: #888;
    background: #f5f5f5;
    padding: 4px 8px;
    border-radius: 4px;
}

/* Mobile - smaller tooltip width */
@media (max-width: 992px) {
    .wbv-bonus-tooltip {
        width: 280px;
        padding: 16px;
    }
}

/* ==========================================================================
   COLUMN 3: USER RATING - Compact like topcasinosus.com
   ========================================================================== */

.wbv-cell-rating {
    text-align: center;
}

.wbv-rating-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

/* Stars */
.wbv-stars {
    display: flex;
    gap: 2px;
}

.wbv-star {
    font-size: 18px;
    line-height: 1;
    transition: color 0.15s ease, transform 0.15s ease;
}

.wbv-star-filled {
    color: #FFD700;
}

.wbv-star-empty {
    color: #ddd;
}

/* Interactive Stars */
.wbv-stars--interactive {
    cursor: pointer;
}

.wbv-stars--interactive .wbv-star:hover {
    transform: scale(1.2);
}

/* Rating Status */
.wbv-rating-status {
    font-size: 11px;
    line-height: 1;
    margin-top: 4px;
    min-height: 14px;
    transition: opacity 0.2s ease;
}

.wbv-rating-status--preview {
    color: #666;
    font-style: italic;
}

.wbv-rating-status--saving {
    color: #999;
}

.wbv-rating-status--success {
    color: #28a745;
    font-weight: 500;
}

.wbv-rating-status--error {
    color: #dc3545;
}

.wbv-rating-status--voted {
    color: #666;
    font-size: 10px;
}

/* Votes */
.wbv-votes {
    font-size: 12px;
    color: #666;
}

/* Vote Link */
.wbv-vote-link {
    font-size: 10px;
    color: #1976d2;
}

.wbv-vote-link:hover {
    text-decoration: underline;
}

/* ==========================================================================
   COLUMN 4: OUR SCORE - TRUE CIRCLE like topcasinosus.com
   ========================================================================== */

.wbv-cell-score {
    text-align: center;
}

.wbv-score-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: #fff;
    border: 3px solid #28a745;
    border-radius: 50%;
}

.wbv-score-value {
    font-size: 26px;
    font-weight: 700;
    color: #333;
}

/* Score Color Coding */
.wbv-score-box.score-excellent {
    border-color: #28a745;
}

.wbv-score-box.score-great {
    border-color: #8bc34a;
}

.wbv-score-box.score-good {
    border-color: #ffc107;
}

.wbv-score-box.score-average {
    border-color: #ff9800;
}

/* ==========================================================================
   COLUMN 5: VISIT SITE (CTA Button) - WHITE TEXT on GREEN
   ========================================================================== */

.wbv-cell-cta {
    text-align: center;
    overflow: visible;
}

/* Social Proof CTA Wrapper */
.wbv-cta-wrapper {
    position: relative;
    display: inline-block;
}

.wbv-cta-wrapper--block {
    display: block;
}

.wbv-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    min-width: fit-content;
    padding: 12px 24px;
    background: #28a745;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
}

.wbv-cta-button:hover {
    background: #f5a623;
    color: #ffffff !important;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.wbv-cta-arrow {
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
}

/* Social Proof Bubble */
.wbv-social-proof-bubble {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    margin-top: 8px;
    background: #ffffff;
    border: 2px solid #f5a623;
    border-radius: 25px;
    padding: 10px 20px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    font-size: 13px;
    font-weight: 600;
    color: #333333;
}

.wbv-cta-button:hover + .wbv-social-proof-bubble {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* Bubble Arrow */
.wbv-social-proof-bubble::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #f5a623;
}

.wbv-social-proof-bubble::after {
    content: '';
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #ffffff;
}

/* ==========================================================================
   T&Cs DISCLAIMER ROW
   ========================================================================== */

.wbv-disclaimer-row td {
    padding: 8px 15px;
    font-size: 10px;
    color: #888;
    background: #fff;
    border-top: 1px dashed #ddd;
    text-align: left;
}

/* ==========================================================================
   MOBILE CARDS (Under 768px)
   ========================================================================== */

.wbv-mobile-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (min-width: 768px) {
    .wbv-mobile-cards {
        display: none;
    }
}

.wbv-mobile-card {
    position: relative;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.wbv-mobile-card--best {
    border-left: 4px solid #FFD700;
    background: #FFF9E6;
}

/* Mobile Seal Badge - smaller version */
.wbv-mobile-card .wbv-badge-seal,
.wbv-badge-seal--mobile {
    position: absolute;
    top: -8px;
    left: -8px;
    width: 45px;
    height: 45px;
    transform: none;
}

.wbv-badge-seal--mobile .wbv-badge-seal-text {
    font-size: 7px;
}

.wbv-mobile-card.has-seal {
    padding-top: 20px;
    padding-left: 20px;
}

/* Hide rank number when seal is present on mobile */
.wbv-mobile-card.has-seal .wbv-mobile-rank {
    display: none;
}

/* Mobile Ribbon Badge - simplified without arrow */
.wbv-mobile-card .wbv-badge-ribbon {
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 0 0 6px 0;
    padding: 6px 12px;
    font-size: 10px;
}

/* Hide arrow and fold on mobile */
.wbv-mobile-card .wbv-badge-ribbon::before,
.wbv-mobile-card .wbv-badge-ribbon::after {
    display: none;
}

.wbv-mobile-card.has-ribbon {
    padding-top: 40px;
}

/* Legacy fallback */
.wbv-mobile-card .wbv-badge,
.wbv-mobile-card .wbv-offer-badge {
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 0 0 6px 0;
}

.wbv-mobile-card.has-badge {
    padding-top: 36px;
}

.wbv-mobile-rank {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 24px;
    font-weight: 300;
    color: #666;
}

/* Mobile logo wrapper - contains logo and casino name */
.wbv-mobile-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 16px;
}

.wbv-mobile-logo {
    max-height: 60px;
    max-width: 150px;
    object-fit: contain;
}

.wbv-mobile-logo-wrapper .wbv-casino-name {
    margin-top: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #666666;
    text-align: center;
}

.wbv-mobile-bonus {
    font-size: 15px;
    color: #333;
    text-align: center;
    line-height: 1.4;
}

.wbv-mobile-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    width: 100%;
    padding: 12px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.wbv-mobile-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.wbv-mobile-card .wbv-score-box {
    width: 50px;
    height: 50px;
}

.wbv-mobile-card .wbv-score-value {
    font-size: 18px;
}

.wbv-cta-button--block {
    width: 100%;
}

/* ==========================================================================
   COMPLIANCE SECTION (above site footer)
   ========================================================================== */

.wbv-compliance-section {
    padding: 40px 0;
    background: #f8f9fa;
    margin-top: 48px;
}

.wbv-compliance-footer {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wbv-compliance-block {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    background: #ffffff;
    border-radius: 6px;
    border-left: 3px solid #ddd;
}

.wbv-compliance-block--rg {
    border-left-color: #28a745;
    background: rgba(40, 167, 69, 0.05);
}

.wbv-compliance-block--age {
    border-left-color: #ffc107;
    background: rgba(255, 193, 7, 0.05);
}

.wbv-compliance-block--affiliate {
    border-left-color: #1976d2;
    background: rgba(25, 118, 210, 0.05);
}

.wbv-compliance-block--terms {
    border-left-color: #6c757d;
}

.wbv-compliance-block__icon {
    font-size: 20px;
    line-height: 1;
    flex-shrink: 0;
}

.wbv-compliance-block__content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wbv-compliance-block__content strong {
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

.wbv-compliance-block__content span {
    font-size: 11px;
    color: #666;
    line-height: 1.4;
}

.wbv-compliance-link {
    font-size: 11px;
    color: #1976d2;
    font-weight: 500;
}

.wbv-compliance-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 6px;
    justify-content: center;
}

.wbv-compliance-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    color: #666;
}

@media (min-width: 768px) {
    .wbv-compliance-footer {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .wbv-compliance-badges {
        grid-column: 1 / -1;
    }
}

/* ==========================================================================
   TRUST BADGES
   ========================================================================== */

.wbv-trust-badges {
    padding: 32px 0;
    background: #f8f9fa;
}

.wbv-trust-badges-title {
    text-align: center;
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.wbv-trust-badges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    align-items: center;
    justify-items: center;
}

.wbv-trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.wbv-trust-badge-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 24px;
}

.wbv-trust-badge-label {
    font-size: 11px;
    color: #666;
    font-weight: 500;
}

@media (min-width: 768px) {
    .wbv-trust-badges-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.wbv-footer {
    background: #15151c;
    color: #fff;
    padding: 32px 0;
}

.wbv-footer-logo {
    text-align: left;
    margin-bottom: 24px;
}

.wbv-footer-logo img {
    height: 35px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.wbv-footer-logo a:hover img {
    opacity: 1;
}

.wbv-footer-logo-text {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
}

.wbv-footer-logo a:hover .wbv-footer-logo-text {
    text-decoration: none;
}

.wbv-footer-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.wbv-footer-section {
    text-align: center;
}

.wbv-footer-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.wbv-footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wbv-footer-links a {
    color: #fff;
    font-size: 14px;
    opacity: 0.8;
}

.wbv-footer-links a:hover {
    opacity: 1;
    text-decoration: none;
}

.wbv-footer-disclaimer {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.wbv-footer-copyright {
    text-align: center;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 16px;
}

.wbv-affiliate-disclaimer {
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 16px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

.wbv-affiliate-disclaimer a {
    color: #fbbf24;
    text-decoration: underline;
    margin-left: 6px;
}

.wbv-affiliate-disclaimer a:hover {
    color: #fcd34d;
}


@media (min-width: 768px) {
    .wbv-footer {
        padding: 48px 0;
    }

    .wbv-footer-content {
        flex-direction: row;
        justify-content: space-between;
    }

    .wbv-footer-section {
        text-align: left;
        flex: 1;
    }

    .wbv-footer-links {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px;
    }
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.wbv-text-center { text-align: center; }
.wbv-hidden { display: none !important; }

/* WordPress Admin Bar Spacing */
.wbv-toplist-page.admin-bar .wbv-header {
    top: 32px;
}

@media (max-width: 782px) {
    .wbv-toplist-page.admin-bar .wbv-header {
        top: 46px;
    }
}

/* Override Theme Styles */
.wbv-toplist-page h1,
.wbv-toplist-page h2,
.wbv-toplist-page h3,
.wbv-toplist-page h4 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.25;
    margin: 0;
    padding: 0;
}

.wbv-toplist-page p {
    margin: 0 0 16px;
}

.wbv-toplist-page ul,
.wbv-toplist-page ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ==========================================================================
   SOCIAL PROOF BUBBLE - MOBILE
   ========================================================================== */

@media (max-width: 768px) {
    .wbv-social-proof-bubble {
        font-size: 11px;
        padding: 8px 16px;
    }
}
