/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1a1a2e;
    color: #e0e0e0;
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

h1 {
    font-size: 3.5em;
    line-height: 1.1;
}

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

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #e94560;
    margin: 15px auto 0;
    border-radius: 2px;
}

h3 {
    font-size: 1.8em;
}

p {
    margin-bottom: 15px;
}

a {
    color: #e94560;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ff7b92;
}

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

.primary-btn {
    background-color: #e94560;
    color: #fff;
}

.primary-btn:hover {
    background-color: #ff7b92;
    transform: translateY(-2px);
}

.secondary-btn {
    background-color: #0f3460;
    color: #fff;
    border: 2px solid #0f3460;
}

.secondary-btn:hover {
    background-color: #1a1a2e;
    border-color: #e94560;
    transform: translateY(-2px);
}

.material-symbols-outlined {
    vertical-align: middle;
    margin-right: 8px;
}

.icon-large {
    font-size: 3em;
    display: block;
    text-align: center;
    margin-bottom: 20px;
    color: #e94560;
}

/* Header */
.header {
    background-color: #0f3460;
    padding: 15px 0;
    border-bottom: 1px solid #1a1a2e;
}

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

.logo-container {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 1.8em;
    font-weight: 700;
}

.logo {
    height: 40px;
    margin-right: 10px;
}

.site-name {
    color: #fff;
}

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

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

.main-nav a {
    color: #fff;
    font-weight: 600;
    padding: 5px 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #e94560;
    transition: width 0.3s ease;
}

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

.header-info {
    text-align: right;
}

.responsible-text {
    font-size: 0.9em;
    color: #b0b0b0;
    margin: 0;
}

.responsible-text a {
    color: #e94560;
}

/* Hero Section */
.hero-section {
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 0;
    display: flex;
    align-items: center;
    min-height: 70vh;
    position: relative;
}

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

.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
}

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

.hero-text p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.hero-text ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.hero-text ul li {
    font-size: 1.1em;
    margin-bottom: 10px;
}

.hero-text ul li .material-symbols-outlined {
    color: #e94560;
    font-size: 1.3em;
    margin-right: 10px;
}

.editorial-badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(233, 69, 96, 0.2);
    padding: 8px 15px;
    border-radius: 20px;
    margin-top: 30px;
    font-size: 0.9em;
    font-weight: 600;
    color: #e94560;
}

.editorial-badge .material-symbols-outlined {
    font-size: 1.2em;
    margin-right: 5px;
}

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

.game-previews-img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* About Section */
.about-section {
    background-color: #16213e;
}

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

.about-item {
    background-color: #0f3460;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.about-item h3 {
    color: #e94560;
    margin-top: 0;
}

/* Game Selection Section */
.game-selection-section {
    background-color: #1a1a2e;
}

.section-description {
    text-align: center;
    font-size: 1.1em;
    color: #b0b0b0;
    margin-bottom: 50px;
}

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

.game-card {
    background-color: #0f3460;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    position: relative;
}

.game-card:hover {
    transform: translateY(-10px);
}

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

.game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.game-info {
    padding: 20px;
    text-align: center;
    position: relative;
}

.game-info h3 {
    margin-top: 0;
    color: #e94560;
}

.game-info p {
    font-size: 0.9em;
    color: #b0b0b0;
    min-height: 60px; /* Ensure consistent height */
}

.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #e94560;
    font-size: 3em;
    display: none; /* Hidden by default */
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.play-button {
    margin-top: 15px;
    opacity: 0;
    pointer-events: none; /* Disable interaction when hidden */
    transition: opacity 0.3s ease;
}

.game-card.active .play-button {
    opacity: 1;
    pointer-events: auto;
}

.game-card.loading .game-info p, .game-card.loading .game-info h3 {
    visibility: hidden;
}

.game-card.loading .loading-spinner {
    display: block;
}





.game-modal-content {
    position: relative;
    width: 95%;
    height: 95%;
    background-color: #1a1a2e;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.close-modal-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #e94560;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    cursor: pointer;
    z-index: 2001;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.close-modal-btn:hover {
    background-color: #ff7b92;
    transform: rotate(90deg);
}

#gameIframe {
    width: 100%;
    height: 100%;
    border: none;
    background-color: #000;
}

/* Responsible Play Section */
.responsible-play-section {
    background-color: #16213e;
}

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

.responsible-item {
    background-color: #0f3460;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.responsible-item h3 {
    color: #e94560;
    margin-top: 0;
}

.responsible-cta {
    text-align: center;
    margin-top: 40px;
    font-size: 1.1em;
    color: #b0b0b0;
}

/* Testimonials Section */
.testimonials-section {
    background-color: #1a1a2e;
}

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

.testimonial-card {
    background-color: #0f3460;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.avatar-container {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 3px solid #e94560;
    flex-shrink: 0;
}

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

.testimonial-text {
    font-style: italic;
    color: #b0b0b0;
    margin-bottom: 15px;
    flex-grow: 1;
}

.testimonial-author {
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
}

.testimonial-date {
    font-size: 0.85em;
    color: #888;
}

/* Disclaimer Block */
.disclaimer-section {
    background-color: #2c0000; /* Dark red/maroon for warning */
    padding: 40px 0;
    border-top: 3px solid #e94560;
    border-bottom: 3px solid #e94560;
    text-align: center;
}

.disclaimer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    color: #fff;
}

