@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}
html {
	position: relative;
	min-height: 100%;
    --font-main:'Montserrat', sans-serif;
}

body {
	padding-top: 65px;
    background: #161626;
    color:#646a87;
    font-family:var(--font-main), sans-serif;
    transition: padding 0.3s ease, overflow 0.3s ease;
}
body.popup-open {
    overflow: hidden;
    padding-right: 15px; /* compensate scrollbar */
}

section {
	padding: 150px 0;
}

img {
	max-width: 100%;
}

pre,
code {
	background: #f8f8f8;
	color: #333;
}

pre {
	border-left: 2px solid #ccc;
	padding: 10px;
}

code {
	display: inline-block;
	padding: 0 0.5em;
	line-height: 1.4em;
	border-radius: 3px;
}

table {
	empty-cells: show;
	border: 1px solid #cbcbcb;
	width: 100%;
	font-size: 0.9em;
	margin-bottom: 1rem;
}

thead {
	background-color: #e0e0e0;
	color: #000;
	text-align: left;
	vertical-align: bottom;
}

tr {
	display: table-row;
	vertical-align: inherit;
	border-color: inherit;
}

th,
td {
	padding: 0.5em 1em;
}

h1.title,
h2.title {
	font-size: 2.3rem;
}

blockquote {
	padding: 10px 20px;
	margin: 0 0 20px 20px;
	border-left: 5px solid #eee;
	font-style: italic;
}

.bi {
	margin-right: .5rem !important;
}


/* Paginator */
.paginator {
	margin-top: 20px;
	margin-bottom: 80px;
}

/* Navbar */
img.nav-svg-icon {
	width: 1rem;
	height: 1rem;
	padding-bottom: 2px;
}

.nav-link {
	font-size: 0.8em;
}

/* Footer */
footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 60px;
	line-height: 60px;
	font-size: 0.8em;
}

.mini-logo {
	height: 22px;
	padding-bottom: 5px;
}

/* Home - Header */
header.welcome {
	padding: 100px 0;
}

/* Home - Page */
section.home-page:nth-child(even) {
	/* Alternate the background color */
	background: #FAFAFA;
}

.page-cover-image {
	background-size: cover;
	background-position: center;
}

.page-description {
	color: #b5b5b5;
	font-style: italic;
}

/* VIDEO EMBED RESPONSIVE */
.video-embed {
	overflow: hidden;
	padding-bottom: 56.25%;
	/* 16:9 */
	position: relative;
	height: 0;
}

.video-embed iframe {
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	position: absolute;
}
.casino-header, .welcome bg-light {
    background:inherit;
    font-family: var(--font-main), sans-serif;
    padding-top: 10px;
}

.casino-topbar {
    position: fixed;
    height: 80px; /* exact height you want */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: inherit;
    display: flex;
    align-items: center;
    padding: 0 15px; /* тільки горизонтальний padding, щоб не зрушувало по вертикалі */
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
    box-sizing: border-box;
}
.casinoBannerCarousel {
    padding-top:60px;
}
.casino-header__buttons .btn-outline-light, .casino-header__buttons .btn-danger {
    font-size: 12px !important ; 
    letter-spacing: 1;
    margin: 2px;
}
.casino-header__buttons .btn-outline-light {
    color: #fff;
    font-weight: bold;
    padding: 6px 14px;
    border-radius:0;
    border: 0;
    border-bottom: 1px solid #fefefe;
    text-transform: uppercase;
}

.casino-header__buttons .btn-outline-light:hover {
    background-color: #fff;
    color: #1a1a1a;
}

.casino-header__buttons .btn-danger {
    background-color: #fe284a;
    border-color: #fe284a;
    box-shadow:0 3px 0 0 #871628, 0 4px 4px 0 #000;
    font-weight: bold;
    border-radius: 25px;
    padding: 6px 14px;
    text-transform: uppercase;
}

