* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Geologica', sans-serif;
    background-image: url('../media/image.png');
    background-size: cover;
    background-position: top center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 100vh;
    color: #FFFFFF;
    overflow-x: hidden;
}

.bonus-page {
    background-image: url('../media/bonus-medium.png') !important;
    background-size: 100% auto !important;
    background-position: top center !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
    /* Changed to scroll to allow image to stay at top */
    background-color: #0f0f11 !important;
}

@media (min-width: 1440px) {
    .bonus-page {
        background-image: url('../media/bonus-large.png') !important;
    }
}

.header {
    width: 100%;
    max-width: 1920px;
    height: 50px;
    margin: 0 auto;
    padding: 0 40px;
    background: rgba(0, 0, 0, 0.16);
    display: flex;
    align-items: center;
    border-radius: 0 0 0px 0px;
    position: relative;
    overflow: visible;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 66px;
    height: auto;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 2px;
}

.logo-subtext {
    color: #9667FF;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 2px;
}

.nav {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
    position: relative;
    top: 0px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    position: relative;
    padding-bottom: 25px;
}

.nav-link .nav-icon {
    width: 20px;
    height: 20px;
    transition: all 0.3s;
}

.nav-link .nav-icon path {
    transition: fill 0.3s;
}

.nav-link .nav-diamond {
    width: 19px;
    height: 19px;
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: all 0.3s;
    filter: drop-shadow(0 -5px 10px rgba(150, 103, 255, 0.8)) drop-shadow(0 -3px 6px rgba(150, 103, 255, 0.6)) drop-shadow(0 0 8px rgba(150, 103, 255, 0.6)) drop-shadow(0 0 15px rgba(150, 103, 255, 0.4));
}

.nav-link:hover {
    color: #FFFFFF;
}

.nav-link.active {
    color: #FFFFFF;
}

.nav-link.active .nav-icon path {
    fill: #9667FF;
}

.nav-link.active .nav-diamond {
    opacity: 1;
}

