/* General Styles */
:root {
    --primary-color:#00B8D9; /* Cyan Ocean */
    --secondary-color:#FFA726; /* Tangerine Orange */
    --accent-color:#9C27B0; /* Tropical Purple */
    --background-dark:#FFF6E5; /* Sand Base */
    --background-light:#FFF6E5; /* Sand Base for light surfaces */
    --card-background:#FFFFFF; /* Card background */
    --border-color:#E0D8C8; /* Soft sand divider */
    --text-color:#1B1B1B; /* Text Primary */
    --text-secondary:#4A4A4A; /* Text Secondary */
    --error-color:#E53935; /* Error / Warning */
    --shadow-color: rgba(0,0,0,0.12);
    --font-family-primary:'Nunito Sans',system-ui,sans-serif;
    --max-width-container: 1200px;
}

body {
    font-family: var(--font-family-primary);
    margin: 0;
    padding: 0;
    background-color: var(--background-dark);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}
html { overflow-x: hidden; }

body.no-scroll {
    overflow: hidden;
}

.container {
    max-width: var(--max-width-container);
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-color);
    font-weight: 700;
    margin-top: 0;
    font-family: 'Baloo 2', cursive;
}

h1 {
    font-size: 3.2em;
    text-align: center;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

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

h2.section-title {
    color: var(--secondary-color);
}

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

p {
    margin-bottom: 1em;
    color: var(--text-secondary);
}

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

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 9999px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
    text-align: center;
    text-decoration: none;
    font-family: 'Baloo 2', cursive;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

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

.btn-secondary {
    background-color: var(--accent-color);
    color: #fff;
    border: 2px solid var(--accent-color);
}

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

.btn-play {
    background-color: var(--accent-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 700;
    text-transform: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border: none;
}

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

@keyframes glowing {
    from { box-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--secondary-color); }
    to { box-shadow: 0 0 20px var(--secondary-color), 0 0 30px var(--accent-color), 0 0 40px var(--primary-color); }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Header */
.main-header {
    background-color: var(--background-light);
    padding: 15px 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

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

.site-name {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: 1px;
    font-family: 'Baloo 2', cursive;
}

.site-name::after {
    content: '';
    margin-left: 8px;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.1em;
    position: relative;
}

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

.main-nav a:hover::after {
    width: 100%;
}
.main-nav a:hover {
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 2em;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 52vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: url('../content/img/uploads/Vibrant_tropical_beach_cartoon_2.jpg') no-repeat center center/cover;
    background-attachment: fixed;
}
.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.4) 100%);
    pointer-events: none;
    z-index: 1;
}
.hero-tagline {
    margin: 14px auto 28px auto;
    max-width: 800px;
    font-size: 1.15em;
    color: #ffffff;
}
.hero-section .btn {
    padding: 10px 22px;
    font-size: 1em;
    background-color: var(--accent-color);
    color: white;
    width: 100%;
    max-width: 520px;
    border-radius: 30px;
    margin: 12px auto 0 auto;
    display: block;
    text-transform: uppercase;
    font-weight: bold;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.hero-section .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    background-color: var(--primary-color);
}

.hero-section::before { display: none; }

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 60px; /* To account for sticky header */
}

.hero-section h1 { color: #ffffff; }

.hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 18px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #ffffff;
}

.game-cards-grid {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 50px;
    opacity: 0;
    animation: fadeIn 1s forwards;
}

/* Keep hero game cards hidden for the single-game focus */
.hero-section .game-cards-grid { display: none !important; }

/* Entrance animations */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-12px); }
    to { opacity: 1; transform: translateX(0); }
}

.section-title { animation: fadeUp 0.8s ease both; }
.game-card-item { animation: fadeUp 0.9s ease both; }
.about-text { animation: slideIn 0.8s ease both; }
.footer-top, .footer-links { animation: fadeUp 0.8s ease both; }

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-game-card {
    background-color: var(--card-background);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px var(--shadow-color);
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
    cursor: default;
    border: 1px solid var(--border-color);
}

