/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark grey for readability */
    background-color: #F0F8F8; /* Very light turquoise/off-white */
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #20B2AA; /* Sea green for headings */
}

/* Links */
a {
    color: #20B2AA;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #1A8F8A; /* Slightly darker on hover */
}

/* Buttons */
.btn-primary {
    background-color: #A0E7E5; /* Light turquoise */
    border-color: #A0E7E5;
    color: #333333;
    font-weight: 500;
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background-color: #79D7D7; /* Slightly darker turquoise */
    border-color: #79D7D7;
    color: #333333;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: #79D7D7;
    border-color: #79D7D7;
    color: #333333;
    font-weight: 500;
    transition: all 0.3s ease;
}
.btn-secondary:hover {
    background-color: #5BC9C9;
    border-color: #5BC9C9;
    color: #333333;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-outline-secondary {
    color: #79D7D7;
    border-color: #79D7D7;
}
.btn-outline-secondary:hover {
    background-color: #79D7D7;
    color: #333333;
}

/* Utility Classes */
.bg-light-turquoise {
    background-color: #E0F2F1; /* A very light shade for section backgrounds */
}

/* Age Verification Splash Screen */
.age-verification-splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* Dark overlay */
    z-index: 1060; /* Above modals */
    color: #FFFFFF;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.age-verification-splash.hidden {
    opacity: 0;
    visibility: hidden;
}

.age-verification-card {
    background-color: #212529; /* Dark background for the card */
    color: #FFFFFF;
    max-width: 450px;
    width: 90%;
}

/* Navbar */
.navbar {
    background-color: #A0E7E5; /* Light turquoise for navbar */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.navbar-brand {
    color: #333333 !important;
}
.navbar-brand:hover {
    color: #20B2AA !important;
}
.navbar-nav .nav-link {
    color: #333333 !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background-color: #79D7D7; /* Slightly darker turquoise on hover/active */
    color: #333333 !important;
}

