body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-blue);
    color: var(--white);
    line-height: 1.6;
    scroll-behavior: smooth;
}

:root {
    --dark-blue: #0F172A; /* Background (deep dark blue) */
    --medium-blue: #1E293B; /* Secondary background (medium dark blue) */
    --light-blue: #334155; /* Border/subtle accent */
    --primary-light: #3B82F6; /* Primary accent (bright blue) */
    --white: #F8FAFC; /* Text (almost white) */
    --grey-text: #CBD5E1; /* Secondary text */
    --warning-red: #EF4444;
    --button-primary: #6366F1; /* Button color (indigo) */
    --button-hover: #4F46E5; /* Button hover */
    --card-bg: rgba(30, 41, 59, 0.6); /* Glassmorphism card background */
    --card-border: rgba(59, 130, 246, 0.3); /* Glassmorphism border */
}

/* Global Text Colors */
h1, h2, h3, h4, h5, h6 {
    color: var(--primary-light);
    font-weight: 700;
}

p {
    color: var(--white);
}

a {
    color: var(--primary-light);
    text-decoration: none;
}

a:hover {
    color: var(--light-blue);
    text-decoration: none;
}

/* Custom Buttons - Clean Minimalism */
.btn-primary-custom {
    background-color: var(--button-primary);
    border: none;
    color: #FFFFFF;
    font-weight: 600;
    padding: 0.875rem 2.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary-custom:hover, .btn-primary-custom:focus {
    background-color: var(--button-hover);
    color: #FFFFFF;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.btn-secondary-custom {
    background-color: transparent;
    border: 2px solid var(--button-primary);
    color: var(--button-primary);
    font-weight: 600;
    padding: 0.875rem 2.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-secondary-custom:hover, .btn-secondary-custom:focus {
    background-color: var(--button-primary);
    border-color: var(--button-primary);
    color: #FFFFFF;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* Оптимизация Bootstrap collapse для плавной анимации */
.collapse {
    transition: height 0.25s ease-out;
    will-change: height;
}

.collapsing {
    transition: height 0.25s ease-out;
    will-change: height;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* Age Banner */
.age-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.95) 0%, rgba(99, 102, 241, 0.95) 100%);
    color: var(--white);
    text-align: center;
    padding: 0.75rem 1rem;
    z-index: 1050;
    font-weight: 600;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    line-height: 1.4;
}

body.has-age-banner {
    padding-top: 48px;
}

body.has-age-banner .navbar {
    top: 48px;
}

@media (max-width: 991.98px) {
    .age-banner {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    body.has-age-banner {
        padding-top: 36px;
    }
    
    body.has-age-banner .navbar {
        top: 36px;
    }
}

@media (max-width: 575.98px) {
    .age-banner {
        padding: 0.4rem 0.5rem;
        font-size: 0.75rem;
        line-height: 1.2;
    }
    
    body.has-age-banner {
        padding-top: 32px;
    }
    
    body.has-age-banner .navbar {
        top: 32px;
    }
    
    .hero-section {
        padding-top: 120px;
    }
}

/* Navbar */
.navbar {
    background-color: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid var(--card-border);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    position: relative;
}

.navbar-brand .logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    padding: 6px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(99, 102, 241, 0.2) 100%);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    filter: drop-shadow(0 2px 4px rgba(59, 130, 246, 0.2));
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
}

.navbar-brand:hover .logo-img {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.navbar-brand span {
    color: var(--white);
}

.navbar-nav .nav-link {
    color: var(--white);
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: color 0.2s ease;
    will-change: color;
    transform: translateZ(0);
}

.navbar-nav .nav-link:hover {
    color: var(--primary-light);
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

/* Оптимизация для мобильных устройств */
@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        transform: translateZ(0);
        will-change: color, transform;
    }
    
    .navbar-nav .nav-link:hover {
        transform: translateX(4px) translateZ(0);
    }
}

.navbar-toggler {
    border-color: var(--card-border);
    border: 1px solid var(--card-border);
    padding: 0.25rem 0.5rem;
    transition: all 0.2s ease;
    will-change: transform;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28248, 250, 252, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 1.5em;
    height: 1.5em;
    transition: transform 0.2s ease;
    will-change: transform;
}