.hero-game-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.hero-game-card h3 {
    font-size: 1.2em;
    margin: 15px 0;
    color: var(--accent-color);
    padding: 0 10px;
}

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

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

.about-text {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 1.1em;
    line-height: 1.6;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.stat-card {
    background-color: #FFF1DE;
    border-radius: 15px;
    padding: 25px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 180px;
}
.stat-card:hover {
    transform: translateY(0) scale(1.02);
    box-shadow: 0 10px 28px rgba(0,0,0,0.18);
}

.stat-card.animate {
    transform: translateY(0);
    opacity: 1;
}

.stat-icon {
    font-size: 3.5em;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.stat-number {
    font-size: 2.8em;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.stat-description {
    font-size: 1em;
    color: var(--text-secondary);
}

/* Game Selection Section */
.game-selection-section {
    background-color: var(--background-dark);
    padding: 80px 0;
    text-align: center;
}

.section-description {
    font-size: 1.2em;
    margin-bottom: 50px;
    color: var(--text-secondary);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.highlight-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-content: center;
    align-items: stretch;
}

.game-card-item {
    background-color: var(--card-background);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px var(--shadow-color);
    border: 2px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.game-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.game-card-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-bottom: 2px solid var(--border-color);
}

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

.game-card-content h3 {
    font-size: 1.6em;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.game-card-content p {
    font-size: 1em;
    color: var(--text-secondary);
    margin-bottom: 25px;
    flex-grow: 1;
}

/* How To Play Section */
.how-to-play-section {
    background-color: var(--background-light);
    padding: 80px 0;
}

.how-to-play-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    align-items: flex-start;
}

.explainer-text {
    flex: 2;
    min-width: 300px;
    max-width: 700px;
    text-align: left;
    font-size: 1.1em;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.explainer-text.animate {
    opacity: 1;
    transform: translateY(0);
}

.explainer-text h3 {
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.8em;
}

.explainer-text ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.explainer-text ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.explainer-text ul li::before { content: none; }
.step-icon { color: var(--secondary-color); font-size: 1.1em; width: 1.25em; text-align: center; }
.step span { color: var(--text-secondary); }

.how-to-play-images {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.responsive-image {
    border-radius: 15px;
    box-shadow: 0 8px 20px var(--shadow-color);
    border: 2px solid var(--border-color);
    transition: box-shadow 0.3s ease;
}

.responsive-image:hover {
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6);
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--background-dark);
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.testimonial-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px 0;
}

.testimonial-slide {
    background-color: var(--card-background);
    padding: 32px 28px;
    border-radius: 15px;
    box-shadow: 0 8px 20px var(--shadow-color);
    border: 1px solid var(--border-color);
    display: none; /* Managed by JS */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 280px;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.215, 0.61, 0.355, 1), transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateY(6px);
}

.testimonial-slide.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.testimonial-slide .avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid var(--accent-color);
    box-shadow: 0 0 10px rgba(0, 188, 212, 0.4);
}

.testimonial-text {
    font-size: 1.3em;
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-secondary);
}
.quote-mark { color: var(--secondary-color); font-size: 1.4em; margin-bottom: 8px; }

.testimonial-author {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 1em;
}

.carousel-nav {
    position: absolute;
    top: 75%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--text-color);
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 1.5em;
    z-index: 10;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
}

.carousel-nav:hover {
    background-color: var(--accent-color);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: 10px;
}

