/* Global Styles & Font Initialization */
:root{
    --color-bg: #0F1115;
    --color-surface: #1C1F26;
    --color-primary: #FFD54F; /* gold */
    --color-primary-hover: #FFE173;
    --color-secondary: #66FCF1; /* legacy secondary */
    --color-text: #FFFFFF;
    --color-muted: #DADADA;
    --color-danger: #FF5252;
}
html{scroll-behavior:smooth;}
body {
    font-family: 'Source Sans Pro', sans-serif;
    background-color: var(--color-bg); /* Dark charcoal/black */
    color: var(--color-text); /* Off-white/light grey for default text */
    line-height: 1.6;
}

/* Material Symbols Initialization */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Custom Colors & Bulma Overrides */
.has-text-primary {
    color: var(--color-primary) !important; /* premium accent */
}

/* Button global styles */
.button { text-transform: uppercase; letter-spacing: 0.5px; }

.button.is-primary {
    background-color: var(--color-primary);
    border-color: transparent;
    color: #1C1F26;
    border-radius: 24px;
    font-weight: 600;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(255, 213, 79, 0.25);
}

.button.is-primary:hover {
    background-image: linear-gradient(180deg, var(--color-primary-hover), var(--color-primary));
    transform: scale(1.03);
}

.button.is-danger {
    background-color: var(--color-danger); /* danger */
    border-color: transparent;
    color: #0B0C10;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.button.is-danger:hover {
    background-color: #ff6b6b; /* slightly lighter */
    transform: translateY(-2px);
}

.button.is-link {
    background-color: var(--color-secondary); /* aqua */
    border-color: transparent;
    color: #0B0C10;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.button.is-link:hover {
    background-color: #8ffcf6;
    transform: translateY(-2px);
}

.button.is-success {
    background-color: #4CAF50; /* Green for save selection */
    border-color: transparent;
    color: #F5F5F5;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.button.is-success:hover {
    background-color: #388E3C;
    transform: translateY(-2px);
}