.text-primary-light {
    color: var(--primary-light) !important;
}

.text-muted {
    color: var(--grey-text) !important;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    padding-top: 140px;
    padding-bottom: 80px;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
}



.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    font-weight: 700;
}

.hero-section p {
    font-size: 1.25rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--grey-text);
    font-weight: 400;
}

.hero-section h1 {
    color: var(--white);
}

/* Sections General */
.section-title {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    position: relative;
    display: block;
    color: var(--primary-light);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-title {
    color: var(--white);
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -12px;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-light) 0%, var(--button-primary) 100%);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

/* About Section */
.about-section {
    background: linear-gradient(180deg, var(--medium-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 6rem 0;
}

.about-section p {
    color: var(--grey-text);
}

/* Games Section */
.games-section {
    background: linear-gradient(180deg, var(--dark-blue) 0%, var(--medium-blue) 100%);
    padding: 6rem 0;
}

.game-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    position: relative;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: 20px;
}

.game-card:hover {
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.4), 0 0 0 1px rgba(59, 130, 246, 0.2);
    transform: translateY(-8px);
}

.game-card:hover::before {
    opacity: 1;
}

.game-card img,
.game-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: none;
    transition: transform 0.3s ease;
    display: block;
}

.game-card:hover img,
.game-card:hover .game-card-image {
    transform: scale(1.05);
}

.game-card .card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: transparent;
}

.game-card .card-title {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 0.875rem;
    font-weight: 600;
}

.game-card .card-text {
    color: var(--grey-text);
    font-size: 0.95rem;
    flex-grow: 1;
    line-height: 1.6;
}

.game-card .play-game-btn {
    align-self: flex-start;
    margin-top: auto;
}
@media screen and (width < 768px) {
    .game-card .play-game-btn {
    align-self: center;
    }
}

/* Game Modal */
.game-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: 1060;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.game-modal.active {
    opacity: 1;
    visibility: visible;
}

.game-modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.game-modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--card-bg);
    color: var(--white);
    border: 1px solid var(--card-border);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1070;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
}

.game-modal-close-btn:hover {
    background-color: var(--button-primary);
    color: #FFFFFF;
    transform: rotate(90deg);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.game-modal iframe {
    width: 100%;
    height: 100%;
    border: none;
    background-color: #000;
}

/* How to Play Section */
.how-to-play-section {
    background: linear-gradient(180deg, var(--dark-blue) 0%, var(--medium-blue) 100%);
    padding: 6rem 0;
}

.accordion-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    margin-bottom: 16px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px);
}

.accordion-button {
    background: var(--card-bg);
    color: var(--white);
    font-weight: 600;
    font-size: 1.15rem;
    padding: 1.25rem 1.75rem;
    border-bottom: none;
    text-align: left;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
}

.accordion-button:not(.collapsed) {
    background: rgba(59, 130, 246, 0.2);
    color: var(--white);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.accordion-button:focus {
    border-color: var(--primary-light);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%233B82F6'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}


.accordion-body {
    background: transparent;
    color: var(--grey-text);
    padding: 1.75rem;
    border-top: 1px solid var(--card-border);
    line-height: 1.7;
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(180deg, var(--medium-blue) 0%, var(--dark-blue) 100%);
    padding: 6rem 0;
}

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    position: relative;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: 20px;
}

.testimonial-card:hover {
    border-color: rgba(99, 102, 241, 0.6);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.4), 0 0 0 1px rgba(99, 102, 241, 0.2);
    transform: translateY(-8px);
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-text {
    font-style: italic;
    color: var(--grey-text);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.7;
    font-size: 1rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid var(--primary-light);
    border-radius: 50%;
}

.testimonial-author {
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0;
}

.testimonial-date {
    color: var(--grey-text);
    font-size: 0.85rem;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(180deg, var(--dark-blue) 0%, var(--medium-blue) 100%);
    padding: 6rem 0;
}

.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
}