.carousel-nav.next {
    right: 10px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.dot.active {
    background-color: var(--secondary-color);
    transform: scale(1.2);
}

/* Newsletter Section */
.newsletter-section {
    background-color: var(--background-light);
    padding: 80px 0;
    text-align: center;
}

.newsletter-form {
    max-width: 720px;
    margin: 30px auto 0 auto;
    background-color: var(--card-background);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 20px var(--shadow-color);
    border: 1px solid var(--border-color);
}
.newsletter-inline { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: center; }

.form-group {
    position: relative;
    text-align: left;
}

.newsletter-form input[type="text"],
.newsletter-form input[type="email"] {
    width: -webkit-fill-available;
    padding: 15px 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--background-dark);
    color: var(--text-color);
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.newsletter-form input::placeholder {
    color: #888;
}

.newsletter-form input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.3);
    outline: none;
}

.newsletter-form .btn-submit { width: auto; padding: 12px 22px; font-size: 1.05em; margin: 0; }

.error-message {
    color: var(--error-color);
    font-size: 0.9em;
    margin-top: 5px;
    height: 1.2em;
    overflow: hidden;
}

/* Disclaimer Section */
.disclaimer-section {
    background-color: #2a003a; /* A distinct, slightly lighter dark purple */
    padding: 60px 0;
    border-top: 5px solid var(--secondary-color);
    border-bottom: 5px solid var(--secondary-color);
    margin-bottom: 0;
    text-align: center;
}

.disclaimer-section .container {
    max-width: 900px;
}

.disclaimer-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.disclaimer-icon {
    font-size: 3em;
    color: var(--secondary-color);
}

.disclaimer-section h2 {
    font-size: 2.2em;
    color: var(--secondary-color);
    margin-bottom: 0;
}

.disclaimer-section p {
    font-size: 0.95em;
    color: #c0c0c0;
    margin-bottom: 15px;
    line-height: 1.7;
}

.disclaimer-section ul {
    list-style: none;
    padding: 0;
    margin: 20px auto;
    max-width: 600px;
    text-align: left;
}

.disclaimer-section ul li {
    position: relative;
    padding-left: 10px;
    margin-bottom: 10px;
    color: #c0c0c0;
}

.disclaimer-section ul li::before {
    content: '•';
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-size: 1.2em;
    line-height: 1.6;
}

.support-contact {
    font-size: 1.1em;
    color: var(--accent-color);
    font-weight: 600;
    margin-top: 25px;
}

/* Footer */
.main-footer {
    background-color: var(--accent-color);
    padding: 40px 0;
    color: #fff;
    font-size: 0.9em;
    text-align: center;
}

.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.footer-top .logo-link {
    margin-bottom: 10px;
}

.footer-tagline {
    max-width: 600px;
    line-height: 1.5;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px 30px;
    margin-bottom: 30px;
}

.footer-links a {
    color: #ffffff;
    font-weight: 400;
    font-size: 1em;
    transition: color 0.2s ease;
}

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

.footer-support-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-top: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.footer-support-logos img {
    max-width: 130px;
    height: auto;
    object-fit: contain;
    margin: 0;
    display: block;
}

.footer-18plus-icon {
    max-width: 70px !important;
    height: auto;
}
@keyframes ctaGlow {
    from { box-shadow: 0 0 10px rgba(255,46,99,0.35), 0 0 20px rgba(0,232,198,0.25); }
    to { box-shadow: 0 0 22px rgba(255,87,34,0.4), 0 0 34px rgba(0,232,198,0.35); }
}
.gradient-text { color: var(--secondary-color); }

.footer-bottom {
    margin-top: 30px;
}

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

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

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

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.8em;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2001;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.close-modal:hover {
    background-color: var(--secondary-color);
    transform: rotate(90deg);
}

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

.age-verification-content {
    background-color: var(--background-light);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    max-width: 500px;
    width: 90%;
    border: 3px solid var(--accent-color);
    animation: fadeInScale 0.5s ease-out forwards;
}

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

.age-verification-content h2 {
    color: var(--secondary-color);
    font-size: 2.2em;
    margin-bottom: 20px;
}