.title, .subtitle {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.title.is-1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

.title.is-2 {
    font-size: 2.5rem;
    line-height: 1.3;
}

/* Header */
.custom-header {
    background-color: var(--color-bg);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.logo-link {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: var(--color-text);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}
.logo-link:hover{
    color: var(--color-primary);
}
.logo-img { display: none; }

/* Hero Section */
.custom-hero-section {
    background: linear-gradient(rgba(15, 17, 21, 0.75), rgba(15, 17, 21, 0.75)), url('visuals/hero-banner.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh; /* Adjust for better visibility */
    position: relative;
}

/* Plain hero variant for legal pages (no background image) */
.hero-plain {
    background: var(--color-bg) !important;
    background-image: none !important;
    min-height: auto;
}

/* Tighten hero spacing on legal pages */
.hero-plain .hero-body { padding: 2rem 0; }
.hero-plain .hero-body .title { margin-bottom: 0.5rem; }
.hero-plain .hero-body .subtitle { margin-top: 0.25rem; }

/* Section Backgrounds */
.custom-section-dark {
    background-color: var(--color-bg);
    padding: 4rem 0;
}

.custom-section-light {
    background-color: var(--color-surface); /* Slightly lighter dark for contrast */
    padding: 4rem 0;
}

/* About Section */
.custom-section-dark .is-rounded {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* Game Showcase */
.custom-game-card {
    background-color: var(--color-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensure cards have same height */
    display: flex;
    flex-direction: column;
}

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

.custom-game-card .card-image img {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.custom-game-card .card-content {
    padding: 1.5rem;
    flex-grow: 1; /* Allows content to expand */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.custom-game-card .title,
.custom-game-card .content {
    color: var(--color-text); /* Light text for dark card */
}

.custom-game-card .button {
    margin-top: 1rem;
}

.game-link {
    display: block;
    height: 100%;
}

.game-image {
    transition: transform 0.3s ease;
}

.game-image:hover {
    transform: scale(1.03);
}

/* Features & Benefits */
.custom-feature-box {
    background-color: rgba(28,31,38,0.5);
    border-radius: 8px;
    padding: 2.5rem 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.feature-icon-wrap{width:64px;height:64px;border-radius:50%;background:rgba(28,31,38,0.5);display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 2px rgba(255,213,79,0.15);transition:box-shadow .2s ease,transform .2s ease;margin-bottom:1rem;}
.feature-icon-wrap:hover{box-shadow:0 0 18px rgba(255,213,79,0.35);transform:translateY(-2px);}
.feature-icon{font-size:2.35rem;color:var(--color-primary);} 

.custom-feature-box .title,
.custom-feature-box .subtitle {
    color: var(--color-text);
}

/* Testimonials */
.custom-testimonial-box {
    background-color: var(--color-bg);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-avatar{width:64px;height:64px;border-radius:50%;background:var(--color-surface);display:flex;align-items:center;justify-content:center;box-shadow:inset 0 0 10px rgba(0,0,0,0.35);} 
.testimonial-avatar i{font-size:28px;color:var(--color-primary);} 

.custom-testimonial-box .title,
.custom-testimonial-box .subtitle,
.custom-testimonial-box .content {
    color: var(--color-text);
}

.custom-testimonial-box .subtitle { color: var(--color-muted); }
.testimonial-quote { font-style: italic; }

/* Call to Action (Contact Form) */
.custom-cta-section {
    background: linear-gradient(rgba(11, 12, 16, 0.85), rgba(11, 12, 16, 0.85)), url('visuals/contact-us.jpg') no-repeat center center;
    background-size: cover;
    padding: 5rem 0;
    text-align: center;
}

.custom-form .label {
    color: var(--color-text);
}

.custom-form .input,
.custom-form .textarea {
    background-color: var(--color-surface);
    border-color: #4A4A4A;
    color: var(--color-text);
}

.custom-form .input::placeholder,
.custom-form .textarea::placeholder {
    color: var(--color-muted);
}

.custom-form .input:focus,
.custom-form .textarea:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 0.125em rgba(102, 252, 241, 0.25);
}

.custom-cta-button {
    transition: all 0.3s ease;
}

.custom-cta-button:hover { transform: scale(1.03); box-shadow: 0 8px 20px rgba(255, 213, 79, 0.35); }

/* Disclaimer Block */
.custom-disclaimer-section {
    background-color: var(--color-bg); /* Dark background */
    padding: 3rem 0;
}

.custom-disclaimer-box {
    background-color: var(--color-surface); /* Slightly lighter dark */
    border: 2px solid var(--color-primary); /* Gold border */
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.custom-disclaimer-box .title {
    color: var(--color-primary); /* Gold title */
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-disclaimer-box .material-symbols-outlined {
    color: var(--color-primary); /* Gold icon */
    font-size: 2.5rem;
    margin-right: 10px;
}

.custom-disclaimer-box p {
    color: var(--color-text);
    margin-bottom: 0.8rem;
}

.custom-disclaimer-box a {
    color: var(--color-secondary);
    text-decoration: underline;
    transition: color 0.3s ease;
}

@media (max-width:575px) {
    .custom-disclaimer-box a{
        font-size: 12px;
    }
}
.custom-disclaimer-box a:hover {
    color: #8ffcf6;
}

/* Footer */
.custom-footer {
    background-color: #0A0A0A; /* Even darker for footer */
    padding: 3rem 0;
    color: var(--color-text);
}

.custom-footer .logo-img {
    max-height: 50px;
}

.custom-footer .footer-links a {
    color: var(--color-primary);
    margin: 0 0.75rem;
    transition: color 0.3s ease;
}

.custom-footer .footer-links a:hover {
    color: var(--color-primary-hover);
    text-decoration: underline;
}

.footer-org-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem; /* Spacing between logos */
    margin-top: 2rem;
}

.footer-org-logo {
    max-width: 130px; /* Adjusted width for 4 images */
    height: auto;
    object-fit: contain;
    filter: none; /* Ensure no grayscale */
}

.footer-18-plus-icon {
    max-width: 90px; /* Smaller size for 18+ icon */
    height: auto;
    vertical-align: middle;
    filter: brightness(0) invert(1) grayscale(100%);
}


/* Modals */
.modal-content.p-4 {
    padding: 1.5rem;
}

.custom-modal-box {
    background-color: var(--color-bg);
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
    color: var(--color-text);
    padding: 2.5rem;
}

.custom-modal-box .title,
.custom-modal-box .subtitle {
    color: var(--color-text);
}

.modal-background {
    background-color: rgba(0, 0, 0, 0.7);
}

/* Cookie consent switch styling */
.switch[type="checkbox"] {
    opacity: 0;
    position: absolute;
}

.switch[type="checkbox"] + label {
    position: relative;
    display: inline-block;
    cursor: pointer;
    padding-left: 3.5rem; /* Space for the switch */
    line-height: 1.5rem; /* Align text vertically */
    color: var(--color-text);
}

.switch[type="checkbox"] + label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.25rem;
    width: 2.5rem;
    height: 1rem;
    background-color: var(--color-muted); /* Grey for off state */
    border-radius: 0.5rem;
    transition: background-color 0.3s;
}

.switch[type="checkbox"] + label::after {
    content: '';
    position: absolute;
    left: 0.25rem;
    top: 0.35rem;
    width: 0.8rem;
    height: 0.8rem;
    background-color: var(--color-text);
    border-radius: 50%;
    transition: transform 0.3s;
}

.switch[type="checkbox"]:checked + label::before {
    background-color: var(--color-primary); /* Gold for on state */
}

/* Intersection Observer fade utility */
.io-fade{opacity:0;transform:translateY(12px);transition:opacity .6s ease, transform .6s ease;}
.io-fade.in-view{opacity:1;transform:none;}

.switch[type="checkbox"]:checked + label::after {
    transform: translateX(1.5rem);
}

.switch[type="checkbox"]:disabled + label {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Game Modal */
.game-modal-content {
    width: 90%;
    max-width: 1200px;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.game-iframe-container {
    width: 100%;
    height: 100%;
    padding: 0; /* Remove padding from Bulma box */
    border-radius: 8px;
    overflow: hidden;
    background-color: #0A0A0A; /* Dark background for iframe container */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.9);
}

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

.modal-close {
    background-color: rgba(255, 255, 255, 0.2);
    transition: background-color 0.3s ease;
}

.modal-close:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .title.is-1 {
        font-size: 2.5rem;
    }
    .title.is-2 {
        font-size: 2rem;
    }
    .custom-hero-section {
        min-height: 70vh;
    }
    .custom-modal-box {
        padding: 1.5rem;
    }
    .game-modal-content {
        width: 95%;
        height: 70vh;
    }
    .footer-org-logos {
        gap: 1rem;
    }
    .footer-org-logo {
        max-width: 100px;
    }
}/* Parent container styling */
.dataTrustFrame {
    padding-top: 3rem;    /* Top padding for the main content block */
    padding-right: 1.5rem; /* Right padding for the main content block */
    padding-left: 1.5rem;  /* Left padding for the main content block */
    /* Add any other base styles for this frame if needed, e.g., background-color */
    /* background-color: #1A1A1A; */ /* Example: if this frame has its own dark background */
}
/* Tablet typography adjustments */
@media screen and (min-width: 769px) and (max-width: 1023px) {
    .title.is-1 {
        font-size: 3rem;
    }
    .title.is-2 {
        font-size: 2.25rem;
    }
}
/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Heading styles within .dataTrustFrame */
.dataTrustFrame h1 {
    font-size: 2.2rem;       /* Moderate size for main heading */
    font-weight: 700;        /* Bold font weight */
    color: #F5F5F5;          /* Light text color for dark background */
    margin-bottom: 1.5rem;   /* Space below the heading */
    line-height: 1.2;        /* Line height for readability */
}

.dataTrustFrame h2 {
    font-size: 1.8rem;       /* Slightly smaller than h1 */
    font-weight: 700;
    color: #F5F5F5;
    margin-bottom: 1.2rem;
    line-height: 1.3;
}

.dataTrustFrame h3 {
    font-size: 1.5rem;       /* Standard heading size */
    font-weight: 600;        /* Slightly less bold */
    color: #F5F5F5;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.dataTrustFrame h4 {
    font-size: 1.2rem;       /* Smaller heading */
    font-weight: 600;
    color: #F5F5F5;
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.dataTrustFrame h5 {
    font-size: 1rem;         /* Smallest heading, often used for sub-sections or labels */
    font-weight: 600;
    color: #F5F5F5;
    margin-bottom: 0.6rem;
    line-height: 1.6;
}

/* Paragraph styles within .dataTrustFrame */
.dataTrustFrame p {
    font-size: 1rem;         /* Standard paragraph font size */
    color: #F5F5F5;          /* Light text color */
    margin-bottom: 1rem;     /* Space between paragraphs */
    line-height: 1.6;        /* Good line height for readability */
}

/* List styles within .dataTrustFrame */
.dataTrustFrame ul {
    list-style-type: disc;   /* Default disc bullet points */
    margin-left: 1.5rem;     /* Indent for bullet points */
    margin-bottom: 1rem;     /* Space below the list */
    color: #F5F5F5;          /* Ensure bullet points inherit color */
}

.dataTrustFrame ol {
    list-style-type: decimal; /* Default decimal numbering */
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    color: #F5F5F5;
}

.dataTrustFrame li {
    font-size: 1rem;         /* Standard list item font size */
    color: #F5F5F5;          /* Light text color */
    margin-bottom: 0.5rem;   /* Space between list items */
    line-height: 1.6;
}

/* Last list item or paragraph might not need bottom margin */
.dataTrustFrame p:last-child,
.dataTrustFrame ul:last-child,
.dataTrustFrame ol:last-child,
.dataTrustFrame li:last-child {
    margin-bottom: 0;
}.hero-body{
    padding: 0;
}
.container{
    padding: 0px 15px;
}
strong{
    color: var(--color-text);
}

/* Optional shimmer effect for primary buttons */
.button.is-primary.shimmer {
    position: relative;
    overflow: hidden;
}
.button.is-primary.shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
    transform: skewX(-20deg);
    animation: shimmer 2.25s infinite;
}
@keyframes shimmer {
    0% { left: -150%; }
    60% { left: 150%; }
    100% { left: 150%; }
}