/* Cut-Up Text Generator Styles */

@import url('/style.css');

body {
    background: #000;
    color: #ddd;
    font-family: 'Special Elite', Georgia, serif;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #ff6600;
}

header h1 {
    color: #ff6600;
    font-family: 'VeryVeryPunk', Georgia, serif;
    font-size: 2.5em;
    margin: 0 0 10px 0;
    text-shadow: 0 0 10px rgba(255, 102, 0, 0.5);
}

.subtitle {
    color: #666;
    font-size: 1.1em;
    margin: 0 0 20px 0;
    font-style: italic;
}

nav a {
    color: #ff6600;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #fff;
}

.cutup-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Preset Buttons */
.presets {
    margin-bottom: 30px;
}

.presets h2 {
    color: #fff;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.preset-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.preset-btn {
    background: #333;
    border: 2px solid #555;
    color: #ddd;
    padding: 12px 20px;
    font-family: 'Special Elite', Georgia, serif;
    font-size: 0.9em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.preset-btn:hover {
    background: #ff6600;
    border-color: #ff6600;
    color: #000;
    transform: translateY(-2px);
}

.preset-btn.active {
    background: #ff6600;
    border-color: #ff6600;
    color: #000;
}

/* Input Section */
.input-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.input-group {
    background: #111;
    border: 1px solid #333;
    border-radius: 5px;
    padding: 20px;
}

.input-group label {
    display: block;
    color: #ff6600;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

textarea {
    width: 100%;
    min-height: 200px;
    background: #000;
    border: 1px solid #555;
    color: #ddd;
    font-family: 'Special Elite', Georgia, serif;
    font-size: 14px;
    line-height: 1.5;
    padding: 15px;
    border-radius: 3px;
    resize: vertical;
    box-sizing: border-box;
}

textarea:focus {
    outline: none;
    border-color: #ff6600;
    box-shadow: 0 0 10px rgba(255, 102, 0, 0.3);
}

.text-stats {
    margin-top: 10px;
    font-size: 0.8em;
    color: #666;
    display: flex;
    justify-content: space-between;
}

/* Controls Section */
.controls {
    background: #111;
    border: 1px solid #333;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 30px;
}

.controls h2 {
    color: #fff;
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.control-group {
    margin-bottom: 20px;
}

.control-group label {
    display: block;
    color: #ff6600;
    font-weight: bold;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9em;
}

select {
    width: 100%;
    background: #000;
    border: 1px solid #555;
    color: #ddd;
    font-family: 'Special Elite', Georgia, serif;
    font-size: 14px;
    padding: 10px;
    border-radius: 3px;
    cursor: pointer;
}

select:focus {
    outline: none;
    border-color: #ff6600;
}

input[type="range"] {
    width: 100%;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 3px;
    background: #333;
    outline: none;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ff6600;
    cursor: pointer;
    border: 2px solid #000;
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ff6600;
    cursor: pointer;
    border: 2px solid #000;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    color: #ddd;
    font-weight: normal;
    text-transform: none;
    letter-spacing: normal;
    font-size: 1em;
}

input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: #ff6600;
}

/* Generate Button */
.generate-section {
    text-align: center;
    margin-bottom: 30px;
}

.generate-btn {
    background: #ff6600;
    border: 3px solid #ff6600;
    color: #000;
    font-family: 'Special Elite', Georgia, serif;
    font-size: 1.2em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 20px 40px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.generate-btn:hover {
    background: #000;
    color: #ff6600;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.4);
}

.generate-btn:active {
    transform: translateY(-1px);
}

.generate-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Output Section */
.output-section {
    background: #111;
    border: 1px solid #333;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 30px;
}

.output-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.output-header h2 {
    color: #fff;
    margin: 0;
}

.copy-btn {
    background: #333;
    border: 1px solid #555;
    color: #ddd;
    font-family: 'Special Elite', Georgia, serif;
    font-size: 0.8em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: #ff6600;
    border-color: #ff6600;
    color: #000;
}

.output-text {
    background: #000;
    border: 1px solid #555;
    color: #ddd;
    font-family: 'Special Elite', Georgia, serif;
    font-size: 14px;
    line-height: 1.6;
    padding: 20px;
    border-radius: 3px;
    min-height: 200px;
    white-space: pre-wrap;
    word-wrap: break-word;
    max-height: 400px;
    overflow-y: auto;
}

.output-stats {
    margin-top: 10px;
    font-size: 0.8em;
    color: #666;
    display: flex;
    justify-content: space-between;
}

/* Info Section */
.info {
    background: #111;
    border: 1px solid #333;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 30px;
}

.info h3 {
    color: #ff6600;
    margin-top: 0;
    margin-bottom: 15px;
}

.info p {
    color: #ccc;
    font-size: 0.9em;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Responsive Design */
@media (min-width: 768px) {
    .input-section {
        grid-template-columns: 1fr 1fr;
    }
    
    .fold-in-group {
        display: block !important;
    }
}

@media (max-width: 767px) {
    body {
        padding: 10px;
    }
    
    .preset-buttons {
        grid-template-columns: 1fr 1fr;
    }
    
    .generate-btn {
        padding: 15px 30px;
        font-size: 1em;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
}

/* Loading Animation */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.btn-loading {
    animation: pulse 1.5s ease-in-out infinite;
}