/* Custom CSS for Chicken Road Landing Page */

/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #388E3C; /* Darker green for default text on light backgrounds */
    background-color: #F0F4F0; /* Very light green/off-white background */
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #388E3C; /* Darker green for headings on light backgrounds */
}

/* Color Scheme Variables */
:root {
    --primary-green: #4CAF50; /* Main accent green */
    --dark-green: #388E3C; /* Darker green for text and dark sections */
    --light-green: #C8E6C9; /* Lighter green for section backgrounds */
    --background-light: #F0F4F0; /* Overall page background */
    --text-on-dark: #FFFFFF; /* White text on dark backgrounds */
    --text-on-light: #388E3C; /* Dark green text on light backgrounds */
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh; /* Make it full viewport height */
    background-image: url('graphics/pics/chicken-road-hero-banner.png'); /* Hero banner image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px; /* Add some padding */
    box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.5); /* Dark overlay */
    color: var(--text-on-dark); /* White text for hero */
}

.hero-section .container {
    z-index: 1; /* Ensure content is above overlay */
}

.hero-section h1 {
    color: var(--text-on-dark); /* White text for hero title */
    font-size: 4.5rem; /* Larger title */
    margin-bottom: 0.5rem;
}

.hero-section p.lead {
    color: var(--text-on-dark); /* White text for hero subtitle */
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.hero-section .logo-image {
    max-width: 150px; /* Adjust logo size */
    height: auto;
    border-radius: 15px; /* Slightly rounded corners for logo */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.play-now-btn {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    color: var(--text-on-dark);
    font-weight: 600;
    padding: 15px 40px;
    font-size: 1.5rem;
    border-radius: 50px; /* Pill-shaped button */
    transition: background-color 0s, border-color 0s, transform 0s; /* No animation */
}

.play-now-btn:hover,
.play-now-btn:active,
.play-now-btn:focus {
    background-color: var(--dark-green);
    border-color: var(--dark-green);
    color: var(--text-on-dark);
    box-shadow: none !important; /* Remove default Bootstrap focus shadow */
    transform: none; /* No scaling or other animation */
}

/* Section Styling */
section {
    padding: 80px 0; /* Consistent vertical padding */
}

section h2 {
    color: inherit; /* Inherit color from parent section */
    margin-bottom: 40px;
}

/* About Game Section */
#about-game {
    background-color: var(--light-green);
    color: var(--text-on-light);
}

#about-game p.lead {
    font-size: 1.25rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* How to Play & Key Features Sections */
#how-to-play,
#technical-details {
    background-color: var(--dark-green);
    color: var(--text-on-dark);
}

#key-features {
    background-color: var(--light-green);
    color: var(--text-on-light);
}

.how-to-list,
.feature-list {
    font-size: 1.3rem;
    line-height: 2.2;
    padding: 0;
}

.how-to-list li,
.feature-list li {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.how-to-list i,
.feature-list i {
    font-size: 1.8rem;
    color: var(--primary-green); /* Green icons */
    margin-right: 10px;
}

/* Technical Details Section */
.detail-list dt {
    font-weight: 600;
    margin-bottom: 10px;
}

.detail-list dd {
    margin-bottom: 10px;
    color: var(--text-on-dark); /* White text for values */
}

/* Footer */
.footer {
    background-color: var(--dark-green);
    color: var(--text-on-dark);
    padding: 40px 0;
}

.footer .logo-link {
    display: block;
    margin-bottom: 20px;
}

.footer-logo-image {
    max-width: 100px; /* Smaller logo in footer */
    height: auto;
    border-radius: 10px;
}

.footer p {
    font-size: 0.95rem;
    margin-bottom: 15px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.footer-links a {
    color: var(--text-on-dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0s; /* No animation */
}

.footer-links a:hover {
    color: var(--primary-green); /* Green on hover */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 3rem;
    }

    .hero-section p.lead {
        font-size: 1.25rem;
    }

    .play-now-btn {
        padding: 10px 30px;
        font-size: 1.2rem;
    }

    section {
        padding: 50px 0;
    }

    section h2 {
        font-size: 2rem;
    }

    .how-to-list li,
    .feature-list li {
        justify-content: flex-start; /* Align left on small screens */
        text-align: left;
    }

    .detail-list dt,
    .detail-list dd {
        text-align: left !important; /* Align left on small screens */
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: auto; /* Allow hero to shrink on very small screens */
        min-height: 100vh; /* Ensure it's still tall enough */
    }
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .hero-section p.lead {
        font-size: 1rem;
    }
    .play-now-btn {
        font-size: 1rem;
        padding: 8px 25px;
    }
    .how-to-list,
    .feature-list {
        font-size: 1.1rem;
    }
    .how-to-list i,
    .feature-list i {
        font-size: 1.5rem;
    }
}/* New styles for .securePolicyGrid and its children */

/* Container for policy content */
.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; /* Max width for content readability */
    margin-left: auto; /* Center the container */
    margin-right: auto; /* Center the container */
    color: var(--text-on-light); /* Ensure text color is appropriate for light background */
}

/* Headings within policy content */
.securePolicyGrid h1 {
    font-size: 2.2rem; /* Moderate size for main heading */
    margin-bottom: 1.5rem; /* Spacing below heading */
    color: var(--dark-green); /* Dark green for headings */
}

.securePolicyGrid h2 {
    font-size: 1.8rem; /* Moderate size for sub-headings */
    margin-top: 2rem; /* Spacing above heading */
    margin-bottom: 1.2rem; /* Spacing below heading */
    color: var(--dark-green);
}

.securePolicyGrid h3 {
    font-size: 1.5rem; /* Smaller sub-headings */
    margin-top: 1.8rem;
    margin-bottom: 1rem;
    color: var(--dark-green);
}

.securePolicyGrid h4 {
    font-size: 1.3rem; /* Even smaller headings */
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--dark-green);
}

.securePolicyGrid h5 {
    font-size: 1.1rem; /* Smallest headings */
    margin-top: 1.2rem;
    margin-bottom: 0.6rem;
    color: var(--dark-green);
}

/* Paragraphs within policy content */
.securePolicyGrid p {
    font-size: 1rem; /* Standard paragraph font size */
    line-height: 1.7; /* Good line height for readability */
    margin-bottom: 1rem; /* Spacing between paragraphs */
    color: var(--text-on-light);
}

/* Unordered lists within policy content */
.securePolicyGrid ul {
    list-style: disc; /* Default disc bullet points */
    margin-left: 20px; /* Indent list items */
    margin-bottom: 1rem; /* Spacing below the list */
    padding-left: 0; /* Ensure no extra padding from default browser styles */
}

/* List items within policy content */
.securePolicyGrid li {
    font-size: 1rem; /* Standard list item font size */
    line-height: 1.6; /* Line height for list items */
    margin-bottom: 0.5rem; /* Spacing between list items */
    color: var(--text-on-light);
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .securePolicyGrid {
        padding-top: 40px;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .securePolicyGrid h1 {
        font-size: 1.8rem;
    }

    .securePolicyGrid h2 {
        font-size: 1.5rem;
    }

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

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

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

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

@media (max-width: 576px) {
    .securePolicyGrid {
        padding-top: 30px;
        padding-bottom: 30px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .securePolicyGrid h1 {
        font-size: 1.6rem;
    }

    .securePolicyGrid h2 {
        font-size: 1.3rem;
    }
}
