
/* ===================================================================
   CSS Reset
   =================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-size: 16px;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

/* ===================================================================
   Site Body & Layout
   =================================================================== */
.site-body {
    background-color: #302e31;
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    min-height: 100vh;
}

.site-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-main {
    min-height: 100vh;
    padding-top: 80px;
}

/* ===================================================================
   Content Zone (Brand Pages)
   =================================================================== */
.content-zone {
    padding: 40px 0;
}

.main-article {
    max-width: 900px;
    margin: 0 auto;
}

/* ===================================================================
   Page Heading
   =================================================================== */
.page-heading {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 24px;
    padding-bottom: 16px;
    position: relative;
    color: #ffffff;
}

.page-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: #0bb265;
    border-radius: 2px;
}

/* ===================================================================
   Article Body — Typography
   =================================================================== */
.article-body {
    font-size: 1rem;
    line-height: 1.7;
    color: #ffffff;
}

.article-body h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-top: 2em;
    margin-bottom: 0.75em;
    line-height: 1.3;
    color: #ffffff;
}

.article-body h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 1.5em;
    margin-bottom: 0.6em;
    line-height: 1.35;
    color: #ffffff;
}

.article-body p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.1em;
}

.article-body ul,
.article-body ol {
    margin: 1em 0;
    padding-left: 1.5em;
}

.article-body ul {
    list-style: disc;
}

.article-body ol {
    list-style: decimal;
}

.article-body ul li,
.article-body ol li {
    margin-bottom: 0.5em;
    line-height: 1.6;
}

.article-body strong {
    font-weight: 700;
    color: rgba(255, 255, 255, 1);
}

.article-body a {
    color: #0bb265;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

.article-body a:hover {
    text-decoration: underline;
    filter: brightness(1.3);
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5em 0;
}

/* Blockquotes */
.article-body blockquote {
    margin: 1.5em 0;
    padding: 16px 20px 16px 24px;
    border-left: 4px solid #0bb265;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    line-height: 1.7;
}

.article-body blockquote p {
    margin-bottom: 0;
}

/* Tables */
.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: 0.95rem;
}

.article-body table th,
.article-body table td {
    padding: 12px 16px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.article-body table th {
    background: rgba(0, 0, 0, 0.3);
    font-weight: 700;
    white-space: nowrap;
}

.article-body table tr:nth-child(even) {
    background: rgba(0, 0, 0, 0.15);
}

.article-body table tr:nth-child(odd) {
    background: rgba(0, 0, 0, 0.05);
}

.article-body table tr:hover {
    background: rgba(11, 178, 101, 0.1);
}

/* Table responsive wrapper */
.table-responsive,
.article-body .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.5em 0;
}

.table-responsive table {
    margin: 0;
}

/* ===================================================================
   Rating Zone (Main Domain — Rating Pages)
   =================================================================== */
.rating-zone {
    padding: 30px 0 60px;
}

.rating-container {
    max-width: 1100px;
    margin: 0 auto;
}

.rating-header {
    text-align: center;
    margin-bottom: 32px;
}

.rating-header .page-heading {
    display: inline-block;
}

.rating-header .page-heading::after {
    left: 50%;
    transform: translateX(-50%);
}

.rating-content-body {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
    line-height: 1.7;
}

.rating-content-body h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-top: 2em;
    margin-bottom: 0.75em;
}

.rating-content-body h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 1.5em;
    margin-bottom: 0.6em;
}

.rating-content-body p {
    margin-bottom: 1.1em;
    line-height: 1.7;
}

.rating-content-body ul,
.rating-content-body ol {
    margin: 1em 0;
    padding-left: 1.5em;
}

.rating-content-body ul {
    list-style: disc;
}

.rating-content-body ol {
    list-style: decimal;
}

.rating-content-body ul li,
.rating-content-body ol li {
    margin-bottom: 0.5em;
}

.rating-content-body a {
    color: #0bb265;
    font-weight: 600;
}

.rating-content-body a:hover {
    text-decoration: underline;
}

.rating-content-body blockquote {
    margin: 1.5em 0;
    padding: 16px 20px 16px 24px;
    border-left: 4px solid #0bb265;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.rating-content-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
}

.rating-content-body table th,
.rating-content-body table td {
    padding: 12px 16px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.rating-content-body table th {
    background: rgba(0, 0, 0, 0.3);
    font-weight: 700;
}

.rating-content-body table tr:nth-child(even) {
    background: rgba(0, 0, 0, 0.15);
}

.rating-content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5em 0;
}

/* ===================================================================
   Rating Navigation Tabs
   =================================================================== */
.rating-nav-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 8px 0 16px;
    margin-bottom: 24px;
    scrollbar-width: thin;
    scrollbar-color: #0bb265 transparent;
}

.rating-nav-tabs::-webkit-scrollbar {
    height: 4px;
}

.rating-nav-tabs::-webkit-scrollbar-track {
    background: transparent;
}

.rating-nav-tabs::-webkit-scrollbar-thumb {
    background: #0bb265;
    border-radius: 2px;
}

.rating-nav-tabs .tab-item {
    flex-shrink: 0;
    padding: 10px 20px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.2s ease, border-color 0.2s ease;
    text-decoration: none;
}

.rating-nav-tabs .tab-item:hover,
.rating-nav-tabs .tab-item.active {
    background: #0bb265;
    border-color: #0bb265;
    color: #fff;
}

