/* General Styles */
:root {
    --primary-color: #6a1b9a; /* Deep Purple */
    --secondary-color: #ffb300; /* Amber */
    --accent-color: #fdd835; /* Yellow */
    --text-color: #333333;
    --light-text-color: #f0f0f0;
    --background-light: #f5f5f5;
    --background-dark: #212121;
    --card-background: #ffffff;
    --border-color: #e0e0e0;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-dark: rgba(0, 0, 0, 0.2);
    --warning-color: #d32f2f; /* Red for warnings */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
}

h1 {
    font-size: 3.5em;
    text-shadow: 2px 2px 4px var(--shadow-dark);
}

h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

h3 {
    font-size: 1.8em;
    color: var(--text-color);
}

p {
    margin-bottom: 15px;
    line-height: 1.8;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1em;
}

.btn-primary:hover {
    background-color: #5a1780; /* Darker purple */
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--text-color);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1em;
}

.btn-secondary:hover {
    background-color: #e69a00; /* Darker amber */
    transform: translateY(-2px);
}

section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Header */
.main-header {
    background-color: var(--card-background);
    padding: 20px 0;
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

}

.main-header .logo {
    height: 50px; /* Adjust logo size */
}

.main-header .header-tagline {
    font-size: 1.2em;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    text-align: right;
}
.logo-link{
    display: flex;
    align-items: center;
    flex-direction: column;
}
.logo-link h1{
    font-size: 2rem;
}
/* Hero Section */
.hero-section {
    background-image: url('graphics/pics/hero-background-image.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-text-color);
    text-align: center;
    padding: 150px 0;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 4.5em;
    margin-bottom: 20px;
    color: var(--light-text-color);
    text-shadow: 3px 3px 6px var(--shadow-dark);
}

.hero-section .hero-slogan {
    font-size: 1.5em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--light-text-color);
}

/* About Section */
.about-section {
    background-color: var(--card-background);
    padding: 80px 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-image-wrapper {
    flex: 1;
    text-align: center;
}

.about-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
}

/* Our Games (Simple Image Carousel) */
.games-carousel-section {
    background-color: var(--background-light);
    padding: 80px 0;
    text-align: center;
}

.games-carousel {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow-dark);
}

.carousel-image {
    width: 100%;
    height: auto;
    display: none;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.carousel-image.active {
    display: block;
    opacity: 1;
}

/* Local Games Grid */
.local-games-section {
    background-color: var(--card-background);
    padding: 80px 0;
    text-align: center;
}

.no-money-disclaimer {
    font-size: 1.2em;
    font-weight: 600;
    color: var(--warning-color);
    margin-bottom: 40px;
    padding: 15px;
    background-color: rgba(211, 47, 47, 0.1);
    border-radius: 8px;
    border: 1px solid var(--warning-color);
    display: inline-block;
    max-width: 800px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.game-card {
    background-color: var(--card-background);
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-dark);
}

.game-card .game-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px;
    color: inherit; /* Inherit text color */
}

.game-card .game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.game-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    flex-grow: 0;
}

.game-card p {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1; /* Allow description to take space */
}

.game-card .btn-play {
    background-color: var(--secondary-color);
    color: var(--text-color);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    align-self: center;
    width: fit-content;
}

.game-card .btn-play:hover {
    background-color: #e69a00;
}

/* Why Play With Us? */
.features-section {
    background-color: var(--background-light);
    padding: 80px 0;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    background-color: var(--card-background);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-dark);
}



.feature-item h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.feature-item p {
    font-size: 0.95em;
    color: #555;
}

/* Call to Action */
.cta-section {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--light-text-color);
    font-size: 3em;
    margin-bottom: 30px;
}

.cta-section h2::after {
    background-color: var(--accent-color);
}

.cta-section .btn-primary {
    background-color: var(--secondary-color);
    color: var(--text-color);
    padding: 15px 35px;
    font-size: 1.2em;
}

.cta-section .btn-primary:hover {
    background-color: #e69a00;
}

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

.modal-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--card-background);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-dark);
    position: relative;
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.visible .modal-content {
    transform: scale(1);
}

.game-modal-content {
    width: 90vw;
    height: 90vh;
    display: flex;
    flex-direction: column;
    padding: 0;
    background: none; /* No background for iframe modal */
    box-shadow: none;
}

.game-modal-content .close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 2em;
    color: var(--light-text-color);
    cursor: pointer;
    z-index: 2001;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.game-modal-content iframe {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background-color: #000; /* Dark background for iframe */
}

/* Disclaimer Section */
.disclaimer-section {
    background-color: #ffe0b2; /* Light orange background */
    padding: 50px 0;
    text-align: center;
    border-top: 5px solid var(--secondary-color);
    border-bottom: 5px solid var(--secondary-color);
}

