:root {
    --preloader-logo: url('/Images/logo_rubyngood.webp');
    --preloader-green: rgba(0, 255, 128, .7);
}

body {
    font-family: Arial, sans-serif;
    background: #0f1a12;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    position: fixed;
    background-image: linear-gradient(to bottom, #08100ccf, #1c3529b0);
    padding: 8px 20px 0 20px;
    display: flex;
    flex-direction: column;
    border: 2px solid linear-gradient(to bottom, #121e18, #284135);
    border-bottom: 1px solid #dbdbdb;
    border-radius: 0 0 20px 20px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    box-sizing: border-box;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    overflow: visible;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.05) 0%,
            rgba(255, 255, 255, 0.02) 30%,
            rgba(255, 255, 255, 0.03) 70%,
            rgba(0, 0, 0, 0.02) 100%);
    pointer-events: none;
    z-index: 1;
}

.header-navigation {
    transition: all 0.3s ease;
    overflow: hidden;
}

.hide-subheader {
    opacity: 0;
    height: 0;
    margin: 0;
    padding: 0;
    pointer-events: none;
    display: none;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 0 8px 0;
    position: relative;
    z-index: 2;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.header-title {
    display: flex;
    align-items: center;
    margin: 0;
    font-size: 1.15rem;
}

.header-number {
    margin: 0;
    margin-right: 3px;
}

.header .nav-link,
.header .profile-btn {
    text-decoration: none;
    color: rgb(255, 255, 255);
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.header .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.header .nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.header .nav-link:hover::before {
    width: 80%;
}

.header .profile-btn {
    background: rgba(71, 115, 93, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.header .profile-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.header .profile-btn:hover {
    background: rgba(71, 115, 93, 0.9);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.header .profile-btn:hover::before {
    left: 100%;
}

.header-navigation {
    background: transparent;
    padding: 8px 0 10px 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    position: relative;
    width: 100%;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    overflow: visible;
    min-height: 40px;
}

.header-navigation .nav-link {
    text-decoration: none;
    color: rgb(255, 255, 255);
    padding: 6px 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    font-size: 13px;
    white-space: nowrap;
}

.header-navigation .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.header-navigation .nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.header-navigation .nav-link:hover::before {
    width: 80%;
}

.header-navigation .nav-link img {
    width: 12px;
    height: 12px;
    margin-left: 8px;
    vertical-align: middle;
    filter: brightness(0) invert(1);
}

.header-navigation>div {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.expert-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    width: 100%;
    padding-left: 10px;
}

.expert-header h3 {
    margin: 0;
    font-size: 24px;
    flex-grow: 1;
    min-width: 0;
}

.header-title {
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
}

.main-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.main {
    position: relative;
    background-color: #0d582f00;
    padding-top: 130px;
    z-index: 10;
    flex: 1;
}

.main-content-rubyn {
    flex: 3;
    max-width: 90%;
    padding: 25px;
    background: rgb(0 54 47 / 20%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.18);
    overflow: hidden;
    margin-top: 10px;
}

.main-content-rubyn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(255, 255, 255, 0.05) 50%,
            rgba(0, 0, 0, 0.05) 100%);
    border-radius: 20px;
    pointer-events: none;
    z-index: 1;
}

.main-content-rubyn>* {
    position: relative;
    z-index: 2;
}


footer {
    background-image: linear-gradient(rgb(0 8 7 / 89%), rgb(10 33 27 / 89%));
    padding: 20px;
    width: 100%;
    box-shadow:
        0 -8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1),
        0 0 50px rgba(0, 255, 128, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.664);
    border-radius: 20px 20px 0 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(0, 255, 128, 0.08) 0%,
            rgba(255, 255, 255, 0.05) 30%,
            rgba(0, 255, 128, 0.06) 70%,
            rgba(0, 0, 0, 0.02) 100%);
    pointer-events: none;
    z-index: 1;
}

footer>* {
    position: relative;
    z-index: 2;
}

.footer-top {
    display: flex;
    justify-content: center;
}

.footer-section {
    flex: 1;

    text-align: left;
    color: #77b985;
}

.footer-section a {
    flex: 1;
    text-align: left;
    color: #77b985;
}

.footer-section ul {
    flex: 1;
    text-align: left;
    color: #77b985;
}

.footer-section p {
    flex: 1;
    text-align: left;
    color: #77b985;
}

.footer-section h3 {
    border-bottom: 2px solid rgb(255, 255, 255);
    padding-bottom: 10px;
    margin-bottom: 10px;
    color: #77b985;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    text-decoration: none;
    color: #fdfdfd;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #70a070;
}

.footer-section ul li img {
    width: 24px;
    height: 24px;
}

.footer-middle {
    text-align: center;
    color: #77b985;
    margin: 20px;
    margin-top: 20px;
}

.footer-middle p {
    transition: none;
    position: relative;
}

.footer-knopksperehods {
    text-align: center;
    margin: 20px 0;
}

.footer-bottom {
    justify-content: space-between;
    text-align: center;
    color: #77b985;
    padding-top: 10px;
    margin-top: 20px;
}

.footer-bottom p {
    transition: none;
    font-weight: 500;
}

.footer-middle a {
    color: #70a070;
}


#background-anim {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: #0f1a12;
    background-image: linear-gradient(to bottom, #28413550, #31504107, #071a1065);
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.bg-piece {
    position: absolute;
    border-radius: 50%;
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #111b1634 60%, #00000013 100%);
    opacity: 0.7;
    animation: bg-piece-float 5s ease-in-out infinite;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.casino-card {
    box-sizing: border-box;
    transition: transform 0.2s;
}


.details-rubyn {
    display: flex;
    align-items: flex-start;
    width: 100%;
}

.image-container-rubyn {
    position: relative;
    margin-right: 10px;
    margin-bottom: 5px;
    overflow: hidden;
}

.image-container-rubyn img {
    display: block;
    max-width: 100%;
    height: auto;
}

.custom-rating-badge-top5 {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 35px;
    height: 35px;
    background: rgba(255, 217, 0, 0.35);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    color: #fff;
    box-shadow:
        0 8px 32px rgba(255, 215, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    z-index: 99999;
    animation: liquidGlow 3s ease-in-out infinite alternate;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-rating-badge-top5::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(255, 215, 0, 0.25) 0%,
            rgba(255, 215, 0, 0.15) 50%,
            rgba(0, 0, 0, 0.05) 100%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.custom-rating-badge-top5>* {
    position: relative;
    z-index: 2;
}

.custom-checkmark {
    display: inline-block;
    margin-top: -5px;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg,
            rgba(76, 175, 80, 0.2) 0%,
            rgba(76, 175, 80, 0.1) 50%,
            rgba(76, 175, 80, 0.15) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 50%;
    border: 2px solid rgba(76, 175, 137, 0.4);
    position: relative;
    vertical-align: middle;
    margin-right: 10px;
    box-shadow:
        0 8px 24px rgba(76, 175, 80, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1),
        0 0 20px rgba(76, 175, 80, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-checkmark::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 6px;
    background: rgba(76, 175, 145, 0.397);
    border: solid #4dc287;
    border-width: 0 0 3px 3px;
    border-radius: 0 0 0 3px;
    transform: translate(-50%, -50%) rotate(-45deg);
    box-shadow:
        0 2px 8px rgba(27, 250, 183, 0.4),
        0 0 12px rgba(14, 255, 135, 0.3);
    filter: drop-shadow(0 0 4px rgba(76, 175, 137, 0.5));
    z-index: 2;
}

.custom-checkmark::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.15) 0%,
            rgba(255, 255, 255, 0.05) 30%,
            rgba(76, 175, 80, 0.1) 70%,
            rgba(0, 0, 0, 0.05) 100%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.custom-checkmark:hover {
    transform: scale(1.1);
    box-shadow:
        0 12px 32px rgba(76, 175, 80, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.4),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1),
        0 0 30px rgba(76, 175, 80, 0.4);
    border-color: rgba(76, 175, 80, 0.6);
}


.custom-dashmark {
    display: inline-block;
    margin-top: -3px;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg,
            rgba(76, 175, 145, 0.2) 0%,
            rgba(76, 175, 137, 0.1) 50%,
            rgba(76, 175, 134, 0.15) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 50%;
    border: 2px solid rgba(76, 175, 145, 0.35);
    position: relative;
    vertical-align: middle;
    margin-right: 8px;
    box-shadow:
        0 6px 18px rgba(76, 175, 80, 0.25),
        inset 0 2px 3px rgba(255, 255, 255, 0.25),
        inset 0 -2px 3px rgba(0, 0, 0, 0.1),
        0 0 15px rgba(76, 175, 80, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: dashmarkPulse 3s ease-in-out infinite;
}

.custom-dashmark::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 2px;
    background-color: #4caf89;
    border-radius: 2px;
    transform: translate(-50%, -50%);
    box-shadow:
        0 1px 4px rgba(76, 175, 145, 0.5),
        0 0 6px rgba(76, 175, 150, 0.4);
    z-index: 2;
}

.custom-dashmark::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.15) 0%,
            rgba(255, 255, 255, 0.05) 30%,
            rgba(76, 175, 80, 0.1) 70%,
            rgba(0, 0, 0, 0.05) 100%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

@keyframes dashmarkPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

.custom-dashmark:hover {
    transform: scale(1.08);
    box-shadow:
        0 10px 24px rgba(76, 175, 80, 0.35),
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1),
        0 0 25px rgba(76, 175, 80, 0.3);
    border-color: rgba(76, 175, 80, 0.5);
}

.custom-bigmark {
    display: inline-block;
    margin-top: -3px;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg,
            rgba(76, 175, 80, 0.2) 0%,
            rgba(76, 175, 80, 0.1) 50%,
            rgba(76, 175, 80, 0.15) 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 50%;
    border: 2px solid rgba(76, 175, 137, 0.35);
    position: relative;
    vertical-align: middle;
    margin-right: 8px;
    box-shadow:
        0 8px 22px rgba(76, 175, 80, 0.25),
        inset 0 2px 3px rgba(255, 255, 255, 0.25),
        inset 0 -2px 3px rgba(0, 0, 0, 0.1),
        0 0 18px rgba(76, 175, 80, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: bigmarkPulse 3s ease-in-out infinite;
}

.custom-bigmark::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg,
            rgba(28, 97, 30, 0.171),
            rgba(76, 175, 80, 0.15));
    border-right: 2px solid #4caf91;
    border-bottom: 2px solid #4caf8e;
    transform: translate(-50%, -50%) rotate(-45deg);
    z-index: 2;
}

.custom-bigmark::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.15) 0%,
            rgba(255, 255, 255, 0.05) 30%,
            rgba(76, 175, 80, 0.1) 70%,
            rgba(0, 0, 0, 0.05) 100%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

