body {
    font-family: 'Roboto', sans-serif;
    background-color: #f0f8ff; /* Light blue background */
    color: #333;
    line-height: 1.6;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Press Start 2P', cursive; /* A game-like font for titles */
    color: #007bff; /* Primary blue for headings */
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
    color: #0056b3; /* Darker blue for section titles */
}

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

/* Navbar */
.navbar {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 0.8rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
    color: #fff !important;
    font-weight: bold;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    text-decoration: none;
}

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

.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 500;
    margin-left: 15px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #007bff !important;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    color: #fff;
    padding-top: 56px; /* Adjust for fixed navbar height */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.hero-section h1 {
    margin-top: 80px;
    font-size: 4.5rem;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.hero-section p.lead {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

/* Game Iframe Container */
.game-iframe-container {
    position: relative;
    width: 100%;
    max-width: 1000px; /* Max width for the iframe */
    height: 700px; /* Fixed height for the iframe block */
    margin: 3rem auto 0 auto;
    background-color: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.game-poster-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2; /* Above iframe */
    transition: opacity 0.3s ease;
}

.game-poster-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.game-poster-overlay .game-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.game-poster-overlay .game-description {
    font-size: 1.2rem;
    max-width: 70%;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.game-iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1; /* Below poster overlay */
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    padding: 12px 30px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.1s ease;
    text-decoration: none; /* Remove underline */
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
    text-decoration: none; /* Ensure no underline on hover */
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline-primary {
    color: #007bff;
    border-color: #007bff;
    text-decoration: none; /* Remove underline */
}

.btn-outline-primary:hover {
    background-color: #007bff;
    color: #fff;
    text-decoration: none; /* Ensure no underline on hover */
}

/* Light Blue Background for sections */
.bg-light-blue {
    background-color: #e6f7ff; /* Slightly darker light blue for contrast */
}

/* App Details */
#app-details .features-list li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

#app-details .features-list i {
    color: #007bff;
}

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

.trust-badge-item img {
    max-width: 150px;
    height: auto;
}

/* Game Modes */
.game-mode-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.game-mode-card .card-img-top {
    height: 180px;
    object-fit: cover;
}

.game-mode-card .card-body {
    background-color: #fff;
}

.game-mode-card .card-title {
    color: #007bff;
    font-size: 1.3rem;
}

/* Update Log (Timeline) */
.timeline-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background-color: #a0d9ff; /* Light blue timeline line */
    transform: translateX(-50%);
    z-index: 0;
}

.timeline-item {
    list-style: none;
    position: relative;
    margin-bottom: 40px;
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
    margin-right: 50%;
    padding-right: 30px;
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: left;
    margin-left: 50%;
    padding-left: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #007bff;
    border: 3px solid #fff;
    border-radius: 50%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-content {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.timeline-content h4 {
    color: #0056b3;
    font-size: 1.2rem;
}

/* Game Reviews */
.review-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    background-color: #fff;
}

.review-card .avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #007bff;
}

.review-card .bi-star-fill {
    color: #ffc107; /* Gold star color */
}

.review-card .bi-star {
    color: #e0e0e0; /* Grey for empty stars */
}

/* Game Stats & Detailed Stats */
.stat-item {
    border: none;
    border-radius: 10px;
    background-color: #fff;
}

.stat-item i {
    color: #007bff;
}

.stat-item h3 {
    color: #333;
}

/* Security Info */
#security-info .alert {
    border-radius: 10px;
    font-size: 1.1rem;
}

/* Ratings Distribution */
.chart-container {
    background-color: #fff;
    border-radius: 10px;
}

/* Newsletter Form */
#newsletter-form .card {
    border: none;
    border-radius: 10px;
}

#newsletter-form .form-label {
    font-weight: 500;
}

/* Footer */
.footer {
    background-color: #002b4d; /* Dark blue footer */
    color: #e0f2f7;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.footer-brand {
    color: #fff !important;
    font-weight: bold;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin-bottom: 1rem;
}

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

.footer-links a {
    color: #ffffff !important; /* Lighter blue for footer links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}
 
.timeline {
    margin: 0 !important;
    padding: 0 !important;
}
.platform-icons i {
    color: #a0d9ff;
    transition: color 0.3s ease;
}

.platform-icons i:hover {
    color: #fff;
}

/* Cookie Banner */
.cookie-banner {
    background-color: #003366; /* Darker blue for cookie banner */
    color: #fff;
    z-index: 1050;
    left: 0;
    width: 100%;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.cookie-banner p {
    font-size: 0.9rem;
}

.cookie-banner .btn-success {
    background-color: #28a745;
    border-color: #28a745;
    text-decoration: none;
}

.cookie-banner .btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
    text-decoration: none;
}

.cookie-banner .btn-outline-light {
    color: #fff;
    border-color: #fff;
    text-decoration: none;
}

.cookie-banner .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
}

/* Cookie Modal */
#cookieSettingsModal .modal-content {
    border-radius: 10px;
}

#cookieSettingsModal .modal-header {
    background-color: #007bff;
    color: #fff;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

#cookieSettingsModal .modal-footer {
    border-top: none;
}

#cookieSettingsModal .btn-primary {
    text-decoration: none;
}