.age-verification-content p {
    color: #c0c0c0;
    font-size: 1.1em;
    margin-bottom: 30px;
}

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

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* Cookie Banner */
.cookie-banner {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--background-light);
    color: var(--text-color);
    padding: 15px 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1500;
    border-top: 2px solid var(--accent-color);
}

.cookie-banner-message {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width-container);
    margin: 0 auto;
    gap: 15px;
}

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

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

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

/* Cookie Customize Modal */
.cookie-customize-modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 2500;
    justify-content: center;
    align-items: center;
}

.cookie-customize-content {
    background-color: var(--background-light);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    max-width: 450px;
    width: 90%;
    border: 2px solid var(--secondary-color);
}

.cookie-customize-content h3 {
    color: var(--accent-color);
    font-size: 1.8em;
    margin-bottom: 20px;
    text-align: center;
}

.cookie-customize-content p {
    color: #c0c0c0;
    margin-bottom: 25px;
    font-size: 0.95em;
}

.cookie-category {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.cookie-category input[type="checkbox"] {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    accent-color: var(--secondary-color);
}

.cookie-category label {
    font-size: 1em;
    color: var(--text-color);
    cursor: pointer;
}

.cookie-category .category-description {
    font-size: 0.85em;
    color: #a0a0a0;
    margin-left: 5px;
}

.cookie-customize-content .btn-primary {
    width: 100%;
    margin-top: 20px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8em;
    }
    h2 {
        font-size: 2em;
    }
    .main-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 70px;
        left: 0;
        background-color: var(--background-light);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
        padding: 20px 0;
    }
    .main-nav.active {
        display: flex;
    }
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .nav-toggle {
        display: block;
    }
    .hero-subtitle {
        font-size: 1.2em;
    }
    .game-cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    .about-content {
        flex-direction: column;
    }
    .about-text, .about-stats {
        max-width: 100%;
        text-align: center;
    }

    .about-stats {
        grid-template-columns: repeat(2,  1fr) !important;
    }
    .stat-card {
        min-width: 150px;
    }
    .highlight-games-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .game-card-content h3 {
        font-size: 1.4em;
    }
    .how-to-play-content {
        flex-direction: column;
    }
    .explainer-text {
        max-width: 100%;
        text-align: center;
    }
    .explainer-text ul {
        text-align: left;
        margin: 0 auto;
        max-width: 400px;
    }
    .carousel-nav.prev {
        left: 5px;
    }
    .carousel-nav.next {
        right: 5px;
    }
    .newsletter-form {
        padding: 30px;
    }
    .disclaimer-section h2 {
        font-size: 1.8em;
    }
    .footer-links ul {
        flex-direction: column;
        gap: 10px;
    }
    .cookie-banner-message {
        flex-direction: column;
        align-items: flex-start;
    }
    .cookie-banner-actions {
        width: 100%;
        justify-content: center;
    }
    .cookie-banner-actions .btn {
        flex-grow: 1;
    }

    .hero-section{
        min-height: 56vh;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2em;
    }
    h2 {
        font-size: 1.8em;
    }
    .hero-subtitle {
        font-size: 1em;
    }
    .hero-game-card h3 {
        font-size: 1em;
    }
    .stat-number {
        font-size: 2.2em;
    }
    .stat-icon {
        font-size: 3em;
    }
    .testimonial-slide {
        padding: 26px 18px;
        min-height: 250px;
    }
    .testimonial-text {
        font-size: 1.1em;
    }
    .age-verification-content h2 {
        font-size: 1.8em;
    }
    .age-verification-content p {
        font-size: 1em;
    }
    .age-verification-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .age-verification-buttons .btn {
        width: 100%;
    }
    .close-modal {
        width: 40px;
        height: 40px;
        font-size: 1.5em;
        top: 10px;
        right: 10px;
    }
    .footer-support-logos img {
        max-width: 100px;
    }
    .footer-18plus-icon {
        max-width: 50px !important;
    }

    .about-stats {
        grid-template-columns: repeat(1,  1fr) !important;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8em;
    }
    h2 {
        font-size: 1.6em;
    }
    .hero-content {
        padding-top: 40px;
    }
    .game-cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    .highlight-games-grid {
        grid-template-columns: 1fr;
    }
    .game-card-content h3 {
        font-size: 1.2em;
    }
    .game-card-content p {
        font-size: 0.9em;
    }
    .newsletter-form {
        padding: 16px;
    }
    .newsletter-inline { grid-template-columns: 1fr; gap: 10px; }
    .disclaimer-section h2 {
        font-size: 1.6em;
    }
    .disclaimer-section p, .disclaimer-section ul li {
        font-size: 0.9em;
    }
    .footer-top .site-name {
        font-size: 1.5em;
    }
    .footer-tagline {
        font-size: 0.85em;
    }
    .footer-links a {
        font-size: 0.9em;
    }
   
    .cookie-customize-content h3 {
        font-size: 1.5em;
    }
    .cookie-category label {
        font-size: 0.9em;
    }
    .cookie-category .category-description {
        font-size: 0.8em;
    }

    .carousel-nav{
        display: none;
    }
}/* Parent container styles for padding */
.policyOrbitalShell {
    padding: 2rem 1.5rem; /* Top/bottom padding 32px, left/right padding 24px */
    font-family: var(--font-family-primary);
}
/* Logo icon next to site-name */
.logo-icon { margin-left: 8px; color: var(--secondary-color); }