.contact-form .form-label {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.contact-form .form-control {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid var(--card-border);
    color: var(--white);
    padding: 0.875rem 1.25rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-form .form-control::placeholder {
    color: var(--grey-text);
    opacity: 0.6;
}

.contact-form .form-control:focus {
    background: rgba(30, 41, 59, 0.6);
    border-color: var(--primary-light);
    outline: none;
    color: var(--white);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.contact-form .form-control.is-invalid {
    border-color: var(--warning-red);
}

.contact-form .invalid-feedback {
    color: var(--warning-red);
}

/* Responsible Gaming Disclaimer */
.responsible-gaming-disclaimer {
    background: linear-gradient(180deg, var(--medium-blue) 0%, var(--dark-blue) 100%);
    padding: 5rem 0;
}

.disclaimer-box {
    background: rgba(239, 68, 68, 0.2);
    border: 2px solid rgba(239, 68, 68, 0.4);
    border-radius: 20px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding: 3rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(239, 68, 68, 0.3);
}

.disclaimer-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.2));
    z-index: 0;
}

.disclaimer-box > * {
    position: relative;
    z-index: 1;
}

.disclaimer-title {
    color: var(--white);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.disclaimer-title i {
    font-size: 2.5rem;
    margin-right: 10px;
}

.disclaimer-box p {
    color: var(--white);
    margin-bottom: 1rem;
}

.disclaimer-box strong {
    color: var(--white);
}

.disclaimer-box a {
    color: var(--white);
    text-decoration: underline;
}

.disclaimer-box a:hover {
    color: var(--primary-light);
}

.support-info {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.support-title {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.support-title i {
    font-size: 1.8rem;
}

.important-note {
    font-size: 1.1rem;
    font-weight: 600;
}

.final-note {
    font-style: italic;
    font-size: 0.95rem;
    margin-top: 1.5rem;
}

/* Footer Section */
.footer-section {
    background: linear-gradient(180deg, var(--dark-blue) 0%, #020617 100%);
    color: #FFFFFF;
    border-top: 1px solid var(--card-border);
}

.footer-heading {
    color: #FFFFFF;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
    padding: 0.2rem 0;
    display: inline-block;
}

.footer-link:hover {
    color: #FFFFFF;
}

.footer-section .logo-img {
    height: 35px;
    width: auto;
    object-fit: contain;
    padding: 5px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.footer-section .navbar-brand span {
    color: var(--white);
}

.footer-logos {
    gap: 1.5rem;
}

.footer-logo-img {
    max-width: 180px;
    height: auto;
    display: block;
    object-fit: contain;
    filter: brightness(0.9);
    transition: filter 0.3s ease;
    max-height: 80px;
}

.footer-logo-img:hover {
    filter: brightness(1.1);
}

.footer-logo-img-18 {
    max-width: 50px;
    height: auto;
    display: block;
    object-fit: contain;
    filter: saturate(1.5);
}

/* Utility for blocking scroll */
body.modal-open {
    overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 120px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .hero-section p {
        font-size: 1rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .navbar-collapse {
        background: var(--card-bg);
        border: 1px solid var(--card-border);
        padding: 1rem;
        border-radius: 12px;
        margin-top: 10px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(20px);
        /* Оптимизация анимации для плавности */
        will-change: height, opacity;
        transform: translateZ(0);
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }
    
    /* Ускорение Bootstrap collapse анимации */
    .navbar-collapse.collapsing {
        transition: height 0.25s ease-out;
        will-change: height;
        transform: translateZ(0);
    }
    
    .navbar-collapse.show {
        transform: translateZ(0);
    }
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
    }
    .footer-logos {
        justify-content: center;
    }
    .disclaimer-box {
        padding: 2rem;
    }
    .disclaimer-title {
        font-size: 1.75rem;
    }
    .support-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding-top: 110px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    .hero-section p {
        font-size: 0.9rem;
    }
    .section-title {
        font-size: 1.75rem;
    }
    .game-card img {
        height: 180px;
    }
    .game-card .card-title {
        font-size: 1.3rem;
    }
    .game-card .card-text {
        font-size: 0.85rem;
    }
    .testimonial-card {
        padding: 1.5rem;
    }
    .testimonial-text {
        font-size: 0.9rem;
    }
    .testimonial-avatar {
        width: 50px;
        height: 50px;
    }
    .disclaimer-title {
        font-size: 1.5rem;
    }
    .disclaimer-title i {
        font-size: 2rem;
    }
    .support-title {
        font-size: 1.1rem;
    }
    .footer-logos {
        gap: 0.75rem;
    }
    .footer-logo-img {
        max-width: 100px;
    }
    .footer-logo-img-18 {
        max-width: 40px;
    }
}
/* Container padding for the terms box */
.termsCaveBox {
    padding: 40px 20px; /* Top/bottom and left/right padding for the content area */
}

/* Heading styles within .termsCaveBox */
.termsCaveBox h1 {
    font-size: 2em; /* Not too large, relative to base font size */
    margin-top: 2em; /* Spacing above the heading */
    margin-bottom: 0.8em; /* Spacing below the heading */
    font-weight: bold; /* Ensure headings are bold */
    line-height: 1.2; /* Tighter line height for headings */
}

.termsCaveBox h2 {
    font-size: 1.6em; /* Slightly smaller than h1 */
    margin-top: 1.8em;
    margin-bottom: 0.7em;
    font-weight: bold;
    line-height: 1.3;
}

.termsCaveBox h3 {
    font-size: 1.3em; /* Moderate size */
    margin-top: 1.5em;
    margin-bottom: 0.6em;
    font-weight: bold;
    line-height: 1.4;
}

.termsCaveBox h4 {
    font-size: 1.1em; /* Slightly larger than body text */
    margin-top: 1.2em;
    margin-bottom: 0.5em;
    font-weight: bold;
    line-height: 1.5;
}

.termsCaveBox h5 {
    font-size: 1em; /* Base font size, but bold */
    margin-top: 1em;
    margin-bottom: 0.4em;
    font-weight: bold;
    line-height: 1.5;
}

/* Paragraph styles within .termsCaveBox */
.termsCaveBox p {
    font-size: 1em; /* Standard paragraph font size */
    margin-top: 0; /* No top margin by default, let headings/lists define it */
    margin-bottom: 1em; /* Spacing between paragraphs */
    line-height: 1.6; /* Good readability for body text */
}

/* Unordered list styles within .termsCaveBox */
.termsCaveBox ul {
    list-style-type: disc; /* Default bullet style */
    margin-top: 1em; /* Spacing above the list */
    margin-bottom: 1em; /* Spacing below the list */
    padding-left: 1.5em; /* Indentation for bullet points */
}

/* List item styles within .termsCaveBox */
.termsCaveBox li {
    margin-bottom: 0.5em; /* Spacing between list items */
    line-height: 1.6; /* Ensure readability for list item text */
}

/* Image Placeholders */
.image-placeholder {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--medium-blue) 0%, #E8E8E8 100%);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--grey-text);
    font-size: 0.9rem;
    text-align: center;
    padding: 1rem;
    word-wrap: break-word;
}

.image-placeholder-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-light), var(--button-primary));
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 0.75rem;
    text-align: center;
    padding: 0.5rem;
    font-weight: 600;
}

.image-placeholder-logo {
    background-color: var(--medium-blue);
    border: 2px solid var(--light-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    font-size: 0.85rem;
    text-align: center;
    padding: 0.5rem;
    font-weight: 600;
}

/* Feature Boxes (About Section) */
.feature-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    position: relative;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: 20px;
}

.feature-box:hover {
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.4), 0 0 0 1px rgba(59, 130, 246, 0.2);
    transform: translateY(-8px);
}

.feature-box:hover::before {
    opacity: 1;
}

.feature-box h4 {
    color: var(--white);
}

.feature-box p {
    color: var(--grey-text);
}

/* Contact Info Boxes */
.contact-info-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px);
}

.contact-info-box:hover {
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
    transform: translateY(-4px);
}

.contact-info-box h5 {
    color: var(--white);
}

.contact-info-box p {
    color: var(--grey-text);
}

/* About Highlight Box */
.about-highlight {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
}

.about-highlight h4 {
    color: var(--white);
}

.about-highlight h3 {
    color: var(--white);
}

/* Responsibility Cards */
.responsibility-card {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

/* Support Contact Box */
.support-contact {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contactThankYouBox {
    background-color: #FFFFFF;
    border: 1px solid var(--light-blue);
    border-radius: 12px;
    padding: 2rem;
    color: var(--white);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
