:root {
    --primary-color: #2c3e50;
    --accent-color: #e74c3c; /* Red for "Impostor" vibe */
    --secondary-color: #34495e;
    --light-bg: #f8f9fa;
    --text-color: #333;
    --white: #ffffff;
    --gradient-start: #1a2a3a;
    --gradient-end: #2c3e50;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

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

/* Header / Hero */
.hero {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: var(--white);
    padding-top: 20px;
    padding-bottom: 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 10px 0;
    gap: 20px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-switcher {
    display: flex;
    gap: 8px;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-btn.active {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.8);
    display: none;
}

.lang-flag {
    font-size: 1rem;
    line-height: 1;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.logo-link {
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
    font-size: 1.2rem;
    opacity: 0.8;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.nav-link:hover {
    opacity: 1;
}

.hero-content {
    padding-bottom: 100px;
}

.main-logo {
    max-width: 280px;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}

.tagline {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 30px;
    opacity: 0.9;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hero-wave {
    line-height: 0;
    width: 100%;
    position: absolute;
    bottom: -1px;
    left: 0;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: auto;
}

/* Buttons */
.store-badge {
    display: inline-flex;
    position: relative;
    z-index: 10;
    align-items: center;
    background-color: var(--white); /* Or black for contrast */
    color: var(--text-color);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.store-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.store-badge svg {
    margin-right: 10px;
    color: #3DDC84; /* Android Green */
}

.store-badge span {
    text-align: left;
    font-size: 0.8rem;
    line-height: 1.2;
}

.store-badge strong {
    display: block;
    font-size: 1rem;
}

/* How to Play */
.how-to-play {
    padding-top: 10px;
    padding-bottom: 60px;
    text-align: center;
    background-color: var(--white);
}

.section-desc {
    color: #666;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

/* New Step Layout */
.steps-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.step-row {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 20px;
}

.step-indicator {
    background-color: var(--accent-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0; /* Don't shrink */
    margin-top: 15px; /* Align with card title roughly */
}

.step-content {
    flex-grow: 1;
    display: flex;
    gap: 20px;
}

/* Split width for row 2 */
.split-width .step-card {
    flex: 1;
}

.step-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 12px;
    width: 100%;
    transition: transform 0.3s;
}

.step-card:hover {
    transform: translateY(-3px);
}

.step-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.step-card p {
    color: #555;
    font-size: 0.95rem;
}

/* App Preview / Features */
.app-preview {
    padding: 60px 0;
    background-color: var(--light-bg);
    border-top: 1px solid #eee;
}

.features-list {
    text-align: left;
    list-style: none;
    margin-top: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-list li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
    font-size: 1.1rem;
}

.preview-content {
    text-align: center;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.brand-name {
    font-weight: 800;
    font-size: 1.5rem;
    display: block;
    margin-bottom: 5px;
}

.footer-brand p {
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.copyright {
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .step-row {
        flex-direction: column;
        align-items: center; /* Center the number */
    }

    .step-indicator {
        margin-bottom: 10px;
        margin-top: 0;
    }
    
    .step-content {
        flex-direction: column;
        width: 100%;
    }

    .hero-content {
        padding-bottom: 60px;
    }
    
    .main-logo {
        max-width: 200px;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .footer-links a {
        margin: 0 10px;
    }

    .how-to-play {
        padding-top: 30px;
    }
}
