:root {
    --color-background: #FFF7F0;
    --color-surface: #FFFFFF;
    --color-primary: #C1121F;
    --color-secondary: #0B6B3A;
    --color-accent: #D4AF37;
    --color-text: #1A1A1A;
    --color-muted-text: #6B7280;
    --color-border: #E5E7EB;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--color-text);
    background-color: var(--color-background);
    line-height: 1.6;
}

/* Global Styles */
.text-primary {
    color: var(--color-primary) !important;
}

.text-secondary {
    color: var(--color-secondary) !important;
}

.text-gold {
    color: var(--color-accent) !important;
}

.text-muted-text {
    color: var(--color-muted-text) !important;
}

.bg-background {
    background-color: var(--color-background) !important;
}

.bg-surface {
    background-color: var(--color-surface) !important;
}

.bg-primary {
    background-color: var(--color-primary) !important;
}

.bg-secondary {
    background-color: var(--color-secondary) !important;
}

.border-border {
    border-color: var(--color-border) !important;
}

.btn-primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #A00F1A;
    border-color: #A00F1A;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    color: #fff;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #08502B;
    border-color: #08502B;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-outline-light {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    color: var(--color-primary);
    background-color: #fff;
    border-color: #fff;
}

.btn-gold {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-text);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background-color: #C29F2F;
    border-color: #C29F2F;
    color: var(--color-text);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

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

a:hover {
    color: var(--color-secondary);
}

.hover-primary:hover {
    color: var(--color-primary) !important;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--color-text);
}

h1 {
    font-size: 2.5rem; /* Desktop */
}

h2 {
    font-size: 2.2rem; /* Desktop */
}

@media (min-width: 768px) and (max-width: 1023px) {
    h1 {
        font-size: 2.2rem; /* Tablet */
    }
    h2 {
        font-size: 2rem; /* Tablet */
    }
}

@media (max-width: 767px) {
    h1 {
        font-size: 1.8rem; /* Mobile */
    }
    h2 {
        font-size: 1.6rem; /* Mobile */
    }
    .site-name {
        font-size: 1.25rem !important; /* Mobile logo/site name */
    }
}

/* Top Disclaimer */
.top-disclaimer {
    z-index: 1000;
    position: relative;
}

/* Header */
.header {
    z-index: 1030;
}

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

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

.nav-link:hover {
    color: var(--color-primary) !important;
}

/* Hero Section */
.hero-section {
    min-height: 80vh;
    background-image: url('static/graphics/social-gaming-background_4.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

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

.scroll-arrow {
    animation: bounce 2s infinite;
    padding-top: 20px; /* Offset from content above */
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.search-form .form-control {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--color-text);
}

.search-form .form-control::placeholder {
    color: var(--color-muted-text);
}

/* Game Card Specifics */
.game-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.game-card img {
    object-fit: cover;
    height: 200px; /* Fixed height for uniformity */
}

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

/* Game Iframe Modal */
.game-iframe-modal .modal-dialog {
    max-width: 100vw;
    height: 100vh;
    margin: 0;
}

.game-iframe-modal .modal-content {
    height: 100%;
    border-radius: 0;
    background-color: rgba(0, 0, 0, 0.9);
}

.game-iframe-modal .modal-header {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1060;
    border-bottom: none;
}

.game-iframe-modal .btn-close {
    font-size: 1.5rem;
    opacity: 1;
    filter: brightness(0) invert(1);
}

.game-iframe-modal .modal-body {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* Advantages Cards */
.advantage-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Leaderboards Tabs */
.nav-pills .nav-link {
    color: var(--color-text);
    background-color: var(--color-background);
    transition: all 0.3s ease;
}

.nav-pills .nav-link.active,
.nav-pills .nav-link:hover {
    background-color: var(--color-primary);
    color: #fff;
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: var(--color-background);
}

.table-hover > tbody > tr:hover > * {
    background-color: var(--color-border);
}

/* Achievements Grid */
.achievement-badge {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: #d6d4d4;
}



.achievement-icon {
    max-width: 80px;
    height: auto;
    filter: grayscale(1);
    -webkit-filter: grayscale(1);
}

/* FAQ Accordion */
.accordion-button:not(.collapsed) {
    color: var(--color-primary);
    background-color: var(--color-surface);
    box-shadow: none;
}

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

.accordion-button::after {
    filter: brightness(0) invert(0.5);
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(0);
}

.accordion-body {
    border-top: 1px solid var(--color-border);
}

/* Contact Form */
.form-control {
    border-color: var(--color-border);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.25rem rgba(var(--color-primary-rgb), 0.25);
}

/* Site Disclaimer Block */
#site-disclaimer .rounded-3 {
    background: linear-gradient(45deg, var(--color-secondary), #0F8C4C);
    border: 2px solid var(--color-accent) !important;
}

#site-disclaimer h3 {
    color: var(--color-accent) !important;
}

#site-disclaimer p {
    color: #E0F2F1;
}

/* Footer */
#main-footer .logo-img {
    height: 30px;
}