@keyframes bigmarkPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

.custom-bigmark:hover {
    transform: scale(1.08);
    box-shadow:
        0 12px 28px rgba(76, 175, 80, 0.35),
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1),
        0 0 28px rgba(76, 175, 80, 0.3);
    border-color: rgba(76, 175, 80, 0.5);
}

.custom-rhombmark {
    display: inline-block;
    margin-top: -3px;
    width: 22px;
    height: 22px;

    background: linear-gradient(135deg,
            rgba(76, 175, 80, 0.2) 0%,
            rgba(76, 175, 80, 0.1) 50%,
            rgba(76, 175, 80, 0.15) 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 50%;
    border: 2px solid rgba(76, 175, 153, 0.35);
    position: relative;
    vertical-align: middle;
    margin-right: 8px;
    box-shadow:
        0 8px 22px rgba(76, 175, 80, 0.25),
        inset 0 2px 3px rgba(255, 255, 255, 0.25),
        inset 0 -2px 3px rgba(0, 0, 0, 0.1),
        0 0 18px rgba(76, 175, 80, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: bigmarkPulse 3s ease-in-out infinite;
}

.custom-rhombmark::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    border-right: 2px solid #4caf96;
    border-left: 2px solid #4caf96;
    border-top: 2px solid #4caf96;
    border-bottom: 2px solid #4caf96;
    transform: translate(-50%, -50%) rotate(-45deg);
    z-index: 2;
    box-shadow: 0 1px 4px rgba(76, 175, 150, 0.5), 0 0 6px rgba(76, 175, 80, 0.4);
}

.custom-rhombmark::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.15) 0%,
            rgba(255, 255, 255, 0.05) 30%,
            rgba(76, 175, 80, 0.1) 70%,
            rgba(0, 0, 0, 0.05) 100%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

@keyframes rhombmarkbPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

.custom-rhombmark:hover {
    transform: scale(1.08);
    box-shadow:
        0 12px 28px rgba(76, 175, 80, 0.35),
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1),
        0 0 28px rgba(76, 175, 80, 0.3);
    border-color: rgba(76, 175, 80, 0.5);
}

.custom-rating-badge {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 30px;
    height: 30px;
    background: rgba(255, 215, 0, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    color: #fff;
    box-shadow:
        0 8px 32px rgba(255, 215, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    z-index: 9999;
    animation: liquidGlow 3s ease-in-out infinite alternate;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-rating-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(255, 255, 255, 0.05) 50%,
            rgba(0, 0, 0, 0.05) 100%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.custom-rating-badge>* {
    position: relative;
    z-index: 2;
}

.details-rubyn {
    display: flex;
    align-items: flex-start;
    width: 100%;
}

.info-blocks-rubyn {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}


.info-block-rubyn {
    flex: 1 1 45%;
    margin-bottom: 5px;
}

.bank-icons-rubyn img {
    max-width: 30px;
    margin-right: 5px;
    border-radius: 8px;
}

.search-container {
    display: flex;
    align-items: center;
    margin: 0 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.search-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.05) 0%,
            rgba(255, 255, 255, 0.02) 30%,
            rgba(255, 255, 255, 0.03) 70%,
            rgba(0, 0, 0, 0.02) 100%);
    pointer-events: none;
    z-index: 1;
}

.search-container input[type=text] {
    width: 200px;
    padding: 10px;
    margin: 0;
    border: 1px solid #ccc;
}

.search-container button {
    padding: 10px;
    margin: 0;
    border: none;
    background: none;
    cursor: pointer;
}

#search-input,
#mobile-search-input {
    padding: 8px 16px;
    font-size: 1.5rem;
    border: none;
    border-radius: 0;
    outline: none;
    height: 36px;
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    color: #ffffff;
    position: relative;
    z-index: 2;
    flex: 1;
}

#search-input::placeholder,
#mobile-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

#search-input:focus,
#mobile-search-input:focus {
    background: rgba(255, 255, 255, 0.05);
}

#search-button,
#mobile-search-button {
    padding: 6px 12px !important;
    background: transparent !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px !important;
    width: auto !important;
    min-width: auto !important;
    max-width: none !important;
    flex-shrink: 0;
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

#search-button::before,
#mobile-search-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

#search-button:hover,
#mobile-search-button:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-left-color: rgba(255, 255, 255, 0.3);
}

#search-button:hover::before,
#mobile-search-button:hover::before {
    left: 100%;
}

#search-button img,
#mobile-search-button img {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    object-fit: contain;
    filter:
        brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1)) drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.8;
}

#search-button:hover img,
#mobile-search-button:hover img {
    filter:
        brightness(0) invert(1) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2)) drop-shadow(0 0 12px rgba(255, 255, 255, 0.4));
    opacity: 1;
    transform: scale(1.05);
}

.nav-links {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    margin-right: 10px;
}

.reclama-btn {
    margin-top: 3px;
    margin-bottom: 3px;
    font-size: 1.5rem;
}

.nav-link:last-child {
    margin-right: 0;
}

.menu-icon {
    width: 25px;
    height: 25px;
    cursor: pointer;
    display: none;
    flex-shrink: 0;
    margin-right: 20px;
}

.menu-icon:hover {
    filter: brightness(80%);
}

.show-button {
    cursor: pointer;
    color: #ffffff;
    background-color: #048500;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.3s;
}

