body {
    font-family: 'Poppins', sans-serif;
    background-color: #1a1a1a;
    color: #f8f9fa;
    scroll-behavior: smooth;
}

.text-warning {
    color: #ffc107 !important;
}

.bg-dark {
    background-color: #212529 !important;
}

.bg-secondary {
    background-color: #343a40 !important;
}

.btn-warning {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #212529;
}

.btn-warning:hover {
    background-color: #e0a800;
    border-color: #e0a800;
    color: #212529;
}

.btn-outline-light {
    color: #f8f9fa;
    border-color: #f8f9fa;
}

.btn-outline-light:hover {
    background-color: #f8f9fa;
    color: #212529;
}

.fixed-top-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
}

.navbar {
    z-index: 1040;
}

.navbar-brand {
    font-size: 1.8rem;
    color: #ffc107 !important;
}

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

.navbar-nav .nav-link {
    color: #f8f9fa !important;
    font-weight: 600;
    padding: 0.5rem 1rem;
    white-space: nowrap;
}

.navbar-nav .nav-link:hover {
    color: #ffc107 !important;
}

.offcanvas-header {
    background-color: #212529;
    border-bottom: 1px solid #ffc107;
}

.offcanvas-title {
    color: #ffc107;
}

.btn-close {
    filter: invert(1);
}

.hero-section {
    min-height: 80vh;
    background-size: cover;
    background-position: center;
    position: relative;
    margin-top: -45px;
    padding-top: 45px; 
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.hero-title {
    font-size: 2.8rem;
}

.hero-subtitle {
    font-size: 1.3rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
    .hero-subtitle {
        font-size: 1.8rem;
    }
}

h1, h2, h3, h4, h5, h6 {
    color: #ffc107;
}

.display-1, .display-2, .display-3, .display-4 {
    color: #ffc107;
}

@media (max-width: 767.98px) {
    h1 {
        font-size: 1.8rem; 
    }
    h2 {
        font-size: 1.6rem;
    }
    h3 {
        font-size: 1.4rem;
    }
    .navbar-brand {
        font-size: 1.25rem;
    }
    .navbar-logo {
        height: 30px;
    }
}

@media (min-width: 768px) and (max-width: 1023.98px) {
    h1 {
        font-size: 2.2rem;
    }
    h2 {
        font-size: 2rem;
    }
    h3 {
        font-size: 1.8rem;
    }
    .navbar-brand {
        font-size: 1.8rem;
    }
}

@media (min-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2.2rem;
    }
    h3 {
        font-size: 2rem;
    }
}

.game-card {
    transition: none;
}

.game-card:hover {
    transform: none;
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.5) !important;
}

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

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

.game-link img {
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}

.play-game-btn {
    text-decoration: none;
}

.modal-fullscreen .modal-content {
    background-color: rgba(0, 0, 0, 0.9);
}

.game-modal .modal-header {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1060;
    padding: 0;
}

.game-modal .btn-close-white {
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e) center/1em auto no-repeat;
    opacity: 1;
    padding: 1rem;
}

.game-modal iframe {
    width: 100%;
    height: 100%;
    min-height: 500px;
    background-color: #000;
}

@media (max-width: 767.98px) {
    .game-modal iframe {
        min-height: 300px;
    }
}

.chat-messages {
    height: 300px;
    border: 1px solid #ffc107;
    border-radius: 0.5rem;
    background-color: #1a1a1a;
}

.chat-message-player {
    text-align: left;
}

.chat-message-admin {
    text-align: left;
}

.accordion-item {
    border: 1px solid #ffc107;
}

.accordion-button {
    color: #ffc107;
    background-color: #212529;
    border: none;
}

.accordion-button:not(.collapsed) {
    color: #212529;
    background-color: #ffc107;
}

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

.accordion-body {
    background-color: #343a40;
    border-top: 1px solid #ffc107;
}

.form-control.bg-dark {
    border-color: #ffc107;
}

.form-control.bg-dark:focus {
    border-color: #ffc107;
    box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.25);
}

.form-label {
    color: #ffc107;
}

.sticky-play-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1030;
    border-radius: 50px;
    padding: 15px 30px;
    background-color: #28a745;
    border-color: #28a745;
    color: #fff;
    text-decoration: none;
}

.sticky-play-button:hover {
    background-color: #218838;
    border-color: #1e7e34;
    color: #fff;
}

.site-footer {
    padding-bottom: 80px; 
}

.footer-logos {
    gap: 1rem;
}

.footer-logo {
    max-width: 120px;
    height: auto;
    display: block;
}

.age-18-plus-icon {
    height: 30px;
    width: auto;
}

.word-break-all {
    word-break: break-all;
}

.modal-content {
    max-height: 90vh;
    overflow-y: auto;
}

body.modal-open {
    overflow: hidden;
}

.modal-backdrop.show {
    opacity: 0.8;
    background-color: #000;
}

.modal-backdrop {
    background-color: #000;
}

@media (max-width: 1100px) {
    .navbar-nav {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    .navbar-nav .nav-item {
        flex-shrink: 0;
    }
    .navbar-toggler {
        display: block;
    }
    .navbar-collapse {
        display: none;
    }
}

@media (min-width: 1101px) {
    .navbar-toggler {
        display: none;
    }
    .navbar-collapse {
        display: flex !important;
    }
    .offcanvas {
        visibility: hidden;
    }
}
/* Parent container styling */
.rightsFieldUnit {
    padding: 20px; /* Provides top and side padding for the content */
    /* Add any other base styles for .rightsFieldUnit here if needed */
}

/* Heading 1 styles */
.rightsFieldUnit h1 {
    font-size: 1.8em; /* Moderately sized heading */
    margin-top: 1.5em; /* Space above the heading */
    margin-bottom: 0.8em; /* Space below the heading */
    font-weight: 600; /* Slightly bolder */
    line-height: 1.2; /* Standard line height */
}

/* Heading 2 styles */
.rightsFieldUnit h2 {
    font-size: 1.5em;
    margin-top: 1.2em;
    margin-bottom: 0.7em;
    font-weight: 500;
    line-height: 1.3;
}

/* Heading 3 styles */
.rightsFieldUnit h3 {
    font-size: 1.2em;
    margin-top: 1em;
    margin-bottom: 0.6em;
    font-weight: 500;
    line-height: 1.4;
}

/* Heading 4 styles */
.rightsFieldUnit h4 {
    font-size: 1.1em;
    margin-top: 0.8em;
    margin-bottom: 0.5em;
    font-weight: 400; /* Normal weight */
    line-height: 1.5;
}

/* Heading 5 styles */
.rightsFieldUnit h5 {
    font-size: 1.05em; /* Slightly larger than body text */
    margin-top: 0.6em;
    margin-bottom: 0.4em;
    font-weight: 400;
    line-height: 1.6;
}

/* Paragraph styles */
.rightsFieldUnit p {
    font-size: 1em; /* Base font size for paragraphs */
    margin-bottom: 1em; /* Space between paragraphs */
    line-height: 1.6; /* Improved readability for body text */
}

/* Unordered list styles */
.rightsFieldUnit ul {
    list-style-type: disc; /* Standard bullet points */
    margin-top: 1em; /* Space above the list */
    margin-bottom: 1em; /* Space below the list */
    padding-left: 25px; /* Indent for bullet points */
}

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

