body {
    font-family: 'Poppins', sans-serif;
    background-color: #1a1a2e;
    color: #e0e0e0;
    line-height: 1.6;
    margin: 0;
    /* padding-top: 80px;  */
    overflow-x: hidden;
}

:root {
    --primary-color: #0f3460;
    --secondary-color: #e94560;
    --accent-color: #533483;
    --neon-blue: #00bcd4;
    --dark-bg: #1a1a2e;
    --light-text: #e0e0e0;
    --orange-accent: #ff9800;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--light-text);
    background: linear-gradient(90deg, var(--neon-blue) 0%, var(--orange-accent) 100%);
    -webkit-background-clip: text;
    display: inline-block;
}

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

a:hover {
    color: var(--orange-accent);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--neon-blue);
    border-color: var(--neon-blue);
    color: var(--dark-bg);
    font-weight: 600;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: var(--orange-accent);
    border-color: var(--orange-accent);
    color: var(--dark-bg);
}

.btn-secondary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--light-text);
    font-weight: 600;
    text-decoration: none;
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--light-text);
}

.navbar {
    background-color: var(--primary-color);
    padding: 0 0 0.8rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    z-index: 1030;
    display: block;
}

.navbar-brand {
    color: var(--light-text);
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.navbar-brand:hover {
    color: var(--neon-blue);
}

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

.navbar-nav .nav-link {
    color: var(--light-text);
    font-weight: 600;
    margin-left: 15px;
    padding: 0.5rem 1rem;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--neon-blue);
}

.navbar-toggler {
    border-color: var(--neon-blue);
}

.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%280, 188, 212, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
    .navbar-brand {
        font-size: 1.5rem;
    }
    .navbar-nav .nav-link {
        margin-left: 0;
        text-align: center;
    }
    .navbar-collapse {
        background-color: var(--primary-color);
        padding: 1rem 0;
        border-top: 1px solid var(--neon-blue);
    }
}

.top-disclaimer-bar {
    background-color: var(--secondary-color);
    color: var(--light-text);
    text-align: center;
    padding: 8px 15px;
    font-size: 0.9rem;
    font-weight: 600;
    position: relative;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1040;
    margin-bottom: 0.8rem;
}

/* body {
    padding-top: 115px; 
} */

.hero-section {
    background: url('img/content/hero-background_26.webp') no-repeat center center/cover;
    position: relative;
    color: var(--light-text);
    padding: 260px 0;
    min-height: 80vh;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.hero-text-content, .hero-image-content {
    position: relative;
    z-index: 2;
}

.hero-text-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-btn {
    padding: 12px 30px;
    font-size: 1.1rem;
}

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

.game-card {
    position: absolute;
    width: 250px;
    height: 180px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--neon-blue);
    cursor: pointer;
}

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

.game-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--light-text);
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    opacity: 0;
}

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

.game-card-1 {
    transform: rotate(-10deg) translate(-20px, 0px);
    top: 20px;
    left: 0;
    z-index: 1;
}

.game-card-2 {
    transform: rotate(5deg) translate(20px, 0px);
    top: 50px;
    left: 50px;
    z-index: 2;
}

.game-card-3 {
    transform: rotate(-3deg) translate(-5px, 0px);
    top: 80px;
    left: 100px;
    z-index: 3;
    border-color: var(--orange-accent);
}

@media (max-width: 767.98px) {
    .hero-text-content {
        text-align: center;
        margin-bottom: 40px;
    }
    .hero-text-content h1 {
        font-size: 2.5rem;
    }
    .game-card-stack {
        transform: scale(0.8);
        margin-top: 0;
    }
    .hero-section {
        padding: 200px 0;
    }
    /* body {
        padding-top: 100px;
    } */
}

.about-section {
    background-color: var(--dark-bg);
    padding: 80px 0;
}

.about-item {
    background-color: var(--primary-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    height: 100%;
}

.about-item h3 {
    color: var(--light-text);
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
}

.game-selection-section {
    background-color: #121220;
    padding: 80px 0;
}

.game-card-item {
    background-color: var(--primary-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.game-card-item .game-link {
    display: block;
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.game-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
}

.game-badges .badge {
    font-size: 0.8rem;
    padding: 0.4em 0.7em;
    margin-right: 5px;
}

.game-info-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: var(--light-text);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
    opacity: 0;
    text-align: center;
}

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

.game-card-item h5 {
    margin-bottom: 10px;
    font-size: 1.3rem;
    color: var(--light-text);
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
}

.game-card-item p {
    font-size: 0.9rem;
    color: #cccccc;
}

.game-card-item .play-game-btn {
    width: calc(100% - 30px);
    margin: 15px;
    padding: 10px;
    font-size: 1rem;
}

.game-iframe-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1050;
    justify-content: center;
    align-items: center;
}

.game-iframe-modal-content {
    position: relative;
    width: 95%;
    height: 95%;
    background-color: var(--dark-bg);
    border-radius: 10px;
    overflow: hidden;
}

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

.close-game-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary-color);
    color: var(--light-text);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1060;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.close-game-modal:hover {
    background: var(--orange-accent);
}