.casino-header__buttons .btn-danger:hover {
    background-color: #e60045;
    border-color: #e60045;
}
.casino-header__buttons a {
    min-width: 50px; /* or exact */
    text-align: center;
}
.casino-header__nav {
    background-color: #12122a;
    padding: 12px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: inset 0 5px 25px 0 #000c;
}

.casino-header__nav-item {
    flex: 1;
    text-decoration: none;
    color: #fff;
    word-break: normal;
    font-weight: bold;
    text-transform: uppercase;
    border-right: 1px solid #2a2a4a;
}

.casino-header__nav-item:last-child {
    border-right: none;
}

.casino-header__nav-item i {
    font-size: 24px;
    color: #fff;
    margin-bottom: 5px;
}

.casino-header__nav-item span {
    display: block;
    text-align: center;
    font-size: 8px !important;
}

.casino-header__nav-item:hover i,
.casino-header__nav-item:hover span {
    color: #ff004f;
}

.casino-header__static-pages a {
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
}

.casino-header__static-pages a:hover {
    color: #ff004f;
}

.casino-header__social a {
    font-size: 14px;
    text-decoration: none;
}

.casino-header__social a:hover {
    color: #ff004f;
}
.casino-header__nav-item i {
    font-size: 24px;
    color: #fff;
}

.casino-header__nav-item span {
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
}

.casino-header__nav-item:hover i,
.casino-header__nav-item:hover span {
    color: #ff004f;
}
.nav-svg-icon {
    height: 20px;
    width: auto;
    vertical-align: middle;
    margin-right: 5px;
}


.carousel-inner img {
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.carousel-item {
    transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
}

.carousel-item-next,
.carousel-item-prev,
.carousel-item.active {
    display: block;
}

/* Vavada style Footer */
.casino-footer {
    background-color: #101010;
    font-size: 12px;
    padding: 20px 0;
    color: #fff;
    text-align: center;
    height: auto;
    position:relative;
}

.casino-footer .container {
    background-color: transparent !important;
}

.footer-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.footer-link {
    color: #ccc;
    text-decoration: none;
    margin: 4px 8px;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #ff004f;
}

.footer-apps {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* wrap always */
    gap: 12px;
    margin-bottom: 16px;
}

.footer-app-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 28px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    min-width: 160px;
    max-width: 200px; /* <== додано щоб не роздувалось */
    white-space: nowrap;
}

.footer-app-btn.ios {
    background-color: #303036;
    box-shadow:0 4px 0 0 #0e0e11;
}

.footer-app-btn.android {
    background-color: #28a745;
    box-shadow:0 4px 0 0 #184e26;
}

.footer-app-btn i {
    font-size: 16px;
    margin-right: 8px;
}

.footer-app-btn:hover {
    opacity: 0.85;
}

.footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.footer-social-icon {
    height: 28px;
    width: 28px;
    filter: brightness(2);
    transition: filter 0.2s ease;
    margin: 0 6px;
}

.footer-social-icon:hover {
    filter: brightness(4);
}

.footer-lang .btn {
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    margin: 4px;
}

.footer-copyright {
    margin-top: 10px;
    color: #888;
    font-size: 11px;
    line-height:2;
}

/* Mobile tuning */
@media (max-width: 480px) {
    .footer-apps {
        flex-direction: column; /* <== кнопки одна під одною */
        align-items: center;
    }

    .footer-app-btn {
        width: 80%; /* красиво центрується на мобілках */
        max-width: 250px;
    }
}

/* Modal */
:root {
  --pink: #ff0066;
  --dark-bg: #1a1a1a;
  --text-light: #f5f5f5;
}

.popup-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.popup-modal.active {
    display: flex;
}

