/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #1a2a2a; /* Dark green-grey background */
    color: #e0e0e0; /* Light grey text */
    line-height: 1.6;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #90ee90; /* Light green for headings */
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 10px;
    color: #90ee90;
}

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

/* Buttons */
.btn-primary {
    background-color: #4CAF50; /* Green */
    border-color: #4CAF50;
    color: #ffffff;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 8px;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    text-decoration: none !important; /* Remove underline */
}

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

.btn-outline-light {
    border-color: #e0e0e0;
    color: #e0e0e0;
    text-decoration: none !important; /* Remove underline */
}

.btn-outline-light:hover {
    background-color: #e0e0e0;
    color: #1a2a2a;
}

/* Navigation */
.header-section {
    background-color: #1a2a2a; /* Darker green-grey for header */
    border-bottom: 1px solid #334444;
    position: sticky;
    top: 0;
    z-index: 1020;
}

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

.site-title {
    color: #90ee90;
    font-weight: 700;
}

.nav-link {
    color: #e0e0e0 !important;
    font-weight: 600;
    transition: color 0.3s ease;
    text-decoration: none !important; /* Remove underline */
}

.nav-link:hover {
    color: #4CAF50 !important;
}

/* Hero Section */
.hero-section {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.hero-section .game-title {
    font-size: 4.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-section .game-slogan {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.game-container {
    position: relative;
    width: 100%;
    max-width: 1200px; /* Adjust as needed */
    margin: 0 auto;
    background-color: #000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.game-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2;
    transition: opacity 0.5s ease;
}

.game-poster-img {
    height: 550px;
    width: 100%;
    padding: 15px;
    object-fit: contain;
    border-radius: 10px;
}

.play-now-btn {
    z-index: 3;
}

.brief-description {
    max-width: 600px;
    margin-top: 20px;
    font-size: 1.1rem;
    color: #cccccc;
}

.game-iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.game-iframe.d-none {
    opacity: 0;
    pointer-events: none;
}

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

/* Background Colors */
.bg-dark-green {
    background-color: #2e4a4a; /* A slightly lighter dark green */
    color: #e0e0e0;
}

.bg-light-green {
    background-color: #446666; /* A medium green-grey */
    color: #1a2a2a;
}

/* App Details & Game Modes Cards */
.feature-card, .game-mode-card, .stats-card, .download-stats-card, .review-item, .security-content, .ratings-chart, .newsletter-form {
    background-color: rgba(0, 0, 0, 0.3); /* Transparent dark for cards */
    border: 1px solid rgba(144, 238, 144, 0.3); /* Light green border */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover, .game-mode-card:hover, .stats-card:hover, .download-stats-card:hover, .review-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.feature-icon, .game-mode-icon, .download-icon, .security-icon {
    font-size: 3rem;
    color: #4CAF50;
}

.game-mode-card .badge {
    font-size: 0.85em;
    padding: 0.5em 0.8em;
    border-radius: 5px;
}

/* Game Reviews */
.review-form {
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(144, 238, 144, 0.3);
    color: #e0e0e0;
}

.review-form .form-label {
    color: #90ee90;
}

.review-form .form-control, .review-form .form-control:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(144, 238, 144, 0.5);
    color: #e0e0e0;
}

.review-form .form-control::placeholder {
    color: #b0b0b0;
}

.review-form .form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(76, 175, 80, 0.25);
}

.rating-stars .star-icon {
    font-size: 1.5rem;
    color: #ccc;
    cursor: pointer;
    transition: color 0.2s ease;
}

.rating-stars .star-icon.bi-star-fill {
    color: #FFD700; /* Gold color for filled stars */
}

.star-rating-display .bi-star-fill {
    color: #FFD700;
}

.review-avatar {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border: 2px solid #4CAF50;
}

.reviews-list {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 15px; /* For scrollbar */
}

.reviews-list::-webkit-scrollbar {
    width: 8px;
}

.reviews-list::-webkit-scrollbar-track {
    background: #334444;
    border-radius: 10px;
}

.reviews-list::-webkit-scrollbar-thumb {
    background: #4CAF50;
    border-radius: 10px;
}

/* Game Stats */
.progress {
    height: 25px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

.progress-bar {
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Newsletter Form */
.newsletter-form {
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(144, 238, 144, 0.3);
    color: #e0e0e0;
}

.newsletter-form .form-label {
    color: #90ee90;
}

.newsletter-form .form-control, .newsletter-form .form-control:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(144, 238, 144, 0.5);
    color: #e0e0e0;
}

.newsletter-form .form-control::placeholder {
    color: #b0b0b0;
}

.newsletter-form .form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(76, 175, 80, 0.25);
}

/* Footer */
.footer-section {
    background-color: #1a2a2a;
    border-top: 1px solid #334444;
    color: #e0e0e0;
}

.footer-logo-link .site-logo-footer {
    height: 35px;
    width: auto;
}

.footer-logo-link .site-title-footer {
    color: #90ee90;
    font-weight: 700;
}

.report-bug-link, .footer-links a {
    color: #4CAF50;
    transition: color 0.3s ease;
}

.report-bug-link:hover, .footer-links a:hover {
    color: #90ee90;
}

.footer-divider {
    border-color: #334444;
}

.copyright-text {
    font-size: 0.9rem;
    color: #b0b0b0;
}

/* Cookie Banner */
.cookie-banner {
    background-color: #1a2a2a !important;
    border-top: 1px solid #334444;
    z-index: 1050;
}

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

.cookie-policy-link {
    color: #4CAF50 !important;
}

.cookie-policy-link:hover {
    color: #90ee90 !important;
}

.modal-content {
    background-color: #2e4a4a !important;
    border: 1px solid #4CAF50;
    color: #e0e0e0;
}

.modal-header {
    border-bottom-color: #446666 !important;
}

.modal-footer {
    border-top-color: #446666 !important;
}

.btn-close-white {
    filter: invert(1);
}

.form-check-label {
    color: #90ee90;
}

.form-check-input:checked {
    background-color: #4CAF50;
    border-color: #4CAF50;
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(76, 175, 80, 0.25);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero-section .game-title {
        font-size: 3.5rem;
    }
    .hero-section .game-slogan {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }
    .header-section .container {
        flex-direction: column;
    }
    .header-section .nav {
        margin-top: 1rem;
    }
    .footer-section .text-md-start, .footer-section .text-md-end {
        text-align: center !important;
    }
    .footer-section .footer-links {
        margin-top: 1rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section .game-title {
        font-size: 2.5rem;
    }
    .hero-section .game-slogan {
        font-size: 1rem;
    }

    .play-now-btn {
        padding: 10px 20px;
        font-size: 1rem;
    }
    .brief-description {
        font-size: 0.9rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .cookie-banner .d-flex {
        flex-direction: column;
        width: 100%;
    }
    .cookie-banner .btn {
        width: 100%;
        margin-right: 0 !important;
        margin-bottom: 0.5rem;
    }
    .cookie-banner .btn:last-child {
        margin-bottom: 0;
    }
}
/* Parent wrapper for content */
.rightsCloudWrap {
    padding: 40px 20px; /* Padding top/bottom and left/right */
    margin: 0 auto; /* Center the wrapper */
    max-width: 900px; /* Max width for content readability */
    color: #e0e0e0; /* Inherit light grey text color */
}

/* Headings within the wrapper */
.rightsCloudWrap h1 {
    font-size: 2.2rem; /* Moderate size for main heading */
    margin-bottom: 1.5rem; /* Space below heading */
    color: #90ee90; /* Light green for headings */
}

.rightsCloudWrap h2 {
    font-size: 1.8rem; /* Smaller heading */
    margin-top: 2rem; /* Space above heading */
    margin-bottom: 1.2rem; /* Space below heading */
    color: #90ee90;
}

.rightsCloudWrap h3 {
    font-size: 1.5rem; /* Even smaller heading */
    margin-top: 1.8rem;
    margin-bottom: 1rem;
    color: #90ee90;
}

.rightsCloudWrap h4 {
    font-size: 1.3rem; /* Sub-heading */
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: #90ee90;
}

.rightsCloudWrap h5 {
    font-size: 1.1rem; /* Smallest heading */
    margin-top: 1.2rem;
    margin-bottom: 0.6rem;
    color: #90ee90;
}

/* Paragraphs within the wrapper */
.rightsCloudWrap p {
    font-size: 1rem; /* Standard paragraph font size */
    margin-bottom: 1rem; /* Space between paragraphs */
    line-height: 1.7; /* Improved readability */
}

/* Unordered lists within the wrapper */
.rightsCloudWrap ul {
    list-style: disc; /* Default disc bullet points */
    padding-left: 25px; /* Indent list items */
    margin-bottom: 1rem; /* Space below the list */
}

/* List items within the wrapper */
.rightsCloudWrap li {
    font-size: 1rem; /* Standard list item font size */
    margin-bottom: 0.5rem; /* Space between list items */
    line-height: 1.6; /* Improved readability */
}

/* Responsive adjustments for the wrapper content */
@media (max-width: 767.98px) {
    .rightsCloudWrap {
        padding: 30px 15px; /* Adjust padding for smaller screens */
    }

    .rightsCloudWrap h1 {
        font-size: 2rem;
    }

    .rightsCloudWrap h2 {
        font-size: 1.6rem;
    }

    .rightsCloudWrap h3 {
        font-size: 1.3rem;
    }

    .rightsCloudWrap h4 {
        font-size: 1.1rem;
    }

    .rightsCloudWrap h5 {
        font-size: 1rem;
    }

    .rightsCloudWrap p,
    .rightsCloudWrap li {
        font-size: 0.95rem;
    }

    .rightsCloudWrap ul {
        padding-left: 20px;
    }
}

#security-info-game,
.card-body{
    color: #fff !important;
}

.card-body{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 100%;
}

.d-flex.justify-content-between.align-items-center.mb-3{
    flex-direction: column;
    gap: 15px
}

.card.download-stats-card.text-center.p-4.h-100{
    width: 100%;

}

@media (max-width: 575px){
    .nav{
        justify-content: center;
        align-items: center;
    }

    .game-poster-img{
        height: auto;
    }
    
}

@media (max-width: 767px){
    .reviews-list{
        max-height: none;
        padding: 0 !important;
    }

    .progress{
        width: 100%;
    }

    .progress-bar{
        overflow: visible !important;
    }

    
}
