:root {
    --text-grey: #969696;
    --tick-icon: url(../images/dealer-images/check-icon.webp);
}

body {
    background: #000 !important;
}

.z-1 {
    position: relative;
    z-index: 1;
}

.w-semibold {
    font-weight: 600;
}

.text-grey {
    color: var(--text-grey) !important;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-50 {
    margin-bottom: 50px;
}

.e-con>.e-con-inner {
    max-width: 1600px !important;
}

.container {
    max-width: 1600px !important;
}

/* Banner Block */

header#masthead + section {
    padding-top: 160px !important;
}

.hero-intro{
    background: url(../images/dealer-images/banner-intro.webp);
    background-size: cover;
    background-repeat: no-repeat;
}

/* Listing Block */

.dealer-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.dealer--block {
    display: grid;
    grid-template-columns: 2fr 2fr 2fr 1fr;
    width: 100%;
    height: 100%;
    gap: 40px;
    padding: 50px 50px;
    border-radius: 20px;
    transition: all 0.3s;
    background-color: #0F0F0F;
}

.rating-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rating-box .rating-stars {
    font-size: 24px;
}   

.rating-box .title {
    font-size: 15px;
}

.tick-list {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 15px;
}

.tick-list li {
    font-size: 16px;
    padding: 0 0 0 32px;
    position: relative;
    color: var(--text-grey);
}

.tick-list li::before {
    content: '';
    background-image: var(--tick-icon);
    display: inline-block;
    position: absolute;
    inset: 0px auto 0 0;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
}

[data-star]::after {
  color: #FFD447 !important;
}

/* Table Block */

.shape-overlay {
    position: absolute;
    inset: -50% 0 auto;
    margin: auto;
}

.table-wrapper {
    background-color: #121212;
    padding: 40px;
    border-radius: 20px;
    overflow-x: auto;
}

.casino-table {
  width: 100%;
  border-collapse: collapse;
  color: #ffffff;
  text-align: left;
}

.table-wrapper.wrapper-2 tbody,
.table-wrapper.wrapper-2 td,
.table-wrapper.wrapper-2 tfoot,
.table-wrapper.wrapper-2 th,
.table-wrapper.wrapper-2 thead,
.table-wrapper.wrapper-2 tr {
    border: none !important;
}

.casino-table thead {
    background-color: transparent;
}

.casino-table thead th {
    padding: 20px 20px 50px;
    font-size: 15px;
    border-bottom: 1px solid #333;
    text-align: center;
}

.casino-table tbody tr {
    background-color: #1a1a1a;
    border-bottom: 1px solid #333;
    transition: all 0.3s;
}

.casino-table td {
    padding: 20px;
    vertical-align: middle;
    font-size: 14px;
    text-align: center;
}

.logo {
    height: 50px;
    max-width: 150px;
    object-fit: contain;
}

.status-icon {
    height: 30px;
    width: 30px;
}

/* Casino Block */

.dice-1 {
    position: absolute;
    right: 0;
    top: 20px;
}

.dice-2 {
    position: absolute;
    bottom: 0;
    left: 0;
}

.casino-block {
    width: 100%;
    height: 100%;
    background: #171717;
    transition: all 0.3s;
    border-radius: 10px;
}

.casino-img {
    width: 100%;
    height: 300px;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}

.casino-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.block-content {
    padding: 20px 20px;
}

/* Choose Intro */

.choose-intro {
    background: url(../images/dealer-images/choose-overlay.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #000312;
}

.listing {
    display: flex;
    flex-direction: column;
    gap: 30px;
    color: var(--text-grey);
}

/* Games Block */

.games-block {
    width: 100%;
    height: 100%;
    position: relative;
    transition: all 0.3s;
}

.games-img {
    width: 100%;
    height: 260px;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}

.games-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.games-content {
    background: #1F1F1FB2;
    backdrop-filter: blur(14px);
    padding: 30px 30px;
    margin: -40px 0 0;
    border-radius: 10px;
    min-height: 250px;
}

/* Table Block 2 */

.table-intro {
    background: url(../images/dealer-images/table-intro.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
}
.table-intro.t-intro-2 {
    background: url(../images/dealer-images/table-intro-2.webp);
}

.dealer-vs-regular-table table {
    width: 100%;
    border-collapse: collapse;
}

.dealer-vs-regular-table.fixed-heading thead th {
    width: 30%;
}

.dealer-vs-regular-table thead th {
    background-color: #222;
    padding: 25px 25px;
    text-align: left;
    border-bottom: 1px solid #333;
}

.dealer-vs-regular-table tbody td {
    padding: 25px 25px;
    vertical-align: top;
    font-size: 14px;
    border-bottom: 1px solid #333;
    color: var(--text-grey);
}

.dealer-vs-regular-table tbody tr td:first-child {
    width: 20%;
    color: var(--text-grey);
}

.dealer-vs-regular-table tbody tr:hover {
    background-color: #1f1f1f;
}

/* Tips Block */

.tips-block {
    position: relative;
    background-color: #1F1F1FB2;
    padding: 30px;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    z-index: 1;
}

.tips-block::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 10px;
    padding: 1px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(102, 102, 102, 0.8) 100%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
}

/* Cta Block */

.cta-block {
    background: url(../images/dealer-images/cta-intro.webp);
    background-size: cover;
    background-repeat: no-repeat;
    padding: 40px 20px 0;
    border-radius: 20px;
    overflow: hidden;
}

.cta-block-2 {
    background: url(../images/dealer-images/cta-intro-2.webp);
    background-size: cover;
    background-repeat: no-repeat;
    padding: 30px 50px;
    border-radius: 20px;
}


@media only screen and (max-width: 991px) {

    .casino--wrap {
        text-align: center;
    }

    .spacer-y {
        padding-block: 60px !important;
    }

    .hero-intro {
        padding: 170px 0 60px !important;
    }

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

    .games-content {
        min-height: unset;
    }

    .dealer--block {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 24px 24px;
    }

    .cta-block-2 {
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {

  .dealer-vs-regular-table table, .dealer-vs-regular-table thead, .dealer-vs-regular-table tbody, .dealer-vs-regular-table th, .dealer-vs-regular-table td, .dealer-vs-regular-table tr {
        display: block;
        width: 100%;
        min-width: 100%;
    }

    .dealer-vs-regular-table thead {
        display: none;
    }

    .dealer-vs-regular-table tbody tr {
        margin-bottom: 20px;
        border: 1px solid #333;
        border-radius: 10px;
        overflow: hidden;
    }

    .dealer-vs-regular-table tbody td {
        padding: 10px 15px;
        border: none;
        display: flex;
        gap: 10px;
    }

    .dealer-vs-regular-table tbody td::before {
        content: attr(data-label);
        font-weight: bold;
        min-width: 40%;
        color: var(--text-grey);
    }

    .dealer-vs-regular-table tbody td:first-child {
        background: #1a1a1a;
        font-weight: bold;
    }
}
