/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #D9822B;
    --primary-dark: #B86B1F;
    --secondary-color: #D9822B;
    --text-color: #3A2418;
    --text-light: #5C4033;
    --background: #FDF8F3;
    --background-alt: #F5EDE4;
    --border-color: #E0D5C9;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--background);
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* Navigation */
.navbar {
    background: var(--background);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.logo img {
    height: 75px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-color);
    border-radius: 3px;
    transition: 0.3s;
}

/* Main Content */
main {
    margin-top: 80px;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 1.5rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 350px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* App Buttons */
.app-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.app-btn img {
    height: 40px;
    width: auto;
    transition: all 0.3s;
    opacity: 0.75;
}

.app-btn:hover img {
    opacity: 1;
}

.app-btn.play-store img {
    height: 45px;
    width: 140px;
}

.app-btn.app-store img {
    height: 45px;
    width: 140px;
}

/* Play Now Button - Primary CTA */
.play-now-section {
    margin-bottom: 2rem;
}

.play-now-btn {
    display: inline-block;
    padding: 20px 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(217, 130, 43, 0.4);
    letter-spacing: 0.5px;
}

.play-now-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(217, 130, 43, 0.5);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

/* Store Badges - Secondary CTAs */
.app-buttons-label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.app-btn:hover img {
    transform: scale(1.05);
}

/* Features Section */
.features {
    background: var(--background-alt);
    padding: 5rem 2rem;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--background);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-light);
}

/* How to Play Section */
.how-to-play {
    padding: 5rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.how-to-play h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.instructions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.instruction-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--background-alt);
    border-radius: 12px;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-weight: bold;
    flex-shrink: 0;
}

.instruction-step p {
    color: var(--text-color);
    font-size: 1.1rem;
}

/* Download CTA Section */
.download-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-align: center;
    padding: 5rem 2rem;
}

.download-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.download-cta p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.download-cta .cta-buttons {
    margin-bottom: 2rem;
}

.download-cta .play-now-btn {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.download-cta .play-now-btn:hover {
    background: var(--background);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cta-secondary-label {
    font-size: 0.95rem !important;
    opacity: 0.7 !important;
    margin-bottom: 1rem !important;
}

.download-cta .app-buttons {
    justify-content: center;
}

.download-cta .app-btn img {
    opacity: 0.85;
}

.download-cta .app-btn:hover img {
    opacity: 1;
}

/* Page Header (for inner pages) */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-align: center;
    padding: 4rem 2rem;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    opacity: 0.9;
    font-size: 1.1rem;
}

/* Content Section (for inner pages) */
.content-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.content-section h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-section h2:first-child {
    margin-top: 0;
}

.content-section p {
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.content-section li {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.content-section a {
    color: var(--primary-color);
}

.content-section a:hover {
    text-decoration: underline;
}

/* About Page */
.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.about-feature {
    text-align: center;
    padding: 2rem;
    background: var(--background-alt);
    border-radius: 12px;
}

.about-feature .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-feature h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Contact Page */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.contact-card {
    text-align: center;
    padding: 2rem;
    background: var(--background-alt);
    border-radius: 12px;
}

.contact-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-card a {
    color: var(--primary-color);
    font-weight: 500;
}

/* Footer */
footer {
    background: #2D1A10;
    color: rgba(255, 255, 255, 0.85);
    padding: 4rem 2rem 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-tagline {
    font-size: 0.95rem;
    opacity: 0.7;
    margin-bottom: 2rem;
    letter-spacing: 0.3px;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-logo img {
    width: 36px;
    height: 36px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Privacy Policy Specific */
.last-updated {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--background);
        flex-direction: column;
        padding: 1rem 2rem;
        gap: 1rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .description {
        margin-left: auto;
        margin-right: auto;
    }

    .app-buttons {
        justify-content: center;
    }

    .hero-image img {
        max-width: 280px;
    }

    .features h2,
    .how-to-play h2,
    .download-cta h2 {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .app-btn.app-store img {
        height: 45px;
        width: 140px;
    }

    .app-btn.play-store img {
        height: 45px;
        width: 140px;
    }

    .instruction-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Feedback Form */
.feedback-section {
    background: var(--background-alt);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    text-align: center;
}

.feedback-section h2 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.feedback-section > p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.feedback-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--primary-color);
    color: white !important;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
}

.feedback-btn:link,
.feedback-btn:visited,
.feedback-btn:active,
.feedback-btn:focus {
    color: white !important;
}

.feedback-btn:hover {
    background: var(--primary-dark);
    color: white !important;
}

.feedback-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.contact-email-note {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.contact-email-note a {
    color: var(--primary-color);
    font-weight: 500;
}

.contact-email-note a:hover {
    text-decoration: underline;
}