.disclaimer-icon {
    font-size: 3em;
    color: #e94560;
    margin-bottom: 15px;
}

.disclaimer-title {
    color: #e94560;
    margin-bottom: 15px;
    font-size: 2em;
}

.disclaimer-content p {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 0;
}

/* Footer */
.footer {
    background-color: #0f3460;
    color: #b0b0b0;
    padding: 60px 0 40px;
    font-size: 0.9em;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-brand {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
}

.footer-brand .logo-link {
    margin-bottom: 15px;
}

.footer-logo {
    height: 40px;
    margin-right: 10px;
}

.footer-text {
    margin: 0;
    line-height: 1.8;
}

.footer-links {
    flex: 1 1 200px;
}

.footer-links h4 {
    color: #fff;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #b0b0b0;
}

.footer-links a:hover {
    color: #e94560;
}

.footer-partners {
    flex: 1 1 300px;
}

.footer-partners h4 {
    color: #fff;
    margin-bottom: 20px;
}

.partner-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: center; /* Center logos horizontally */
}

.partner-logo {
    max-width: 120px;
    height: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.partner-logo.18plus-icon {
    max-width: 60px;
    height: auto;
}

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

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background-color: #16213e;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    text-align: center;
    max-width: 500px;
    width: 90%;
    color: #e0e0e0;
}

.age-verification-content h2 {
    color: #e94560;
    margin-bottom: 20px;
}

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

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

/* Scroll lock for body */
body.modal-open {
    overflow: hidden;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 3.5em;
    }

    .hero-image {
        margin-top: 40px;
    }

    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .main-nav ul {
        margin-top: 20px;
        justify-content: center;
    }

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

    .header-info {
        margin-top: 20px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-brand, .footer-links, .footer-partners {
        width: 100%;
        max-width: 400px;
    }

    .footer-brand {
            flex: inherit;
        }

    .footer-links ul {
        align-items: center;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.8em;
    }

    h2 {
        font-size: 2em;
    }

    .hero-section {
        padding: 80px 0;
    }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-nav li {
        margin: 5px 10px;
    }

    .game-grid, .testimonial-grid, .responsible-content, .about-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        padding: 30px 20px;
    }

    .age-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.2em;
    }

    h2 {
        font-size: 1.8em;
    }

    .hero-text p {
        font-size: 1em;
    }

    .hero-text ul li {
        font-size: 0.95em;
    }

    .editorial-badge {
        font-size: 0.8em;
    }

    .logo-link {
        font-size: 1.5em;
    }

    .logo {
        height: 35px;
    }

    .responsible-text {
        font-size: 0.8em;
    }

    .partner-logo {
        max-width: 100px;
    }

    .partner-logo.18plus-icon {
        max-width: 50px;
    }
}/* Parent container styling for spacing and layout */
.securePolicyGrid {
    padding-top: 60px; /* Top padding for the section */
    padding-bottom: 60px; /* Bottom padding for the section */
    padding-left: 20px; /* Left padding for content */
    padding-right: 20px; /* Right padding for content */
    max-width: 960px; /* Limit content width for readability on large screens */
    margin-left: auto; /* Center the container horizontally */
    margin-right: auto; /* Center the container horizontally */
}

/* Heading 1 styles - Moderate size */
.securePolicyGrid h1 {
    font-size: 32px; /* A good, prominent size without being overly large */
    line-height: 1.2; /* Tighter line height for headings */
    margin-top: 30px; /* Space above the heading */
    margin-bottom: 20px; /* Space below the heading */
    font-weight: bold; /* Standard bold weight */
}

/* Heading 2 styles - Moderate size */
.securePolicyGrid h2 {
    font-size: 28px; /* Slightly smaller than h1 */
    line-height: 1.25;
    margin-top: 25px;
    margin-bottom: 20px;
    font-weight: bold;
}

/* Heading 3 styles - Moderate size */
.securePolicyGrid h3 {
    font-size: 24px; /* Standard size for sub-sections */
    line-height: 1.3;
    margin-top: 20px;
    margin-bottom: 16px;
    font-weight: bold;
}

/* Heading 4 styles - Moderate size */
.securePolicyGrid h4 {
    font-size: 20px; /* Slightly larger than body text */
    line-height: 1.35;
    margin-top: 15px;
    margin-bottom: 12px;
    font-weight: bold;
}

/* Heading 5 styles - Moderate size */
.securePolicyGrid h5 {
    font-size: 18px; /* Closer to body text, for minor headings */
    line-height: 1.4;
    margin-top: 10px;
    margin-bottom: 10px;
    font-weight: bold;
}

/* Paragraph styles */
.securePolicyGrid p {
    font-size: 16px; /* Standard body text size for readability */
    line-height: 1.6; /* Good line height for paragraph readability */
    margin-top: 0; /* Reset default browser margin-top */
    margin-bottom: 16px; /* Space between paragraphs */
}

/* Unordered list styles */
.securePolicyGrid ul {
    list-style-type: disc; /* Default bullet style */
    margin-top: 16px; /* Space above the list */
    margin-bottom: 16px; /* Space below the list */
    padding-left: 24px; /* Indentation for bullet points */
}

/* List item styles */
.securePolicyGrid li {
    font-size: 16px; /* Consistent font size with paragraphs */
    line-height: 1.6; /* Consistent line height with paragraphs */
    margin-bottom: 8px; /* Space between individual list items */
}

.gameFrame{
    margin-bottom: 50px;
}

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