body {
    font-family: 'Poppins', sans-serif;
    background-color: #1a1a2e;
    color: #e0e0e0;
    line-height: 1.6;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

.container, .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
}

.bg-dark-secondary {
    background-color: #2c2c4a;
}

.text-primary {
    color: #ff6f00 !important; /* Orange accent */
}

.btn-primary {
    background-color: #ff6f00;
    border-color: #ff6f00;
    color: #fff;
    white-space: normal;
    word-break: break-word;
    text-align: center;
    text-decoration: none;
    transition: background-color 0s, border-color 0s, color 0s;
}

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

.btn-secondary {
    background-color: #4a4a6e;
    border-color: #4a4a6e;
    color: #fff;
    white-space: normal;
    word-break: break-word;
    text-align: center;
    text-decoration: none;
    transition: background-color 0s, border-color 0s, color 0s;
}

.btn-secondary:hover {
    background-color: #3a3a5e;
    border-color: #3a3a5e;
    color: #fff;
}

.section-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 700;
    color: #ff6f00;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Header */
.header-main {
    background-color: rgba(26, 26, 46, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    z-index: 1030;
}

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

.navbar-brand .site-title {
    font-size: clamp(1.25rem, 4vw, 1.8rem);
    font-weight: 700;
    color: #ff6f00;
}

.navbar-nav .nav-link {
    color: #e0e0e0;
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: color 0s;
}

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

.navbar-toggler {
    border-color: #ff6f00;
}

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

.offcanvas {
    background-color: #1a1a2e;
    color: #e0e0e0;
}

.offcanvas-header {
    border-bottom: 1px solid #4a4a6e;
}

.offcanvas-title {
    color: #ff6f00;
    font-size: clamp(1.25rem, 4vw, 1.8rem);
}

.offcanvas-body .nav-link {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #2c2c4a;
}

/* Hero Section */
.hero-section {
    background-image: url('visuals/media/hero-background_37.png');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    padding-top: 150px !important; /* Adjust for fixed header */
    padding-bottom: 100px !important;
}

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

.hero-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    color: #fff;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
}

