/* Root Variables */
:root {
    --sage-green: #8FAD8C;
    --sage-green-light: #A4BFA1;
    --sage-green-dark: #6B8E6B;
    --mist-blue: #B8D4E3;
    --mist-blue-light: #D1E7F0;
    --mist-blue-dark: #9FC4D6;
    --sand-neutral: #E8D5C4;
    --sand-light: #F2E6D8;
    --sand-dark: #D4C2A8;
    --coral-accent: #F4A58A;
    --coral-accent-light: #F7B79D;
    --coral-accent-dark: #E8926B;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --medium-gray: #6C757D;
    --dark-gray: #343A40;
    --text-primary: #2C3E2D;
    --text-secondary: #5A6C5B;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --border-radius-lg: 24px;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Typography */
h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--sage-green) 0%, var(--sage-green-light) 100%);
    color: var(--white);
    border: none;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--border-radius);
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--sage-green);
    border: 2px solid var(--sage-green);
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--border-radius);
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: var(--sage-green);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-game {
    background: var(--coral-accent);
    color: var(--white);
    border: none;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.btn-game:hover {
    background: var(--coral-accent-dark);
    transform: translateY(-1px);
}

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--spacing-sm) 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo {
    flex-shrink: 0;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--sand-light) 0%, var(--mist-blue-light) 100%);
    padding: calc(80px + var(--spacing-xxl)) 0 var(--spacing-xxl);
    margin-top: 0;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

.hero-content h1 {
    color: var(--text-primary);
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.hero-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

/* Placeholder Images */
.placeholder-image, .placeholder-form {
    background: linear-gradient(135deg, var(--mist-blue) 0%, var(--sand-neutral) 100%);
    border: 2px dashed var(--sage-green);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-weight: 600;
    min-height: 200px;
}

.hero-visual .placeholder-image {
    width: 100%;
    max-width: 400px;
    height: 300px;
}

/* About Section */
.about-section {
    padding: var(--spacing-xxl) 0;
    background: var(--light-gray);
    text-align: center;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.about-item {
    text-align: center;
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.icon-circle {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--mist-blue-light) 0%, var(--sand-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
}

/* Features */
.features {
    padding: var(--spacing-xxl) 0;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.feature {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--coral-accent);
    box-shadow: var(--shadow-sm);
}

.feature h4 {
    color: var(--sage-green-dark);
}

/* Games Section */
.games {
    padding: var(--spacing-xxl) 0;
    background: var(--light-gray);
    text-align: center;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.game-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s ease;
}

.game-card:hover {
    transform: translateY(-4px);
}

.game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.game-card h3,
.game-card p,
.game-price {
    padding: 0 var(--spacing-md);
}

.game-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--sage-green-dark);
    margin: var(--spacing-sm) 0;
}

.game-card .btn-game {
    margin: var(--spacing-md);
    margin-top: 0;
}

/* Creators */
.creators {
    padding: var(--spacing-xxl) 0;
    text-align: center;
}

.creators .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

.creators-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin: var(--spacing-lg) 0;
}

.creator-feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: var(--sand-light);
    border-radius: var(--border-radius-sm);
}

.feature-icon {
    font-size: 1.5rem;
}

.creators-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

/* Benefits */
.benefits {
    padding: var(--spacing-xxl) 0;
    background: var(--light-gray);
    text-align: center;
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.benefit {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.benefit-icon {
    flex-shrink: 0;
}

.benefit span {
    font-weight: 600;
    color: var(--text-primary);
}

/* Testimonials */
.testimonials {
    padding: var(--spacing-xxl) 0;
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.testimonial {
    background: linear-gradient(135deg, var(--mist-blue-light) 0%, var(--sand-light) 100%);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    position: relative;
}

.testimonial p {
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.testimonial-author .name {
    font-weight: 600;
    color: var(--text-primary);
}

.testimonial-author .role {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Partnership */
.partnership {
    padding: var(--spacing-xxl) 0;
    background: var(--light-gray);
    text-align: center;
}

.partnership-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
}

.partnership-type {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.partnership-type h4 {
    color: var(--sage-green-dark);
}

/* Contact */
.contact {
    padding: var(--spacing-xxl) 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
}

.contact-item {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--mist-blue-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-details h4 {
    color: var(--sage-green-dark);
    margin-bottom: var(--spacing-xs);
}

.contact-details p {
    margin: 0;
    font-weight: 600;
}

.contact-link {
    background: var(--sage-green);
    color: var(--white);
    border: none;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.contact-link:hover {
    background: var(--sage-green-dark);
}

.contact-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: var(--white);
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--spacing-xxl);
    margin-bottom: var(--spacing-lg);
}

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

.footer-brand .brand-name {
    color: var(--white);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    margin-top: var(--spacing-sm);
}

.footer-navigation {
    flex-shrink: 0;
}

.footer-links {
    display: flex;
    gap: var(--spacing-xl);
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: var(--spacing-xs);
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--sage-green-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-lg);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close {
    position: absolute;
    right: var(--spacing-md);
    top: var(--spacing-md);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--text-secondary);
}

.close:hover {
    color: var(--text-primary);
}

.contact-form {
    margin-top: var(--spacing-lg);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    border: 2px solid var(--sand-neutral);
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--sage-green);
}

.contact-form textarea {
    height: 120px;
    resize: vertical;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-layout,
    .creators .container,
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-image {
        height: 250px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .about-grid,
    .features-grid,
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-list {
        grid-template-columns: 1fr;
    }
    
    .partnership-types {
        grid-template-columns: 1fr;
    }
}