/* Heading styles */
.policyOrbitalShell h1 {
    font-size: 2rem; /* Approximately 32px, not overly large */
    font-weight: 700; /* Bold */
    line-height: 1.2;
    margin-top: 2.5rem; /* Larger top margin for clear separation */
    margin-bottom: 1.25rem; /* Standard bottom margin */
    color: var(--text-color);
    font-family: 'Baloo 2', cursive;
}

.policyOrbitalShell h2 {
    font-size: 1.75rem; /* Approximately 28px */
    font-weight: 600;
    line-height: 1.3;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-family: 'Baloo 2', cursive;
}

.policyOrbitalShell h3 {
    font-size: 1.5rem; /* Approximately 24px */
    font-weight: 600;
    line-height: 1.4;
    margin-top: 1.75rem;
    margin-bottom: 0.8rem;
    color: var(--text-color);
    font-family: 'Baloo 2', cursive;
}

.policyOrbitalShell h4 {
    font-size: 1.25rem; /* Approximately 20px */
    font-weight: 500;
    line-height: 1.4;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
    font-family: 'Baloo 2', cursive;
}

.policyOrbitalShell h5 {
    font-size: 1.1rem; /* Approximately 17.6px */
    font-weight: 500;
    line-height: 1.5;
    margin-top: 1.25rem;
    margin-bottom: 0.6rem;
    color: var(--text-color);
    font-family: 'Baloo 2', cursive;
}

/* Paragraph styles */
.policyOrbitalShell p {
    font-size: 1rem; /* Base font size, typically 16px */
    line-height: 1.6; /* Good for readability */
    margin-bottom: 1rem; /* Space between paragraphs */
    color: var(--text-secondary);
    font-family: var(--font-family-primary);
}

/* Unordered list styles */
.policyOrbitalShell ul {
    list-style-type: disc; /* Default bullet style */
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding-left: 1.5rem; /* Indentation for bullets */
    color: var(--text-secondary);
    font-family: var(--font-family-primary);
}

/* Ordered list styles (included for completeness as a "stock" style) */
.policyOrbitalShell ol {
    list-style-type: decimal; /* Default numbering style */
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding-left: 1.5rem; /* Indentation for numbers */
    color: var(--text-secondary);
    font-family: var(--font-family-primary);
}

