* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', sans-serif;
    background-image: url('../media/image.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    color: #FFFFFF;
}
.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;
}
.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;
}
.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-solpot {
    background: linear-gradient(180deg, #2a2a3a 0%, #1a1a24 50%);
    border: 1px solid #3a3a4a;
}
.card-wrapper-stake {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0px;
    padding-bottom: 0px;
    margin-top: -60%;
}
.stake-glow {
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 414px;
    height: 289px;
    pointer-events: none;
    z-index: 0;
}
.card-stake {
    background: url('../media/stake-bg.svg') no-repeat center center;
    background-size: cover;
    position: relative;
    z-index: 1;
}
.card-roobet {
    background: linear-gradient(180deg, #3d2800 0%, #1a1a24 90%);
    border: 1px solid #3a3a4a;
}
.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;
}
.solpot-icon {
    font-size: 40px;
}
.solpot-name {
    font-size: 36px;
    font-weight: 800;
    color: #9667FF;
}
.solpot-logo {
    width: 200px;
    height: auto;
}
.stake-name {
    font-size: 48px;
    font-weight: 400;
    font-style: italic;
    color: #fff;
    font-family: 'Times New Roman', serif;
}
.stake-logo {
    width: 127px;
    height: auto;
}
.roobet-icon {
    font-size: 40px;
}
.roobet-name {
    font-size: 32px;
    font-weight: 800;
    color: #FFD700;
    letter-spacing: 2px;
}
.roobet-logo {
    width: 180px;
    height: auto;
}
.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);
}
.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;
}
.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;
    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: #3FCF70;
    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;
}
.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;
    transition: all 0.3s;
}
.casino-row:hover {
    border-color: rgba(255, 255, 255, 0.2);
}
.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: 1;
}
.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: flex-start;
    gap: 8px;
}
.row-logo {
    display: flex;
    align-items: center;
}
.row-logo-img {
    height: 40px;
    width: auto;
}
.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;
}
.casino-row-center {
    flex: 1.5;
    display: flex;
    justify-content: center;
}
.row-offer-box {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0px 40px;
    box-sizing: border-box;
    width: 307px;
    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;
    width: 227px;
    font-family: 'Inter', 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;
    margin-left: 0;
}
.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;
    color: #000;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-play-row:hover {
    background: #3FCF70;
    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 Banner Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}
.popup-banner {
    background: #0f0f1a;
    background-image: url('../media/popup-bg.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid rgba(150, 103, 255, 0.2);
    border-radius: 16px;
    max-width: 700px;
    width: 90%;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(150, 103, 255, 0.15);
    transform: scale(0.9) translateY(30px);
    transition: all 0.4s ease;
}
.popup-overlay.active .popup-banner {
    transform: scale(1) translateY(0);
}
.popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.6);
    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 {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}
.popup-content {
    flex: 1;
    padding: 35px 30px;
}
.popup-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.3;
}
.popup-title span {
    color: #FFD700;
    font-style: italic;
}
.popup-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    line-height: 1.5;
}
.popup-btn {
    display: inline-block;
    padding: 14px 35px;
    background: linear-gradient(135deg, #7C3AED 0%, #5B21B6 100%);
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}
.popup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(124, 58, 237, 0.6);
    background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);
}
.popup-image {
    width: 280px;
    height: 100%;
    min-height: 200px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}
.popup-image img {
    width: 72%;
    height: auto;
    object-fit: contain;
    position: relative;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    transform: scale(1.1);
}

