/* ASCII Art Generator Styles */
.ascii-art-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

.ascii-art-hero {
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    padding: 40px 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.ascii-art-hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.ascii-art-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.ascii-art-tool-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
}

.ascii-art-input-container {
    background: #ffffff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.ascii-art-input-group {
    margin-bottom: 20px;
}

.ascii-art-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.ascii-art-textarea {
    width: 100%;
    min-height: 100px;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: monospace;
    font-size: 1rem;
    resize: vertical;
    transition: border-color 0.3s;
}

.ascii-art-textarea:focus {
    border-color: #6e8efb;
    outline: none;
    box-shadow: 0 0 0 3px rgba(110, 142, 251, 0.2);
}

.ascii-art-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end;
}

.ascii-art-style-selector, .ascii-art-size-selector {
    flex: 1;
    min-width: 200px;
}

.ascii-art-select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    background-color: white;
    cursor: pointer;
    transition: border-color 0.3s;
}

.ascii-art-select:focus {
    border-color: #6e8efb;
    outline: none;
}

.ascii-art-generate-btn {
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 10px rgba(110, 142, 251, 0.3);
    flex-shrink: 0;
}

.ascii-art-generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(110, 142, 251, 0.4);
}

.ascii-art-output-container {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.ascii-art-output-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.ascii-art-output-header h3 {
    margin: 0;
    color: #555;
}

.ascii-art-copy-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s;
}

.ascii-art-copy-btn:hover {
    background: #3e8e41;
}

.ascii-art-output {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    min-height: 150px;
    overflow: auto;
    font-family: monospace;
    white-space: pre;
    line-height: 1.3;
}

/* Info Boxes */
.ascii-art-info-section {
    margin: 50px 0;
}

.ascii-art-info-boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.ascii-art-info-box {
    flex: 1;
    min-width: 300px;
    background: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.ascii-art-info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.ascii-art-info-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.ascii-art-info-box h3 {
    margin-top: 0;
    color: #444;
}

.ascii-art-info-box p {
    color: #666;
    line-height: 1.6;
}

/* Content Section */
.ascii-art-content-section {
    margin: 50px 0;
}

.ascii-art-content-title {
    text-align: center;
    font-size: 2rem;
    color: #444;
    margin-bottom: 30px;
    position: relative;
}

.ascii-art-content-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    margin: 15px auto;
    border-radius: 2px;
}

.ascii-art-content-shape {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(110, 142, 251, 0.1), rgba(167, 119, 227, 0.1));
    border-radius: 50%;
    margin: 20px auto;
    position: relative;
}

.ascii-art-content-shape.small {
    width: 40px;
    height: 40px;
}

.ascii-art-content-text {
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.8;
    color: #555;
    text-align: center;
}

.ascii-art-subheading {
    text-align: center;
    font-size: 1.5rem;
    color: #444;
    margin: 40px 0 20px;
}

.ascii-art-related-tool {
    text-align: center;
    margin: 40px 0;
    padding: 20px;
    background: rgba(110, 142, 251, 0.1);
    border-radius: 10px;
}

.ascii-art-related-link {
    color: #6e8efb;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.ascii-art-related-link:hover {
    color: #a777e3;
    text-decoration: underline;
}

/* FAQ Section */
.ascii-art-faq-section {
    margin: 50px 0;
}

.ascii-art-faq-title {
    text-align: center;
    font-size: 2rem;
    color: #444;
    margin-bottom: 30px;
}

.ascii-art-faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.ascii-art-faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.ascii-art-faq-question {
    width: 100%;
    padding: 20px;
    text-align: left;
    background: white;
    border: none;
    border-bottom: 1px solid #eee;
    font-size: 1.1rem;
    font-weight: 600;
    color: #444;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.ascii-art-faq-question:hover {
    background: #f9f9f9;
}

.ascii-art-faq-icon {
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.ascii-art-faq-answer {
    background: white;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
}

.ascii-art-faq-answer p {
    margin: 0;
    padding: 0 20px 20px;
    color: #666;
    line-height: 1.7;
}

.ascii-art-faq-item.active .ascii-art-faq-answer {
    max-height: 500px;
    padding: 0 20px 20px;
}

.ascii-art-faq-item.active .ascii-art-faq-icon {
    transform: rotate(45deg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .ascii-art-hero-content h1 {
        font-size: 2rem;
    }
    
    .ascii-art-controls {
        flex-direction: column;
        gap: 15px;
    }
    
    .ascii-art-style-selector, .ascii-art-size-selector {
        width: 100%;
    }
    
    .ascii-art-generate-btn {
        width: 100%;
    }
    
    .ascii-art-info-box {
        min-width: 100%;
    }
}