* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    touch-action: manipulation;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.4;
    background: #f0f2f5;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

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

.header {
    text-align: center;
    padding: 10px 0;
}

h1 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.slogan {
font-size: 1.2rem;
color: #666;
margin-top: 10px;
font-weight: 300;
max-width: 800px;
margin-left: auto;
margin-right: auto;
}


p {
    font-size: 1.2rem;
    color: #666;
    margin-top: 10px;
    font-weight: 300;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    }
    
    .sticky-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 1rem;
    margin: 1rem auto;
}
.sticky {
background: linear-gradient(135deg, #4158D0 0%, #C850C0 46%, #FFCC70 100%);
padding: 15px;
border-radius: 8px;
box-shadow: 0 8px 16px rgba(0,0,0,0.2);
display: flex;
flex-direction: column;
align-items: center;
transition: transform 0.3s ease;
}
.sticky:hover {
transform: translateY(-5px);
}


.var-label {
font-size: 2.5rem;
font-weight: bold;
margin-bottom: 10px;
color: white;
text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.current-display {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 8px;
    padding: 10px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.current-display img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 100%;
    padding: 8px;
}

.option {
    aspect-ratio: 1;
    background: white;
    border-radius: 6px;
    padding: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
}

.option img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.option.selected {
    border-color: #2c3e50;
    background: #e8f4f8;
}

.results {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-top: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.solutions-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.solution-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 1.5rem 1rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    text-align: center;
}

.solution-label {
    font-weight: bold;
    color: #666;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.solution-value {
    font-size: 3rem;
    font-weight: bold;
    color: #0066cc;
}

@media (max-width: 768px) {
    .solutions-row {
        grid-template-columns: 1fr;
    }
    
    .solution-item {
        flex-direction: row;
        justify-content: space-between;
        padding: 1rem;
    }
    
    .solution-label {
        margin-bottom: 0;
        margin-right: 1rem;
    }
    .solution-value {
        font-size: 2.5rem;
    }
}

@media print {
    body { background: white; }
    .sticky { box-shadow: none; border: 1px solid #ccc; }
    .results { box-shadow: none; border: 1px solid #ccc; }
}

.section {
    padding: 80px 0;
    background: #fff;
}

.section:nth-child(even) {
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: #2c3e50;
    font-size: 2.5rem;
}

.section-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    fill: #4158D0;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: flex;
    gap: 20px;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content {
    flex: 1;
}

.testimonial-stars {
    color: #ffd700;
    margin-bottom: 10px;
}

.video-section {
    padding: 40px 0;
    background: #f8f9fa;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.game-preview {
    margin: 40px 0;
    text-align: center;
}

.game-preview img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.steps {
    position: relative;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
}

.steps p {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.step-icon {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.step-icon svg {
    width: 100%;
    height: 100%;
    fill: #4158D0;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-question {
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.faq-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.faq-item {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.faq-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #4158D0 0%, #C850C0 100%);
    border-radius: 50%;
    padding: 6px;
}

.faq-svg {
    width: 100%;
    height: 100%;
    fill: white;
}

.faq-content {
    flex-grow: 1;
}

.faq-question {
    font-size: 1.2rem;
    font-weight: 300;
    color: #666;
    margin-bottom: 0.5rem;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.faq-content p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

@media (max-width: 768px) {
    .faq-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .faq-icon {
        margin-bottom: 1rem;
    }
}

.footer {
    background: #2c3e50;
    color: white;
    padding: 50px 0;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer a:hover {
    opacity: 0.8;
}
.nav-menu {
    background-color: #333;
    padding: 10px 0;
    text-align: center;
}
.nav-menu a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    display: inline-block;
}
.nav-menu a:hover {
    background-color: #555;
}