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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background-color: #ffffff;
    font-size: 16px;
}

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

/* Typography */
.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: white;
    color: #475569;
    border: 2px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
    border-radius: 16px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    z-index: 1000;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.brand-logo {
    width: 40px;
    height: 40px;
}

.brand-name {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #667eea;
}

.nav-cta {
    margin-left: 16px;
}

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

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: #64748b;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    overflow: hidden;
    text-align: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    z-index: -2;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 25% 25%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
                      radial-gradient(circle at 75% 75%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    max-width: 1000px;
}

.hero-content {
    max-width: 800px;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    color: #667eea;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #0f172a;
}

.hero-description {
    font-size: 20px;
    color: #64748b;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 48px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 48px;
    justify-content: center;
}

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

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
}

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

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 500px;
}

.game-preview {
    position: relative;
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.game-preview:hover {
    transform: perspective(1000px) rotateY(-10deg) rotateX(2deg);
}

.game-screen {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.game-screen svg {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.hero-game-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    background: #f1f5f9;
    min-height: 200px;
    object-fit: cover;
}

.feature-image {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    object-fit: cover;
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    border-radius: 12px;
    overflow: hidden;
}

.game-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

.control-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e2e8f0;
    transition: background 0.3s ease;
}

.control-btn.active {
    background: #667eea;
}

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

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 20px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    justify-items: center;
}

.feature-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: 20px;
    background: white;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(102, 126, 234, 0.2);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
}

.feature-title {
    font-size: 24px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 16px;
}

.feature-description {
    font-size: 16px;
    color: #64748b;
    line-height: 1.7;
}

/* Games Showcase */
.games-showcase {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    text-align: center;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 64px;
    justify-items: center;
}

.game-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.game-card.featured {
    border: 2px solid #667eea;
    position: relative;
}

.game-image {
    position: relative;
    overflow: hidden;
}

.game-image svg {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.game-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
}

.game-content {
    padding: 24px;
    text-align: left;
}

.game-pricing {
    margin-bottom: 16px;
    padding: 12px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.game-price {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    display: block;
}

.game-price-note {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.game-screenshot {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: #f1f5f9;
}

.game-title {
    font-size: 24px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 12px;
}

.game-description {
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 16px;
}

.game-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.game-category {
    background: #f1f5f9;
    color: #475569;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
}

.game-rating {
    color: #f59e0b;
    font-weight: 600;
    font-size: 14px;
}

.game-btn {
    width: 100%;
    justify-content: center;
}

.games-cta {
    text-align: center;
}

/* Testimonials */
.testimonials {
    padding: 120px 0;
    background: white;
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    justify-items: center;
}

.testimonial-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 32px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    text-align: left;
}

.testimonial-content {
    margin-bottom: 24px;
}

.testimonial-content p {
    font-size: 18px;
    color: #475569;
    line-height: 1.7;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 24px;
    object-fit: cover;
    background: #f1f5f9;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-name {
    font-weight: 600;
    color: #0f172a;
}

.author-age {
    font-size: 14px;
    color: #64748b;
}

/* Newsletter */
.newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.newsletter-content {
    display: flex;
    flex-direction: column;
    gap: 64px;
    align-items: center;
    justify-content: center;
}

.newsletter-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
}

.newsletter-description {
    font-size: 18px;
    opacity: 0.9;
    line-height: 1.7;
}

.newsletter-form {
    max-width: 500px;
    width: 100%;
}

.form-group {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.newsletter-input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.95);
    color: #1e293b;
}

.newsletter-input::placeholder {
    color: #64748b;
}

.newsletter-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.newsletter-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.newsletter-privacy {
    font-size: 14px;
    opacity: 0.8;
}

/* Footer */
.footer {
    background: #0f172a;
    color: white;
    padding: 80px 0 32px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    margin-bottom: 48px;
    justify-content: space-between;
}

.footer-brand {
    flex: 1;
    min-width: 280px;
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-brand-name {
    font-size: 24px;
    font-weight: 700;
}

.footer-description {
    color: #94a3b8;
    line-height: 1.7;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    flex: 2;
    justify-content: space-between;
    min-width: 600px;
}

.footer-section {
    min-width: 120px;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: white;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #667eea;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid #334155;
    text-align: center;
}

.footer-copyright {
    color: #94a3b8;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
        min-width: auto;
    }
    
    .footer-brand {
        max-width: none;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: 70vh;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-description {
        font-size: 18px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 32px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }
    
    .newsletter-title {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .btn-large {
        padding: 14px 24px;
        font-size: 16px;
        width: 100%;
        max-width: 280px;
    }
}