/**
 * FAQ Page Styles
 * Styles for the FAQ/Help page
 */

/* Help Section */
.help-section {
    padding: 80px 0;
    background: #0a0a0f;
}

.help-content {
    max-width: 1000px;
    margin: 0 auto;
}

.help-block {
    margin-bottom: 60px;
    background: #16213e;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #2a2a3e;
}

.help-block:last-child {
    margin-bottom: 0;
}

.help-block h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #ffffff;
    border-bottom: 3px solid #667eea;
    padding-bottom: 15px;
}

/* Help Steps */
.help-steps {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 30px;
}

.help-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #1a1a2e;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #2a2a3e;
}

.help-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
}

.help-step .step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content p {
    margin: 0;
    line-height: 1.6;
    color: #ffffff;
    font-size: 16px;
}

.step-content a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.step-content a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Help Note */
.help-note {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.help-note p {
    margin: 0;
    color: #1565c0;
    font-style: italic;
    line-height: 1.6;
}

/* Terminology Grid */
.terminology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.term-item {
    background: #1a1a2e;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #2a2a3e;
}

.term-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
}

.term-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #667eea;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
}

.term-item p {
    margin: 0;
    line-height: 1.6;
    color: #9ca3af;
}

/* Help Bonus */
.help-bonus {
    text-align: center;
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #2a2a3e 0%, #1a1a2e 100%);
    border-radius: 10px;
    border: 1px solid #667eea;
}

.help-bonus strong {
    color: #8b5cf6;
}

/* Links Grid */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.link-item {
    background: #1a1a2e;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #2a2a3e;
}

.link-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
}

.link-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
}

.external-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    display: inline-block;
    margin-bottom: 10px;
}

.external-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

.external-link::after {
    content: ' ↗';
    font-size: 14px;
    opacity: 0.7;
}

.link-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.link-badge:nth-child(even) {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
}

/* Responsive Design */
@media (max-width: 768px) {
    .help-section {
        padding: 60px 0;
    }
    
    .help-block {
        padding: 30px;
        margin-bottom: 40px;
    }
    
    .help-block h2 {
        font-size: 24px;
    }
    
    .help-step {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .help-step .step-number {
        align-self: center;
    }
    
    .terminology-grid,
    .links-grid {
        grid-template-columns: 1fr;
    }
    
    .term-item,
    .link-item {
        padding: 20px;
    }
    
    .help-bonus {
        font-size: 16px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .help-section {
        padding: 40px 0;
    }
    
    .help-block {
        padding: 20px;
        border-radius: 15px;
    }
    
    .help-block h2 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .help-step {
        padding: 20px;
    }
    
    .help-step .step-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .step-content p {
        font-size: 14px;
    }
    
    .term-item h3 {
        font-size: 18px;
    }
    
    .link-item h4 {
        font-size: 16px;
    }
    
    .external-link {
        font-size: 14px;
    }
    
    .link-badge {
        position: static;
        display: inline-block;
        margin-top: 10px;
    }
}