/* Zalgo Text Generator Styles */
.zalgo-main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

.zalgo-hero {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 20px;
    background: linear-gradient(135deg, #6e45e2 0%, #88d3ce 100%);
    border-radius: 10px;
    color: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.zalgo-title {
    font-size: 2.8rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.zalgo-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.zalgo-tool-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
}

.zalgo-input-section, .zalgo-output-section {
    flex: 1;
    min-width: 300px;
}

.zalgo-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    color: #444;
}

.zalgo-textarea {
    width: 100%;
    min-height: 150px;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    resize: vertical;
    transition: border-color 0.3s;
}

.zalgo-textarea:focus {
    border-color: #6e45e2;
    outline: none;
    box-shadow: 0 0 0 3px rgba(110, 69, 226, 0.2);
}

.zalgo-output {
    background-color: #f9f9f9;
    font-family: 'Courier New', monospace;
}

.zalgo-controls {
    margin-top: 15px;
}

.zalgo-slider-container {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.zalgo-slider-label {
    margin-right: 10px;
    font-weight: 500;
}

.zalgo-slider {
    flex-grow: 1;
    margin-right: 10px;
    -webkit-appearance: none;
    height: 8px;
    border-radius: 4px;
    background: #ddd;
    outline: none;
}

.zalgo-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #6e45e2;
    cursor: pointer;
    transition: transform 0.2s;
}

.zalgo-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.zalgo-slider-value {
    font-weight: bold;
    color: #6e45e2;
    min-width: 20px;
    text-align: center;
}

.zalgo-options {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.zalgo-option {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.zalgo-option input {
    cursor: pointer;
}

.zalgo-button {
    padding: 10px 20px;
    margin-right: 10px;
    margin-bottom: 10px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.zalgo-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.zalgo-button:active {
    transform: translateY(0);
}

#zalgo-generate {
    background-color: #6e45e2;
    color: white;
}

#zalgo-generate:hover {
    background-color: #5d38c9;
}

#zalgo-copy {
    background-color: #4CAF50;
    color: white;
}

#zalgo-copy:hover {
    background-color: #3e8e41;
}

#zalgo-clear {
    background-color: #f44336;
    color: white;
}

#zalgo-clear:hover {
    background-color: #d32f2f;
}

.secondary {
    background-color: #f1f1f1;
    color: #333;
}

.danger {
    background-color: #ffebee;
    color: #d32f2f;
}

.zalgo-preview {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
}

.zalgo-preview-label {
    font-weight: 600;
    margin-bottom: 10px;
    color: #555;
}

.zalgo-preview-content {
    font-size: 1.2rem;
    line-height: 1.6;
    min-height: 50px;
    word-break: break-all;
}

/* Info Boxes */
.zalgo-info-section {
    margin: 50px 0;
}

.zalgo-section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
    position: relative;
}

.zalgo-section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #6e45e2, #88d3ce);
    margin: 15px auto;
    border-radius: 2px;
}

.zalgo-info-boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.zalgo-info-box {
    flex: 1;
    min-width: 250px;
    padding: 25px;
    border-radius: 10px;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.zalgo-info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.zalgo-info-box h3 {
    color: #6e45e2;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.zalgo-info-box p {
    color: #555;
    line-height: 1.6;
}

/* Content Section */
.zalgo-content-section {
    margin: 50px 0;
}

.zalgo-content-paragraph {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 25px;
    color: #444;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.zalgo-feature-box {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.zalgo-feature-box h3 {
    color: #6e45e2;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.zalgo-feature-box p {
    color: #555;
    line-height: 1.7;
}

/* FAQ Section */
.zalgo-faq-section {
    margin: 50px 0;
}

.zalgo-faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.zalgo-faq-question {
    width: 100%;
    padding: 18px 25px;
    text-align: left;
    background: white;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.zalgo-faq-question:hover {
    background-color: #f9f9f9;
}

.zalgo-faq-icon {
    font-size: 1.3rem;
    transition: transform 0.3s;
}

.zalgo-faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    background-color: #f9f9f9;
}

.zalgo-faq-answer p {
    padding: 0 25px 0;
    color: #555;
    line-height: 1.7;
}

.zalgo-faq-item.active .zalgo-faq-answer {
    padding: 20px 25px;
    max-height: 500px;
}

.zalgo-faq-item.active .zalgo-faq-icon {
    transform: rotate(45deg);
}

.zalgo-internal-link {
    color: #6e45e2;
    font-weight: 600;
    text-decoration: none;
}

.zalgo-internal-link:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .zalgo-title {
        font-size: 2rem;
    }
    
    .zalgo-subtitle {
        font-size: 1rem;
    }
    
    .zalgo-tool-container {
        flex-direction: column;
    }
    
    .zalgo-info-box {
        min-width: 100%;
    }
    
    .zalgo-options {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .zalgo-hero {
        padding: 20px 15px;
    }
    
    .zalgo-title {
        font-size: 1.8rem;
    }
    
    .zalgo-button {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .zalgo-slider-container {
        flex-wrap: wrap;
    }
    
    .zalgo-slider-label {
        width: 100%;
        margin-bottom: 5px;
    }
}