body {
    font-family: 'Poppins', sans-serif;
    background-color: #000000;
    color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll due to animations */
}

/* General Styles */
.text-orange {
    color: #FF8C00 !important;
}

.text-red {
    color: #DC3545 !important;
}

.bg-dark-light {
    background-color: #1a1a1a;
}

.bg-dark-gradient {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
}

.btn-primary {
    background-color: #FF8C00;
    border-color: #FF8C00;
    color: #000000;
    font-weight: 600;
    text-decoration: none !important; /* Remove underline */
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

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

.btn-secondary {
    background-color: #343a40;
    border-color: #343a40;
    color: #FFFFFF;
    font-weight: 600;
    text-decoration: none !important; /* Remove underline */
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.btn-secondary:hover {
    background-color: #495057;
    border-color: #495057;
    transform: translateY(-2px);
}

.btn-red {
    background-color: #DC3545;
    border-color: #DC3545;
    color: #FFFFFF;
    font-weight: 600;
    text-decoration: none !important; /* Remove underline */
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.btn-red:hover {
    background-color: #e65c6b;
    border-color: #e65c6b;
    transform: translateY(-2px);
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(255, 140, 0, 0.2) !important;
}

.shadow-lg {
    box-shadow: 0 0.5rem 1rem rgba(255, 140, 0, 0.3) !important;
}

a {
    color: #FF8C00;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #FFA500;
}

.hover-orange:hover {
    color: #FF8C00 !important;
}

/* Overlay for background images */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

/* Header */
.navbar-brand .h4 {
    font-weight: 700;
}

.navbar-nav .nav-link {
    color: #FFFFFF;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    min-height: 100vh;
    position: relative;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px; /* Adjust for fixed header */
    padding-bottom: 80px;
}

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

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.25rem;
}

.hero-cards-image {
    max-width: 80%;
    height: auto;
    transform: rotate(5deg);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

.scroll-indicator {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

/* About Section */
.about-section {
    position: relative;
    color: #FFFFFF;
    padding-top: 80px;
    padding-bottom: 80px;
}

.about-section .container {
    z-index: 1;
}

.timeline {
    position: relative;
    padding: 20px 0;
    margin-top: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #FF8C00;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:nth-child(even) .timeline-content {
    left: auto;
    margin-right: 30px;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: auto;
    right: -10px;
    border-color: transparent transparent transparent #1a1a1a;
}

.timeline-item:nth-child(odd) .timeline-content {
    left: 50%;
    margin-left: 30px;
}

.timeline-icon {
    width: 50px;
    height: 50px;
    background-color: #DC3545;
    border: 3px solid #FF8C00;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFFFFF;
    font-size: 1.5rem;
    z-index: 1;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.timeline-item:hover .timeline-icon {
    transform: translateX(-50%) scale(1.1);
    background-color: #e65c6b;
}

.timeline-content {
    padding: 20px;
    border-radius: 8px;
    position: relative;
    width: calc(50% - 30px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px;
    border-color: transparent #1a1a1a transparent transparent;
    left: -10px;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(255, 140, 0, 0.4) !important;
}

/* How To Play Section */
.how-to-play-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.how-to-step {
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 140, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.how-to-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(255, 140, 0, 0.4) !important;
}

.how-to-step .step-number {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 15px;
}

/* Game Selection Section */
.game-selection-section {
    position: relative;
    padding-top: 80px;
    padding-bottom: 80px;
}

.game-selection-section .container {
    z-index: 1;
}

.progress-bar-container {
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 140, 0, 0.2);
}

.progress {
    height: 25px;
    background-color: #343a40;
    border-radius: 5px;
    overflow: hidden;
}

.progress-bar {
    background-color: #FF8C00;
    transition: width 0.6s ease-in-out;
}

.game-card {
    border: 1px solid rgba(255, 140, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.game-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 0.75rem 1.5rem rgba(255, 140, 0, 0.5) !important;
}

.game-card .game-thumbnail {
    width: 100%;
    height: 370px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.game-card:hover .game-thumbnail {
    transform: scale(1.05);
}

.game-card .play-game-btn {
    width: 100%;
}

/* Game Modal */
.game-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95); /* Darker background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1050; /* Above Bootstrap modals */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

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

.game-modal iframe {
    width: 100%;
    height: 100%;
    border: none;
    background-color: #000; /* Ensure iframe background is dark */
}

.close-modal-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #FF8C00;
    font-size: 3rem;
    cursor: pointer;
    z-index: 1060; /* Always on top */
    transition: color 0.3s ease, transform 0.3s ease;
}

.close-modal-btn:hover {
    color: #DC3545;
    transform: rotate(90deg);
}

/* Leaderboards Section */
.leaderboards-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.leaderboard-player-status {
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 140, 0, 0.2);
}

.leaderboard-table-container {
    border: 1px solid rgba(255, 140, 0, 0.2);
    border-radius: 8px;
}

.table-dark {
    --bs-table-bg: #000000;
    --bs-table-color: #FFFFFF;
    --bs-table-border-color: #343a40;
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: rgba(255, 140, 0, 0.05);
}

.table-hover > tbody > tr:hover > * {
    background-color: rgba(255, 140, 0, 0.1) !important;
    color: #FF8C00;
}

.current-player-row {
    background-color: #DC3545 !important;
    color: #FFFFFF;
    font-weight: 700;
    animation: highlight-row 2s infinite alternate;
}

@keyframes highlight-row {
    0% { background-color: #DC3545; }
    100% { background-color: #e65c6b; }
}

/* FAQ Section */
.faq-section {
    position: relative;
    padding-top: 80px;
    padding-bottom: 80px;
}

.faq-section .container {
    z-index: 1;
}

.accordion-item {
    border: 1px solid rgba(255, 140, 0, 0.2);
    background-color: #1a1a1a;
}

.accordion-button {
    background-color: #1a1a1a;
    color: #FFFFFF;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

.accordion-button::after {
    filter: invert(1);
}

.accordion-button:not(.collapsed)::after {
    filter: invert(1) sepia(1) saturate(5) hue-rotate(30deg); /* Orange color for arrow */
}

.reward-icon {
    color: #495057; /* Greyed out by default */
    font-size: 1.2rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.reward-icon.active {
    color: #FFD700; /* Gold when active */
    transform: scale(1.2);
}

/* Disclaimer Block */
.disclaimer-block {
    background-color: #0a0a0a;
    border-top: 5px solid #DC3545;
    padding-top: 60px;
    padding-bottom: 60px;
    color: #e0e0e0;
}

.disclaimer-block .container {
    background-color: #1a1a1a;
    border: 1px solid #DC3545;
    box-shadow: 0 0 20px rgba(220, 53, 69, 0.5);
}

/* Footer */
footer {
    background-color: #000000;
    border-top: 1px solid #343a40;
}

footer .navbar-brand .h4 {
    font-weight: 700;
}

footer a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #FF8C00;
}

.footer-logos {
    margin-top: 30px;
}

.footer-logo {
    max-width: 120px; /* Adjust width as needed for 5 images */
    height: auto;
    margin: 0 10px;
    object-fit: contain;
}

.footer-logo-18plus {
    max-width: 60px;
    height: auto;
    margin: 0 10px;
    object-fit: contain;
}

/* Sticky Play Now Button */
.sticky-play-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.sticky-play-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Age Verification Modal */
.age-verification-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 2000; /* Highest z-index */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Показать модалку */
.age-verification-modal.active {
    opacity: 1;
    visibility: visible;
}

.age-verification-content {
    background-color: #1a1a1a;
    border: 2px solid #DC3545;
    max-width: 500px;
    color: #FFFFFF;
    box-shadow: 0 0 30px rgba(220, 53, 69, 0.7);
}
/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #0a0a0a;
    border-top: 1px solid #FF8C00;
    color: #FFFFFF;
    padding: 15px 0;
    z-index: 1500; /* Below age verification, above other content */
    transform: translateY(100%);
    transition: transform 0.5s ease-out;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 140, 0, 0.3);
}

/* Animations */
[data-animation] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animation].animate {
    opacity: 1;
    transform: translateY(0);
}

.hero-title[data-animation].animate {
    transform: translateY(0);
}

.hero-description[data-animation].animate {
    transition-delay: 0.2s;
}

.hero-cta[data-animation].animate {
    transition-delay: 0.4s;
}

.hero-cards-image[data-animation].animate {
    opacity: 1;
    transform: translateY(0) rotate(5deg);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    transition-delay: 0.6s;
}

.timeline-item[data-animation="fade-slide-up"] {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.timeline-item[data-animation="fade-slide-up"].animate {
    opacity: 1;
    transform: translateY(0);
}

.how-to-step[data-animation="fade-slide-in-left"] {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.how-to-step[data-animation="fade-slide-in-left"].animate {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .hero-section {
        text-align: center;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-description {
        font-size: 1rem;
    }
    .hero-cards-image {
        max-width: 100%;
        transform: rotate(0deg);
    }
    .timeline::before {
        left: 20px;
    }
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: calc(100% - 70px);
        margin-left: 70px;
        margin-right: 0;
        text-align: left;
    }
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -10px;
        right: auto;
        border-color: transparent #1a1a1a transparent transparent;
    }
    .timeline-icon {
        left: 20px;
        transform: translateX(0);
    }
    .timeline-item:hover .timeline-icon {
        transform: scale(1.1);
    }
    .close-modal-btn {
        top: 10px;
        right: 10px;
        font-size: 2.5rem;
    }
    .footer-logos img {
        max-width: 100px;
    }
}

@media (min-width: 768px) {
    .hero-section .row {
        flex-direction: row;
    }
    .hero-section .col-md-6:first-child {
        order: 0;
    }
    .hero-section .col-md-6:last-child {
        order: 1;
    }
}

@media (max-width: 575.98px) {
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }
    .cookie-banner-content p {
        margin-bottom: 10px !important;
    }
    .footer-logos {
        gap: 15px;
    }
    .footer-logo {
        max-width: 80px;
    }
    .footer-logo-18plus {
        max-width: 40px;
    }
}
/* Styles for userClauseNet container */
.userClauseNet {
    padding-top: 60px; /* Top padding for the content block */
    padding-bottom: 60px; /* Bottom padding for the content block */
    padding-left: 20px; /* Left padding for smaller screens */
    padding-right: 20px; /* Right padding for smaller screens */
    max-width: 960px; /* Maximum width for content readability */
    margin-left: auto; /* Center the block horizontally */
    margin-right: auto; /* Center the block horizontally */
    color: #E0E0E0; /* Slightly lighter text color for general content */
}

/* Heading 1 styles within userClauseNet */
.userClauseNet h1 {
    font-size: 2.2rem; /* Moderate size for main headings */
    font-weight: 700; /* Bold font weight */
    margin-top: 1.5em; /* Top margin for spacing */
    margin-bottom: 0.7em; /* Bottom margin for spacing */
    color: #FFFFFF; /* White color for prominence */
}

/* Heading 2 styles within userClauseNet */
.userClauseNet h2 {
    font-size: 1.8rem; /* Slightly smaller than h1 */
    font-weight: 600; /* Semi-bold font weight */
    margin-top: 1.4em; /* Top margin for spacing */
    margin-bottom: 0.6em; /* Bottom margin for spacing */
    color: #FFFFFF; /* White color */
}

/* Heading 3 styles within userClauseNet */
.userClauseNet h3 {
    font-size: 1.5rem; /* Standard heading size */
    font-weight: 600; /* Semi-bold font weight */
    margin-top: 1.3em; /* Top margin for spacing */
    margin-bottom: 0.5em; /* Bottom margin for spacing */
    color: #FFFFFF; /* White color */
}

/* Heading 4 styles within userClauseNet */
.userClauseNet h4 {
    font-size: 1.25rem; /* Smaller heading size */
    font-weight: 500; /* Medium font weight */
    margin-top: 1.2em; /* Top margin for spacing */
    margin-bottom: 0.4em; /* Bottom margin for spacing */
    color: #FFFFFF; /* White color */
}

/* Heading 5 styles within userClauseNet */
.userClauseNet h5 {
    font-size: 1.1rem; /* Smallest heading size */
    font-weight: 500; /* Medium font weight */
    margin-top: 1.1em; /* Top margin for spacing */
    margin-bottom: 0.3em; /* Bottom margin for spacing */
    color: #FFFFFF; /* White color */
}

/* Paragraph styles within userClauseNet */
.userClauseNet p {
    font-size: 1rem; /* Base font size for paragraphs */
    line-height: 1.7; /* Increased line height for readability */
    margin-bottom: 1em; /* Bottom margin for paragraph spacing */
}

/* Unordered list styles within userClauseNet */
.userClauseNet ul {
    margin-top: 1em; /* Top margin for list */
    margin-bottom: 1em; /* Bottom margin for list */
    padding-left: 25px; /* Indent for list items */
    list-style-type: disc; /* Default disc bullet */
}

/* List item styles within userClauseNet */
.userClauseNet li {
    font-size: 1rem; /* Base font size for list items */
    line-height: 1.6; /* Line height for list items */
    margin-bottom: 0.5em; /* Bottom margin for list item spacing */
}

.accordion-item{
    color: #fff !important;
}

header{
    padding-left: 10px;
    padding-right: 10px;
}

@media (max-width: 767px){
    .timeline-item:nth-child(odd) .timeline-content{
        left: 0;
    }
}

.accordion-button::after{
    margin-left: 5px !important;
}

.bi-star-fill::before{
    margin-left: 5px !important;
}

@media (max-width: 991px){
    .hero-cards-image[data-animation].animate{
        margin-top: 50px;
    }
}