/* How to Play Page Specific Styles */

/* How-to Hero Section */
.howto-hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, #fff5e6 0%, #ffe4b3 100%);
    text-align: center;
}

.howto-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #e67e22, #f39c12);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 600;
    color: #d35400;
    margin-bottom: 1.5rem;
}

.howto-hero p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Game Steps Section */
.game-steps {
    padding: 5rem 0;
    background: white;
}

.game-steps h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #e67e22;
}

.step-card {
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    padding-top: 3rem;
}

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

.step-number {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    font-family: 'Rubik', sans-serif;
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3);
}

.step-card img {
    width: 80px;
    height: 80px;
    margin: 1rem auto 1.5rem;
    border-radius: 50%;
    object-fit: cover;
}

.step-card h3 {
    color: #e67e22;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

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

/* Tips Section */
.tips-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #fef9f3 0%, #fff5e6 100%);
}

.tips-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #e67e22;
}

.tip-card {
    transition: all 0.3s ease;
}

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

.tip-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    border-radius: 50%;
    object-fit: cover;
}

.tip-card h3 {
    color: #e67e22;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.tip-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.tip-card ul {
    list-style: none;
    padding: 0;
}

.tip-card li {
    color: #666;
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.tip-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #f39c12;
    font-weight: bold;
}

/* Accessibility Section */
.accessibility-section {
    padding: 5rem 0;
    background: white;
}

.accessibility-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #e67e22;
}

.accessibility-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.accessibility-text h3 {
    color: #e67e22;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.accessibility-text h4 {
    color: #d35400;
    font-size: 1.2rem;
    margin: 2rem 0 1rem;
}

.accessibility-text p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.accessibility-text ul {
    list-style: none;
    padding: 0;
}

.accessibility-text li {
    color: #666;
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.6;
}

.accessibility-text li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #f39c12;
    font-weight: bold;
    font-size: 1.2rem;
}

.accessibility-text strong {
    color: #e67e22;
}

.accessibility-image {
    display: flex;
    justify-content: center;
}

.accessibility-image img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Troubleshooting Section */
.troubleshooting-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #fef9f3 0%, #fff5e6 100%);
}

.troubleshooting-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #e67e22;
}

.troubleshooting-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: flex-start;
}

.troubleshooting-image {
    display: flex;
    justify-content: center;
}

.troubleshooting-image img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.troubleshooting-text h3 {
    color: #e67e22;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.faq-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.faq-item h4 {
    color: #d35400;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* How-to CTA Section */
.howto-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, #e67e22, #f39c12);
    color: white;
    text-align: center;
}

.howto-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.howto-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.howto-cta .btn {
    background: white;
    color: #e67e22;
    font-size: 1.1rem;
    padding: 1.2rem 2.5rem;
}

.howto-cta .btn:hover {
    background: #f8f8f8;
    color: #d35400;
    transform: translateY(-3px);
}

.howto-cta .btn-secondary {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid white;
}

.howto-cta .btn-secondary:hover {
    background: white;
    color: #e67e22;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .accessibility-content,
    .troubleshooting-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .troubleshooting-content {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .howto-hero {
        padding: 2rem 0;
    }
    
    .howto-hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .game-steps,
    .tips-section,
    .accessibility-section,
    .troubleshooting-section,
    .howto-cta {
        padding: 3rem 0;
    }
    
    .game-steps h2,
    .tips-section h2,
    .accessibility-section h2,
    .troubleshooting-section h2,
    .howto-cta h2 {
        font-size: 2rem;
    }
    
    .steps-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .howto-hero h1 {
        font-size: 2rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .step-card {
        padding-top: 2.5rem;
    }
    
    .step-number {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.2rem;
    }
    
    .howto-cta h2 {
        font-size: 1.8rem;
    }
    
    .howto-cta p {
        font-size: 1rem;
    }
}