.show-button:hover {
    background-color: #5c865c;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    position: fixed;
    --mobile-menu-offset: 60px;
    top: var(--mobile-menu-offset);
    right: 0;
    left: auto;
    padding: 18px 16px 22px;
    gap: 14px;
    background: linear-gradient(180deg, rgba(16, 28, 22, 0.96) 0%, rgba(25, 44, 34, 0.94) 60%, rgba(12, 21, 17, 0.96) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow:
        0 18px 32px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    z-index: 10;
    width: calc(100% - 24px);
    max-width: 320px;
    max-height: calc(100vh - var(--mobile-menu-offset));
    overflow-y: auto;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(-12px);
}

.mobile-menu.show-menu {
    display: flex;
}

.mobile-menu.show-menu:not(.closing) {
    animation: mobileMenuOpen 0.28s ease forwards;
}

.mobile-menu.show-menu.closing {
    animation: mobileMenuClose 0.24s ease forwards;
    pointer-events: none;
}

.mobile-menu.hide-menu {
    display: none;
}

.mobile-menu>* {
    opacity: 0;
    transform: translateY(-8px);
}

.mobile-menu.show-menu:not(.closing)>* {
    animation: mobileMenuItem 0.3s ease forwards;
}

.mobile-menu.show-menu.closing>* {
    animation: mobileMenuItemOut 0.24s ease forwards;
}

.mobile-menu.show-menu:not(.closing)>*:nth-child(1),
.mobile-menu.show-menu.closing>*:nth-child(4) {
    animation-delay: 0.05s;
}

.mobile-menu.show-menu:not(.closing)>*:nth-child(2),
.mobile-menu.show-menu.closing>*:nth-child(3) {
    animation-delay: 0.09s;
}

.mobile-menu.show-menu:not(.closing)>*:nth-child(3),
.mobile-menu.show-menu.closing>*:nth-child(2) {
    animation-delay: 0.13s;
}

.mobile-menu.show-menu:not(.closing)>*:nth-child(4),
.mobile-menu.show-menu.closing>*:nth-child(1) {
    animation-delay: 0.17s;
}

.mobile-menu a {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
}

.mobile-menu .button-link-card,
.mobile-menu .new-button-link {
    width: 100%;
    margin: 0;
    padding: 18px 18px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #f4fff8;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow:
        0 14px 25px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    position: relative;
    overflow: hidden;
}

.mobile-menu .button-link-card {
    background: linear-gradient(135deg, rgba(71, 115, 93, 0.98) 0%, rgba(47, 81, 63, 0.95) 100%);
}

.mobile-menu .new-button-link {
    background: linear-gradient(135deg, rgba(246, 248, 247, 0.2) 0%, rgba(208, 216, 210, 0.16) 100%);
    color: #eefef4;
}

.mobile-menu .button-link-card::before,
.mobile-menu .new-button-link::before {
    opacity: 0.9;
}

.mobile-menu .button-link-card:hover,
.mobile-menu .new-button-link:hover {
    transform: translateY(-1px);
    box-shadow:
        0 18px 32px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.mobile-menu .button-link-card:active,
.mobile-menu .new-button-link:active {
    transform: translateY(0);
    box-shadow:
        0 10px 18px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.mobile-menu .search-container {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
    padding: 18px 18px;
    border-radius: 16px;
    background: rgba(9, 18, 13, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 14px 26px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.mobile-menu .search-container input {
    font-size: 1rem;
    color: #f1fff5;
}

.mobile-menu .search-container input::placeholder {
    color: rgba(241, 255, 245, 0.6);
}

.mobile-menu .search-container button {
    padding: 8px 12px !important;
    background: linear-gradient(135deg, rgba(71, 115, 93, 0.95) 0%, rgba(47, 81, 63, 0.92) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    box-shadow:
        0 12px 22px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.24);
    min-width: 44px !important;
    height: 38px !important;
    border-left: none !important;
}

.mobile-menu .search-container button::before {
    display: none;
}

.mobile-menu .search-container button img {
    width: 18px !important;
    height: 18px !important;
    opacity: 0.85;
}

.mobile-menu .search-container button:hover {
    transform: translateY(-1px);
    box-shadow:
        0 16px 28px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.mobile-menu .search-container button:active {
    transform: translateY(0);
}

@keyframes mobileMenuOpen {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }

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

@keyframes mobileMenuClose {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

@keyframes mobileMenuItem {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

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

@keyframes mobileMenuItemOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-8px);
    }
}

.submenu {
    display: none;
    flex-direction: column;
    background: rgba(8, 16, 12, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    z-index: 9999;
    margin-top: 8px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.submenu.show-submenu,
.submenu.show {
    display: block;
    opacity: 1;
    visibility: visible;
}

.submenu-link {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: #ffffff;
    font-size: 14px;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.submenu-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #00ff80;
}

.submenu-link:last-child {
    border-bottom: none;
}

.nav-link.reclama-btn,
.profile-btn {
    display: inline-block;
    padding: 8px 16px;
}

.search-container {
    display: flex;
    margin: 0;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: 15px;
}

.hidden-on-zoom {
    display: none !important;
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 10px;
    padding-top: 10px;
}

.casino-card:nth-child(1)::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 20% 20%, rgba(207, 9, 9, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.03) 50%, transparent 70%);
    animation: floatPattern 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

.casino-card:nth-child(2)::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(255, 255, 255, 0.03) 90deg, transparent 180deg);
    animation: floatPattern 10s ease-in-out infinite reverse;
    pointer-events: none;
    z-index: 1;
}

.casino-card:nth-child(3)::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        repeating-linear-gradient(45deg, transparent 0px, rgba(255, 255, 255, 0.02) 2px, transparent 4px);
    animation: floatPattern 12s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

.casino-card:nth-child(4)::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 60% 60%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        linear-gradient(30deg, transparent 40%, rgba(255, 255, 255, 0.03) 50%, transparent 60%);
    animation: floatPattern 9s ease-in-out infinite reverse;
    pointer-events: none;
    z-index: 1;
}

.casino-card:nth-child(5)::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 65% 65%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        conic-gradient(from 180deg at 50% 50%, transparent 0deg, rgba(255, 255, 255, 0.03) 120deg, transparent 240deg);
    animation: floatPattern 11s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

.casino-card {
    flex: 1;
    background: rgba(101, 179, 156, 0.164);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    padding: 15px;
    text-align: center;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.casino-card>* {
    position: relative;
    z-index: 2;
}

.casino-card img {
    width: 100%;
    border-radius: 8px;
}

.image-button {
    position: relative;
    width: 100%;
    padding-top: 75%;
    overflow: visible;
    border-radius: 10px 10px 0 0;
}

.image-button img {
    position: absolute;
    background-color: #3f753f;
    border-radius: 5px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-video-border {
    max-width: 95%;
    max-height: 1000px;
    margin: 0 auto;
    border: 1.6px solid #d6ffee;
    border-radius: 10px;
    padding: 8px;
    margin-bottom: 16px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: #172c22;
    display: flex;
    flex-direction: column;
}

.image-border {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-form label {
    margin-bottom: 10px;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 16px;
    color: #333;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(71, 115, 93, 0.5);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 0 0 3px rgba(71, 115, 93, 0.1);
}

.contact-form input[type="text"],
.contact-form input[type="email"] {
    height: 40px;
    width: 49%;
}

.text-center {
    text-align: center;
    margin-top: 20px;
}

.top-info-text-ruby {
    position: absolute;
    color: white;
    padding: 3px;
    margin: -7px;
    margin-left: -12px;
    border-radius: 8px;
    z-index: 1;
    display: flex;
    align-items: center;
}

.top-info-img {
    width: 40px;
    height: 40px;
    position: relative;
    z-index: -10;
}

.top-infocards-img {
    width: 40px;
    height: 40px;
    margin-right: -1px;
    position: relative;
    z-index: -10;
}

.top-infocardspacho-img {
    width: 50px;
    height: 50px;
    margin-right: -1px;
    position: relative;
    z-index: -10;
}

.rightsidebar {
    flex: 1;
    max-width: 100%;
    padding: 20px;
    background: rgb(0 54 47 / 20%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    margin-left: 15px;
    margin-top: 10px;
    margin-bottom: 10px;
    order: 1;
    border: 1px solid rgba(255, 255, 255, 0.18);
    position: relative;
    color: #000000;
}

.rightsidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(255, 255, 255, 0.05) 50%,
            rgba(0, 0, 0, 0.05) 100%);
    border-radius: 20px;
    pointer-events: none;
    z-index: 1;
}

.ad-banner-rubyn {
    width: 100%;
    max-width: 300px;
    margin: 0 auto 20px;
}

.description-rubyn-good {
    padding: 10px;
    border-radius: 8px;
    background-color: #fff;
    margin-bottom: 20px;
}

.news-blocks,
.casino-blocks,
.games-blocks,
.top-requests {
    margin-bottom: 20px;
}

.news-block,
.casino-block,
.game-block {
    background-color: #fff;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.news-block h3,
.casino-block h3,
.game-block h3 {
    margin-top: 0;
}

.news-block p,
.casino-block p,
.game-block p {
    margin-bottom: 0;
}

.top-requests ul {
    padding: 0;
    list-style-type: none;
}

.top-requests li {
    margin-bottom: 5px;
}

.top-requests li a {
    text-decoration: none;
    color: #ffffff;
}

.image-container-rubyn {
    width: 150px;
    height: 150px;
    margin-right: 20px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.image-container-rubyn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.container-rubyn {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.ad-banner-rubyn {
    width: 100%;
    max-width: 300px;
    margin: 0 auto 20px;
}

.top-casino-rubyn {
    max-width: 100%;
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.4),
        0 4px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: visible;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.top-casino-rubyn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.08) 0%,
            rgba(255, 255, 255, 0.04) 30%,
            rgba(255, 255, 255, 0.06) 70%,
            rgba(0, 0, 0, 0.03) 100%);
    border-radius: 15px;
    pointer-events: none;
    z-index: 1;
}

.top-casino-rubyn>* {
    position: relative;
    z-index: 2;
}

.imageclass-casino-rubyn {
    max-width: 100%;
    margin: 0 auto;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 20px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: #243c30;
    display: flex;
    flex-direction: column;
}

.imageclass-casino-rubyn img {
    max-width: 110%;
    height: auto;
}

.top-casino-rubyn h2 {
    margin-top: 0;
    margin-bottom: 10px;
}

.top-casino-rubyn .details-rubyn {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

.top-casino-rubyn .image-container-rubyn {
    width: 150px;
    height: 150px;
    margin-right: 20px;
    border-radius: 8px;
    overflow: visible;
    position: relative;
}

.top-casino-rubyn .image-container-rubyn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid #f8f8f85e;
}

.top-casino-rubyn .info-blocks-rubyn {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-block-row-rubyn {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.top-casino-rubyn .info-block-rubyn {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 10px;
    border-radius: 15px;
    text-align: center;
    flex: 1;
    box-sizing: border-box;
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.15),
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.top-casino-rubyn .info-block-rubyn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(255, 255, 255, 0.05) 40%,
            rgba(255, 255, 255, 0.08) 80%,
            rgba(0, 0, 0, 0.03) 100%);
    border-radius: 16px;
    pointer-events: none;
    z-index: 1;
}

.top-casino-rubyn .info-block-rubyn>* {
    position: relative;
    z-index: 2;
}

.top-casino-rubyn .info-block-rubyn:hover {
    transform: none;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.top-casino-rubyn .bank-icons-rubyn {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 12px;
}


.vopros {
    margin-bottom: -3px;
}


.sidebar-rubyn>* {
    position: relative;
    z-index: 2;
}

.sidebar-rubyn h2 {
    margin-top: 0;
    color: #e4fff2;
    text-align: left;
}

.sidebar-rubyn p {
    color: #000000;
}

.sidebar-rubyn ul {
    list-style-type: none;
    padding: 0;
}

.sidebar-rubyn ul li {
    margin-bottom: 10px;
}

.sidebar-rubyn ul li a {
    text-decoration: none;
    color: #000000;
}

.description-rubyn {
    padding: 10px;
    border-radius: 8px;
}

.expert-card {
    background: rgba(252, 255, 255, 0.322);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 16px;
    border-radius: 16px;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

.expert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(255, 255, 255, 0.05) 50%,
            rgba(0, 0, 0, 0.05) 100%);
    border-radius: 16px;
    pointer-events: none;
    z-index: 1;
}

.expert-card>* {
    position: relative;
    z-index: 2;
}

.expert-card:hover {
    transform: none;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.expert-name-container {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    min-width: 0;
}

.photo-container {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
    flex-shrink: 0;
    border: 3px solid rgb(106 189 166 / 33%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.logo-google {
    width: 200px;
    height: 80px;
}

.photo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.expert-info {
    width: 100%;
    text-align: left;
}

.expert-name-container a {
    display: inline-block;
    margin-top: 0;
    margin-right: 5px;
    font-size: 20px;
}

.expert-name-container a img {
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border-radius: 6px;
}

.expert-name-container a:hover img {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.top-articles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin: 10px 0;
}

.article-block {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 12px;
    border-radius: 16px;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-wrap: nowrap;
}

.article-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(255, 255, 255, 0.05) 50%,
            rgba(0, 0, 0, 0.05) 100%);
    border-radius: 16px;
    pointer-events: none;
    z-index: 1;
}

.article-block>* {
    position: relative;
    z-index: 2;
}

.article-image {
    flex-shrink: 0;
}

.article-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    border: 2px solid #f8f8f85e;
}

.article-description {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    min-width: 0;
}

.article-description p {
    margin: 0 0 6px 0;
    font-size: 15px;
    margin-left: 15px;
    color: #000000;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-description h4 {
    margin: 0 0 6px 0;
    font-size: 16px;
    margin-left: 15px;
    color: #000000;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;

}

.article-description .new-button-link {
    display: inline-block;
    margin: 0px 12px;
    background: rgba(71, 115, 93, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: rgb(255, 255, 255);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 4px 16px rgba(71, 115, 93, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    text-align: center;
}



.top-videos {
    margin-bottom: 20px;
}

.video-block {
    margin-bottom: 15px;
    background-color: #ffffff85;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.video-preview iframe {
    width: 100%;
    height: 200px;
    border: none;
}

.video-description h3 {
    margin-top: 0;
}

.top-partners {
    margin-bottom: 20px;
}

.partner-block {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.partner-block img {
    width: 100px;
    height: auto;
    margin-right: 15px;
}

.partner-block p {
    margin: 0;
}

.expert-section {
    margin-top: 20px;
}

.expert-title {
    margin-top: 0;
    color: #000;
    border-bottom: 2px solid rgb(177 255 234 / 43%);
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.expert-info h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.5em;
}

.expert-info p {
    padding-left: 10px;
    color: #000000;
    text-align: justify;
    text-indent: 25px;
    font-size: 16px;
    line-height: 1.3;
}

.expert-info a img {
    width: 30px;
    height: 30px;
    margin-top: 10px;
}

.new-card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 16px;
}

.new-casino-card {
    background: rgba(25, 44, 35, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 12px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: calc(25% - 20px);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.new-casino-card:nth-child(1) {
    background: linear-gradient(135deg,
            rgba(0, 81, 255, 0.4) 0%,
            rgba(255, 69, 0, 0.35) 25%,
            rgba(255, 140, 0, 0.3) 50%,
            rgba(255, 69, 0, 0.25) 75%,
            rgba(255, 140, 0, 0.2) 100%);
    border: 1px solid rgba(255, 140, 0, 0.5);
    box-shadow:
        0 4px 16px rgba(255, 140, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1),
        0 0 20px rgba(255, 140, 0, 0.15);
}

.new-casino-card:nth-child(1):hover {
    background: linear-gradient(135deg,
            rgba(38, 0, 255, 0.5) 0%,
            rgba(0, 81, 255, 0.45) 25%,
            rgba(0, 132, 255, 0.4) 50%,
            rgba(0, 140, 255, 0.35) 75%,
            rgba(0, 110, 255, 0.3) 100%);
    box-shadow:
        0 6px 20px rgba(255, 140, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1),
        0 0 30px rgba(255, 140, 0, 0.25);
}

.new-casino-card:nth-child(2) {
    background: linear-gradient(135deg,
            rgba(255, 20, 147, 0.4) 0%,
            rgba(255, 105, 180, 0.35) 25%,
            rgba(255, 20, 147, 0.3) 50%,
            rgba(255, 105, 180, 0.25) 75%,
            rgba(255, 20, 147, 0.2) 100%);
    border: 1px solid rgba(255, 20, 147, 0.5);
    box-shadow:
        0 4px 16px rgba(255, 20, 147, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1),
        0 0 20px rgba(255, 20, 147, 0.15);
}

.new-casino-card:nth-child(2):hover {
    background: linear-gradient(135deg,
            rgba(255, 20, 147, 0.5) 0%,
            rgba(255, 105, 180, 0.45) 25%,
            rgba(255, 20, 147, 0.4) 50%,
            rgba(255, 105, 180, 0.35) 75%,
            rgba(255, 20, 147, 0.3) 100%);
    box-shadow:
        0 6px 20px rgba(255, 20, 147, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1),
        0 0 30px rgba(255, 20, 147, 0.25);
}

.new-casino-card:nth-child(3) {
    background: linear-gradient(135deg,
            rgba(30, 144, 255, 0.4) 0%,
            rgba(75, 0, 130, 0.35) 25%,
            rgba(30, 144, 255, 0.3) 50%,
            rgba(75, 0, 130, 0.25) 75%,
            rgba(30, 144, 255, 0.2) 100%);
    border: 1px solid rgba(30, 144, 255, 0.5);
    box-shadow:
        0 4px 16px rgba(30, 144, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1),
        0 0 20px rgba(30, 144, 255, 0.15);
}

.new-casino-card:nth-child(3):hover {
    background: linear-gradient(135deg,
            rgba(30, 144, 255, 0.5) 0%,
            rgba(75, 0, 130, 0.45) 25%,
            rgba(30, 144, 255, 0.4) 50%,
            rgba(75, 0, 130, 0.35) 75%,
            rgba(30, 144, 255, 0.3) 100%);
    box-shadow:
        0 6px 20px rgba(30, 144, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1),
        0 0 30px rgba(30, 144, 255, 0.25);
}

.new-casino-card:nth-child(4) {
    background: linear-gradient(135deg,
            rgba(139, 69, 19, 0.4) 0%,
            rgba(160, 82, 45, 0.35) 25%,
            rgba(139, 69, 19, 0.3) 50%,
            rgba(160, 82, 45, 0.25) 75%,
            rgba(139, 69, 19, 0.2) 100%);
    border: 1px solid rgba(139, 69, 19, 0.5);
    box-shadow:
        0 4px 16px rgba(139, 69, 19, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1),
        0 0 20px rgba(139, 69, 19, 0.15);
}

.new-casino-card:nth-child(4):hover {
    background: linear-gradient(135deg,
            rgba(139, 69, 19, 0.5) 0%,
            rgba(160, 82, 45, 0.45) 25%,
            rgba(139, 69, 19, 0.4) 50%,
            rgba(160, 82, 45, 0.35) 75%,
            rgba(139, 69, 19, 0.3) 100%);
    box-shadow:
        0 6px 20px rgba(139, 69, 19, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1),
        0 0 30px rgba(139, 69, 19, 0.25);
}

.new-casino-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(255, 255, 255, 0.05) 50%,
            rgba(0, 0, 0, 0.05) 100%);
    border-radius: 20px;
    pointer-events: none;
    z-index: 1;
}

.new-casino-card>* {
    position: relative;
    z-index: 2;
}

.image-overlay {
    position: absolute;
    bottom: -5px;
    left: 0px;
    right: 0px;
    padding: 10px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
    text-align: center;
}

.image-overlay h3 {
    margin: 0;
    font-size: 1rem;
}

.new-image-button {
    border-radius: 8px;
    overflow: hidden;
}

.new-image-button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    width: 100%;
    height: 120px;
}

.new-card-content h3 {
    font-size: 17px;
    margin: 5px 0;
}

.new-card-content {
    padding: 8px 15px;
    padding-bottom: 15px;
}

.new-card-content .new-button-link {
    margin-bottom: 8px;
    width: 100%;
    display: block;
    text-align: center;
}

.new-card-content .new-button-link:last-child {
    margin-bottom: 0;
}

.new-card-content h4 {
    font-size: 18px;
    margin: 10px 0;
}

.new-button-link {
    display: inline-block;
    padding: 6px 12px;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.4) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0.25) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    max-width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.new-button-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.6) 25%,
            rgba(255, 255, 255, 0.8) 50%,
            rgba(255, 255, 255, 0.6) 75%,
            transparent 100%);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.new-button-link:hover::before {
    left: 100%;
}

.new-button-link:hover {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.5) 0%,
            rgba(255, 255, 255, 0.4) 50%,
            rgba(255, 255, 255, 0.35) 100%);
    transform: translateY(-1px) scale(1.02);
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1),
        0 0 20px rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

.reviews-button {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.2) 0%,
            rgba(255, 255, 255, 0.1) 50%,
            rgba(255, 255, 255, 0.05) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    font-size: 12px !important;
    padding: 6px 12px !important;
    opacity: 0.8;
}