/* ===================================================================
   Rating Cards (rt-* classes from rating-page-generator.php)
   =================================================================== */
.rt-listing {
    margin: 20px 0;
}

.rt-nav {
    margin-bottom: 24px;
}

.rt-nav-list {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.rt-nav-item {
    flex-shrink: 0;
}

.rt-nav-item a {
    display: block;
    padding: 10px 20px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.rt-nav-item a:hover,
.rt-nav-item.active a {
    background: #0bb265;
    border-color: #0bb265;
    color: #fff;
}

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

.rt-card {
    display: flex;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rt-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.rt-position {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    min-width: 48px;
    font-size: 1.3rem;
    font-weight: 800;
    background: rgba(11, 178, 101, 0.15);
    color: #0bb265;
}

.rt-card-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    gap: 10px;
    min-width: 140px;
}

.rt-logo-link img,
.rt-card-logo img {
    max-width: 100px;
    max-height: 60px;
    object-fit: contain;
}

.rt-btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s ease, transform 0.15s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.rt-btn-play {
    background: #0bb265;
    color: #fff;
}

.rt-btn-play:hover {
    filter: brightness(1.2);
    transform: scale(1.03);
}

.rt-btn-bonus {
    background: linear-gradient(135deg, #0bb265, #110e17);
    color: #fff;
}

.rt-btn-bonus:hover {
    filter: brightness(1.2);
    transform: scale(1.03);
}

.rt-btn-link {
    color: #0bb265;
    font-size: 0.75rem;
    padding: 4px 0;
}

.rt-card-info {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.rt-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.rt-casino-name {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
}

.rt-license {
    font-size: 0.8rem;
    opacity: 0.7;
    display: flex;
    align-items: center;
    gap: 4px;
}

.rt-license-dot {
    color: #4caf50;
    font-size: 0.7rem;
}

.rt-stars {
    display: flex;
    gap: 2px;
    font-size: 1rem;
}

.rt-star {
    line-height: 1;
}

.rt-star-full {
    color: #ffc107;
}

.rt-star-half {
    color: #ffc107;
    opacity: 0.7;
}

.rt-star-empty {
    color: rgba(255, 255, 255, 0.2);
}

.rt-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.rt-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.75rem;
    font-weight: 500;
}

.rt-badge-check {
    color: #4caf50;
    font-size: 0.7rem;
}

.rt-card-bonus {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    min-width: 180px;
    text-align: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.1);
}

.rt-bonus-title {
    font-size: 0.8rem;
    opacity: 0.7;
    font-weight: 500;
}

.rt-bonus-amount {
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffc107;
}

/* ===================================================================
   Responsive — Mobile (max-width: 768px)
   =================================================================== */
@media (max-width: 768px) {
    .site-wrapper {
        padding: 0 12px;
    }

    .site-main {
        padding-top: 64px;
    }

    .content-zone {
        padding: 24px 0;
    }

    .page-heading {
        font-size: 1.5rem;
        margin-bottom: 18px;
        padding-bottom: 12px;
    }

    .page-heading::after {
        width: 50px;
        height: 3px;
    }

    .article-body {
        font-size: 0.95rem;
    }

    .article-body h2 {
        font-size: 1.3rem;
        margin-top: 1.6em;
    }

    .article-body h3 {
        font-size: 1.1rem;
        margin-top: 1.2em;
    }

    .article-body p {
        font-size: 0.95rem;
        line-height: 1.65;
    }

    .article-body table th,
    .article-body table td {
        padding: 8px 10px;
        font-size: 0.85rem;
    }

    .article-body blockquote {
        padding: 12px 14px 12px 18px;
    }

    /* Rating zone mobile */
    .rating-zone {
        padding: 20px 0 40px;
    }

    .rating-header {
        margin-bottom: 20px;
    }

    .rating-content-body {
        margin-top: 28px;
        font-size: 0.95rem;
    }

    .rating-content-body h2 {
        font-size: 1.3rem;
    }

    .rating-content-body h3 {
        font-size: 1.1rem;
    }

    .rating-content-body table th,
    .rating-content-body table td {
        padding: 8px 10px;
        font-size: 0.85rem;
    }

    /* Rating cards mobile */
    .rt-card {
        flex-direction: column;
    }

    .rt-position {
        width: 100%;
        min-width: unset;
        height: 36px;
        font-size: 1rem;
    }

    .rt-card-logo {
        min-width: unset;
        padding: 12px;
        flex-direction: row;
        justify-content: space-between;
    }

    .rt-card-info {
        padding: 12px;
    }

    .rt-card-header {
        gap: 8px;
    }

    .rt-casino-name {
        font-size: 1rem;
    }

    .rt-card-bonus {
        min-width: unset;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        padding: 12px;
        gap: 8px;
    }

    .rt-bonus-amount {
        font-size: 1rem;
    }
}

/* ===================================================================
   Responsive — Small Phones (max-width: 480px)
   =================================================================== */
@media (max-width: 480px) {
    .page-heading {
        font-size: 1.3rem;
    }

    .article-body h2 {
        font-size: 1.15rem;
    }

    .article-body h3 {
        font-size: 1rem;
    }

    .rt-badges {
        gap: 4px;
    }

    .rt-badge {
        font-size: 0.7rem;
        padding: 2px 6px;
    }
}