.leaderboards-section {
    background-color: var(--dark-bg);
    padding: 80px 0;
}

.leaderboard-table {
    width: 100%;
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.leaderboard-table th, .leaderboard-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.leaderboard-table th {
    background-color: var(--primary-color);
    color: var(--neon-blue);
    font-weight: 700;
    text-transform: uppercase;
}

.leaderboard-table tbody tr:nth-child(odd) {
    background-color: #2a2a40;
}

.leaderboard-table tbody tr:nth-child(even) {
    background-color: #1a1a2e;
}

.leaderboard-table tbody tr:hover {
    background-color: var(--accent-color);
}

.sticky-user-row {
    position: sticky;
    top: 0;
    background-color: var(--orange-accent) !important;
    color: var(--dark-bg);
    font-weight: 700;
    z-index: 10;
}

.sticky-user-row td {
    border-top: 2px solid var(--dark-bg);
    border-bottom: 2px solid var(--dark-bg);
}

.achievements-section {
    background-color: #121220;
    padding: 80px 0;
}

.achievements-carousel {
    scrollbar-width: thin;
    scrollbar-color: var(--neon-blue) var(--primary-color);
}

.achievements-carousel::-webkit-scrollbar {
    height: 8px;
}

.achievements-carousel::-webkit-scrollbar-track {
    background: var(--primary-color);
    border-radius: 10px;
}

.achievements-carousel::-webkit-scrollbar-thumb {
    background-color: var(--neon-blue);
    border-radius: 10px;
    border: 2px solid var(--primary-color);
}

.achievement-item {
    flex: 0 0 auto;
    width: 250px;
    background-color: var(--primary-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.achievement-item h5 {
    color: var(--light-text);
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
}

.faq-section {
    background-color: var(--dark-bg);
    padding: 80px 0;
}

.accordion-item {
    background-color: var(--primary-color);
    border: 1px solid var(--accent-color);
    margin-bottom: 10px;
    border-radius: 8px;
}

.accordion-button {
    background-color: var(--primary-color);
    color: var(--light-text);
    font-weight: 600;
    padding: 15px 20px;
    border-radius: 8px;
}

.accordion-button:not(.collapsed) {
    color: var(--neon-blue);
    background-color: var(--primary-color);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--neon-blue);
}

.accordion-body {
    background-color: #2a2a40;
    color: #cccccc;
    padding: 20px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.testimonials-section {
    background-color: #121220;
    padding: 80px 0;
}

.testimonial-card {
    background-color: var(--primary-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card p {
    font-style: italic;
    color: #cccccc;
}

.author-info {
    margin-top: auto;
    color: var(--light-text);
    font-weight: 600;
}

.avatar-small {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border: 2px solid var(--neon-blue);
}

.contact-section {
    background-color: var(--dark-bg);
    padding: 80px 0;
}

.contact-form {
    background-color: var(--primary-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.contact-form .form-label {
    color: var(--light-text);
    font-weight: 600;
}

.contact-form .form-control {
    background-color: #2a2a40;
    border: 1px solid var(--accent-color);
    color: var(--light-text);
}

.contact-form .form-control:focus {
    background-color: #2a2a40;
    border-color: var(--neon-blue);
    box-shadow: 0 0 0 0.25rem rgba(0, 188, 212, 0.25);
}

.contact-form .form-control::placeholder {
    color: #888;
}

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

.site-disclaimer-block {
    background-color: #331a4a;
    border-top: 5px solid var(--orange-accent);
    border-bottom: 5px solid var(--orange-accent);
    padding: 40px 0;
    color: var(--light-text);
    text-align: center;
    margin-top: 50px;
}

.disclaimer-icon {
    font-size: 3rem;
    color: var(--orange-accent);
    margin-bottom: 20px;
}

.disclaimer-content h3 {
    color: var(--light-text);
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    font-size: 2rem;
    margin-bottom: 15px;
}

.disclaimer-content p {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.8;
}

.footer-section {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 50px 0 20px;
    font-size: 0.9rem;
}

.footer-section h5 {
    color: var(--neon-blue);
    margin-bottom: 20px;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
}

.footer-section ul {
    padding-left: 0;
}

.footer-section ul li a {
    color: #cccccc;
    display: block;
    padding: 5px 0;
}

.footer-section ul li a:hover {
    color: var(--neon-blue);
}

.footer-game-teasers {
    gap: 10px;
}

.footer-game-teaser {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #cccccc;
    width: 100px;
    flex-shrink: 0;
}

.footer-game-teaser img {
    width: 100%;
    height: 70px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 5px;
    border: 1px solid var(--accent-color);
}

.footer-game-teaser:hover img {
    border-color: var(--neon-blue);
}

.footer-game-teaser span {
    font-size: 0.8rem;
}

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

.footer-partner-logo {
    height: auto;
    max-width: 120px;
    width: auto;
    object-fit: contain;
    cursor: pointer;
}

.copyright-text {
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    color: #aaaaaa;
}
.age-modal-overlay.hidden {
    display: none;
}

.age-modal-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
}

.age-modal-content {
    background-color: var(--primary-color);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.7);
    max-width: 500px;
    width: 90%;
    color: var(--light-text);
}

.age-modal-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--neon-blue) 0%, var(--orange-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.age-modal-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

@media (max-width: 576px) {
    .hero-text-content h1 {
        font-size: 2rem;
    }
    .hero-text-content p {
        font-size: 1rem;
    }
    .hero-btn {
        padding: 10px 20px;
        font-size: 1rem;
    }
    .game-card-stack {
        transform: scale(0.7);
    }
    .game-card-item .game-link {
        height: 150px;
    }
    .game-card-item h5 {
        font-size: 1.1rem;
    }
    .game-card-item p {
        font-size: 0.8rem;
    }
    .leaderboard-table th, .leaderboard-table td {
        padding: 10px;
        font-size: 0.85rem;
    }
    .achievement-item {
        width: 180px;
        height: 180px;
    }
    .achievement-item h5 {
        font-size: 1rem;
    }
    .accordion-button {
        font-size: 0.9rem;
        padding: 12px 15px;
    }
    .accordion-body {
        font-size: 0.85rem;
        padding: 15px;
    }
    .testimonial-card p {
        font-size: 0.9rem;
    }
    .site-disclaimer-block h3 {
        font-size: 1.5rem;
    }
    .site-disclaimer-block p {
        font-size: 0.9rem;
    }
    .footer-section h5 {
        font-size: 1.2rem;
    }
    .footer-section ul li a {
        font-size: 0.85rem;
    }
    .footer-game-teaser {
        width: 80px;
    }
    .footer-game-teaser img {
        height: 50px;
    }
    .footer-game-teaser span {
        font-size: 0.7rem;
    }
    .footer-partner-logo {
        max-width: 80px;
    }
    .age-modal-content h2 {
        font-size: 2rem;
    }
    .age-modal-content p {
        font-size: 1rem;
    }
    .age-modal-content .btn {
        font-size: 0.9rem;
        padding: 8px 20px;
    }
}/* Base styles for the user content container */
.userClauseNet {
    margin-top: 2.5rem; /* Top margin for the entire content block */
    padding-left: 1.5rem; /* Padding on the left side */
    padding-right: 1.5rem; /* Padding on the right side */
    max-width: 800px; /* Max width for better readability on large screens */
    margin-left: auto; /* Center the container horizontally */
    margin-right: auto; /* Center the container horizontally */
    line-height: 1.6; /* Default line height for text within the container */
    color: #eae9e9; /* Default text color */
    font-family: sans-serif; /* A common default sans-serif font */
}

/* Heading 1 styles */
.userClauseNet h1 {
    font-size: 2.2rem; /* Moderate font size for H1 */
    margin-top: 2.5rem; /* Spacing above H1 */
    margin-bottom: 1.2rem; /* Spacing below H1 */
    font-weight: 700; /* Bold weight */
    line-height: 1.2; /* Tighter line height for headings */
}

/* Heading 2 styles */
.userClauseNet h2 {
    font-size: 1.8rem; /* Moderate font size for H2 */
    margin-top: 2.2rem; /* Spacing above H2 */
    margin-bottom: 1rem; /* Spacing below H2 */
    font-weight: 600; /* Slightly less bold than H1 */
    line-height: 1.25; /* Tighter line height for headings */
}

/* Heading 3 styles */
.userClauseNet h3 {
    font-size: 1.5rem; /* Moderate font size for H3 */
    margin-top: 2rem; /* Spacing above H3 */
    margin-bottom: 0.8rem; /* Spacing below H3 */
    font-weight: 600; /* Standard bold weight */
    line-height: 1.3; /* Tighter line height for headings */
}

/* Heading 4 styles */
.userClauseNet h4 {
    font-size: 1.25rem; /* Moderate font size for H4 */
    margin-top: 1.8rem; /* Spacing above H4 */
    margin-bottom: 0.7rem; /* Spacing below H4 */
    font-weight: 500; /* Slightly less bold */
    line-height: 1.35; /* Tighter line height for headings */
}

/* Heading 5 styles */
.userClauseNet h5 {
    font-size: 1.1rem; /* Moderate font size for H5 */
    margin-top: 1.5rem; /* Spacing above H5 */
    margin-bottom: 0.6rem; /* Spacing below H5 */
    font-weight: 500; /* Slightly less bold */
    line-height: 1.4; /* Tighter line height for headings */
}

/* Paragraph styles */
.userClauseNet p {
    font-size: 1rem; /* Base font size for paragraphs */
    margin-bottom: 1rem; /* Spacing between paragraphs */
}

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

/* List item styles */
.userClauseNet li {
    margin-bottom: 0.5rem; /* Spacing between list items */
    font-size: 1rem; /* Ensure list items have base font size */
}
.accordion-button::after {
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%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");
  margin-left: 15px;
}
.accordion-button:not(.collapsed)::after {
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%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");
}
#gameFrame {
    height: 100vh;
    width: 100%;
}
@media (max-width: 575.98px) {
    .navbar-brand {
        font-size: 1.2rem;
    }
    .hero-section {
        padding: 260px 0 60px 0;
    }
}