.reviews-button:hover {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.3) 0%,
            rgba(255, 255, 255, 0.2) 50%,
            rgba(255, 255, 255, 0.15) 100%) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    opacity: 1;
}

.new-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

.contact-form-section {
    background: rgba(0, 19, 11, 0.986);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 25px;
    color: #fff;
    border-radius: 20px;
    margin-top: 10px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.4),
        0 4px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.12) 0%,
            rgba(255, 255, 255, 0.06) 30%,
            rgba(255, 255, 255, 0.08) 70%,
            rgba(0, 0, 0, 0.05) 100%);
    border-radius: 24px;
    pointer-events: none;
    z-index: 1;
}

.contact-form-section>* {
    position: relative;
    z-index: 2;
}

.contact-form-section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    padding-bottom: 15px;
}

.contact-form-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.6) 20%,
            rgba(255, 255, 255, 0.8) 50%,
            rgba(255, 255, 255, 0.6) 80%,
            transparent 100%);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

.contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
    width: 100%;
    max-width: 600px;
    margin-bottom: 10px;
}

.contact-form input[type="text"],
.contact-form input[type="email"] {
    flex: 1;
    height: 50px;
    padding: 15px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    font-size: 16px;
    color: #333;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.contact-form input[type="text"]::before,
.contact-form input[type="email"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.2) 0%,
            rgba(255, 255, 255, 0.1) 30%,
            rgba(255, 255, 255, 0.15) 70%,
            rgba(0, 0, 0, 0.05) 100%);
    border-radius: 16px;
    pointer-events: none;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-form .input-group {
    position: relative;
    flex: 1;
}

