:root {
    --primary-color: #b6572b;
    --secondary-color: #d1c2b4;
    --accent-color: #aa5229;
    --dark-bg: #2a241e;
    --light-bg: #e0d8cd;
    --text-dark: #2a241e;
    --text-light: #50453a;
    --white: #f5f5f5;
    --gray-light: #fafafa;
    --cream: #e0d8cd;
    --coffee: #50453a;
    --mocha: #383029;
    --mushroom: #918a82;
    --beige: #b8b0a7;
    --success: #3b8c75;
    --shadow: 0 10px 30px rgba(42, 36, 30, 0.1);
    --border-radius: 12px;
}

/* Dark theme removed - using single color palette */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Section backgrounds */
.features-section,
.download-section {
    background: var(--cream);
}

.screenshots-section,
.community-section {
    background: var(--gray-light);
}

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

/* Header Styles */
.navbar {
    background: rgba(245, 245, 245, 0.75);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(42, 36, 30, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    height: 70px;
    pointer-events: auto;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    height: 100%;
}

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

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

.download-nav {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(182, 87, 43, 0.3);
}

.download-nav:hover {
    background: var(--accent-color);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(182, 87, 43, 0.4);
}

.download-nav::after {
    display: none;
}

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

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 70px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(42, 36, 30, 0.7) 0%, rgba(56, 48, 41, 0.5) 100%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 4rem 0;
}

.hero-text {
    max-width: 600px;
}

.game-badge {
    display: inline-block;
    background: var(--success);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    font-weight: 500;
}

.stat-item i {
    font-size: 1.125rem;
}

.stat-item .fa-star {
    color: #FFD700;  /* Gold color for rating star */
    text-shadow: 0 0 3px rgba(255, 215, 0, 0.5);
}

.stat-item .fa-download {
    color: #4CAF50;  /* Green color for downloads */
    text-shadow: 0 0 3px rgba(76, 175, 80, 0.5);
}

.stat-item .fa-users {
    color: #2196F3;  /* Blue color for community */
    text-shadow: 0 0 3px rgba(33, 150, 243, 0.5);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.download-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.download-button.primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(182, 87, 43, 0.3);
}

.download-button.primary:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(182, 87, 43, 0.4);
}

.download-button.primary i {
    color: var(--white);
}

.download-button.secondary {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    border: 2px solid rgba(255, 255, 255, 0.95);
}

.download-button.secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.download-button i {
    font-size: 1.5rem;
}

.button-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
}

.button-store {
    display: block;
    font-size: 1.125rem;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: var(--light-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--gray-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(42, 36, 30, 0.15);
    border-color: var(--secondary-color);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
    box-shadow: 0 2px 8px rgba(122, 58, 29, 0.3);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

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

/* Showcase Section */
.showcase-section {
    position: relative;
    padding: 8rem 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.showcase-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(42, 36, 30, 0.8) 0%, rgba(56, 48, 41, 0.6) 100%);
}

.showcase-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
}

.showcase-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.showcase-text {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.image-credit {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Screenshots Section */
.screenshots-section {
    padding: 5rem 0;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.screenshot-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    background: var(--mocha);
    cursor: zoom-in;
}

.screenshot-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.screenshot-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.screenshot-card:hover img {
    transform: scale(1.1);
}

.screenshot-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(42, 36, 30, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.screenshot-card:hover .screenshot-overlay {
    opacity: 1;
}

.screenshot-overlay i {
    color: var(--white);
    font-size: 2rem;
}

/* Download Section */
.download-section {
    padding: 5rem 0;
    background: var(--light-bg);
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.download-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.download-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.download-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.download-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
}

.download-feature i {
    color: var(--success);
    font-size: 1.125rem;
}

.google-play-button img {
    height: 60px;
    transition: transform 0.3s ease;
}

.google-play-button:hover img {
    transform: scale(1.05);
}

.phone-mockup {
    position: relative;
    width: 600px;
    height: 300px;
    background: var(--mocha);
    border-radius: 30px;
    padding: 15px;
    box-shadow: 0 20px 50px rgba(42, 36, 30, 0.25);
    margin: 0 auto;
}

.mockup-screen {
    width: 100%;
    height: 100%;
    background: var(--coffee);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.mockup-gameplay {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Community Section */
.community-section {
    padding: 5rem 0;
}

.community-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.community-card {
    background: var(--gray-light);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.twitter-timeline-wrapper {
    max-height: 400px;
    overflow-y: auto;
}

.community-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.community-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--gray-light);
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.community-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.community-link i {
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
}

.community-link.twitter i { color: #1DA1F2; }
.community-link.facebook i { color: #1877F2; }
.community-link.email i { color: var(--primary-color); }
.community-link.business i { color: var(--coffee); }

/* Google Play specific styling removed */

.community-link h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.community-link p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
}

/* Footer */
.footer {
    background: var(--mocha);
    color: var(--cream);
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

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

.footer-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 3px 10px rgba(122, 58, 29, 0.3);
}

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

.footer-info p {
    margin: 0.25rem 0;
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Floating Download Button */
.floating-download {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
}

.floating-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(182, 87, 43, 0.4);
    transition: all 0.3s ease;
}

.floating-button:hover {
    transform: translateY(-3px);
    background: var(--accent-color);
    box-shadow: 0 8px 30px rgba(182, 87, 43, 0.5);
}

.floating-button i {
    color: var(--white);
}

.floating-button i {
    font-size: 1.25rem;
}

/* Theme Toggle Button */
/* Theme toggle removed */

/* Dark mode specific styles */
/* Dark theme styles removed */

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeIn 0.8s ease-out forwards;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }
.hero-content > *:nth-child(5) { animation-delay: 0.5s; }

/* Modal/Lightbox styles */
.screenshot-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
    animation: fadeIn 0.3s ease;
}

.screenshot-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.modal-content img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    border-radius: var(--border-radius);
}

.modal-close {
    position: absolute;
    top: -40px;
    right: -40px;
    color: var(--white);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    background: none;
    border: none;
    padding: 10px;
}

.modal-close:hover {
    color: var(--primary-color);
}