.popup-backdrop {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

.popup-content {
    position: relative;
    background: var(--dark-bg);
    color: var(--text-light);
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    max-width: 350px;
    width: 100%;
    z-index: 10000;
    box-shadow: 0 0 20px rgba(255, 0, 102, 0.5);
}

.popup-close {
    position: absolute;
    top: 10px; right: 15px;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    z-index: 1;
}

.btn-pink {
    background-color: var(--pink);
    border: none;
    color: white;
    padding: 12px 24px;
    font-weight: bold;
    border-radius: 8px;
    font-size: 16px;
}

.btn-pink:hover {
    background-color: #e6005c;
    color: white;
}

.text-pink {
    color: var(--pink);
}

@media (max-width: 480px) {
    .popup-content {
        padding: 20px 15px;
        border-radius: 10px;
    }

    .btn-pink {
        font-size: 15px;
        padding: 10px 20px;
    }
}

/* FAQ */

.faq-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

.faq-title {
    color: var(--pink, #ff0066);
    font-weight: bold;
}

.faq-item {
    border-bottom: 1px solid #333;
    box-shadow:0 4px 10px 0 #000;

}
.faq-item:first-child {
    border-radius:0 10px 10px 0;
}
.faq-item:last-child {
    border-radius:0 10px 10px 0;
}
.faq-question {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 15px 10px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: #1a1a1a;
    cursor: pointer;
    transition: background 0.3s;
}

.faq-question:hover {
    background-color: #2a2a2a;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
    padding: 0 10px;
    background-color: #121212;
    color: #ccc;
}

.faq-answer p {
    margin: 15px 0;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* or large enough for your content */
    padding: 15px 10px;
}

/* TABLE */

.payment-methods {
    background-color: #141414;
    color: #f0f0f0;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    overflow-x: auto;
}

.payment-methods h2 {
    color: #ff0066;
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.payment-methods table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    table-layout: auto;
}
.payment-table td {
    display: flex;
    justify-content: space-between;
    padding: 10px 8px;
    font-size: 0.95rem;
    border-bottom: 1px solid #333;
}

.payment-table td::before {
    content: attr(data-label);
    flex: 0 0 45%;
    font-weight: 500; /* стало трохи менш жирно */
    color: #ffcc00;
    padding-right: 10px;
}

.payment-methods thead {
    background-color: #1f1f1f;
}

.payment-methods thead th {
    padding: 12px;
    text-align: left;
    color: #ffcc00;
    border-bottom: 2px solid #333;
    font-weight: 600;
}

.payment-methods tbody td {
    padding: 12px;
    border-bottom: 1px solid #333;
    color: #f0f0f0;
}

.payment-methods tbody tr:nth-child(even) {
    background-color: #1c1c1c;
}

.payment-methods tbody tr:hover {
    background-color: #222;
    transition: background-color 0.3s ease;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .payment-methods table,
    .payment-methods thead,
    .payment-methods tbody,
    .payment-methods th,
    .payment-methods td,
    .payment-methods tr {
        display: block;
        width: 100%;
    }

    .payment-methods thead {
        display: none;
    }

    .payment-methods tbody tr {
        margin-bottom: 15px;
        border-bottom: 2px solid #333;
        padding: 10px;
        background-color: #1c1c1c;
    }

    .payment-methods tbody td {
        display: flex;
        justify-content: space-between;
        padding: 8px 0;
        font-size: 0.95rem;
    }

    .payment-methods tbody td::before {
        content: attr(data-label);
        font-weight: bold;
        color: #ffcc00;
        flex: 0 0 50%;
    }
}

/* Authot modal */
.author-tooltip {
    position: absolute;
    bottom: 20%; /* піднімаємо над кнопкою */
    left: 50%;
    transform: translateX(-50%);
    background-color: #222;
    color: #fff;
    padding: 10px 5px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.5);
    font-size: 13px;
    max-width: 260px;
    z-index: 9999;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    line-height: 1;
}
.author-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #222 transparent transparent transparent;
}

.author-trigger:hover .author-tooltip,
.author-tooltip.show {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 576px) {
    .author-tooltip {
        max-width: 90vw;
        font-size: 12px;
        padding: 8px 12px;
    }
}