.game-card {
    border: 1px solid #ff6f00;
    background: linear-gradient(145deg, #2c2c4a, #1a1a2e);
    transition: transform 0s, box-shadow 0s;
}

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

.game-card .card-img-top {
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #ff6f00;
}

.game-card .card-title {
    color: #ff6f00;
}

.game-card .game-rating i {
    font-size: 1.1rem;
}

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

/* Game Selection */
.game-selection {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.game-carousel {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
}

.game-carousel::-webkit-scrollbar {
    display: none;
}

.game-item {
    width: 250px;
    margin-right: 1.5rem;
    border: 1px solid #4a4a6e;
    background: linear-gradient(145deg, #3a3a5e, #2c2c4a);
}

.game-item .card-img-top {
    height: 150px;
    object-fit: cover;
    border-bottom: 1px solid #4a4a6e;
}

.game-item .card-title {
    color: #ff6f00;
}

/* How to Play */
.how-to-play {
    padding-top: 3rem;
    padding-bottom: 3rem;
    background-color: #1a1a2e;
}

.instruction-block h3 {
    color: #ff6f00;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
}

/* Tournaments */
.tournaments-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.tournament-card {
    border: 1px solid #ff6f00;
    background: linear-gradient(145deg, #2c2c4a, #1a1a2e);
}

.tournament-card .card-title {
    color: #ff6f00;
}

.countdown-timer {
    font-weight: 600;
    color: #e0e0e0;
}

/* Achievements */
.achievements-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
    background-color: #1a1a2e;
}

.achievement-item {
    background: linear-gradient(145deg, #2c2c4a, #1a1a2e);
    border: 1px solid #4a4a6e;
    color: #e0e0e0;
}

.achievement-item .achievement-icon {
    height: 80px;
    width: 80px;
    object-fit: contain;
}

.achievement-item .grayscale {
    filter: grayscale(100%);
    opacity: 0.6;
}

/* Daily Challenges */
.daily-challenges-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.daily-challenges-list .list-group-item {
    border: 1px solid #ff6f00 !important;
    background: linear-gradient(145deg, #2c2c4a, #1a1a2e);
}

.daily-challenges-list .list-group-item h6 {
    color: #ff6f00;
}

.form-check-input:checked {
    background-color: #ff6f00;
    border-color: #ff6f00;
}

.form-check-input {
    background-color: #4a4a6e;
    border-color: #4a4a6e;
}

/* Clans */
.clans-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
    background-color: #1a1a2e;
}

.clan-table {
    border-color: #4a4a6e;
}

.clan-table th, .clan-table td {
    border-color: #4a4a6e;
    color: #e0e0e0;
}

.clan-table thead th {
    color: #ff6f00;
}

/* Chat */
.chat-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.chat-window {
    height: 400px;
    display: flex;
    flex-direction: column;
    border: 1px solid #ff6f00;
    background: linear-gradient(145deg, #2c2c4a, #1a1a2e);
}

.chat-messages {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1rem;
    background-color: #1a1a2e;
    border-radius: 5px;
    border: 1px solid #4a4a6e;
}

.chat-messages::-webkit-scrollbar {
    width: 8px;
}

.chat-messages::-webkit-scrollbar-track {
    background: #2c2c4a;
    border-radius: 10px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: #ff6f00;
    border-radius: 10px;
}

.chat-message {
    padding: 0.5rem 0.75rem;
    border-radius: 5px;
    margin-bottom: 0.5rem;
    word-wrap: break-word;
}

.chat-role {
    font-weight: 700;
    margin-right: 0.5rem;
}

.chat-admin .chat-role {
    color: #ff6f00;
}

.chat-mod .chat-role {
    color: #4CAF50;
}

.chat-player .chat-role {
    color: #8884d8;
}

#chatInput {
    color: #e0e0e0;
}

#chatInput::placeholder {
    color: #b0b0b0;
}

/* Disclaimer Block */
.disclaimer-block {
    background-color: #3a1a1a;
    color: #f0f0f0;
    border-top: 3px solid #ff6f00;
    border-bottom: 3px solid #ff6f00;
    margin-top: 4rem;
    padding: 2rem 0;
}

.disclaimer-block .disclaimer-title {
    color: #ff6f00;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
}

.disclaimer-block .disclaimer-subtitle {
    color: #ff6f00;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
}

.disclaimer-block .disclaimer-list {
    list-style-type: disc;
    margin-left: 1.5rem;
    padding-left: 0;
    margin-bottom: 1rem;
}

.disclaimer-block .disclaimer-list li {
    margin-bottom: 0.5rem;
}

.disclaimer-block a {
    color: #ff6f00;
    text-decoration: none;
}

.disclaimer-block a:hover {
    color: #e65c00;
}

/* Footer */
.site-footer {
    background-color: #0f0f1d;
    color: #b0b0b0;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.site-footer .footer-heading {
    color: #ff6f00;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.site-footer .footer-link {
    color: #b0b0b0;
    text-decoration: none;
    display: block;
    padding: 0.25rem 0;
    transition: color 0s;
}

.site-footer .footer-link:hover {
    color: #ff6f00;
}

.site-footer .accordion-item {
    border: none;
}

.site-footer .accordion-button {
    color: #e0e0e0;
    background-color: #1a1a2e;
    border: 1px solid #4a4a6e;
    font-weight: 600;
    transition: background-color 0s, color 0s;
}

.site-footer .accordion-button:not(.collapsed) {
    background-color: #2c2c4a;
    color: #ff6f00;
}

.site-footer .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ff6f00'%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");
    transform: rotate(0deg);
    transition: transform 0s;
}

.site-footer .accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
}

.site-footer .accordion-body {
    background-color: #1a1a2e;
    border: 1px solid #4a4a6e;
    border-top: none;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.footer-logos {
    margin-top: 3rem;
}

.footer-logo-link {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    width: auto;
}

.footer-logo {
    max-width: 150px;
    height: auto;
    object-fit: contain;
}

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

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

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

.game-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff6f00;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
    z-index: 1050;
    transition: background-color 0s;
}

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

.game-modal iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* Age Verification Modal */
.age-verification-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    text-align: center;
    color: #e0e0e0;
}