.disclaimer-box {
    background-color: var(--card-background);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-dark);
    max-width: 900px;
    margin: 0 auto;
    border: 2px solid var(--warning-color);
    position: relative;
}

.disclaimer-box .warning-icon {
    font-size: 4em;
    color: var(--warning-color);
    margin-bottom: 20px;
    display: block;
}

.disclaimer-box h3 {
    color: var(--warning-color);
    font-size: 2em;
    margin-bottom: 20px;
}

.disclaimer-box p {
    font-size: 1.1em;
    line-height: 1.7;
    color: var(--text-color);
}

/* Footer */
.main-footer {
    background-color: var(--background-dark);
    color: var(--light-text-color);
    padding: 50px 0 20px;
    text-align: center;
}

.main-footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer-top {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-top .logo-footer {
    height: 45px;
}
.logo-footer h1{
    font-size: 1.5rem;
}
.footer-links ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.footer-links a {
    color: var(--light-text-color);
    font-size: 0.95em;
}

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

.footer-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 25px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.partner-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px; /* Consistent height for logos */
}

.partner-logo {
    max-width: 140px; /* Max width for logos */
    height: auto;
    object-fit: contain;
}

.age-18-plus {
width: 100px;
}

.footer-sos{
    width: 90px;
    background-color: #ffffff;
    border-radius: 100px;
}
.footer-bottom {
    margin-top: 20px;
    width: 100%;
}

.footer-bottom p {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.7);
}

/* Age Verification & Cookie Banner/Modal Overlays */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000; /* Higher than game modal */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.age-verification-content, .cookie-settings-content {
    background-color: var(--card-background);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow-dark);
    text-align: center;
    max-width: 500px;
    width: 90%;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal-overlay.visible .age-verification-content,
.modal-overlay.visible .cookie-settings-content {
    transform: scale(1);
}

.age-verification-content h2, .cookie-settings-content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.age-verification-content p, .cookie-settings-content p {
    color: var(--text-color);
    margin-bottom: 30px;
}

.age-verification-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cookie-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    z-index: 2500; /* Below age verification, above header */
    box-shadow: var(--shadow-dark);
    transform: translateY(-100%);
    transition: transform 0.5s ease-out;
}

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

.cookie-banner p {
    margin: 0;
    font-size: 0.95em;
    flex-grow: 1;
}

