body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    background-color: #f8f9fa;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: #212529;
}

.text-primary-red {
    color: #dc3545;
}

.bg-primary-red {
    background-color: #dc3545;
}

.btn-primary {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #fff;
    text-decoration: none;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 50px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-primary:hover {
    background-color: #c82333;
    border-color: #bd2130;
    color: #fff;
}

.btn-outline-secondary {
    color: #6c757d;
    border-color: #6c757d;
    text-decoration: none;
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 600;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn-outline-secondary:hover {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #fff;
    text-decoration: none;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 50px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
    color: #fff;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

/* Age Verification Modal */
#ageVerificationModal .modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background-color: #fff;
}

#ageVerificationModal .modal-title {
    color: #dc3545;
    font-weight: 700;
}

#ageVerificationModal .modal-body p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Top Banner */
.top-banner {
    background-color: #dc3545; /* Bright red */
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Header */
.header-section {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1030;
}

.header-section .navbar-brand .logo {
    height: 40px;
    width: auto;
}

.header-section .site-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: #dc3545;
}

.header-section .nav-link {
    color: #333;
    font-weight: 600;
    margin: 0 15px;
    transition: color 0.2s ease;
}

.header-section .nav-link:hover,
.header-section .nav-link.active {
    color: #dc3545;
}

.header-intro {
    background-color: #f0f0f0;
    color: #555;
    font-size: 1.1rem;
    border-bottom: 1px solid #e0e0e0;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 700px;
    background-image: url('img/pics/winter-social-gaming-bg_3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
}

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

.hero-content {
    z-index: 2;
}

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

.hero-content p.lead {
    font-size: 1.3rem;
    color: #e0e0e0;
}

/* About Game Section */
.about-game-section {
    background-color: #fff;
}

.about-game-section h2 {
    color: #dc3545;
    font-weight: 700;
}

.about-game-section .card {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.about-game-section .card-img-top {
    height: 200px;
    object-fit: contain;
}

.about-game-section .card-title {
    color: #dc3545;
    font-weight: 600;
}

/* How To Play Section */
.how-to-play-section {
    background-color: #f8f9fa;
}

.how-to-play-section h2 {
    color: #212529;
    font-weight: 700;
}

.how-to-step {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.how-to-step i {
    color: #dc3545;
    font-size: 3.5rem;
}

.how-to-step h4 {
    font-weight: 600;
    color: #333;
}

/* Game Selection Section */
.game-selection-section {
    background-color: #fff;
}

.game-selection-section h2 {
    color: #dc3545;
    font-weight: 700;
}

.game-card {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

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

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

.game-card .card-body {
    padding: 20px;
}

.game-card .card-title {
    color: #333;
    font-weight: 700;
    font-size: 1.4rem;
}

.game-card .card-text {
    font-size: 0.95rem;
    color: #555;
}

.game-card .star-rating i {
    color: #ffc107;
}

.game-card .review p {
    font-style: italic;
    color: #777;
}

.game-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Game Modal */
.game-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.game-modal-content {
    position: relative;
    width: 100%;
    height: 100%;
}

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

.close-game-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #dc3545;
    color: #fff;
    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.3);
    transition: background-color 0.2s ease;
}

.close-game-modal:hover {
    background-color: #c82333;
}

/* Leaderboards Section */
.leaderboards-section {
    background-color: #f8f9fa;
}

.leaderboards-section h2 {
    color: #212529;
    font-weight: 700;
}

.table-responsive {
    border-radius: 10px;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.03);
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.075);
}

.sticky-user-row {
    position: sticky;
    bottom: 0;
    background-color: #dc3545; /* Highlight color */
    color: #fff;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.sticky-user-row td {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

/* Clans Section */
.clans-section {
    background-color: #fff;
}

.clans-section h2 {
    color: #dc3545;
    font-weight: 700;
}

.clan-icon {
    color: #dc3545;
    margin-bottom: 20px;
}

/* Chat Section */
.chat-section {
    background-color: #f8f9fa;
}

.chat-section h2 {
    color: #212529;
    font-weight: 700;
}

.chat-window {
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    height: 500px;
    overflow: hidden;
}

.chat-header {
    background-color: #dc3545;
    color: #fff;
    font-weight: 600;
    padding: 15px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.chat-messages {
    flex-grow: 1;
    overflow-y: auto;
    padding: 15px;
    background-color: #fff;
}

.chat-messages .message {
    background-color: #e9ecef;
    border-radius: 8px;
    padding: 10px 15px;
    margin-bottom: 10px;
    position: relative;
}

.chat-messages .message.muted {
    opacity: 0.6;
    font-style: italic;
}

.chat-messages .message.blocked {
    display: none;
}

.chat-messages .username {
    font-weight: 600;
    color: #dc3545;
    margin-right: 5px;
}

.chat-messages .message-actions {
    position: absolute;
    top: 5px;
    right: 5px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.chat-messages .message:hover .message-actions {
    opacity: 1;
}

.chat-input-area {
    background-color: #f0f0f0;
    padding: 15px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* FAQ Social Section */
.faq-section {
    background-color: #fff;
}

.faq-section h2 {
    color: #dc3545;
    font-weight: 700;
}

.accordion-item {
    border: 1px solid #dee2e6;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-button {
    background-color: #f8f9fa;
    color: #333;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 15px 20px;
    border-radius: 8px;
}

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

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-body {
    padding: 20px;
    background-color: #fff;
    border-top: 1px solid #dee2e6;
}

/* Testimonials Social Section */
.testimonials-section {
    background-color: #f8f9fa;
}

.testimonials-section h2 {
    color: #212529;
    font-weight: 700;
}

.testimonial-card {
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.testimonial-card img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border: 3px solid #dc3545;
}

.testimonial-card h6 {
    font-weight: 700;
    color: #333;
}

.testimonial-card .star-rating i {
    color: #ffc107;
}

.testimonial-card .card-text {
    font-style: italic;
    color: #555;
}

/* Disclaimer Section */
.disclaimer-section {
    background-color: #f0f0f0;
    padding: 60px 0;
}

.disclaimer-box {
    background-color: #fff;
    border: 2px solid #dc3545;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.disclaimer-title {
    color: #dc3545;
    font-weight: 700;
    font-size: 2rem;
}

.disclaimer-box p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #495057;
}

.disclaimer-box ul {
    padding-left: 0;
    list-style: none;
}

.disclaimer-box ul li {
    margin-bottom: 10px;
    font-size: 1.05rem;
    color: #495057;
}

.disclaimer-box ul li i {
    color: #28a745; /* Green checkmark */
}

.disclaimer-link {
    color: #dc3545;
    text-decoration: none;
    font-weight: 600;
}

.disclaimer-link:hover {
    text-decoration: underline;
}

.disclaimer-age-warning {
    font-weight: 700;
    color: #dc3545;
    font-size: 1.2rem;
    margin-top: 30px;
}

/* Footer */
.footer-section {
    background-color: #212529;
    color: #f8f9fa;
    padding-top: 50px;
    padding-bottom: 30px;
}

.footer-brand .logo {
    height: 35px;
    width: auto;
}

.footer-brand {
    text-decoration: none;
}

.footer-brand .site-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: #dc3545;
    
}

.footer-heading {
    color: #fff;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-link {
    color: #ced4da;
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
    padding: 5px 0;
}

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

.copyright-text {
    color: #adb5bd;
    font-size: 0.9rem;
}

.footer-divider {
    border-color: #495057;
}

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

.footer-org-logo {
    max-width: 120px; /* Adjusted from 100-150px for 4 logos */
    height: auto;
    display: block;
    margin: 0 auto;
}

.age-restriction-icon {
    background-color: #dc3545;
    color: #fff;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 2.1rem;
    margin-left: 15px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p.lead {
        font-size: 1.1rem;
    }

    .navbar-brand .site-name {
        font-size: 1.5rem;
    }

    .header-intro p {
        font-size: 1rem;
    }

    .how-to-step i {
        font-size: 2.5rem;
    }

    .how-to-step h4 {
        font-size: 1.2rem;
    }

    .game-card .card-img-top {
        height: 180px;
    }

    .game-card .card-title {
        font-size: 1.2rem;
    }

    .chat-window {
        height: 400px;
    }

    .disclaimer-title {
        font-size: 1.5rem;
    }

    .disclaimer-box p, .disclaimer-box ul li {
        font-size: 1rem;
    }

    .footer-responsible-logos {
        gap: 20px;
    }

    .footer-org-logo {
        max-width: 90px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 500px;
        padding: 60px 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p.lead {
        font-size: 1rem;
    }

    .btn-primary, .btn-outline-secondary, .btn-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .header-intro p {
        padding-left: 15px;
        padding-right: 15px;
    }

    .footer-responsible-logos {
        flex-direction: column;
        gap: 15px;
    }

    .footer-org-logo {
        max-width: 100px;
    }

    .age-restriction-icon {
        margin-left: 0;
        margin-top: 10px;
    }

    .header-intro{
        display: none;
    }
}

@media (max-width: 340px) {
 .navbar-brand .site-name {
        font-size: 1rem;
    }
}




/* Styles for the main content frame */
.dataClauseFrame {
    padding-top: 20px;    /* Top padding for the content frame */
    padding-left: 30px;   /* Left padding for the content frame */
    padding-right: 30px;  /* Right padding for the content frame */
    /* You might want to add padding-bottom if the content often ends abruptly at the bottom */
    /* padding-bottom: 20px; */
}

/* Heading styles within the data clause frame */
.dataClauseFrame h1 {
    font-size: 1.8em;         /* Moderate font size for H1, not excessively large */
    margin-top: 1.5em;        /* Space above the heading */
    margin-bottom: 0.8em;     /* Space below the heading */
    line-height: 1.2;         /* Line height for better readability */
    font-weight: bold;        /* Ensure bold weight */
}

.dataClauseFrame h2 {
    font-size: 1.5em;         /* Moderate font size for H2 */
    margin-top: 1.4em;        /* Space above the heading */
    margin-bottom: 0.7em;     /* Space below the heading */
    line-height: 1.3;         /* Line height for better readability */
    font-weight: bold;
}

.dataClauseFrame h3 {
    font-size: 1.3em;         /* Smaller font size for H3 */
    margin-top: 1.3em;        /* Space above the heading */
    margin-bottom: 0.6em;     /* Space below the heading */
    line-height: 1.4;         /* Line height for better readability */
    font-weight: bold;
}

.dataClauseFrame h4 {
    font-size: 1.1em;         /* Slightly larger than body text for H4 */
    margin-top: 1.2em;        /* Space above the heading */
    margin-bottom: 0.5em;     /* Space below the heading */
    line-height: 1.5;         /* Line height for better readability */
    font-weight: bold;
}

.dataClauseFrame h5 {
    font-size: 1em;           /* Same as body text, but bold for H5 */
    margin-top: 1.1em;        /* Space above the heading */
    margin-bottom: 0.4em;     /* Space below the heading */
    line-height: 1.5;         /* Line height for better readability */
    font-weight: bold;
}

/* Paragraph styles within the data clause frame */
.dataClauseFrame p {
    font-size: 1em;           /* Base font size for paragraphs */
    margin-bottom: 1em;       /* Space below each paragraph */
    line-height: 1.6;         /* Line height for improved readability of body text */
}

/* Unordered list styles within the data clause frame */
.dataClauseFrame ul {
    margin-top: 1em;          /* Space above the list */
    margin-bottom: 1em;       /* Space below the list */
    padding-left: 25px;       /* Indentation for list items and bullet points */
    list-style-type: disc;    /* Default bullet style */
}

/* List item styles within the data clause frame */
.dataClauseFrame li {
    margin-bottom: 0.5em;     /* Space between list items */
    line-height: 1.5;         /* Line height for list item text */
}
