/* Cursed Text Generator Styles */
.cursed-text-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

.cursed-hero {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 12px;
    color: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cursed-main-title {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #f72585, #7209b7, #3a0ca3);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cursed-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.cursed-tool-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 4rem;
}

.cursed-input-container, .cursed-output-container {
    background-color: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.cursed-textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    resize: vertical;
    min-height: 120px;
    transition: border-color 0.3s;
}

.cursed-textarea:focus {
    outline: none;
    border-color: #7209b7;
    box-shadow: 0 0 0 3px rgba(114, 9, 183, 0.2);
}

.cursed-controls {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.cursed-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cursed-generate-btn {
    background-color: #7209b7;
    color: white;
}

.cursed-generate-btn:hover {
    background-color: #5e07a0;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(114, 9, 183, 0.3);
}

.cursed-copy-btn {
    background-color: #4cc9f0;
    color: #1a1a2e;
}

.cursed-copy-btn:hover {
    background-color: #3aa8d8;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(76, 201, 240, 0.3);
}

.cursed-clear-btn {
    background-color: #f8f9fa;
    color: #495057;
    border: 1px solid #dee2e6;
}

.cursed-clear-btn:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
}

.cursed-output-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.cursed-output-title {
    font-size: 1.5rem;
    color: #7209b7;
    margin: 0;
}

.cursed-intensity-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cursed-intensity-control label {
    font-weight: 600;
    color: #495057;
}

.cursed-intensity-control input[type="range"] {
    width: 150px;
    accent-color: #7209b7;
}

#cursed-intensity-value {
    font-weight: bold;
    min-width: 20px;
    text-align: center;
}

.cursed-output-text {
    min-height: 150px;
    padding: 1rem;
    border: 2px dashed #e0e0e0;
    border-radius: 8px;
    font-size: 1.2rem;
    line-height: 1.6;
    white-space: pre-wrap;
    word-wrap: break-word;
    background-color: #f8f9fa;
    color: #1a1a2e;
}

.cursed-info-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.cursed-info-box {
    background-color: #fff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cursed-info-title {
    font-size: 1.8rem;
    color: #3a0ca3;
    margin-top: 0;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.cursed-info-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, #f72585, #7209b7);
    border-radius: 2px;
}

.cursed-info-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #495057;
    margin-bottom: 1.5rem;
}

.cursed-info-list {
    padding-left: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #495057;
}

.cursed-info-list li {
    margin-bottom: 0.8rem;
}

.cursed-uses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.cursed-use-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    border-left: 4px solid #7209b7;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cursed-use-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.cursed-use-card h3 {
    color: #3a0ca3;
    margin-top: 0;
    margin-bottom: 0.8rem;
}

.cursed-use-card p {
    margin: 0;
    color: #495057;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cursed-main-title {
        font-size: 2.2rem;
    }
    
    .cursed-subtitle {
        font-size: 1rem;
    }
    
    .cursed-controls {
        flex-direction: column;
    }
    
    .cursed-btn {
        width: 100%;
        justify-content: center;
    }
    
    .cursed-output-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Special cursed text styling */
.cursed-output-text.cursed-effect {
    font-family: 'Courier New', monospace;
    line-height: 1.4;
}