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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Hero Section - Asymmetric Layout */
.hero {
    background: linear-gradient(135deg, #8FBC8F 0%, #90EE90 50%, #98FB98 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    transform: skewX(-15deg);
    z-index: 1;
}

.hero-container {
    width: 100%;
    position: relative;
    z-index: 2;
}

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

.hero-text {
    padding-right: 40px;
}

.game-title {
    font-size: 4rem;
    font-weight: 700;
    color: #2F4F2F;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.tagline {
    font-size: 1.5rem;
    color: #4A6741;
    margin-bottom: 20px;
    font-weight: 500;
}

.description {
    font-size: 1.2rem;
    color: #5A7A5A;
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(45deg, #FF6B6B, #FF8E8E);
    color: white;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #2F4F2F;
    border: 2px solid #2F4F2F;
}

.btn-secondary:hover {
    background: #2F4F2F;
    color: white;
    transform: translateY(-3px);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    height: 600px;
    background: linear-gradient(145deg, #f0f0f0, #d0d0d0);
    border-radius: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    transform: rotate(5deg);
    transition: transform 0.3s ease;
}

.phone-mockup:hover {
    transform: rotate(0deg) scale(1.05);
}

.game-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: #F8F9FA;
    position: relative;
    z-index: 5;
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: #2F4F2F;
    margin-bottom: 20px;
    font-weight: 600;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 30px;
    grid-template-rows: repeat(3, auto);
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(45deg, #8FBC8F, #90EE90);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.feature-card-large {
    grid-column: 1 / 8;
    grid-row: 1 / 3;
    position: relative;
    overflow: hidden;
}

.feature-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.feature-card-large:hover .banner-image {
    transform: scale(1.05);
}

.feature-card-large .feature-icon {
    margin-top: 330px;
    margin-bottom: 25px;
}

.feature-card-large h3,
.feature-card-large p {
    padding-left: 40px;
    padding-right: 40px;
}

.feature-card-large h3 {
    margin-bottom: 15px;
}

.feature-card-large p {
    margin-bottom: 0;
}

.feature-card:nth-child(2) {
    grid-column: 8 / 13;
    grid-row: 1;
}

.feature-card:nth-child(3) {
    grid-column: 8 / 13;
    grid-row: 2;
}

.feature-card-wide {
    grid-column: 1 / 13;
    grid-row: 3;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #8FBC8F, #90EE90);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: #2F4F2F;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Perfect For Section */
.perfect-for {
    padding: 100px 0;
    background: linear-gradient(135deg, #E8F5E8 0%, #F0FFF0 100%);
    position: relative;
    z-index: 4;
}

.perfect-for-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.perfect-for-text h2 {
    font-size: 2.5rem;
    color: #2F4F2F;
    margin-bottom: 40px;
    font-weight: 600;
}

.love-list {
    list-style: none;
}

.love-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #4A6741;
}

.love-list i {
    color: #8FBC8F;
    font-size: 1.2rem;
}

.perfect-for-image {
    position: relative;
    height: 400px;
}

.screenshots-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.screenshot {
    position: absolute;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    max-width: 250px;
}

.screenshot-1 {
    top: 20px;
    left: 20px;
    transform: rotate(-5deg);
    z-index: 2;
}

.screenshot-2 {
    bottom: 20px;
    right: 20px;
    transform: rotate(3deg);
    z-index: 1;
}

.screenshot:hover {
    transform: rotate(0deg) scale(1.05);
    z-index: 3;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* Screenshots Gallery Section */
.screenshots-gallery {
    padding: 100px 0;
    background: linear-gradient(135deg, #F0F8F0 0%, #E8F5E8 100%);
    position: relative;
    z-index: 4;
}

.gallery-header {
    text-align: center;
    margin-bottom: 60px;
}

.gallery-header h2 {
    font-size: 2.5rem;
    color: #2F4F2F;
    margin-bottom: 20px;
    font-weight: 600;
}

.gallery-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.gallery-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-screenshots {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 800px;
    width: 100%;
}

.gallery-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.gallery-image-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.25);
}

.gallery-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-image-container:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-image-container.gallery-image-1 {
    transform: rotate(-2deg);
}

.gallery-image-container.gallery-image-2 {
    transform: rotate(2deg);
}

.gallery-image-container.gallery-image-1:hover,
.gallery-image-container.gallery-image-2:hover {
    transform: translateY(-10px) rotate(0deg);
}

/* Download Section */
.download-section {
    padding: 100px 0;
    background: #2F4F2F;
    color: white;
    text-align: center;
    position: relative;
    z-index: 3;
}

.download-content h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-weight: 600;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    background: white;
    color: #333;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}

.download-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.download-btn i {
    font-size: 2rem;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-label {
    font-size: 0.8rem;
    color: #666;
}

.btn-name {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Download Modal */
.download-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, #8FBC8F 0%, #90EE90 100%);
    color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.close-btn {
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.close-btn:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 30px;
    text-align: center;
}

.modal-icon {
    margin-bottom: 20px;
}

.modal-icon i {
    font-size: 3rem;
    color: #8FBC8F;
}

.modal-body p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.modal-buttons {
    display: flex;
    justify-content: center;
}

.modal-cancel-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    color: #666;
    border: 2px solid #ddd;
    min-width: 150px;
}

.modal-cancel-btn:hover {
    background: #f5f5f5;
    border-color: #ccc;
    transform: translateY(-2px);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(-50px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
.footer {
    background: #1A3A1A;
    color: white;
    padding: 60px 0 20px;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #8FBC8F;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.social-links {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #8FBC8F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #90EE90;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text {
        padding-right: 0;
    }
    
    .game-title {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .feature-card-large,
    .feature-card:nth-child(2),
    .feature-card:nth-child(3),
    .feature-card-wide {
        grid-column: 1;
        grid-row: auto;
    }
    
    .feature-banner {
        height: 150px;
    }
    
    .feature-card-large .feature-icon {
        margin-top: 170px;
    }
    
    .feature-card-large h3,
    .feature-card-large p {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .perfect-for-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .perfect-for-image {
        height: 300px;
        margin-top: 50px;
    }
    
    .screenshot {
        max-width: 200px;
    }
    
    .screenshot-1 {
        top: 10px;
        left: 10px;
    }
    
    .screenshot-2 {
        bottom: 10px;
        right: 10px;
    }
    
    .gallery-screenshots {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 400px;
    }
    
    .gallery-header h2 {
        font-size: 2rem;
    }
    
    .gallery-header p {
        font-size: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .modal-content {
        margin: 20% auto;
        width: 95%;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-header h3 {
        font-size: 1.3rem;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-buttons {
        justify-content: center;
    }
    
    .modal-cancel-btn {
        width: 100%;
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .game-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}