#cookieSettingsModal .btn-secondary {
    text-decoration: none;
}
#game-stats .row {
    justify-content: space-between;
}
#game-stats .col-md-4 {
    flex: 1;

}
#detailed-stats .row {
    justify-content: space-between;
}
#detailed-stats .col-md-4 {
    flex: 1;

}
#game-reviews .row {
    justify-content: center;
}
/* Responsive adjustments */
@media (max-width: 991.98px) {
    .hero-section h1 {
        font-size: 3.5rem;
    }
    .hero-section p.lead {
        font-size: 1.2rem;
    }
    .game-iframe-container {
        height: 600px;
    }
    .game-poster-overlay .game-title {
        font-size: 2.5rem;
    }
    .navbar-nav .nav-link {
        margin-left: 0;
        text-align: center;
    }
    .timeline::before {
        left: 18px;
    }
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-right: 0;
        margin-left: 50px;
        padding-left: 20px;
        padding-right: 0;
        text-align: left;
    }
    .timeline-item::before {
        left: 18px;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: 80vh;
    }
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .hero-section p.lead {
        font-size: 1rem;
    }
    .game-iframe-container {
        height: 500px;
    }
    .game-poster-overlay .game-title {
        font-size: 2rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .trust-badges {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    .trust-badge-item {
        margin: 0 10px;
    }
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 50px;
    }
    .cookie-banner .container {
        flex-direction: column;
        align-items: center;
    }
    .cookie-banner p {
        text-align: center;
        margin-bottom: 10px;
    }
    .cookie-banner .d-flex {
        width: 100%;
        justify-content: center;
    }
    .cookie-banner .btn {
        flex-grow: 1;
    }
}

@media (max-width: 575.98px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    .hero-section p.lead {
        font-size: 0.9rem;
    }
    .game-iframe-container {
        height: 450px;
    }
    .game-poster-overlay .game-title {
        font-size: 1.5rem;
    }
    .game-poster-overlay .game-description {
        font-size: 0.9rem;
    }
    .btn-primary {
        padding: 10px 20px;
        font-size: 1rem;
    }
    .section-title {
        font-size: 1.4rem;
    }
    .timeline::before {
        left: 10px;
    }
    .timeline-item::before {
        left: 10px;
    }
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 30px;
        padding-left: 15px;
    }
    .navbar-brand {
        font-size: 1.5rem;
    }
    .navbar-brand .logo-img {
        height: 35px;
    }
    .footer-brand {
        font-size: 1.5rem;
    }
    .footer-brand .logo-img-footer {
        height: 35px;
    }
}/* Styles for the policy content container */
.securePolicyGrid {
    padding: 40px 20px; /* Top/bottom padding and left/right padding */
    max-width: 960px; /* Max width for readability */
    margin: 0 auto; /* Center the container */
    background-color: #fff; /* White background for the content area */
    border-radius: 10px; /* Slightly rounded corners */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); /* Subtle shadow */
}

/* Heading 1 styles within securePolicyGrid */
.securePolicyGrid h1 {
    font-family: 'Roboto', sans-serif; /* Readable font for policy content */
    font-size: 2.2rem; /* Moderate font size */
    color: #333; /* Darker text color */
    margin-bottom: 1.5rem; /* Space below heading */
    line-height: 1.2; /* Line height for readability */
}

/* Heading 2 styles within securePolicyGrid */
.securePolicyGrid h2 {
    font-family: 'Roboto', sans-serif; /* Readable font for policy content */
    font-size: 1.8rem; /* Moderate font size */
    color: #333; /* Darker text color */
    margin-top: 2rem; /* Space above heading */
    margin-bottom: 1rem; /* Space below heading */
    line-height: 1.3; /* Line height for readability */
}

/* Heading 3 styles within securePolicyGrid */
.securePolicyGrid h3 {
    font-family: 'Roboto', sans-serif; /* Readable font for policy content */
    font-size: 1.5rem; /* Moderate font size */
    color: #333; /* Darker text color */
    margin-top: 1.8rem; /* Space above heading */
    margin-bottom: 0.8rem; /* Space below heading */
    line-height: 1.4; /* Line height for readability */
}

/* Heading 4 styles within securePolicyGrid */
.securePolicyGrid h4 {
    font-family: 'Roboto', sans-serif; /* Readable font for policy content */
    font-size: 1.3rem; /* Moderate font size */
    color: #333; /* Darker text color */
    margin-top: 1.5rem; /* Space above heading */
    margin-bottom: 0.7rem; /* Space below heading */
    line-height: 1.4; /* Line height for readability */
}

/* Heading 5 styles within securePolicyGrid */
.securePolicyGrid h5 {
    font-family: 'Roboto', sans-serif; /* Readable font for policy content */
    font-size: 1.1rem; /* Moderate font size */
    color: #333; /* Darker text color */
    margin-top: 1.2rem; /* Space above heading */
    margin-bottom: 0.6rem; /* Space below heading */
    line-height: 1.5; /* Line height for readability */
}

/* Paragraph styles within securePolicyGrid */
.securePolicyGrid p {
    font-size: 1rem; /* Standard paragraph font size */
    line-height: 1.7; /* Increased line height for better readability */
    color: #555; /* Slightly lighter text color for body */
    margin-bottom: 1rem; /* Space below paragraph */
}

/* Unordered list styles within securePolicyGrid */
.securePolicyGrid ul {
    list-style-type: disc; /* Default disc bullet points */
    margin-left: 25px; /* Indent list items */
    margin-bottom: 1rem; /* Space below the list */
    padding: 0; /* Remove default padding */
}

/* List item styles within securePolicyGrid */
.securePolicyGrid li {
    font-size: 1rem; /* Standard list item font size */
    line-height: 1.6; /* Line height for list items */
    color: #555; /* Slightly lighter text color */
    margin-bottom: 0.5rem; /* Space between list items */
}

section {
    overflow: hidden;
}