.contact-form .input-group input {
    width: 100%;
    height: 50px;
    padding: 15px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    font-size: 16px;
    color: #dad9d9;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 2;
    box-sizing: border-box;
}

.contact-form .input-group input::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.2) 0%,
            rgba(255, 255, 255, 0.1) 30%,
            rgba(255, 255, 255, 0.15) 70%,
            rgba(0, 0, 0, 0.05) 100%);
    border-radius: 16px;
    pointer-events: none;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-form .input-group label {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3;
    background: transparent;
    padding: 0 4px;
    white-space: nowrap;
    max-width: calc(100% - 40px);
    overflow: hidden;
    text-overflow: ellipsis;
}

.contact-form .input-group input:focus+label,
.contact-form .input-group input:not(:placeholder-shown)+label,
.contact-form .input-group input:valid+label {
    top: 0;
    left: 16px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(46, 75, 59, 0.8);
    transform: translateY(-50%);
    border-radius: 4px;
    padding: 2px 6px;
}

.contact-form .input-group input:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
}

.contact-form .input-group input:focus {
    outline: none;
    border-color: rgba(71, 115, 93, 0.8);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 0 0 3px rgba(71, 115, 93, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.contact-form .input-group input:focus::before {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.25) 0%,
            rgba(255, 255, 255, 0.15) 30%,
            rgba(255, 255, 255, 0.2) 70%,
            rgba(0, 0, 0, 0.08) 100%);
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus {
    outline: none;
    border-color: rgba(71, 115, 93, 0.8);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 0 0 3px rgba(71, 115, 93, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.contact-form input[type="text"]:focus::before,
.contact-form input[type="email"]:focus::before {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.25) 0%,
            rgba(255, 255, 255, 0.15) 30%,
            rgba(255, 255, 255, 0.2) 70%,
            rgba(0, 0, 0, 0.08) 100%);
}

.contact-form input[type="text"]:focus::placeholder,
.contact-form input[type="email"]:focus::placeholder {
    opacity: 0;
}

.message-container {
    width: 100%;
    max-width: 600px;
    margin-top: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    box-shadow:
        0 6px 24px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.message-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.08) 0%,
            rgba(255, 255, 255, 0.04) 30%,
            rgba(255, 255, 255, 0.06) 70%,
            rgba(0, 0, 0, 0.02) 100%);
    border-radius: 16px;
    pointer-events: none;
    z-index: 1;
}

.contact-form textarea {
    width: 100%;
    height: 150px;
    padding: 25px;
    border: none;
    border-radius: 16px;
    font-size: 16px;
    color: #dad9d9;
    background: transparent;
    resize: none;
    outline: none;
    position: relative;
    z-index: 2;
}

.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

