body {
    font-family: 'Poppins', sans-serif;
    background-color: #f0f8ff; /* Light blue/snowy background */
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

*, *::before, *::after {
    box-sizing: border-box;
}

/* Global Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #0056b3; /* Darker blue for headings */
}

.site-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #007bff;
    white-space: nowrap;
}

@media (min-width: 1024px) {
    .site-name {
        font-size: 2.2rem;
    }
    h1 {
        font-size: 3.5rem;
    }
    h2 {
        font-size: 2.5rem;
    }
    h3 {
        font-size: 2rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .site-name {
        font-size: 1.9rem;
    }
    h1 {
        font-size: 2.8rem;
    }
    h2 {
        font-size: 2rem;
    }
    h3 {
        font-size: 1.7rem;
    }
}

@media (max-width: 767px) {
    .site-name {
        font-size: 1.5rem; /* Smaller for mobile if long */
    }
    h1 {
        font-size: 1.8rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    h3 {
        font-size: 1.2rem;
    }
}

/* Section Titles */
.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
    padding-bottom: 0.5rem;
    color: #0056b3;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #007bff;
    border-radius: 2px;
}

.section-title.text-white::after {
    background-color: #fff;
}

/* 18+ Disclaimer Bar */
.top-disclaimer-bar {
    background-color: #0a0a0a !important;
    color: #fff;
    font-size: 0.9rem;
}

/* Age Verification Modal */
.age-verification-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.age-verification-modal.show {
    opacity: 1;
    visibility: visible;
}

.age-verification-content {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: #333;
}

.age-verification-content h2 {
    color: #0056b3;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.age-verification-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.age-verification-content .modal-logo {
    max-width: 120px;
    height: auto;
    margin-bottom: 1.5rem;
}

/* Header */
.navbar-brand .logo-img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.3s ease;
    white-space: nowrap;
}

.navbar-nav .nav-link:hover {
    color: #fff;
}

.offcanvas-header {
    background-color: #212529;
    color: #fff;
}

.offcanvas-title {
    color: #fff;
}

/* Hero Section */
.hero-section {
    min-height: 80vh;
    padding-top: 6rem;
    padding-bottom: 6rem;
    background-image: url('images/pics/winter-gaming-background_2.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.hero-section h1 {
    color: #fff;
    font-size: 3.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section p.lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
}

.hero-section ul li {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
    transform: translateY(-2px);
}

.game-card-stack {
    position: relative;
    width: 300px;
    height: 400px;
    margin: 0 auto;
}

.game-card-item {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s ease, box-shadow 0.4s ease, z-index 0.1s ease;
    background-color: #fff;
    color: #333;
    cursor: pointer;
}

.game-card-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-card-item .card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.game-card-item:hover .card-info {
    transform: translateY(0);
}

.game-card-item.card-1 {
    transform: rotate(-8deg) translateX(-15px) translateY(10px);
    z-index: 3;
}

.game-card-item.card-2 {
    transform: rotate(0deg) translateX(0) translateY(0);
    z-index: 2;
}

.game-card-item.card-3 {
    transform: rotate(8deg) translateX(15px) translateY(-10px);
    z-index: 1;
}

.game-card-item.card-1:hover {
    transform: rotate(-10deg) translateX(-20px) translateY(5px) scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    z-index: 4;
}

.game-card-item.card-2:hover {
    transform: rotate(0deg) translateX(0) translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    z-index: 4;
}

.game-card-item.card-3:hover {
    transform: rotate(10deg) translateX(20px) translateY(-15px) scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    z-index: 4;
}

.scroll-down-arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.5rem;
    color: #fff;
    animation: bounce 2s infinite;
    z-index: 1;
    text-decoration: none;
    margin-top: 50px; /* Отступ от заголовка */
}

.scroll-down-arrow:hover {
    color: #007bff;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-15px); }
    60% { transform: translateX(-50%) translateY(-7px); }
}