.age-verification-modal.hidden {
    display: none;
}

.age-verification-content {
    background-color: #1a1a2e;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 111, 0, 0.5);
    max-width: 500px;
    width: 90%;
    border: 2px solid #ff6f00;
}

.age-verification-content h2 {
    color: #ff6f00;
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    margin-bottom: 1.5rem;
}

.age-verification-content p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin-bottom: 2rem;
}

.age-verification-content .btn-lg {
    padding: 12px 30px;
    font-size: 1.1rem;
}

@media (max-width: 1100px) {
    .navbar-nav {
        white-space: normal;
        overflow-x: hidden;
    }
}

@media (max-width: 767.98px) {
    .site-title {
        font-size: 1.25rem !important;
    }
    .hero-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    .instruction-block h3 {
        font-size: clamp(1rem, 3vw, 1.5rem);
    }
    .disclaimer-block .disclaimer-title {
        font-size: clamp(1rem, 3vw, 1.5rem);
    }
    .disclaimer-block .disclaimer-subtitle {
        font-size: clamp(0.9rem, 2.5vw, 1.2rem);
    }
    .footer-logo {
        max-width: 100px;
    }
}
/* Parent container styles for spacing */
.dataClauseFrame {
    padding-top: 1.5em;    /* Top padding for the frame */
    padding-left: 1.5em;   /* Left padding for the frame */
    padding-right: 1.5em;  /* Right padding for the frame */
    /* You might want to add margin-bottom if this frame is typically followed by other distinct content blocks */
    /* margin-bottom: 2em; */
}

/* Heading styles within dataClauseFrame */
.dataClauseFrame h1 {
    font-size: 1.8em;      /* Moderate h1 font size, not excessively large */
    margin-top: 1.5em;     /* Space above the heading */
    margin-bottom: 0.8em;  /* Space below the heading */
    font-weight: bold;     /* Standard bold weight */
    line-height: 1.2;      /* Improve readability */
}

.dataClauseFrame h2 {
    font-size: 1.5em;      /* Moderate h2 font size */
    margin-top: 1.4em;
    margin-bottom: 0.7em;
    font-weight: bold;
    line-height: 1.3;
}

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

.dataClauseFrame h4 {
    font-size: 1.1em;      /* Moderate h4 font size */
    margin-top: 1.2em;
    margin-bottom: 0.5em;
    font-weight: bold;
    line-height: 1.5;
}

.dataClauseFrame h5 {
    font-size: 1em;        /* Moderate h5 font size, often used for minor titles or sub-sections */
    margin-top: 1.1em;
    margin-bottom: 0.4em;
    font-weight: bold;
    line-height: 1.5;
}

/* Paragraph styles within dataClauseFrame */
.dataClauseFrame p {
    font-size: 1em;        /* Standard paragraph font size */
    line-height: 1.6;      /* Improved readability for paragraphs */
    margin-top: 0;         /* No top margin by default to avoid double margins with preceding elements */
    margin-bottom: 1em;    /* Space between paragraphs */
}

/* Unordered list styles within dataClauseFrame */
.dataClauseFrame ul {
    list-style-type: disc; /* Standard bullet points */
    margin-top: 1em;       /* Space above the list */
    margin-bottom: 1em;    /* Space below the list */
    padding-left: 2em;     /* Indentation for bullet points */
}

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

.age-verification-content div{
    flex-wrap: wrap;
}