.gold-text {
    font-size: 18px;
    background: linear-gradient(to right, #ffc430, #ffd700, #ffea61);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.button-link-card {
    display: inline-block;
    margin-top: 8px;
    padding: 8px 28px;
    background: rgba(71, 115, 93, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 4px 16px rgba(71, 115, 93, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.button-link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.button-link-card:hover::before {
    left: 100%;
}

.button-link-continuation {
    display: inline-block;
    padding: 8px 28px;
    background: rgba(71, 115, 93, 0.158);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 4px 16px rgba(71, 115, 93, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    text-align: center;
    display: block;
    width: fit-content;
    margin: 0 auto;
    margin-bottom: 16px;
}

.button-link-continuation::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.button-link-continuation:hover::before {
    left: 100%;
}

.button-link-form-section {
    display: inline-block;
    margin-top: 8px;
    padding: 8px 55px;
    background: rgba(71, 115, 93, 0.349);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 4px 16px rgba(71, 115, 93, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.button-link-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.button-link-form-section:hover::before {
    left: 100%;
}

.button-link-form-section:hover {
    background: rgba(92, 134, 92, 0.9);
    transform: translateY(-2px);
    box-shadow:
        0 8px 24px rgba(71, 115, 93, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.button-link-brand {
    display: flex;
    margin: 8px 12px;
    padding: 7px 24px;
    background: rgba(71, 115, 93, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 4px 16px rgba(71, 115, 93, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.button-link-brand::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.button-link-brand:hover::before {
    left: 100%;
}

.button-lin-brand:hover {
    background: rgba(92, 134, 92, 0.9);
    transform: translateY(-2px);
    box-shadow:
        0 8px 24px rgba(71, 115, 93, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.button-link-examen {
    display: flex;
    margin: 8px 12px;
    padding: 7px 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.15) 100%) !important;
    ;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 4px 16px rgba(71, 115, 93, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.button-link-examen::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.button-link-examen:hover::before {
    left: 100%;
}

.button-lin-examen:hover {
    background: rgba(92, 134, 92, 0.9);
    transform: translateY(-2px);
    box-shadow:
        0 8px 24px rgba(71, 115, 93, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}


.social-seti {
    display: flex;
    justify-content: center;
}

.logo-and-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    margin-right: 20px;
    flex-shrink: 0;
    position: relative;
}

.logo img {
    width: 55px;
    height: 55px;
    margin-right: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    animation: logoPulse 8s ease-in-out infinite;
}

.logo:hover img {
    filter: drop-shadow(0 8px 20px rgba(0, 255, 128, 0.4));
}

.nav-title {
    font-size: 1.6em;
    margin: 0;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #00ff80 50%, #ffffff 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShimmer 3s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(0, 255, 128, 0.3);
}

.social-icons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 auto;
    flex-grow: 1;
}

.icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.icon-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 128, 0.3), transparent);
    transition: left 0.6s;
}

.icon-link:hover::before {
    left: 100%;
}

.icon {
    width: 32px;
    height: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    display: block;
    margin: 0 auto;
}

.icon-link:hover {
    background: rgba(0, 255, 128, 0.1);
    border-color: rgba(0, 255, 128, 0.3);
    box-shadow:
        0 8px 25px rgba(0, 255, 128, 0.2),
        0 0 20px rgba(0, 255, 128, 0.1);
}

.icon-link:hover .icon {
    filter: drop-shadow(0 4px 12px rgba(0, 255, 128, 0.4));
}

.info {
    max-width: 600px;
    color: #77b985;
    text-align: left;
    margin-top: 20px;
}

a.icon-link {
    text-decoration: none;
    text-decoration: none;
    display: inline-block;
    padding: 5px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

a.icon-linkhover {
    background-color: #f7a800;
}

.icon {
    max-width: 30px;
    max-height: 30px;
    transition: transform 0.3s;
}

.icon:hover {
    transform: scale(1.2);
}

.logo-and-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}


.info a {
    color: #70a070;
}

.otvetstveni-play-rubyn {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.otvetstveni-play-rubyn .icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 150px;
    overflow: hidden;
    transition: none;
    background: transparent;
    border: none;
    padding: 0;
}

.otvetstveni-play-rubyn .icon-link img {
    height: 100%;
    width: 90%;
    object-fit: contain;
    cursor: pointer;
    transition: filter 0.3s ease;
}

.otvetstveni-play-rubyn .icon-link:hover img {
    filter: brightness(1.3) contrast(1.1) drop-shadow(0 0 8px rgba(0, 255, 128, 0.5));
}

.top-infocard-img {
    width: 45px;
    height: 35px;
}

.loading-container {
    height: 10em;
    position: relative
}

.loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #016141;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 2s linear infinite;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%)
}

.button-link-demandes {
    display: inline-block;
    margin: 4px 8px;
    padding: 6px 16px;
    background: rgb(255 255 255 / 35%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: rgb(0, 0, 0);
    text-decoration: none;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.3;
}

.button-link-demandes::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.button-link-demandes:hover::before {
    left: 100%;
}

.button-link-demandes:hover {
    background: rgb(156 204 181);
    transform: translateY(-2px);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.button-link-FAQ {
    display: inline-block;
    margin: 6px 8px 0 8px;
    padding: 8px 16px;
    background: rgb(255 255 255 / 35%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: rgb(0, 0, 0);
    text-decoration: none;
    border-radius: 12px;
    border: 1px solid rgba(71, 115, 93, 0.3);
    border-left: 5px solid #47735d;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    font-weight: 500;
    cursor: pointer;
    font-size: 16px;
    line-height: 1.3;
}

.button-link-FAQ.active {
    border-radius: 12px 12px 0 0;
    border-bottom: none;
}

.button-link-FAQ::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.button-link-FAQ:hover::before {
    left: 100%;
}

.button-link-FAQ:hover {
    background: rgb(156 204 181);
    transform: translateY(-2px);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border-color: rgba(71, 115, 93, 0.5);
}

.answer {
    margin: 0 8px 15px 8px;
    padding: 0 20px;
    border-radius: 0 0 12px 12px;
    background: rgb(156 204 181);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-right: 5px solid #47735d;
    border: 1px solid rgba(71, 115, 93, 0.3);
    border-top: none;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);

    position: relative;
    overflow: hidden;

    max-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;

    transition:
        max-height 0.5s ease,
        opacity 0.5s ease,
        padding 0.5s ease;
}

.answer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 2px;
    background: linear-gradient(90deg,
            rgba(71, 115, 93, 0.3) 0%,
            rgba(71, 115, 93, 0.8) 50%,
            rgba(71, 115, 93, 0.3) 100%);
    border-radius: 1px;
}

.answer.show {
    max-height: 500px;
    opacity: 1;
    padding: 20px;
}

.answer>* {
    position: relative;
    z-index: 2;
}

.text-rubyn-forty {
    padding-left: 10px;
    color: #e4fff2;
    font-family: Cambria, Verdana, sans-serif;
    font-size: 36px;
    text-decoration: underline;
    text-decoration-color: rgb(177 255 234 / 43%);
    text-underline-offset: 8px;
    text-decoration-thickness: 2px;
    text-align: justify;
    margin-bottom: 16px;
}

.text-rubyn-twentyeight {
    padding-left: 10px;
    color: #f1fff6;
    font-family: Cambria, Verdana, sans-serif;
    font-size: 28px;
    text-align: justify;
    margin-bottom: 16px;
}

.text-rubyn-twenty {
    padding-left: 10px;
    color: #ffffff;
    text-align: justify;
    text-indent: 25px;
    font-size: 16px;
    font-family: BookmanOld, Verdana, sans-serif;
    line-height: 1.6;
    margin-bottom: 16px;
}

.text-rubyn-vladislav {
    color: #16271f;
    margin: 0;
    line-height: 1.2;
    overflow-wrap: break-word;
    word-break: break-word;
}

.preloader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #0f1a12;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow: hidden;
}

.preloader-stage {
    position: relative;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preloader-spiral-layer {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    z-index: 2;
}

.preloader-slice {
    position: absolute;
    inset: 0;
    opacity: 0;
    background: var(--preloader-logo) center/contain no-repeat;
    clip-path: circle(50% at 50% 50%);
    transform-origin: 50% 50%;
    transition: transform 1s ease, opacity .5s ease;
}

.preloader-logo-bg {
    position: absolute;
    inset: 0;
    background: var(--preloader-logo) center/contain no-repeat;
    opacity: 0;
    z-index: 1;
    transition: opacity 1s ease;
}

.preloader-ring {
    position: absolute;
    border: 1px solid rgba(0, 255, 128, .2);
    border-radius: 50%;
    animation: preloader-spin linear infinite;
    z-index: -1;
}

.preloader-ring:nth-child(1) {
    width: 500px;
    height: 500px;
    animation-duration: 20s
}

.preloader-ring:nth-child(2) {
    width: 700px;
    height: 700px;
    animation-duration: 30s
}

.preloader-ring:nth-child(3) {
    width: 900px;
    height: 900px;
    animation-duration: 40s
}

.preloader-ring:nth-child(4) {
    width: 1100px;
    height: 1100px;
    animation-duration: 55s
}

.preloader-particle {
    position: fixed;
    border-radius: 50%;
    background: var(--preloader-green);
    pointer-events: none;
    z-index: -2;
    animation: preloader-float ease-in-out infinite;
}

.preloader-text {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 22px;
    color: #e2ffe2;
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 0 2px 8px #16271f;
    z-index: 10;
}

.casino-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.1) 50%,
            transparent 100%);
    transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.casino-card:hover::after {
    left: 100%;
}

.new-casino-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.15) 50%,
            transparent 100%);
    transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.fix-symbol {
    display: inline;
    position: relative;
    left: -0.1rem;
    font: inherit;
    letter-spacing: inherit;
    line-height: inherit;
    color: inherit;
}

.casino-table-section {
  width: 100%;
  margin: 20px auto;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
}

.casino-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
  color: #fff;
}

.casino-table thead {
  background: rgba(255, 255, 255, 0.1);
}

.casino-table th,
.casino-table td {
  padding: 14px 16px;
  text-align: left;
}

.casino-table th {
  font-weight: 600;
  font-size: 15px;
  color: rgb(44 234 161);
  text-transform: uppercase;
}

.casino-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.08);
}

.casino-card,
.new-casino-card {
    animation: none;
}

.header-right-group {
    display: flex;
    align-items: center;
}

@media (max-width: 900px) {
    .header-navigation {
        display: none;
    }

    .main {
        padding-top: 80px;
    }

    .search-container,
    .nav-link.reclama-btn,
    .profile-btn {
        display: none !important;
    }

    .mobile-menu {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

@media (max-width: 768px) {
    .header {
        padding-left: 10px;
        padding-right: 10px;
    }

    .mobile-menu {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        padding-top: 88px;
        padding-left: 16px;
        padding-right: 16px;
        padding-bottom: 22px;
        gap: 14px;
        background: linear-gradient(180deg, rgba(16, 28, 22, 0.96) 0%, rgba(25, 44, 34, 0.94) 60%, rgba(12, 21, 17, 0.96) 100%);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-top: none;
        border-radius: 0 0 20px 20px;
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        box-shadow:
            0 18px 32px rgba(0, 0, 0, 0.35),
            inset 0 1px 0 rgba(255, 255, 255, 0.14),
            inset 0 -1px 0 rgba(0, 0, 0, 0.2);
        z-index: 1;
        width: 100%;
        max-width: 100%;
        max-height: 100vh;
        overflow-y: auto;
        margin: 0;
        opacity: 0;
        transform: translateY(-100%);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .mobile-menu.show-menu {
        opacity: 1;
        transform: translateY(0);
    }

    .mobile-menu.closing {
        opacity: 0;
        transform: translateY(-100%);
    }

    .main {
        padding-top: 90px;
    }

    .popup-menu,
    .popup-form {
        width: 100%;
    }

    .header .profile-btn {
        background-color: transparent;
        padding: 0;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 20px;
        cursor: pointer;
        z-index: 2;
        margin-right: 16px;
    }

    .bar {
        height: 3px;
        width: 100%;
        background-color: #ffffff;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8.5px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8.5px) rotate(-45deg);
    }

    .logo {
        margin-left: 8px;
    }
}

@media (max-width: 480px) {
    .header-title {
        margin-left: 3px;
        font-size: 15px;
    }

    .top-infocard-img {
        width: 40px;
        height: 35px;
    }

    .top-infocards-img {
        width: 40px;
        height: 35px;
    }

    .top-infocardspacho-img {
        width: 40px;
        height: 35px;
    }

    .footer-top {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .footer-section {
        min-width: 100%;
        text-align: left;
    }

    .footer-section h3 {
        text-align: left;
    }

    .logo-and-info {
        flex-direction: column;
        text-align: center;
    }

    .logo-and-info .logo {
        margin-bottom: 10px;
    }

    .info {
        text-align: left;
        margin-top: 10px;
    }

    .info a {
        color: #70a070;
    }

    .footer-middle a {
        color: #70a070;
    }

    .otvetstveni-play-rubyn .icon-link {
        height: 60px;
        max-width: 100px;
    }

    .button-link {
        padding: 8px 16px;
        font-size: 14px;
    }
}

@media (max-width: 1024px) {
    footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .footer-top {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .footer-section {
        min-width: 100%;
        text-align: left;
    }

    .footer-section h3 {
        text-align: left;
    }

    .logo-and-info {
        flex-direction: column;
        text-align: center;
        margin-bottom: 20px;
    }

    .logo-and-info .logo {
        margin-bottom: 10px;
    }

    .info {
        text-align: left;
        margin-top: 10px;
    }

    .info a {
        color: #70a070;
    }

    .footer-middle a {
        color: #70a070;
    }

    .otvetstveni-play-rubyn {
        gap: 15px;
    }

    .otvetstveni-play-rubyn .icon-link {
        height: 80px;
        max-width: 120px;
    }

    .footer-knopksperehods {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .button-link {
        padding: 10px 20px;
        font-size: 16px;
    }

    .header-top {
        justify-content: space-between;
        align-items: center;
    }

    .nav-links {
        display: none;
    }

    .header-navigation {
        display: none;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 20px;
        cursor: pointer;
        z-index: 2;
        margin-right: 16px;
    }

    .bar {
        height: 3px;
        width: 100%;
        background-color: #ffffff;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8.5px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8.5px) rotate(-45deg);
    }

    .mobile-menu {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        padding-top: 88px;
        padding-left: 16px;
        padding-right: 16px;
        padding-bottom: 22px;
        gap: 14px;
        background: linear-gradient(180deg, rgba(16, 28, 22, 0.96) 0%, rgba(25, 44, 34, 0.94) 60%, rgba(12, 21, 17, 0.96) 100%);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-top: none;
        border-radius: 0 0 20px 20px;
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        box-shadow:
            0 18px 32px rgba(0, 0, 0, 0.35),
            inset 0 1px 0 rgba(255, 255, 255, 0.14),
            inset 0 -1px 0 rgba(0, 0, 0, 0.2);
        z-index: 1;
        width: 100%;
        max-width: 100%;
        max-height: 100vh;
        overflow-y: auto;
        margin: 0;
        opacity: 0;
        transform: translateY(-100%);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .mobile-menu.show-menu {
        opacity: 1;
        transform: translateY(0);
    }

    .mobile-menu.closing {
        opacity: 0;
        transform: translateY(-100%);
    }

    .main {
        padding-top: 90px;
    }

    .popup-menu,
    .popup-form {
        width: 100%;
    }

    .header .profile-btn {
        background-color: transparent;
        padding: 0;
    }

    .logo {
        margin-left: 16px;
    }
}

@media (max-width: 480px) {
    .footer-top {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .footer-section {
        min-width: 100%;
        text-align: left;
    }

    .footer-section h3 {
        text-align: left;
    }

    .logo-and-info {
        flex-direction: column;
        text-align: center;
    }

    .logo-and-info .logo {
        margin-bottom: 10px;
    }

    .info {
        text-align: left;
        margin-top: 10px;
    }

    .info a {
        color: #70a070;
    }

    .footer-middle a {
        color: #70a070;
    }

    .otvetstveni-play-rubyn .icon-link {
        height: 60px;
        max-width: 100px;
    }

    .button-link {
        padding: 8px 16px;
        font-size: 14px;
    }
}

@media (max-width: 1024px) {
    .article-description h4 {
        font-size: 16px;
    }

    .article-image img {
        width: 90px;
        height: 90px;
    }
}

@media (max-width: 768px) and (min-width: 561px) {
    .card-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
        padding-left: 5px;
        padding-bottom: 10px;
        box-sizing: border-box;
        justify-content: stretch;
        align-items: stretch;
    }

    .casino-card:nth-child(1),
    .casino-card:nth-child(5) {
        display: none !important;
    }

    .casino-card {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 100%;
        height: auto;
        box-sizing: border-box;
    }

    .casino-card img {
        width: 100%;
        border-radius: 8px;
    }

    .image-button {
        position: relative;
        width: 100%;
        padding-top: 50%;
        overflow: visible;
        border-radius: 10px 10px 0 0;
    }

    .image-button img {
        position: absolute;
        background-color: #3f753f;
        border-radius: 5px;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media (max-width: 480px) {

    .main-content-rubyn,
    .sidebar-rubyn {
        padding: 12px;
        margin: 8px;
    }

    .button-link,
    .new-button-link {
        padding: 10px 16px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .container-rubyn {
        display: block !important;
        width: 100vw;
        max-width: 100vw !important;
        margin: 0 !important;
        padding-left: 10px;
        padding-right: 10px;
        box-sizing: border-box;
    }

    .main-content-rubyn,
    .sidebar-rubyn {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .main-content-rubyn {
        margin-bottom: 20px !important;
    }

    .main-content-rubyn,
    .sidebar-rubyn {
        max-width: 100%;
        padding-top: 10px;
    }

    .sidebar-rubyn {
        order: 1;
    }

    .new-button-link {
        font-size: 18px;
    }
}

@media (max-width: 1600px) {
    .container-rubyn {
        max-width: 100%;
    }

    .casino-card img {
        width: 100%;
        border-radius: 8px;
    }

    .image-button {
        position: relative;
        width: 100%;
        padding-top: 50%;
        padding-left: 30%;
        overflow: visible;
        border-radius: 10px 10px 0 0;
    }

    .image-button img {
        position: absolute;
        background-color: #3f753f;
        border-radius: 5px;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .main-content-rubyn {
        flex: 3;
        max-width: 90%;
        padding: 25px;
        background: rgb(0 54 47 / 20%);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: 20px;
        box-shadow:
            0 8px 32px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.2),
            inset 0 -1px 0 rgba(0, 0, 0, 0.1);
        margin-bottom: 10px;
        position: relative;
        border: 1px solid rgba(255, 255, 255, 0.18);
        overflow: hidden;
        margin-top: 10px;
    }

    .rightsidebar {
        flex: 1;
        max-width: 100%;
        padding: 20px;
        background: rgb(0 54 47 / 20%);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: 20px;
        box-shadow:
            0 8px 32px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.2),
            inset 0 -1px 0 rgba(0, 0, 0, 0.1);
        margin-left: 15px;
        margin-top: 10px;
        margin-bottom: 10px;
        order: 1;
        border: 1px solid rgba(255, 255, 255, 0.18);
        position: relative;
        color: #000000;
    }
}

@media (max-width: 1400px) {
    .card-container {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto auto auto;
        grid-template-areas:
            "card3 card2 card1 card4 card5";
        gap: 15px;
        max-width: 100%;
        box-sizing: border-box;
        margin: 0 auto;
    }

    .container-rubyn {
        max-width: 100%;
    }

    .casino-card img {
        width: 100%;
        border-radius: 8px;
    }

    .image-button {
        position: relative;
        width: 100%;
        padding-top: 50%;
        padding-left: 30%;
        overflow: visible;
        border-radius: 10px 10px 0 0;
    }

    .image-button img {
        position: absolute;
        background-color: #3f753f;
        border-radius: 5px;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .main-content-rubyn {
        flex: 3;
        max-width: 90%;
        padding: 25px;
        background: rgb(0 54 47 / 20%);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: 20px;
        box-shadow:
            0 8px 32px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.2),
            inset 0 -1px 0 rgba(0, 0, 0, 0.1);
        position: relative;
        border: 1px solid rgba(255, 255, 255, 0.18);
        overflow: hidden;
        margin-top: 10px;
        margin-left: 0px !important;
    }

    .rightsidebar {
        flex: 1;
        max-width: 100%;
        padding: 20px;
        background: rgb(0 54 47 / 20%);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: 20px;
        box-shadow:
            0 8px 32px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.2),
            inset 0 -1px 0 rgba(0, 0, 0, 0.1);

        margin-right: 0px !important;
        margin-top: 10px;
        margin-bottom: 10px;
        order: 1;
        border: 1px solid rgba(255, 255, 255, 0.18);
        position: relative;
        color: #000000;
    }

    .casino-card:nth-child(1) {
        grid-area: card1;
    }

    .casino-card:nth-child(2) {
        grid-area: card2;
    }

    .casino-card:nth-child(3) {
        grid-area: card3;
    }

    .casino-card:nth-child(4) {
        grid-area: card4;
    }

    .casino-card:nth-child(5) {
        display: card5;
    }

}

@media (max-width: 1500px) {
    .rightsidebar {
        flex: 1;
        max-width: 100%;
        padding: 20px;
        background: rgb(0 54 47 / 20%);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: 20px;
        box-shadow:
            0 8px 32px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.2),
            inset 0 -1px 0 rgba(0, 0, 0, 0.1);

        margin-right: 0px !important;
        margin-top: 10px;
        margin-bottom: 10px;
        order: 1;
        border: 1px solid rgba(255, 255, 255, 0.18);
        position: relative;
        color: #000000;
    }
}

@media (max-width: 1024px) {
    .card-container {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-areas:
            "card3 card2 card4 card1";
        gap: 15px;
        max-width: 100%;
        box-sizing: border-box;
        margin-bottom: -35px;
    }

    .casino-card img {
        width: 100%;
        border-radius: 8px;
    }

    .image-button {
        position: relative;
        width: 100%;
        padding-top: 50%;
        padding-left: 30%;
        overflow: visible;
        border-radius: 10px 10px 0 0;
    }

    .image-button img {
        position: absolute;
        background-color: #3f753f;
        border-radius: 5px;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .casino-card:nth-child(1) {
        grid-area: card1;
    }

    .casino-card:nth-child(2) {
        grid-area: card2;
    }

    .casino-card:nth-child(3) {
        grid-area: card3;
    }

    .casino-card:nth-child(4) {
        grid-area: card4;
    }

    .casino-card:nth-child(5) {
        display: none;
    }

    .rightsidebar {
        flex: 1;
        max-width: 100%;
        padding: 20px;
        background: rgb(0 54 47 / 20%);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: 20px;
        box-shadow:
            0 8px 32px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.2),
            inset 0 -1px 0 rgba(0, 0, 0, 0.1);
        margin-left: 15px;
        margin-left: 0px;
        margin-right: 15px;
        margin-top: 10px;
        margin-bottom: 10px;
        order: 1;
        border: 1px solid rgba(255, 255, 255, 0.18);
        position: relative;
        color: #000000;
    }

    .main-content-rubyn {
        flex: 3;
        max-width: 90%;
        padding: 25px;
        background: rgb(0 54 47 / 20%);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: 20px;
        box-shadow:
            0 8px 32px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.2),
            inset 0 -1px 0 rgba(0, 0, 0, 0.1);
        position: relative;
        border: 1px solid rgba(255, 255, 255, 0.18);
        overflow: hidden;
        margin-top: 10px;
        margin-right: 10px !important;
    }
}

@media (max-width: 768px) {
    .article-block {
        flex-direction: flex;
        align-items: center;
        text-align: center;
    }

    .article-image img {
        width: 100%;
        height: auto;
        max-height: 100px;
    }

}

@media (max-width: 480px) {
    .top-articles {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .article-description h4 {
        font-size: 14px;
        line-height: 1.3;
    }

    .article-description .new-button-link {
        width: 100%;
        font-size: 0.85rem;
        padding: 10px;
    }
}

@media (max-width: 1024px) {
    .contact-form-section {
        margin-bottom: 20px;
    }

    .form-row {
        flex-direction: column;
        gap: 15px;
    }

    .contact-form input[type="text"],
    .contact-form input[type="email"] {
        width: 100%;
    }

    .message-container {
        padding: 25px;
    }

}

@media (max-width: 1024px) {
    .top-casino-rubyn {
        padding: 12px;
    }

    .top-casino-rubyn .image-container-rubyn {
        width: 130px;
        height: 130px;
    }

    .top-casino-rubyn .info-block-rubyn {
        padding: 8px;
        font-size: 0.95em;
    }
}

@media (max-width: 864px) {
    .top-casino-rubyn {
        padding: 10px;
    }

    .top-casino-rubyn .details-rubyn {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .top-casino-rubyn .image-container-rubyn {
        width: 120px;
        height: 120px;
    }

    .info-block-row-rubyn {
        flex-direction: row;
        justify-content: center;
        gap: 8px;
    }

    .top-casino-rubyn .info-block-rubyn {
        font-size: 1.1em;
        padding: 8px;
        min-width: 120px;
    }
}

@media (max-width: 540px) {
    .top-casino-rubyn {
        padding: 8px;
    }

    .top-casino-rubyn .image-container-rubyn {
        width: 100px;
        height: 100px;
    }

    .info-block-row-rubyn {
        gap: 8px;
    }

    .top-casino-rubyn .info-block-rubyn {
        font-size: 0.85em;
        padding: 6px;
    }
}

@media (max-width: 768px) {
    .contact-form-section {
        margin: 15px;
        padding: 25px;
    }

    .contact-form-section h2 {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .form-row {
        gap: 12px;
    }

    .contact-form .input-group input {
        height: 45px;
        padding: 12px 16px;
        font-size: 15px;
    }

    .contact-form .input-group label {
        font-size: 15px;
        left: 16px;
    }

    .contact-form .input-group input:focus+label,
    .contact-form .input-group input:not(:placeholder-shown)+label {
        font-size: 11px;
        left: 12px;
    }

    .message-container {
        padding: 20px;
    }

    .contact-form textarea {
        height: 120px;
        padding: 20px;
        font-size: 15px;
    }
}

@media (max-width: 1124px) and (min-width: 356px) {
    .new-card-container {
        justify-content: center;
        gap: 18px;
    }

    .new-casino-card {
        width: calc(50% - 18px);
    }

    .new-button-link {
        font-size: clamp(12px, 2vw, 15px);
        padding: 8px 12px;
    }

    .image-overlay h3 {
        font-size: clamp(13px, 2vw, 16px);
    }
}


@media (max-width: 800px) and (min-width: 767px) {
    .new-button-link {
        font-size: 12px;
    }
}

@media (max-width: 421px) {
    .new-card-container {
        justify-content: center;
        gap: 14px;
    }

    .new-casino-card {
        width: 95%;
    }

    .new-button-link {
        width: 90%;
        font-size: clamp(9px, 3.5vw, 12px);
    }

    .image-overlay h3 {
        font-size: clamp(11px, 3.5vw, 15px);
    }

    .text-rubyn-forty {
        font-size: 28px;
        padding-left: 0px;
    }

    .text-rubyn-twentyeight {
        font-size: 20px;
        padding-left: 0px;
    }

    .text-rubyn-twenty {
        font-size: 14px;
        padding-left: 0px;
    }
}

@media (max-width: 767px) {
    .top-articles {
        display: block;
        grid-template-columns: unset !important;
    }

    .article-description h4 {
        font-size: 24px;
    }

    .article-description p {
        font-size: 18px;
    }

    .article-description .new-button-link {
        font-size: 14px;
        width: 50%;
        padding: 8px 0;
        box-sizing: border-box;
        display: block;
    }
}

@media (max-width: 560px) and (min-width: 358px) {
    .card-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto auto;
        grid-template-areas:
            "card3 card2"
            "card4 card1";
        gap: 10px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding-left: 10px;
        padding-right: 10px;
        margin: 0 auto;
        margin-left: 0 !important;
    }

    .header {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .custom-checkmark {
        width: 22px;
        height: 22px;
    }

    .custom-checkmark::before {
        width: 8px;
        height: 4px;
    }

    .text-rubyn-forty {
        font-size: 24px;
        padding-left: 0px;
    }

    .text-rubyn-twentyeight {
        font-size: 20px;
        padding-left: 0px;
    }

    .text-rubyn-twenty {
        font-size: 14px;
        padding-left: 0px;
    }

    .main {
        padding-top: 70px;
    }

    .main-content-rubyn {
        padding: 18px
    }

    .logo img {
        width: 45px;
        height: 45px;
        margin-right: 6px;
        margin-left: 4px;
    }

    .nav-title {
        font-size: 1.3em;
    }

    .menu-icon {
        width: 23px;
        height: 23px;
    }
}

@media (max-width: 358px) and (min-width: 0px) {
    .card-container {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto;
        grid-template-areas:
            "card3"
            "card2"
            "card4"
            "card1"
        ;
        gap: 10px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 30px;
    }

    .casino-card:nth-child(1) {
        display: none !important;
    }

    .custom-checkmark {
        width: 20px;
        height: 20px;
    }

    .custom-checkmark::before {
        width: 7px;
        height: 3px;
    }

    .text-rubyn-forty {
        font-size: 20px;
    }

    .text-rubyn-twentyeight {
        font-size: 18px;
    }

    .text-rubyn-twenty {
        font-size: 13px;
    }

    .main {
        padding-top: 70px;
    }

    .main-content-rubyn {
        padding: 12px
    }

    .logo img {
        width: 45px;
        height: 45px;
        margin-right: 6px;
        margin-left: 4px;
    }

    .nav-title {
        font-size: 1.3em;
    }

    .menu-icon {
        width: 23px;
        height: 23px;
    }
}

@keyframes bg-piece-float {

    0%,
    100% {
        transform: translateY(0) scale(.7);
        opacity: .7
    }

    50% {
        transform: translateY(-30px) scale(1.2);
        opacity: .3
    }
}

@keyframes liquidGlow {
    0% {
        background: rgba(255, 215, 0, 0.15);
        box-shadow:
            0 8px 32px rgba(255, 215, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.2),
            inset 0 -1px 0 rgba(0, 0, 0, 0.1),
            0 0 20px rgba(255, 215, 0, 0.2);
    }

    100% {
        background: rgba(255, 215, 0, 0.25);
        box-shadow:
            0 8px 32px rgba(255, 215, 0, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.3),
            inset 0 -1px 0 rgba(0, 0, 0, 0.1),
            0 0 30px rgba(255, 215, 0, 0.4);
    }
}

@keyframes floatPattern {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.7;
    }

    25% {
        transform: translate(10px, -10px) rotate(90deg);
        opacity: 0.5;
    }

    50% {
        transform: translate(-5px, 10px) rotate(180deg);
        opacity: 0.8;
    }

    75% {
        transform: translate(-10px, -5px) rotate(270deg);
        opacity: 0.6;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes preloader-spin {
    to {
        transform: rotate(360deg)
    }
}

@keyframes preloader-float {

    0%,
    100% {
        transform: translateY(0) scale(.5);
        opacity: .8
    }

    50% {
        transform: translateY(-60px) scale(1);
        opacity: .2
    }
}

@keyframes footerGlow {
    0% {
        box-shadow:
            0 -8px 32px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.1),
            inset 0 -1px 0 rgba(0, 0, 0, 0.1),
            0 0 50px rgba(0, 255, 128, 0.1);
    }

    100% {
        box-shadow:
            0 -8px 32px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.1),
            inset 0 -1px 0 rgba(0, 0, 0, 0.1),
            0 0 80px rgba(0, 255, 128, 0.2);
    }
}

@keyframes footerShimmer {

    0%,
    100% {
        background: linear-gradient(135deg,
                rgba(0, 255, 128, 0.08) 0%,
                rgba(255, 255, 255, 0.05) 30%,
                rgba(0, 255, 128, 0.06) 70%,
                rgba(0, 0, 0, 0.02) 100%);
    }

    50% {
        background: linear-gradient(135deg,
                rgba(0, 255, 128, 0.12) 0%,
                rgba(255, 255, 255, 0.08) 30%,
                rgba(0, 255, 128, 0.10) 70%,
                rgba(0, 0, 0, 0.03) 100%);
    }
}

@keyframes socialIconFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-5px) scale(1.05);
    }
}

@keyframes logoPulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(0, 255, 128, 0.3));
    }

    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 20px rgba(0, 255, 128, 0.6));
    }
}

@keyframes textShimmer {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes textGlow {

    0%,
    100% {
        text-shadow: 0 0 10px rgba(119, 185, 133, 0.5);
    }

    50% {
        text-shadow: 0 0 20px rgba(119, 185, 133, 0.8), 0 0 30px rgba(0, 255, 128, 0.3);
    }
}

@keyframes liquidGlassPulse {

    0%,
    100% {
        box-shadow:
            0 8px 32px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.2),
            inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    }

    50% {
        box-shadow:
            0 12px 40px rgba(0, 0, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.3),
            inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    }
}

@keyframes liquidGlassShimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}