/* List item styles */
.policyOrbitalShell li {
    font-size: 1rem; /* Inherit or explicitly set to base font size */
    line-height: 1.6; /* Consistent with paragraph line height */
    margin-bottom: 0.5rem; /* Space between list items */
    color: var(--text-secondary);
    font-family: var(--font-family-primary);
}

/* Remove bottom margin for the last element within the shell if it's a paragraph or list */
.policyOrbitalShell p:last-child,
.policyOrbitalShell ul:last-child,
.policyOrbitalShell ol:last-child {
    margin-bottom: 0;
}

/* =========================
   Merged modern layout styles (compact sections)
   ========================= */

/* Featured Game Section (modern) */
.game-section {
    background: linear-gradient(135deg, #FFF6E5 0%, #FFE0B2 100%);
    text-align: center;
    padding: 80px 0;
}

.game-card {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--card-background);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.game-card-link { display: block; color: inherit; }

.game-card-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.game-card-content { padding: 25px; }
.game-card-content h3 { margin-bottom: 10px; color: var(--accent-color); }
.game-card-content p { margin-bottom: 20px; color: var(--text-secondary); }

/* How To Play (modern) */
.how-to-play-section { text-align: center; }
.how-to-play-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}
.steps-list { text-align: left; }
.step { display: flex; align-items: flex-start; margin-bottom: 25px; padding: 0 10px; }
.step-number {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8F6B 100%);
    color: #fff;
    width: 30px; height: 30px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; margin-right: 15px; flex-shrink: 0;
}
.step-icon { color: var(--secondary-color); font-size: 1.2rem; margin-right: 15px; flex-shrink: 0; }
.step-content h4 { font-size: 1.1rem; margin-bottom: 5px; color: var(--accent-color); }
.step-content p { font-size: 0.95rem; color: var(--text-secondary); }

.game-preview { border-radius: 12px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.game-preview img { width: 100%; border-radius: 12px; transition: transform 0.3s ease; }
.game-preview img:hover { transform: scale(1.02); }

/* Testimonials Grid (modern) */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}
.testimonial-card {
    background-color: var(--card-background);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; flex-direction: column; align-items: center; text-align: center;
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); }
.quote-icon { color: var(--secondary-color); font-size: 1.8rem; margin-bottom: 15px; opacity: 0.6; }

/* Spanish Responsible Gaming accents */
.support-helpline {
    display: inline-block;
    padding: 8px 15px;
    background-color: #FF6B35;
    color: #FFFFFF;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0 10px;
}
.footer-support-logos a {
    display: inline-block;
    padding: 8px 15px;
    background-color: #9C27B0;
    color: #FFFFFF;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.footer-support-logos a:hover { background-color: #00B8D9; transform: translateY(-3px); }
.disclaimer-section a { color: #FFD166; text-decoration: underline; transition: color 0.3s ease; }
.disclaimer-section a:hover { color: var(--secondary-color); text-decoration: none; }

/* Responsive for merged blocks */
@media (max-width: 992px) {
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .how-to-play-content { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 768px) {
    .testimonials-grid { grid-template-columns: 1fr; }
}

/* Mobile hero: show full background image without cropping */
@media (max-width: 576px) {
    .container { padding: 0 16px; }
    .hero-section {
        min-height: 60vh;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: top center;
        background-attachment: scroll;
        background-color: #0CB8C7;
    }
    .hero-section .btn {
        width: 92%;
        max-width: none;
        border-radius: 24px;
        font-size: 0.95em;
        padding: 12px 18px;
    }
}

/* Disable hover scale on touch devices to avoid accidental horizontal overflow */
@media (hover: none) {
    .hero-section .btn:hover { transform: none; }
}

/* Ensure 350x350 image is fully visible on desktop */
@media (min-width: 992px) {
    .game-card-image {
        height: 350px;
        object-fit: contain;
        background-color: #ffffff; /* prevents transparent bands blending with gradient */
        padding: 0; /* ensure exact dimensions */
    }
}