/* Hero Section */
.hero-section {
    background-image: url('photos/media/hero-gaming-bg_3.jpg');
    background-size: cover;
    background-position: center;
    min-height: 70vh; /* Responsive height */
    position: relative;
    overflow: hidden;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: 0;
}
.hero-section h1 {
    font-size: 3.5rem;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.hero-section p {
    font-size: 1.25rem;
    color: #E0F2F1;
}

/* Featured Items */
.featured-card {
    background-color: #FFFFFF;
    border: 1px solid #E0F2F1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}
.featured-logo {
    max-height: 130px;
    object-fit: contain;
    margin: 0 auto;
}
.star-rating {
    color: #FFD700; /* Gold for stars */
}

/* Rating Grid */
.rating-item {
    background-color: #FFFFFF;
    border: 1px solid #E0F2F1;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.rating-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}
.rating-logo {
    max-height: 70px;
    object-fit: contain;
    margin: 0 auto 1rem;
}
.rating-item .details-preview {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(121, 215, 215, 0.95); /* Semi-transparent turquoise */
    color: #333333;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    text-align: center;
}
.rating-item:hover .details-preview {
    transform: translateY(0);
}
.rating-item p.small.text-muted {
    margin-bottom: 0;
    transition: margin-bottom 0.3s ease;
}
.rating-item:hover p.small.text-muted {
    margin-bottom: 1rem; /* Adjust space when overlay appears */
}

/* Rating Criteria */
.criterion-item {
    background-color: #FFFFFF;
    border: 1px solid #E0F2F1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.criterion-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}
.criterion-item i {
    color: #20B2AA; /* Primary icon color */
}

/* Bonus List */
.bonus-item {
    background-color: #FFFFFF;
    border: 1px solid #E0F2F1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.bonus-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}
.bonus-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.popularity-indicator {
    color: #E67E22; /* Orange for popularity */
    font-weight: 500;
    display: flex;
    align-items: center;
}

/* Disclaimer Block */
.disclaimer-block {
    background-color: #FFFAE6; /* Light yellow background to stand out */
    padding-top: 3rem;
    padding-bottom: 3rem;
}
.disclaimer-content {
    background-color: #FFF8DC; /* Slightly darker yellow for the card */
    border: 1px solid #FFECB3; /* Yellow border */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.disclaimer-content h3 {
    color: #E67E22; /* Orange for warning heading */
}
.disclaimer-content i {
    color: #E67E22; /* Orange for warning icon */
}

/* Footer */
.footer {
    background-color: #212529; /* Dark background */
    color: #E0F2F1; /* Light text */
    padding-top: 4rem;
    padding-bottom: 4rem;
}
.footer-brand {
    color: #A0E7E5 !important;
}
.footer-brand:hover {
    color: #79D7D7 !important;
}
.footer-link {
    color: #A0E7E5;
    transition: color 0.3s ease;
}
.footer-link:hover {
    color: #79D7D7;
}
.footer-links li {
    margin-bottom: 0.5rem;
}
.social-icons a {
    color: #A0E7E5;
    font-size: 1.5rem;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}
.social-icons a:hover {
    color: #79D7D7;
}

.footer-logos-block {
    margin-top: 2rem;
    gap: 1.5rem; /* Space between logos */
}
.footer-logo {
    max-width: 120px; /* Max width for footer logos */
    height: auto;
    object-fit: contain;
    display: block; /* Ensures proper sizing */
}

/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1050; /* Below age verification, above regular content */
    max-width: 350px;
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.5s ease-out forwards;
}

.cookie-consent-banner.d-none {
    display: none !important;
}

@keyframes slideIn {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .hero-section p {
        font-size: 1rem;
    }
    .navbar-nav .nav-link {
        text-align: center;
    }
    .footer-logos-block {
        justify-content: center;
    }
    .footer-logo {
        max-width: 100px;
    }
    .cookie-consent-banner {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: unset;
    }
}
/* Styles for the terms and conditions container */
.termsCaveBox {
    padding: 3rem 2rem; /* Top/bottom and left/right padding */
    margin-bottom: 2rem; /* Space below the box */
    background-color: #FFFFFF; /* White background for content readability */
    border-radius: 8px; /* Slightly rounded corners */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Subtle shadow */
}

/* Heading styles within termsCaveBox */
.termsCaveBox h1 {
    font-size: 2.2rem; /* Heading 1 font size */
    line-height: 1.3; /* Line height for better readability */
    margin-bottom: 1.5rem; /* Space below heading */
    color: #20B2AA; /* Consistent heading color */
    font-weight: 600; /* Consistent heading weight */
}

.termsCaveBox h2 {
    font-size: 1.8rem; /* Heading 2 font size */
    line-height: 1.3;
    margin-bottom: 1.2rem;
    color: #20B2AA;
    font-weight: 600;
}

.termsCaveBox h3 {
    font-size: 1.5rem; /* Heading 3 font size */
    line-height: 1.4;
    margin-bottom: 1rem;
    color: #20B2AA;
    font-weight: 600;
}

.termsCaveBox h4 {
    font-size: 1.3rem; /* Heading 4 font size */
    line-height: 1.4;
    margin-bottom: 0.8rem;
    color: #20B2AA;
    font-weight: 600;
}

.termsCaveBox h5 {
    font-size: 1.1rem; /* Heading 5 font size */
    line-height: 1.5;
    margin-bottom: 0.7rem;
    color: #20B2AA;
    font-weight: 600;
}

/* Paragraph styles within termsCaveBox */
.termsCaveBox p {
    font-size: 1rem; /* Standard body text size */
    line-height: 1.7; /* Generous line height for readability */
    margin-bottom: 1rem; /* Space between paragraphs */
    color: #333333; /* Dark grey for readability */
}

/* Unordered list styles within termsCaveBox */
.termsCaveBox ul {
    list-style: disc; /* Default disc for unordered lists */
    margin-top: 1rem; /* Space above the list */
    margin-bottom: 1rem; /* Space below the list */
    padding-left: 1.5rem; /* Indentation for list items */
    color: #333333; /* Dark grey for list text */
}

/* List item styles within termsCaveBox */
.termsCaveBox li {
    font-size: 1rem; /* Consistent with paragraph text */
    line-height: 1.6; /* Good line height for list items */
    margin-bottom: 0.5rem; /* Space between list items */
}

/* Optional: Styles for ordered lists within termsCaveBox */
.termsCaveBox ol {
    list-style: decimal; /* Default decimal for ordered lists */
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    color: #333333;
}

.termsCaveBox ol li {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* Optional: Styles for nested unordered lists */
.termsCaveBox ul ul,
.termsCaveBox ol ul {
    list-style: circle; /* Change bullet for nested unordered lists */
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Optional: Styles for nested ordered lists */
.termsCaveBox ul ol,
.termsCaveBox ol ol {
    list-style: lower-alpha; /* Change numbering for nested ordered lists */
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}


header,
main,
footer {
  display: none; /* скрываем контент, пока не подтвердят возраст */
}

/* Показываем оверлей сразу */
#ageVerificationSplash {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Скрытие с анимацией */
#ageVerificationSplash.hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
}

footer{
    .col-md-4{
        flex-grow: 1;
    }
}