#main-footer .site-name {
    font-size: 1.2rem;
}

#main-footer .progress-bar-container {
    height: 8px;
}

#main-footer .progress-bar {
    transition: width 1s ease-in-out;
}

.footer-links a {
    color: var(--color-muted-text);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-logos {
    gap: 1.5rem;
}

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

.footer-org-logo-18plus {
    max-width: 60px;
    height: auto;
    display: block;
}

@media (max-width: 767.98px) {
    .hero-section {
        background-attachment: scroll;
    }

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

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

    .search-form {
        width: 100% !important;
    }

    .category-filters .btn {
        width: 100%;
    }

    .progress-tracker {
        flex-direction: column;
        align-items: center;
    }

    .footer-logos {
        justify-content: center;
    }
}
/* Parent container for privacy content */
.privacyNestZone {
    padding: 30px; /* Top and side padding for the content zone */
}

/* Standard paragraph text */
.privacyNestZone p {
    font-size: 1em; /* Base font size for paragraphs */
    line-height: 1.6; /* Improved readability for long texts */
    margin-bottom: 1em; /* Space after each paragraph */
}

/* Main section heading */
.privacyNestZone h1 {
    font-size: 1.8em; /* Not too large, but clearly a main heading */
    line-height: 1.3;
    margin-top: 1.5em; /* Space before heading */
    margin-bottom: 0.8em; /* Space after heading */
    font-weight: bold;
}

/* Subsection heading */
.privacyNestZone h2 {
    font-size: 1.5em;
    line-height: 1.3;
    margin-top: 1.3em;
    margin-bottom: 0.7em;
    font-weight: bold;
}

/* Minor section heading */
.privacyNestZone h3 {
    font-size: 1.3em;
    line-height: 1.4;
    margin-top: 1.1em;
    margin-bottom: 0.6em;
    font-weight: bold;
}

/* Sub-minor section heading */
.privacyNestZone h4 {
    font-size: 1.1em;
    line-height: 1.5;
    margin-top: 1em;
    margin-bottom: 0.5em;
    font-weight: bold;
}

/* Smallest heading level */
.privacyNestZone h5 {
    font-size: 1em; /* Same as paragraph, but bold */
    line-height: 1.5;
    margin-top: 0.9em;
    margin-bottom: 0.4em;
    font-weight: bold;
}

/* Unordered list container */
.privacyNestZone ul {
    list-style-type: disc; /* Default bullet style */
    margin-left: 1.5em; /* Indent for bullet points */
    margin-bottom: 1em; /* Space after the list */
    padding-left: 0; /* Reset default padding if any, rely on margin-left */
}

/* List item */
.privacyNestZone li {
    font-size: 1em; /* Inherit or explicitly set */
    line-height: 1.6; /* Consistent line height with paragraphs */
    margin-bottom: 0.5em; /* Space between list items */
}

.iframeGame iframe{
    width: 100%;
    height: 100vh;
}

main{
    overflow: hidden !important;
}