.cookie-banner a {
    color: var(--accent-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-settings-content .cookie-category {
    text-align: left;
    margin-bottom: 15px;
}

.cookie-settings-content .cookie-category label {
    margin-left: 10px;
    font-size: 1.1em;
    color: var(--text-color);
}

.cookie-settings-content .cookie-category input[type="checkbox"] {
    transform: scale(1.2);
    margin-right: 5px;
}

.cookie-settings-content .btn-primary {
    margin-top: 20px;
    width: auto;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 3.5em;
    }
    .hero-section .hero-slogan {
        font-size: 1.3em;
    }
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    .about-image-wrapper {
        margin-top: 30px;
    }
    .about-image {
        max-width: 80%;
    }
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .footer-top {
        flex-direction: column;
        text-align: center;
    }
    .footer-links ul {
        flex-direction: column;
        gap: 10px;
    }
    .social-icons {
        margin-top: 20px;
    }
    .footer-partners {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.8em;
    }
    h2 {
        font-size: 2em;
    }
    h3 {
        font-size: 1.5em;
    }
    section {
        padding: 60px 0;
    }
    .hero-section {
        padding: 100px 0;
    }
    .hero-section h1 {
        font-size: 3em;
    }
    .hero-section .hero-slogan {
        font-size: 1.1em;
    }
    .main-header .container{
flex-direction: column;
    }
    .cta-section h2 {
        font-size: 2.2em;
    }
    .game-modal-content {
        width: 95vw;
        height: 95vh;
    }
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    .cookie-banner p {
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.2em;
    }
    h2 {
        font-size: 1.8em;
    }
    .hero-section h1 {
        font-size: 2em;
    }
    .hero-section .hero-slogan {
        font-size: 1em;
    }
    .btn-primary, .btn-secondary {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .age-verification-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .age-verification-buttons button {
        width: 100%;
    }
    .disclaimer-box {
        padding: 20px;
    }
    .disclaimer-box h3 {
        font-size: 1.5em;
    }
    .disclaimer-box p {
        font-size: 0.9em;
    }
    .footer-partners {
        gap: 10px;
    }
    .partner-logo {
        max-width: 100px;
    }
    .age-18-plus {
        font-size: 2.5em;
    }
}
/* New styles for .regShieldWrap and its children */

.regShieldWrap {
    /* Container for general content, with padding for spacing */
    padding: 40px 20px; /* Top/bottom padding 40px, left/right padding 20px */
    max-width: 960px; /* Optional: Constrain maximum width for readability */
    margin: 40px auto; /* Center the block horizontally with top/bottom margin */
    background-color: var(--card-background); /* Use a light background from your theme */
    border-radius: 8px; /* Slightly rounded corners for the content block */
    box-shadow: var(--shadow-light); /* Subtle shadow for depth */
}

.regShieldWrap h1 {
    /* Heading 1 styles within .regShieldWrap */
    font-size: 2.2em; /* Moderate font size for H1 */
    margin-bottom: 0.8em; /* Spacing below H1 */
    color: var(--primary-color); /* Primary color for headings */
    font-weight: 700; /* Bold font weight */
    line-height: 1.2; /* Line height for readability */
}

.regShieldWrap h2 {
    /* Heading 2 styles within .regShieldWrap */
    font-size: 1.8em; /* Moderate font size for H2 */
    margin-bottom: 0.7em; /* Spacing below H2 */
    color: var(--primary-color); /* Primary color for headings */
    font-weight: 600; /* Slightly less bold than H1 */
    line-height: 1.3;
}

.regShieldWrap h3 {
    /* Heading 3 styles within .regShieldWrap */
    font-size: 1.5em; /* Moderate font size for H3 */
    margin-bottom: 0.6em; /* Spacing below H3 */
    color: var(--text-color); /* Standard text color or slightly darker */
    font-weight: 600;
    line-height: 1.4;
}

.regShieldWrap h4 {
    /* Heading 4 styles within .regShieldWrap */
    font-size: 1.2em; /* Moderate font size for H4 */
    margin-bottom: 0.5em; /* Spacing below H4 */
    color: var(--text-color);
    font-weight: 500; /* Medium font weight */
    line-height: 1.5;
}

.regShieldWrap h5 {
    /* Heading 5 styles within .regShieldWrap */
    font-size: 1.05em; /* Slightly larger than base text for H5 */
    margin-bottom: 0.4em; /* Spacing below H5 */
    color: var(--text-color);
    font-weight: 500;
    line-height: 1.6;
}

.regShieldWrap p {
    /* Paragraph styles within .regShieldWrap */
    font-size: 1em; /* Base font size for paragraphs */
    margin-bottom: 1em; /* Spacing below paragraphs */
    line-height: 1.7; /* Good line height for readability */
    color: var(--text-color); /* Standard text color */
}

.regShieldWrap ul {
    /* Unordered list styles within .regShieldWrap */
    list-style: disc; /* Default disc bullet points */
    margin-left: 20px; /* Indentation for list items */
    margin-bottom: 1em; /* Spacing below the entire list */
    padding-left: 0; /* No extra padding if margin-left is used */
    color: var(--text-color);
}

.regShieldWrap ol {
    /* Ordered list styles within .regShieldWrap (added for completeness) */
    list-style: decimal; /* Default decimal numbering */
    margin-left: 20px; /* Indentation for list items */
    margin-bottom: 1em; /* Spacing below the entire list */
    padding-left: 0;
    color: var(--text-color);
}

.regShieldWrap li {
    /* List item styles within .regShieldWrap */
    margin-bottom: 0.5em; /* Spacing between list items */
    line-height: 1.6; /* Line height for list item text */
    color: var(--text-color);
}

/* Responsive adjustments for font sizes within .regShieldWrap */
@media (max-width: 768px) {
    .regShieldWrap {
        padding: 30px 15px; /* Adjust padding for smaller screens */
        margin: 30px auto;
    }
    .regShieldWrap h1 {
        font-size: 2em;
    }
    .regShieldWrap h2 {
        font-size: 1.6em;
    }
    .regShieldWrap h3 {
        font-size: 1.3em;
    }
    .regShieldWrap h4 {
        font-size: 1.1em;
    }
    .regShieldWrap h5 {
        font-size: 1em;
    }
    .regShieldWrap p,
    .regShieldWrap ul,
    .regShieldWrap ol,
    .regShieldWrap li {
        font-size: 0.95em; /* Slightly smaller base font size */
    }
}

@media (max-width: 480px) {
    .regShieldWrap {
        padding: 20px 10px; /* Further adjust padding for very small screens */
        margin: 20px auto;
    }
    .regShieldWrap h1 {
        font-size: 1.8em;
    }
    .regShieldWrap h2 {
        font-size: 1.5em;
    }
    .regShieldWrap h3 {
        font-size: 1.2em;
    }
    .regShieldWrap h4 {
        font-size: 1.05em;
    }
    .regShieldWrap h5 {
        font-size: 0.95em;
    }
    .regShieldWrap p,
    .regShieldWrap ul,
    .regShieldWrap ol,
    .regShieldWrap li {
        font-size: 0.9em;
    }
}
