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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: #1a2332;
    background-color: #f8fafc;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 16px;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 16px;
    font-size: 1.1rem;
    line-height: 1.7;
}

a {
    color: #ff6b5a;
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    color: #e85543;
}

/* Header */
.header {
    background: #ffffff;
    padding: 24px 0;
    box-shadow: 0 2px 8px rgba(26, 35, 50, 0.05);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo {
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.brand-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a2332;
    margin: 0;
}

.brand-name a {
    color: #1a2332;
}

.brand-tagline {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a2332 0%, #2a3f54 100%);
    color: white;
    padding: 80px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-text {
    text-align: left;
}

.hero-text h2 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    color: white;
}

.hero-text p {
    font-size: 1.3rem;
    margin-bottom: 48px;
    color: #e2e8f0;
    line-height: 1.6;
}

.hero-image {
    width: 100%;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: white;
    text-align: center;
}

.features h2 {
    margin-bottom: 64px;
    color: #1a2332;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(26, 35, 50, 0.08);
    border: 1px solid #e2e8f0;
}

.feature-icon {
    margin-bottom: 24px;
}

.feature-card h3 {
    color: #1a2332;
    margin-bottom: 16px;
}

.feature-card p {
    color: #64748b;
    margin: 0;
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
    background: #f8fafc;
    text-align: center;
}

.how-it-works h2 {
    margin-bottom: 64px;
    color: #1a2332;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.step-card {
    background: white;
    padding: 40px 32px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(26, 35, 50, 0.08);
    border: 1px solid #e2e8f0;
}

.step-number {
    width: 48px;
    height: 48px;
    background: #ff6b5a;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 24px;
}

.step-card h3 {
    color: #1a2332;
    margin-bottom: 16px;
}

.step-card p {
    color: #64748b;
    margin: 0;
}

/* Game Discovery */
.game-discovery {
    padding: 80px 0;
    background: white;
    text-align: center;
}

.game-discovery h2 {
    margin-bottom: 64px;
    color: #1a2332;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.game-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(26, 35, 50, 0.08);
    border: 1px solid #e2e8f0;
}

.game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.game-card h3 {
    padding: 24px 24px 8px;
    color: #1a2332;
    margin: 0;
}

.game-card p {
    padding: 0 24px 24px;
    color: #64748b;
    margin: 0;
}

/* Community Section */
.community {
    padding: 80px 0;
    background: #f8fafc;
    text-align: center;
}

.community-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.community-text h2 {
    color: #1a2332;
    margin-bottom: 24px;
}

.community-text p {
    color: #64748b;
    margin-bottom: 40px;
}

.community-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.stat {
    text-align: center;
    padding: 16px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(26, 35, 50, 0.06);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #ff6b5a;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

.community-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
}

/* For Developers */
.for-developers {
    padding: 80px 0;
    background: white;
    text-align: center;
}

.for-developers h2 {
    margin-bottom: 64px;
    color: #1a2332;
}

.developer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.developer-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
}

.developer-text h3 {
    color: #1a2332;
    margin-bottom: 24px;
    font-size: 2rem;
}

.developer-text p {
    color: #64748b;
    margin-bottom: 32px;
}

.developer-benefits {
    list-style: none;
    padding: 0;
}

.developer-benefits li {
    padding: 12px 0;
    color: #64748b;
    font-weight: 500;
    position: relative;
    padding-left: 24px;
}

.developer-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4ade80;
    font-weight: bold;
}

/* Products Section */
.products {
    padding: 80px 0;
    background: #f8fafc;
    text-align: center;
}

.products h2 {
    margin-bottom: 64px;
    color: #1a2332;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.product-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(26, 35, 50, 0.08);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: left;
}

.product-card h3 {
    color: #1a2332;
    margin-bottom: 16px;
}

.product-card p {
    color: #64748b;
    margin-bottom: 32px;
    flex-grow: 1;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a2332;
    margin-bottom: 24px;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 8px;
    text-align: center;
}

.product-btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    display: block;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.product-btn.primary {
    background: #ff6b5a;
    color: white;
}

.product-btn.primary:hover {
    background: #e85543;
    color: white;
}

.product-btn.secondary {
    background: #1a2332;
    color: white;
}

.product-btn.secondary:hover {
    background: #2a3f54;
    color: white;
}

/* Contacts Section */
.contacts {
    padding: 80px 0;
    background: white;
}

.contacts h2 {
    text-align: center;
    margin-bottom: 64px;
    color: #1a2332;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    text-align: center;
}

.contact-item h3 {
    color: #1a2332;
    margin-bottom: 16px;
}

.contact-item p {
    margin: 0;
}

.contact-item a {
    color: #ff6b5a;
    font-weight: 600;
}

/* Footer */
.footer {
    background: #1a2332;
    color: white;
    padding: 48px 0 24px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand-name {
    font-weight: 700;
    font-size: 1.25rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 32px;
    max-width: 400px;
}

.footer-links a {
    color: #e2e8f0;
    font-weight: 500;
}

.footer-links a:hover {
    color: #ff6b5a;
}

.footer-bottom {
    border-top: 1px solid #2a3f54;
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: #94a3b8;
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-text h2 {
        font-size: 2.5rem;
    }
    
    .hero-text p {
        font-size: 1.1rem;
    }
    
    .community-content {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .developer-content {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        justify-content: center;
        gap: 16px;
        text-align: center;
    }
    
    .community-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .logo-container {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .brand-text {
        align-items: center;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .features, .how-it-works, .game-discovery, .community, .for-developers, .products, .contacts {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-text h2 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
}