/* General Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

:root {
    --primary-color: #007bff; /* Blue for buttons/accents */
    --secondary-color: #6c757d; /* Grey for secondary buttons */
    --tertiary-color: #f8f9fa; /* Light grey for tertiary buttons */
    --dark-bg: #1a1a1a; /* Dark background for sections */
    --light-bg: #ffffff; /* Light background for sections */
    --text-light: #ffffff; /* White text on dark backgrounds */
    --text-dark: #333333; /* Dark text on light backgrounds */
    --border-color: #444444; /* Border color for elements */
    --accent-color: #ffcc00; /* Gold/yellow for highlights */
    --danger-color: #dc3545; /* Red for warnings/denials */
}

body {
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll from AOS */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
a:not([class]):hover {
    text-decoration: none !important;
  }
.section-padding {
    padding: 80px 0;
}

.bg-dark {
    background-color: var(--dark-bg);
    color: var(--text-light);
}

.text-white {
    color: var(--text-light);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.section-title {
    font-size: 2.8em;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    display: inline-block; /* To center pseudo-element */
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 15px auto 0;
    border-radius: 2px;
}

.bg-dark .section-title {
    color: var(--text-light);
}

.bg-dark .section-title::after {
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
}

.button {
    display: inline-flex;
    padding: 15px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1em;
}

.button.primary {
    background-color: var(--primary-color);
    color: var(--text-light);
}

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

.button.secondary {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.button.secondary:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.button.tertiary {
    background-color: var(--tertiary-color);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.button.tertiary:hover {
    background-color: #e2e6ea;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Header */
.header {
    background-color: var(--dark-bg);
    padding: 15px 0;
    margin: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.header-logo-wrap{
    display: flex;
    align-items: center;
}
.logo img {
    height: 50px;
    padding: 0 10px;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.gradient-sky-sun {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-size: 28px;
  }
.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 24px;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.main-nav ul li a:hover {
    text-decoration: none;
    color: var(--primary-color);
}

.main-nav ul li a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    background: url('uploads/pics/hero-background_49.jpg') no-repeat center center/cover;
    position: relative;
    color: var(--text-light);
    text-align: center;
    padding: 150px 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

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

.hero-title {
    font-size: 4.5em;
    margin-bottom: 20px;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

.hero-disclaimer {
    font-size: 1.2em;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 40px;
}

.hero-button {
    padding: 15px 40px;
    font-size: 1.2em;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--primary-color), #00aaff);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

.hero-button:hover {
    background: linear-gradient(90deg, #00aaff, var(--primary-color));
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.6);
}

/* About Our Games Section */
.about-games-section .about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-games-section .about-text {
    flex: 1;
    font-size: 1.1em;
    line-height: 1.8;
    text-align: center;
}

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

.about-games-section .about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.important-note {
    margin-top: 30px;
    padding: 20px;
    background-color: #fff3cd;
    border-left: 5px solid #ffc107;
    color: #856404;
    border-radius: 8px;
    font-size: 1em;
}

/* Games Section */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-content: center;
}

.game-card {
    background-color: var(--light-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.game-link {
    display: block;
    height: auto; 
    overflow: hidden;
}

.game-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover .game-thumbnail {
    transform: scale(1.05);
}

.game-info {
    padding: 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.game-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.game-description {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.play-game-btn {
    width: 100%;
    padding: 10px 0;
    font-size: 1.1em;
    border-radius: 5px;
}

.large-disclaimer {
    font-size: 1.4em;
    font-weight: 700;
    color: var(--accent-color);
    text-align: center;
    margin-top: 60px;
    padding: 20px;
    background-color: rgba(255, 204, 0, 0.1);
    border-radius: 10px;
    border: 2px solid var(--accent-color);
}

/* About Our Platform Section */
.about-platform-section .about-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-direction: row-reverse; /* Image on right */
}

.about-platform-section .about-text {
    flex: 1;
    font-size: 1.1em;
    line-height: 1.8;
    text-align: center;
}

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

.about-platform-section .about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Testimonials Section */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.avatar-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 0 5px rgba(0, 123, 255, 0.3);
}

.testimonial-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 1.05em;
}

.testimonial-author {
    font-weight: 600;
    color: var(--accent-color);
}

/* Disclaimer Block */
.site-disclaimer {
    background-color: var(--danger-color); /* Red background */
    color: var(--text-light);
    padding: 40px 0;
    text-align: center;
    border-top: 5px solid #a71d2a; /* Darker red border */
    border-bottom: 5px solid #a71d2a;
    margin-top: 0; /* Ensure it's right above footer */
}

.disclaimer-content {
    max-width: 900px;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.2); /* Slightly transparent dark overlay */
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.disclaimer-icon {
    font-size: 3em;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.disclaimer-title {
    font-size: 2em;
    color: var(--text-light);
    margin-bottom: 15px;
}

.site-disclaimer p {
    font-size: 1.1em;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

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

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
    padding: 0 10px;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-nav ul li {
    margin: 0 15px;
}

.footer-nav ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95em;
    transition: color 0.3s ease;
}

.footer-nav ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-org-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-bottom: 20px;
}

.footer-org-logos .org-logo {
    max-width: 120px;
    height: auto;
    transition: transform 0.3s ease;
}

.footer-org-logos .org-logo:hover {
    transform: scale(1.05);
}

.footer-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.7);
}

.age-restriction-icon {
    height: 70px;
    vertical-align: middle;
}

/* Modals */
.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: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.modal-content {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    text-align: center;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

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

.age-verify-modal h2 {
    color: var(--primary-color);
    font-size: 2em;
    margin-bottom: 15px;
}

.age-verify-modal p {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.age-icon {
    width: 80px;
    height: auto;
    margin-bottom: 20px;
}

.modal-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.modal-actions .button {
    flex-grow: 1;
    min-width: 120px;
}

.game-modal {
    max-width: 90%;
    max-height: 90%;
    width: 100%;
    height: 100%;
    padding: 20px;
    background-color: var(--dark-bg);
}

.game-modal .close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2em;
    color: var(--text-light);
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s ease, transform 0.3s ease;
}

.game-modal .close-button:hover {
    color: var(--danger-color);
    transform: rotate(90deg);
}

#gameIframe {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background-color: #000;
}

/* Cookie Consent Modal */
.cookie-consent-modal h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.cookie-consent-modal p {
    margin-bottom: 20px;
    color: var(--text-dark);
}

.cookie-categories {
    text-align: left;
    margin-bottom: 20px;
    padding: 10px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.cookie-categories label {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 1em;
    color: var(--text-dark);
}

.cookie-categories label:last-child {
    margin-bottom: 0;
}

.cookie-categories .fa-info-circle {
    margin-left: 8px;
    color: var(--secondary-color);
    font-size: 0.9em;
    cursor: help;
}

/* Custom Checkbox Style */
.checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 1em;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border-radius: 5px;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #ccc;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.cookie-settings {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: left;
}

.cookie-settings.hidden {
    display: none;
}

.cookie-settings p {
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--text-dark);
}

.cookie-categories-settings {
    margin-bottom: 20px;
}

.cookie-policy-link {
    font-size: 0.9em;
    margin-top: 15px;
    text-align: center;
}

.cookie-policy-link a {
    color: var(--primary-color);
    text-decoration: none;
}

.cookie-policy-link a:hover {
    text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5em;
    }
    .main-nav ul li a {
        font-size: 20px;
    }
    .hero-subtitle {
        font-size: 1.3em;
    }
    .about-games-section .about-content,
    .about-platform-section .about-content {
        flex-direction: column;
        text-align: center;
    }
    .about-games-section .about-image,
    .about-platform-section .about-image {
        margin-top: 30px;
    }
    .footer-top {
        flex-direction: column;
        gap: 20px;
    }
    .footer-nav ul {
        flex-direction: column;
        gap: 10px;
    }
    .footer-nav ul li {
        margin: 0;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    .hero-section {
        padding: 100px 0;
    }
    .hero-title {
        font-size: 2.8em;
    }
    .hero-subtitle {
        font-size: 1.1em;
    }
    .header .container {
        flex-direction: column;
        gap: 15px;
    }
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    .main-nav ul li {
        margin: 0 15px 10px;
    }
    .section-title {
        font-size: 2.2em;
    }
    .game-grid {
        grid-template-columns: 1fr;
    }
    .large-disclaimer {
        font-size: 1.2em;
    }
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    .site-disclaimer .disclaimer-title {
        font-size: 1.6em;
    }
    .site-disclaimer p {
        font-size: 1em;
    }
    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .gradient-sky-sun{
        font-size: 24px;
    }
    .hero-title {
        font-size: 2em;
    }
    .hero-subtitle {
        font-size: 1em;
    }
    .hero-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .section-title {
        font-size: 1.8em;
    }
    .modal-content {
        padding: 20px;
    }
    .modal-actions .button {
        flex-basis: 100%;
    }
    .footer-org-logos {
        gap: 15px;
    }
    .footer-org-logos .org-logo {
        max-width: 100px;
    }
    .footer-info {
        flex-direction: column;
        gap: 5px;
    }
}
/* Styles for the .consentTunnelGrid container */
.consentTunnelGrid {
    padding-top: 40px; /* Top padding */
    padding-left: 20px; /* Left padding */
    padding-right: 20px; /* Right padding */
    padding-bottom: 40px; /* Bottom padding, similar to top */
    max-width: 800px; /* Max width to keep content readable */
    margin: 0 auto; /* Center the grid */
    background-color: var(--light-bg); /* Use light background for content */
    color: var(--text-dark); /* Use dark text color */
    border-radius: 10px; /* Slightly rounded corners */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

/* Heading styles within .consentTunnelGrid */
.consentTunnelGrid h1 {
    font-size: 2.2em; /* Moderate size for main heading */
    margin-bottom: 0.8em; /* Spacing below heading */
    color: var(--primary-color); /* Primary color for main heading */
    line-height: 1.2;
}

.consentTunnelGrid h2 {
    font-size: 1.8em; /* Slightly smaller for sub-headings */
    margin-bottom: 0.7em;
    color: var(--text-dark);
    line-height: 1.3;
}

.consentTunnelGrid h3 {
    font-size: 1.5em; /* Standard section heading size */
    margin-bottom: 0.6em;
    color: var(--text-dark);
    line-height: 1.4;
}

.consentTunnelGrid h4 {
    font-size: 1.2em; /* Smaller headings, e.g., for sub-sections */
    margin-bottom: 0.5em;
    color: var(--text-dark);
    line-height: 1.5;
}

.consentTunnelGrid h5 {
    font-size: 1em; /* Smallest headings, often used for labels or minor titles */
    margin-bottom: 0.4em;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Paragraph styles within .consentTunnelGrid */
.consentTunnelGrid p {
    font-size: 1em; /* Base font size for paragraphs */
    line-height: 1.7; /* Good line height for readability */
    margin-bottom: 1em; /* Space between paragraphs */
    color: var(--text-dark); /* Default text color */
}

/* Unordered list styles within .consentTunnelGrid */
.consentTunnelGrid ul {
    list-style: disc; /* Default disc bullets */
    margin-left: 25px; /* Indent the list */
    margin-bottom: 1em; /* Space after the list */
    padding: 0; /* No default padding */
    color: var(--text-dark); /* Inherit text color */
}

/* List item styles within .consentTunnelGrid */
.consentTunnelGrid li {
    font-size: 1em; /* Same font size as paragraphs */
    line-height: 1.6; /* Good line height for list items */
    margin-bottom: 0.5em; /* Space between list items */
    color: var(--text-dark); /* Inherit text color */
}

/* Specific styling for the last paragraph/list item to prevent excessive bottom margin */
.consentTunnelGrid p:last-child,
.consentTunnelGrid ul:last-child,
.consentTunnelGrid ol:last-child {
    margin-bottom: 0;
}
