@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&display=swap');

:root {
    --bg-color: #E8D7C0;
    --surface: #FFF9EE;
    --primary: #B45309;
    --primary-hover: #8A3B03;
    --text-dark: #2C1808;
    --text-muted: #6E4D33;
    --border-color: #C8A57C;
    --shadow-color: #BF8A52;
}

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

body {
    font-family: 'Fredoka', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
}

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

/* Header */
.header {
    background-color: var(--surface);
    border-bottom: 3px solid var(--border-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo img {
    width: 40px;
    border-radius: 8px;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    margin-left: 20px;
    transition: color 0.3s;
}

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

/* Hero Section */
.hero {
    padding: 60px 0;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.play-store-btn img {
    height: 60px;
    transition: transform 0.2s;
}

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

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 300px;
    border-radius: 24px;
    border: 4px solid var(--surface);
    box-shadow: 0 10px 20px rgba(44, 24, 8, 0.2);
}

/* Features */
.features {
    background-color: var(--surface);
    padding: 60px 0;
    border-top: 2px solid var(--border-color);
    border-bottom: 2px solid var(--border-color);
}

.features h2 {
    text-align: center;
    color: var(--primary);
    font-size: 36px;
    margin-bottom: 40px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--bg-color);
    padding: 25px;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    box-shadow: 0 4px 0 var(--shadow-color);
    text-align: center;
}

.feature-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 22px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 16px;
}

/* Screenshots */
.screenshots {
    padding: 60px 0;
}

.screenshots h2 {
    text-align: center;
    color: var(--primary);
    font-size: 36px;
    margin-bottom: 40px;
}

.screenshot-gallery {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--surface);
}

.screenshot-gallery::-webkit-scrollbar {
    height: 10px;
}

.screenshot-gallery::-webkit-scrollbar-track {
    background: var(--surface);
    border-radius: 10px;
}

.screenshot-gallery::-webkit-scrollbar-thumb {
    background-color: var(--primary);
    border-radius: 10px;
}

.screenshot-gallery img {
    height: 400px;
    border-radius: 16px;
    border: 3px solid var(--surface);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: var(--surface);
    text-align: center;
    padding: 40px 0;
}

footer a {
    color: var(--bg-color);
    text-decoration: underline;
}

footer p {
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 36px;
    }
}

/* Animations */
.fade-in-hidden {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}