@media (max-width: 991px) {
    .hero-section {
        min-height: 70vh;
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .hero-section p.lead {
        font-size: 1rem;
    }
    .hero-section ul li {
        font-size: 0.9rem;
    }
    .scroll-down-arrow {
        bottom: 20px;
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .hero-section {
        min-height: 60vh;
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    .hero-section h1 {
        font-size: 1.8rem;
    }
    .hero-section p.lead {
        font-size: 0.9rem;
    }
    .hero-section ul li {
        font-size: 0.8rem;
    }
    .scroll-down-arrow {
        bottom: 15px;
        font-size: 1.8rem;
    }
}

/* Game Cards */
.game-card {
    background-color: #2c3e50 !important; /* Dark blue for cards */
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.game-card .card-img-top {
    height: 300px;
    object-fit: cover;
}

.game-card .game-link {
    position: relative;
    display: block;
}

.game-card .game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-card .game-link:hover .game-overlay {
    opacity: 1;
}

.game-card .play-icon {
    font-size: 3rem;
    color: #fff;
}

.game-card .rating .bi-star-fill, .game-card .rating .bi-star-half {
    color: #ffc107;
}

.game-card .card-text {
    color: rgba(255, 255, 255, 0.75);
}

.game-card ul li {
    color: rgba(255, 255, 255, 0.75);
}

/* Game Modal */
.game-modal .modal-dialog {
    margin: 0;
    width: 100vw;
    height: 100vh;
}

.game-modal .modal-content {
    background-color: rgba(0, 0, 0, 0.9);
    border-radius: 0;
}

.game-modal .modal-header {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1060;
    border-bottom: none;
}

.game-modal .btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
    font-size: 1.5rem;
    opacity: 1;
}

.game-modal .modal-body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.game-modal iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Bestenliste */
.table-responsive {
    border-radius: 0.5rem;
    overflow: hidden;
}

.table-dark {
    background-color: #0056b3;
    color: #fff;
}

.table-hover tbody tr:hover {
    background-color: #e9ecef;
}

/* Reviews */
.reviews-section .card {
    background-color: #2c3e50 !important;
}

.reviews-section .avatar-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid #007bff;
}

/* FAQ */
.accordion-item {
    border: 1px solid #dee2e6;
    margin-bottom: 10px;
    border-radius: 0.5rem;
    overflow: hidden;
}

.accordion-button {
    background-color: #fff;
    color: #0056b3;
    font-weight: 600;
    padding: 1rem 1.25rem;
    text-align: left;
    transition: background-color 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background-color: #e9f5ff;
    color: #007bff;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}

.accordion-body {
    padding: 1rem 1.25rem;
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    color: #333;
}

/* Contact Form */
.contact-form {
    background-color: #2c3e50;
    color: #fff;
    padding: 2rem;
}

.contact-form .form-label {
    color: #fff;
}

.contact-form .form-control {
    background-color: #34495e;
    border: 1px solid #4a647d;
    color: #fff;
}

.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.contact-form .form-control:focus {
    background-color: #34495e;
    border-color: #007bff;
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
    color: #fff;
}

.contact-form .invalid-feedback {
    color: #dc3545;
}

/* Disclaimer Block */
.disclaimer-block {
    background-color: #e0f2f7; /* Light blue background */
    padding: 3rem 0;
}

.disclaimer-content {
    background-color: #fff;
    border: 1px solid #a7d9ed;
    border-left: 5px solid #007bff; /* Blue left border */
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.disclaimer-title {
    color: #007bff;
    font-weight: 700;
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.disclaimer-title i {
    font-size: 1.8rem;
    margin-right: 0.8rem;
}

.disclaimer-content p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.disclaimer-content a {
    font-weight: 600;
}

/* Footer */
footer {
    background-color: #1a1a1a !important;
    color: rgba(255, 255, 255, 0.7);
}

footer .navbar-brand .logo-img {
    height: 35px;
}

footer .site-name {
    font-size: 1.5rem;
    color: #007bff;
}

footer h5 {
    color: #fff;
    font-weight: 600;
    font-size: 1.2rem;
}

footer ul {
    padding-left: 0;
}

footer ul li a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

footer ul li a:hover {
    color: #fff;
}

.footer-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo-item {
    max-height: 80px;
    height: auto;
    object-fit: contain;
    filter: brightness(0.8) grayscale(0.2);
    transition: filter 0.3s ease;
}

.footer-logo-item:hover {
    filter: brightness(1) grayscale(0);
}

/* Mobile adaptation for navigation */
@media (max-width: 1199.98px) {
    .navbar-collapse {
        display: none !important;
    }
    .navbar-toggler {
        display: block;
    }
}

@media (min-width: 1200px) {
    .offcanvas-body {
        display: flex;
        justify-content: flex-end;
    }
    .offcanvas-body .navbar-nav {
        flex-direction: row;
    }
    .offcanvas-body .nav-item {
        margin-left: 1.5rem;
    }
}

@media (max-width: 991px) {
    .hero-section .list-unstyled {
        text-align: center !important;
    }
    .game-card-stack {
        display: none;
    }
    .hero-section h1 {
        font-size: 2.2rem;
    }
    .hero-section p.lead {
        font-size: 1rem;
    }
    .hero-section ul li {
        font-size: 0.9rem;
    }
}

@media (max-width: 767px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }
    .hero-section p.lead {
        font-size: 0.9rem;
    }
    .hero-section ul li {
        font-size: 0.8rem;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .footer-logos {
        gap: 1rem;
    }
    .footer-logo-item {
        max-width: 90px;
    }
}
.complianceCoreSlot {
    /* Padding for the main container */
    padding: 20px 25px;
}

.complianceCoreSlot h1 {
    /* Heading 1 styles */
    font-size: 1.8em;
    font-weight: 600;
    line-height: 1.2;
    margin-top: 1.5em;
    margin-bottom: 0.8em;
}

.complianceCoreSlot h2 {
    /* Heading 2 styles */
    font-size: 1.5em;
    font-weight: 600;
    line-height: 1.2;
    margin-top: 1.2em;
    margin-bottom: 0.7em;
}

.complianceCoreSlot h3 {
    /* Heading 3 styles */
    font-size: 1.3em;
    font-weight: 600;
    line-height: 1.2;
    margin-top: 1em;
    margin-bottom: 0.6em;
}

.complianceCoreSlot h4 {
    /* Heading 4 styles */
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.2;
    margin-top: 0.8em;
    margin-bottom: 0.5em;
}

.complianceCoreSlot h5 {
    /* Heading 5 styles */
    font-size: 1em;
    font-weight: 600;
    line-height: 1.2;
    margin-top: 0.7em;
    margin-bottom: 0.4em;
}

.complianceCoreSlot p {
    /* Paragraph styles */
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 1em;
}

.complianceCoreSlot ul {
    /* Unordered list styles */
    list-style-type: disc;
    margin-top: 1em;
    margin-bottom: 1em;
    padding-left: 1.5em; /* Indent for bullet points */
}

.complianceCoreSlot li {
    /* List item styles */
    line-height: 1.6;
    margin-bottom: 0.5em;
}
#reviews img {
    max-width: 150px;
}
.table-scroll-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* плавний скрол на iOS */
}

.table-scroll-wrapper table {
    min-width: 700px; /* або більше, якщо багато колонок */
}
@media screen and (width < 576px) {
    .complianceCoreSlot h2 {
    font-size: 1.3em;
    }
}