.stars {
    --percent: calc(var(--rating) / 5 * 100%);
    --star-size: 20px;
    --star-color: #e5e7eb;
    --star-background: #fbbf24;
    display: inline-block;
    font-size: var(--star-size);
    font-family: Times;
    line-height: 1;
    background: linear-gradient(90deg, var(--star-background, #fc0) var(--percent), #ddd var(--percent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge-ribbon {
    position: absolute;
    top: 90px;
    left: 47px;
    width: 150px;
    transform-origin: top left;
    transform: translateX(-50%) translateY(-50%) rotate(-45deg);
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    padding: 0.25rem 0;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.badge-top-1 {
    background: linear-gradient(to right, #f59e0b, #fde047);
    color: black;
}

.badge-top-2 {
    background: linear-gradient(to right, #9ca3af, #d1d5db);
    color: black;
}

.badge-top-3 {
    background: linear-gradient(to right, #92400e, #b45309);
    color: white;
}

/* Animations */
.pulse-animation {
    animation: pulse 2.5s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    }

    50% {
        transform: scale(1.03);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    }
}

.tpl-container {
    max-width: 72rem;
    margin: 1rem auto;
}

.casino-card {
    border-radius: 0.75rem;
    overflow: hidden;
    background-color: #ffffff;
}

.card-top-1 {
    border: 2px solid #fbbf24;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateZ(0);
    transition: all 0.3s;
    background: linear-gradient(to right, rgba(251, 191, 36, 0.1), rgba(251, 191, 36, 0.05));
}

.card-top-1:hover {
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.5);
}

.card-top-2 {
    border: 2px solid #d1d5db;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateZ(0);
    transition: all 0.15s ease-in-out;
    background: linear-gradient(to right, rgba(209, 213, 219, 0.1), rgba(209, 213, 219, 0.05));
}

.card-top-2:hover {
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(209, 213, 219, 0.5);
}

.card-top-3 {
    border: 2px solid #92400e;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateZ(0);
    transition: all 0.15s ease-in-out;
    background: linear-gradient(to right, rgba(146, 64, 14, 0.1), rgba(146, 64, 14, 0.05));
}

.card-top-3:hover {
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(146, 64, 14, 0.3);
}

.card-regular {
    border: 1px solid rgba(229, 231, 235, 0.1);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.15s ease-in-out;
    background-color: #0f2744;
}

.card-regular:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.card-flex {
    display: flex;
    flex-direction: column;
    background-color: #fff;
}

@media (min-width: 768px) {
    .card-flex {
        flex-direction: row;
    }
}

.logo-section {
    position: relative;
    padding: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .logo-section {
        width: 33.333333%;
    }
}

.logo-image {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
    padding: 1rem;
}

.logo-image:hover {
    transform: scale(1.25);
}

.logo-image img {
    object-fit: contain;
    height: 5rem;
    width: auto;
    max-width: 100%;
}

.logo-top-3 {
    transform: scale(1.1);
}

.logo-top-3 img {
    filter: drop-shadow(0 10px 15px -3px rgba(0, 0, 0, 0.1));
}

.bonus-section {
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(229, 231, 235, 0.1);
}

@media (min-width: 768px) {
    .bonus-section {
        width: 50%;
        border-bottom: none;
        border-left: 1px solid rgba(229, 231, 235, 0.1);
    }
}

.bonus-text-top-3 {
    font-size: 1.25rem;
    font-weight: 800;
    background-clip: text;
    color: #1f2937;
    text-decoration: none;
}

.bonus-text-regular {
    font-size: 1.5rem;
    font-weight: 700;
    font-size: 20px;
    color: #1f2937;
    text-decoration: none;
}

.bonus-text-xl {
    font-size: 20px;
    font-weight: 700;
    color: #4B5563;
}

.bonus-text-lg {
    font-size: 20px;
    font-weight: 500;
    color: #4B5563;
}

.features-section {
    padding: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(229, 231, 235, 0.1);
}

@media (min-width: 768px) {
    .features-section {
        width: 25%;
        border-bottom: none;
        border-left: 1px solid #e5e7eb;
    }
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.875rem;
    color: #374151;
}

.feature-item {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
    font-weight: 500;
}

.feature-item:hover {
    transform: translateX(3px);
}

.casino-badge {
    border-radius: 0.5rem;
    padding: 0.1rem 0.5rem;
    font-size: 11px;
    font-weight: 500;
}

.cta-section {
    padding: 8px 16px;
    margin-bottom: 8px;
    display: flex;
    gap: 1rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-left: 1px solid #e5e7eb;
}

@media (min-width: 768px) {
    .cta-section {
        width: 25%;
        margin-bottom: 0;
    }
}

.cta-button-top-3 {
    width: 100%;
    padding: 1rem 0rem;
    color: white;
    font-weight: 700;
    border-radius: 0.5rem;
    transition: all 0.3s;
    text-transform: uppercase;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    background-color: #CC0E37;
}

.cta-button-top-3:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all .4s ease;
    color: #fff;
    background-color: #a60000;
}

.cta-button-regular {
    width: 100%;
    padding: 1rem 0rem;
    color: white;
    font-weight: 600;
    border-radius: 0.375rem;
    transition: all 0.3s;
    text-transform: uppercase;
    background-color: #CC0E37;
}

.cta-button-regular:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all .4s ease;
    color: #fff;
    background-color: #a60000;
}

.payment-methods-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 0.5rem;
}

.payment-method {
    height: 1.5rem;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.check-icon {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
    color: #10B981;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .carousel-container {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        display: flex;
        gap: 1rem;
        padding: 1rem 0;
        position: relative;
    }

    .carousel-container::-webkit-scrollbar {
        display: none;
    }

    .carousel-item {
        scroll-snap-align: center;
        flex: 0 0 85%;
        max-width: 85%;
        transition: all 0.3s ease;
    }

    .badge-ribbon {
        right: 47px;
        left: auto;
        transform-origin: top right;
        transform: translateX(50%) translateY(-50%) rotate(45deg);
    }
}

.casino-number {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    background-color: #e5e7eb;
    color: #374151;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border: 1px solid #d1d5db;
}

.payment-method-icon {
    height: 1.5rem;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.tl-text-xs {
    font-size: 0.75rem;
}

.tl-font-medium {
    font-weight: 500;
}

.tl-text-gray-700 {
    color: #374151;
}

.tl-text-gray-600 {
    color: #4B5563;
}

.tl-hover-no-underline:hover {
    text-decoration: none;
}

.tl-underline {
    text-decoration: underline;
}

.tl-focus-outline-none:focus {
    outline: none;
}

.tl-transition-colors {
    transition-property: color;
}

.tl-duration-300 {
    transition-duration: 300ms;
}

.tl-h-5 {
    height: 1.25rem;
}

.tl-mr-2 {
    margin-right: 0.5rem;
}

.tl-text-green-500 {
    color: #22c55e;
}

.tl-flex-shrink-0 {
    flex-shrink: 0;
}

.tl-w-4 {
    width: 1rem;
}

.tl-h-4 {
    height: 1rem;
}

.tl-mr-1-5 {
    margin-right: 0.375rem;
}

.tl-gap-2 {
    gap: 0.5rem;
}

.tl-flex {
    display: flex;
}

.tl-flex-wrap {
    flex-wrap: wrap;
}

.show-more-pm-btn {
    background-color: transparent;
    color: inherit;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    text-decoration: underline;
    display: inline;
    margin: 0;
    outline: none;
    font-size: 12px;
}

.tl-items-center {
    align-items: center;
}

.tl-justify-center {
    justify-content: center;
}

.tl-ml-2 {
    margin-left: 0.5rem;
}

.hidden {
    display: none;
}

.pl-text-center {
    text-align: center;
}

.tpl-container ul,
.tpl-container ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

#toggleElement {
    opacity: 1;
    transition: opacity 1s; 
}
  
#toggleElement.fade {
    opacity: 0;
}