* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: white;
    font-size: 28px;
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.8;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-primary {
    background: white;
    color: #667eea;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

/* Phone Mockup */
.phone-mockup {
    background: #1a1a1a;
    border-radius: 40px;
    padding: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    max-width: 300px;
    margin: 0 auto;
}

.phone-screen {
    background: white;
    border-radius: 30px;
    padding: 40px 20px;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 200px;
}

.puzzle-piece {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    animation: pulse 2s infinite;
}

.puzzle-piece:nth-child(2) {
    animation-delay: 0.2s;
}

.puzzle-piece:nth-child(3) {
    animation-delay: 0.4s;
}

.puzzle-piece:nth-child(4) {
    animation-delay: 0.6s;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Features Section */
.features {
    padding: 100px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 60px;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #667eea;
}

.feature-card p {
    color: #666;
    line-height: 1.8;
}

/* How to Play Section */
.how-to-play {
    padding: 100px 0;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.step {
    text-align: center;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 700;
    margin: 0 auto 30px;
}

.step h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.step p {
    color: #666;
    line-height: 1.8;
}

/* Download Section */
.download {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.download .section-title {
    color: white;
}

.download-subtitle {
    font-size: 20px;
    margin-bottom: 50px;
    opacity: 0.9;
}

.download-buttons {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.store-button {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    color: #333;
    padding: 20px 40px;
    border-radius: 15px;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.store-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.store-button.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.store-button.disabled:hover {
    transform: none;
}

.store-icon {
    font-size: 40px;
}

.store-text {
    text-align: left;
}

.store-text span {
    display: block;
    font-size: 12px;
    color: #666;
}

.store-text strong {
    display: block;
    font-size: 20px;
    color: #333;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    color: #999;
}

/* Responsive */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
    }

    .nav-links {
        gap: 15px;
        font-size: 14px;
    }

    .section-title {
        font-size: 32px;
    }

    .phone-mockup {
        max-width: 250px;
    }
}