.bonus-case {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.bonus-case-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.bonus-case-text {
    text-align: right;
}

.bonus-label {
    color: #9667FF;
    font-size: 12px;
    font-weight: 700;
    display: block;
}

.bonus-sublabel {
    color: rgba(255, 255, 255, 0.7);
    font-size: 10px;
    line-height: 1.3;
    display: block;
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    margin-right: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
    padding-right: 0px;
}

.hero {
    padding: 35px 40px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.hero-play {
    font-size: 42px;
    font-weight: 900;
    color: #FFFFFF;
    letter-spacing: 2px;
}

.hero-top {
    font-size: 42px;
    font-weight: 900;
    color: #9667FF;
    letter-spacing: 2px;
}

.hero-solana-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.hero-solana-icon {
    width: 80px;
    height: auto;
}

.hero-solana {
    font-size: 72px;
    font-weight: 900;
    color: #FFFFFF;
    letter-spacing: 4px;
}

.hero-dropdown {
    width: 32px;
    height: 32px;
    cursor: pointer;
}

.hero-casinos-line {
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-casinos-svg {
    width: 569px;
    height: 341px;
    margin-top: -128px;
    margin-bottom: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
    top: 10px;
}

.hero-casinos-svg path {
    stroke-dasharray: 3000;
    stroke-dashoffset: 3000;
    animation: traceLights 4s ease-in-out infinite;
}

@keyframes traceLights {
    0% {
        stroke-dashoffset: 3000;
    }

    50% {
        stroke-dashoffset: 0;
    }

    100% {
        stroke-dashoffset: -3000;
    }
}

.casino-cards {
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
    margin-top: 54px;
    margin-bottom: 0px;
    padding-top: 0px;
    padding-bottom: 55px;
}

.casino-cards-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 100px;
}

.casino-card {
    background: rgba(30, 30, 40, 0.2);
    border-radius: 12px;
    padding: 20px;
    width: 320px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-wrapper-podium-center {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0px;
    padding-bottom: 0px;
}

.podium-glow {
    position: absolute;
    top: -55%;
    left: 50%;
    transform: translateX(-50%);
    width: 414px;
    height: 289px;
    pointer-events: none;
    z-index: 0;
}

.casino-card-podium-center {
    background: url('../media/stake-bg.svg') no-repeat center center;
    background-size: cover;
    position: relative;
    z-index: 1;
    transform: translateY(-80px) scale(1.08);
    z-index: 2;
}

.casino-card-podium-left {
    background: linear-gradient(180deg, #2a2a3a 0%, #1a1a24 50%);
    height: 450px;
    border: 1px solid #3a3a4a;
    transform: translateY(0);
    z-index: 1;
    padding-bottom: 30px;
}

.casino-card-podium-right {
    background: linear-gradient(180deg, #3d2800 0%, #1a1a24 90%);
    height: 450px;
    border: 1px solid #3a3a4a;
    transform: translateY(0);
    z-index: 1;
    padding-bottom: 30px;
}

.casino-card-podium-left .btn-play,
.casino-card-podium-right .btn-play {
    margin-top: 46px;
}

.casino-card.featured {
    transform: scale(1.08);
    z-index: 2;
}

.card-rank-img {
    position: absolute;
    top: -29px;
    left: 50%;
    transform: translateX(-50%);
    width: 83px;
    height: auto;
    z-index: 10;
}

.rank-1-img {
    position: absolute;
    top: -42px;
    left: 50%;
    transform: translateX(-50%);
    width: 122px;
    height: auto;
    z-index: 10;
}

.card-rank {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #444, #222);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    border: 5px solid #555;
}

.card-rank.featured-rank {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-color: #FFD700;
    color: #000;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    margin-top: -16px;
}

.casino-card:nth-child(3) .card-rank {
    background: linear-gradient(135deg, #CD7F32, #8B4513);
    border-color: #CD7F32;
}

.card-rating {
    position: absolute;
    top: 0px;
    right: -1px;
    display: flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(180deg, #D4A84B 0%, #B8862D 50%, #8B6914 100%);
    padding: 5px 12px;
    border-radius: 0 12px 0 8px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    border-left: 1px solid #C9973A;
    border-bottom: 1px solid #C9973A;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.card-rating .star-icon {
    width: 16px;
    height: 16px;
}

.card-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 30px 0 15px;
    min-height: 60px;
}

.card-logo img {
    height: 60px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.solpot-icon {
    font-size: 40px;
}

.solpot-name {
    font-size: 36px;
    font-weight: 800;
    color: #9667FF;
}


.stake-name {
    font-size: 48px;
    font-weight: 400;
    font-style: italic;
    color: #fff;
    font-family: 'Times New Roman', serif;
}


.roobet-icon {
    font-size: 40px;
}

.roobet-name {
    font-size: 32px;
    font-weight: 800;
    color: #FFD700;
    letter-spacing: 2px;
}


.card-cryptos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 18px;
}

.cryptos-svg {
    height: 33px;
    width: auto;
}

.crypto-more {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}


.crypto-icons-stack {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 45px;
    width: 100%;
    transition: all 0.3s ease;
}

.crypto-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: contain;
    margin-left: -12px;
    transition: all 0.3s ease;
}

.crypto-icon:first-child {
    margin-left: 0;
}

.crypto-icons-stack:hover .crypto-icon {
    filter: brightness(1.15);
}


.crypto-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1A1A20;
    border: 2px solid #141417;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -12px;
    font-weight: 700;
    font-size: 13px;
    color: rgba(219, 217, 237, 0.5);
    transition: all 0.3s ease;
}

.crypto-badge:first-child {
    margin-left: 0;
}

.crypto-icons-stack:hover .crypto-badge {
    filter: brightness(1.15);
}

.card-offer {
    position: relative;
    margin-bottom: 15px;
    text-align: center;
}

.offer-box-bg {
    width: 100%;
    height: auto;
}

.card-offer .offer-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
    width: 100%;
    padding: 0 15px;
}

.offer-text p {
    margin: 5px 0;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Geologica', sans-serif;
}

.offer-text .amount {
    color: #fff;
    font-weight: 700;
}

.offer-text .highlight {
    color: #9667FF;
}

.btn-play {
    display: block;
    width: 100%;
    padding: 15px 30px;
    background: #51ee0d;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Geologica', sans-serif;
    color: #000;
    cursor: pointer;
    margin-bottom: 10px;
    transition: all 0.3s;
    text-decoration: none;
    text-align: center;
    box-sizing: border-box;
}

.btn-play:hover {
    background: #45d900;
    box-shadow: 0 0 20px rgba(81, 238, 13, 0.5), 0 0 40px rgba(150, 103, 255, 0.3);
    transform: translateY(-2px);
}

.btn-review {
    width: 100%;
    padding: 12px 20px;
    background: rgba(50, 50, 60, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-review:hover {
    background: rgba(60, 60, 70, 0.8);
    color: #fff;
}

.btn-review .arrow {
    font-size: 18px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-banners {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.ad-banners-container {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.ad-banner-link {
    text-decoration: none;
    flex: 1;
    max-width: 480px;
}

.ad-banner {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #252540 100%);
    border: 1px solid #3a3a50;
    border-radius: 12px;
    overflow: hidden;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.ad-banner:hover {
    border-color: #9667FF;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(150, 103, 255, 0.2);
}

.ad-label {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.6);
    color: #888;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

.ad-banner-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.all-casinos {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
}

.all-casinos-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    background: linear-gradient(356deg, #2a2a3a 0%, #1a1a24 50%);
    padding: 15px 25px;
    border-radius: 12px;
    border: 1px solid #3a3a4a;
}

.all-casinos-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.all-casinos-title .diamond-icon {
    color: #9667FF;
    font-size: 18px;
}

.all-casinos-title h2 {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.all-casinos-filters {
    display: flex;
    gap: 15px;
}

.filter-dropdown {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(30, 30, 40, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 8px 15px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.filter-btn .filter-icon {
    width: 18px;
    height: 18px;
}

.filter-btn .dropdown-arrow {
    font-size: 10px;
    opacity: 0.6;
}

.filter-btn.featured-filter {
    border-color: #9667FF;
    color: #fff;
}


.currency-dropdown {
    position: relative;
}

.currency-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    background: rgba(20, 20, 30, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    min-width: 180px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 100;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.currency-dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.currency-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.currency-option:hover {
    background: rgba(150, 103, 255, 0.15);
    color: #fff;
}

.currency-option.selected {
    background: rgba(150, 103, 255, 0.25);
    color: #fff;
}

.currency-option-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.currency-dropdown .filter-btn.active {
    border-color: #9667FF;
}

.currency-dropdown .filter-btn .dropdown-arrow {
    transition: transform 0.2s ease;
}

.currency-dropdown .filter-btn.active .dropdown-arrow {
    transform: rotate(180deg);
}

.casino-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.casino-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(356deg, #2a2a3a 0%, #1a1a24 50%);
    border-radius: 16px;
    padding: 20px 25px;
    border: 1px solid #3a3a4a;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    animation: casinoRowEnter 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.casino-row::before {
    content: "";
    position: absolute;
    inset: -40% -20%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0) 15%, rgba(255, 255, 255, 0.08) 35%, rgba(255, 209, 120, 0.18) 50%, rgba(255, 255, 255, 0.06) 65%, rgba(255, 255, 255, 0) 85%);
    transform: translateX(-60%) rotate(-6deg);
    opacity: 0.35;
    animation: casinoRowSheen 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.casino-row::after {
    content: "";
    position: absolute;
    inset: -20%;
    background: radial-gradient(60% 60% at 15% 45%, rgba(255, 199, 92, 0.22), rgba(255, 199, 92, 0) 60%);
    opacity: 0.45;
    animation: casinoRowGlow 4.5s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.casino-row > * {
    position: relative;
    z-index: 1;
}

@keyframes casinoRowEnter {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.985);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes casinoRowSheen {
    0% {
        transform: translateX(-70%) rotate(-6deg);
        opacity: 0.25;
    }
    45% {
        opacity: 0.45;
    }
    100% {
        transform: translateX(70%) rotate(-6deg);
        opacity: 0.25;
    }
}

@keyframes casinoRowGlow {
    0%, 100% {
        opacity: 0.35;
        transform: translateX(0);
    }
    50% {
        opacity: 0.6;
        transform: translateX(2%);
    }
}


.casino-row-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: linear-gradient(356deg, #2a2a3a 0%, #1a1a24 50%);
    border-radius: 16px;
    border: 1px solid #3a3a4a;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

.casino-row-empty .empty-icon {
    margin-bottom: 20px;
    opacity: 0.5;
}

.casino-row-empty .empty-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 8px 0;
}

.casino-row-empty .empty-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.casino-row:hover {
    border-color: rgba(255, 211, 109, 0.45);
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35), 0 0 26px rgba(255, 199, 92, 0.2);
}

.casino-row:hover::before {
    opacity: 0.7;
    animation-duration: 2.8s;
}

.casino-row:hover::after {
    opacity: 0.75;
}

@media (prefers-reduced-motion: reduce) {
    .casino-row {
        animation: none;
        transition: border-color 0.2s ease;
    }

    .casino-row::before,
    .casino-row::after {
        animation: none;
    }
}

.casino-row-bottom {
    position: absolute;
    width: 896px;
    height: 135px;
    left: 50%;
    transform: translateX(-50%);
    bottom: -66px;
    z-index: -1;
}

.casino-row-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 0.6;
}

.row-rating {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0px 8px;
    gap: 8px;
    position: absolute;
    width: 62px;
    height: 32px;
    left: 84px;
    top: -12px;
    background: linear-gradient(264deg, rgb(126 86 14) 1.04%, rgb(161 105 39) 98.45% 98.45%);
    box-shadow: 0px 1px 62.3px rgba(63, 47, 26, 0.48);
    border-radius: 6px;
    flex: none;
    order: 3;
    flex-grow: 0;
    z-index: 3;
}

.row-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.row-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 50px;
}

.row-logo-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.row-cryptos {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0px;
    gap: 6px;
    width: 190px;
    height: 32px;
}

.row-cryptos-img {
    height: 36px;
    width: auto;
    margin-left: auto;
}


.crypto-icons-stack-row {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 40px;
    width: 100%;
    transition: all 0.3s ease;
}

.crypto-icon-row {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: contain;
    margin-left: -10px;
    transition: all 0.3s ease;
}

.crypto-icon-row:first-child {
    margin-left: 0;
}

.crypto-icons-stack-row:hover .crypto-icon-row {
    filter: brightness(1.15);
}


.crypto-badge-row {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1A1A20;
    border: 2px solid #141417;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -10px;
    font-weight: 700;
    font-size: 11px;
    color: rgba(219, 217, 237, 0.5);
    transition: all 0.3s ease;
}

.crypto-badge-row:first-child {
    margin-left: 0;
}

.crypto-icons-stack-row:hover .crypto-badge-row {
    filter: brightness(1.15);
}

.casino-row-center {
    flex: 1.5;
    display: flex;
    justify-content: center;
}

.row-offer-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 0px 40px;
    box-sizing: border-box;
    width: calc(100% - 24px);
    margin-left: 15px;
    margin-right: 24px;
    height: 116px;
    background: linear-gradient(180deg, rgba(5, 5, 6, 0) 0%, rgba(46, 49, 60, 0.25) 100%), rgba(15, 15, 18, 0.65);
    box-shadow: inset 0px 0px 0px 4px #141417;
    border-radius: 12px;
    z-index: 1;
}

.row-offer-bg {
    display: none;
}

.row-offer-icon-img {
    width: 54px;
    height: 54px;
    z-index: 1;
    margin-right: 15px;
}

.row-gift-icon {
    position: absolute;
    width: 54px;
    height: 54px;
    z-index: 1;
    left: -32px;
}

.row-offer-icon {
    font-size: 24px;
    background: rgba(150, 103, 255, 0.2);
    padding: 8px;
    border-radius: 50%;
}

.row-offer-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Geologica', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 160%;
    text-align: center;
    text-transform: uppercase;
    color: #E8EEF9;
    z-index: 1;
}

.row-offer-text strong {
    color: #fff;
}

.row-offer-text .highlight {
    color: #9667FF;
}

.casino-row-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 0.8;
}

.btn-play-row {
    width: 100%;
    padding: 12px 30px;
    background: #51ee0d;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Geologica', sans-serif;
    color: #000;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-play-row:hover {
    background: #45d900;
    box-shadow: 0 0 20px rgba(81, 238, 13, 0.5), 0 0 40px rgba(150, 103, 255, 0.3);
    transform: translateY(-2px);
}

.btn-review-row {
    width: 100%;
    padding: 10px 30px;
    background: rgba(30, 30, 40, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-review-row:hover {
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.btn-review-row .arrow {
    font-size: 14px;
}


.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;

    padding: 20px;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-banner {
    pointer-events: auto;

    background: rgba(20, 15, 30, 0.75);

    background-image: linear-gradient(135deg, rgba(199, 174, 255, 0.05) 0%, rgba(199, 174, 255, 0.15) 100%);

    backdrop-filter: blur(12px);

    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(199, 174, 255, 0.2);

    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(199, 174, 255, 0.1);
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 12px 20px;
}

.popup-overlay.active .popup-banner {
    transform: translateY(0);
}

.popup-close {
    position: absolute;
    top: 6px;
    right: 10px;
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    line-height: 1;
    z-index: 10;
}

.popup-close:hover {
    color: #fff;
    transform: rotate(90deg);
}


.popup-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0;
}

.popup-content {
    flex: 1;
    padding-right: 15px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.popup-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
    line-height: 1.2;
}

.popup-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    line-height: 1.3;
}

.popup-btn {
    display: inline-block;
    margin-top: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, #7C3AED 0%, #5B21B6 100%);
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    transition: transform 0.3s;
    position: relative;
    overflow: visible;
}

.popup-btn .btn-border-svg {
    position: absolute;
    top: -1px;
    left: -1px;
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    pointer-events: none;
    overflow: visible;
}

.popup-btn .btn-border-svg rect {
    width: calc(100% - 2px);
    height: calc(100% - 2px);
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    filter: drop-shadow(0 0 3px rgba(199, 174, 255, 1)) drop-shadow(0 0 6px rgba(199, 174, 255, 0.8)) drop-shadow(0 0 10px rgba(199, 174, 255, 0.5));
}

.popup-btn:hover {
    background: #fff;
    color: #7C3AED;
    transform: translateY(-2px);
}

.popup-image {
    flex: 0 0 auto;
    width: 70px;
    height: 70px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.popup-image img {
    height: 100%;

    width: auto;
    max-width: 100%;
    object-fit: contain;
    animation: shimmer-grow 3s infinite ease-in-out;
}



@keyframes shimmer-grow {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 0px rgba(255, 255, 255, 0));
    }

    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 15px rgba(199, 174, 255, 0.6)) brightness(1.2);
    }

    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0px rgba(255, 255, 255, 0));
    }
}

@keyframes neon-loop-purple {
    0% {
        box-shadow: 0 0 5px rgba(199, 174, 255, 0.5), inset 0 0 2px rgba(199, 174, 255, 0.2);
        border-color: #c7aeff;
    }

    50% {
        box-shadow: 0 0 15px rgba(199, 174, 255, 0.9), inset 0 0 8px rgba(199, 174, 255, 0.5);
        border-color: #e0d4ff;
    }

    100% {
        box-shadow: 0 0 5px rgba(199, 174, 255, 0.5), inset 0 0 2px rgba(199, 174, 255, 0.2);
        border-color: #c7aeff;
    }
}


.bonus-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    color: #fff;
    font-family: 'Geologica', sans-serif;
}

.bonus-page {
    font-family: 'Geologica', sans-serif;
}

.bonus-ticker-wrapper {
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}

.bonus-ticker {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.ticker-item {
    background: rgba(20, 20, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 202px;
    height: 88px;
    min-width: 104px;
    backdrop-filter: blur(5px);
}

.ticker-icon img {
    width: 32px;
    height: 32px;
}

.ticker-text {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    line-height: 1.3;
}

.ticker-text strong {
    font-size: 13px;
    font-weight: 600;
}

.bonus-hero {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.bonus-hero-title-img {
    width: 544px;
    height: 340px;
    position: relative;
    z-index: 1;
    animation: neon-pulse 3s infinite alternate;
}

@keyframes neon-pulse {
    0% {
        filter: drop-shadow(0 0 5px rgba(180, 100, 255, 0.4)) brightness(1);
        transform: scale(1);
    }

    100% {
        filter: drop-shadow(0 0 20px rgba(180, 100, 255, 0.7)) brightness(1.2);
        transform: scale(1.05);
    }
}

.wheel-wrapper {
    position: relative;
    margin-bottom: 70px;
}

.bonus-wheel-container {
    position: relative;
    width: 100vw;
    height: 167px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}

.bonus-items-row {
    display: flex;
    gap: 31px;
    width: max-content;
    animation: spinHorizontal 15s linear infinite;
    will-change: transform;
}

.bonus-items-row:hover {
    animation-play-state: paused;
}

@keyframes spinHorizontal {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.bonus-items-grid-line {

    display: none;
}

.bonus-item-box {
    /* Master size variable - change only this to resize everything */
    --box-size: 120px;
    width: var(--box-size);
    height: var(--box-size);
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

@media (width: 1920px) {
    .bonus-item-box {
        --box-size: 168px;
    }
}

.bonus-item-img {
    /* Scales with box */
    width: var(--box-size);
    height: var(--box-size);
    position: relative;
    z-index: 2;
    object-fit: contain;
}

.bonus-item-box.active {
    transform: scale(1.5) translateY(-10px);
    z-index: 10;
}

.beam-connector {
    position: absolute;
    top: calc(-45px - 40px - 25px);
    left: 50%;
    transform: translateX(-50%);
    height: 250px;
    pointer-events: none;
    filter: none;
    box-shadow: none;
}

.key-control-panel {
    background: rgba(20, 20, 30, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px;
    width: 432px;
    height: 144px;
    margin: 0 auto;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.key-control-panel.has-keys {
    background: rgba(98, 255, 0, 0.05);
}

.key-count {
    margin-bottom: 20px;
    font-size: 15px;
    color: #aaa;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.key-badge {
    background: #2A2A35;
    padding: 2px 8px;
    border-radius: 4px;
    color: #fff;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.key-badge.has-keys {
    background: #31B83C;
    background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    color: #153215;
}

.key-badge-enabled {
    cursor: pointer;
}

.key-icon {
    width: 14px;
    height: auto;
    vertical-align: middle;
}

.key-icon-black {
    width: 14px;
    height: auto;
    vertical-align: middle;
}

.btn-open-case {
    background: #2a2a35;
    color: #555;
    border: none;
    width: 400px;
    height: 64px;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    cursor: not-allowed;
    transition: all 0.2s;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-open-case.active {
    background: #31B83C;
    background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    color: #153215;
    font-family: 'Geologica', sans-serif;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(49, 184, 60, 0.3);
    border: none;
}

.btn-open-case.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(49, 184, 60, 0.5);
}

.control-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 12px auto 80px;
    width: 432px;
}

.control-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #888;
    text-decoration: none;
    font-size: 13px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    transition: all 0.2s;
    font-weight: 500;
    width: 210px;
    height: 56px;
}

.control-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.tasks-section {
    max-width: 1024px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}

.section-subtitle {
    font-size: 14px;
    color: #888;
    margin-bottom: 25px;
}

.tasks-header {
    display: flex;
    justify-content: flex-start;
    padding: 0 20px;
    margin-bottom: 15px;
    color: #666;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tasks-header span:nth-child(1) {
    width: 72px;
    margin-right: 44px;
    text-align: center;
}

.tasks-header span:nth-child(2) {
    flex-grow: 1;
}

.tasks-header span:nth-child(3) {
    margin-left: auto;
}

.task-row {
    background: rgba(20, 20, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    transition: background 0.2s;
    width: 100%;
    height: 72px;
}

.task-row:hover {
    background: rgba(30, 30, 45, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
}

.task-row-top {
    display: flex;
    align-items: center;
    flex: 1;
}

.task-label {
    display: none;
}

.task-reward {
    width: 72px;
    flex-shrink: 0;
    margin-right: 32px;
}

.reward-badge {
    background: #31B83C;
    background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    color: #000;
    padding: 0;
    border-radius: 6px;
    font-weight: 800;
    font-size: 13px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    box-shadow: 0 0 10px rgba(0, 200, 83, 0.3);
    width: 72px;
    height: 48px;
}

.task-info {
    flex-grow: 1;
    padding: 0;

}

.info-icon-img {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-left: 5px;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.info-icon-img:hover {
    opacity: 1;
}

.task-desc {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.task-desc a {
    color: #9667FF;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Geologica', sans-serif;
}

.task-desc a:hover {
    text-decoration: underline;
}

.info-icon {
    color: #666;
    cursor: help;
    font-size: 14px;
}

.task-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-verify {
    background: #2E2B36;
    color: #ccc;
    border: none;
    padding: 0;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s;
    width: 74px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.task-input-group .btn-verify {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    width: 74px;
    background: #2E2B36;
}

.btn-verify:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.btn-go {
    background: radial-gradient(circle, #8551F4 0%, #5A35E1 100%);
    color: #fff;
    border: none;
    padding: 0;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
    width: 183px;
    height: 48px;
}

.btn-go:hover {
    background: #9667FF;
    box-shadow: 0 0 15px rgba(150, 103, 255, 0.4);
}

.task-input-group {
    position: relative;
    width: 230px;
    height: 48px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
}

.task-input-group:focus-within {
    border-color: #9667FF;
}

.task-input {
    background: transparent;
    border: none;
    color: #fff;
    padding: 8px 12px;
    padding-right: 80px;
    border-radius: 6px;
    font-size: 13px;
    outline: none;
    width: 100%;
    height: 100%;
    font-family: 'Geologica', sans-serif;
}

.task-input::placeholder {
    font-family: 'Geologica', sans-serif;
    color: rgba(255, 255, 255, 0.5);
}

.winnings-section {
    max-width: 1024px;
    margin: 0 auto;
}

.winnings-section .section-title {
    margin-bottom: 24px;
}



.control-icon {
    width: 16px;
    height: auto;
    display: block;
}

.winnings-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    max-height: calc((88px * 3) + (8px * 2));
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
}

.winnings-grid::-webkit-scrollbar {
    width: 6px;
}

.winnings-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.winnings-grid::-webkit-scrollbar-thumb {
    background: rgba(150, 103, 255, 0.4);
    border-radius: 3px;
}

.winnings-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(150, 103, 255, 0.6);
}

.ticker-item {
    width: 202px;
    height: 88px;
    background: rgba(23, 23, 26, 0.65);
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    padding: 0 10px;
    text-align: center;
}


.ticker-icon-wrapper {
    position: relative;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 5px;

}

.ticker-icon-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 96px;

    height: 96px;
    z-index: 0;
    pointer-events: none;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

.ticker-icon-img {
    width: 72px;
    height: 72px;
    position: relative;
    z-index: 1;
    object-fit: contain;
}

.ticker-item span {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.bonus-ticker {
    display: flex;
    gap: 4px;

    align-items: center;
}

@import url('https://fonts.googleapis.com/css2?family=Geologica:wght@300;400;600;700&display=swap');

body,
.bonus-container {
    font-family: 'Geologica', sans-serif !important;
}

.ticker-text p {
    font-family: 'Geologica', sans-serif !important;
    font-size: 14px !important;
    margin: 0;
}

.bonus-ticker-wrapper {
    overflow: hidden;
    width: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.bonus-ticker {
    display: flex;
    flex-wrap: nowrap;

    gap: 4px;
    align-items: center;
    width: max-content;
    animation: none;

}

.bonus-ticker.is-infinite-ready {
    animation: scroll-left 20s linear infinite;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.bonus-ticker.is-infinite-ready:hover {
    animation-play-state: paused;
}

.ticker-text p {
    font-size: 14px;

    color: rgba(232, 238, 249, 0.75) !important;
}

@media (max-width: 1024px) {
    .bonus-hero-title-img {
        width: 544px;
        height: 168px;
    }

    .beam-connector {
        position: absolute;
        top: calc(30px - 40px - 25px);
        left: 50%;
        transform: translateX(-50%);
        height: 200px;
        pointer-events: none;
        filter: none;
        box-shadow: none;
    }

    .tasks-section {
        max-width: 896px;
        margin: 0 auto 60px;
    }

    .winnings-section {
        max-width: 896px;
        margin: 0 auto;
    }

    .winnings-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (width: 1024px) {
    .ticker-item {
        width: 221px;
        height: 88px;
    }
}

@media (width: 768px) {
    .ticker-item {
        width: 237px;
        height: 88px;
    }

    .winnings-grid {
        grid-template-columns: repeat(3, 1fr);
        max-height: calc((88px * 3) + (8px * 2));
    }
}

@media (max-width: 425px) {
    .ticker-item {
        width: calc(169px * var(--box-size));
        height: calc(72px * var(--box-size));
    }

    .winnings-grid {
        grid-template-columns: repeat(2, 1fr);
        max-height: calc((72px * 3 + 8px * 2) * var(--box-size));
    }
}
