* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

/* Header */
.header {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #f093fb, #f5576c);
    -webkit-background-clip: text;
    background-clip: text;
    font-weight: 900;
    letter-spacing: 2px;
}

.subtitle {
    color: #aaa;
    font-size: 1.2rem;
    font-weight: 300;
}

/* Generator */
.generator {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Section */
.section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.section:last-of-type {
    border-bottom: none;
}

.section h2 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #4ecdc4;
}

/* Form Groups */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #ccc;
    font-weight: 500;
}

.form-group select {
    width: 100%;
    padding: 12px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-group select option {
    background: #1a1a2e;
    color: #fff;
}

.form-group select:hover {
    background: rgba(0, 0, 0, 0.7);
    border-color: #4ecdc4;
}

.form-group select:focus {
    outline: none;
    border-color: #4ecdc4;
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}

/* Checkbox Group */
.checkbox-group {
    display: block;
}

.checkbox-group h3 {
    color: #ff8c42;
    margin-top: 20px;
    margin-bottom: 12px;
    font-size: 1rem;
    font-weight: 600;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.checkbox-grid label {
    display: flex;
    align-items: flex-start;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkbox-grid label span {
    display: block;
    line-height: 1.5;
    color: #fff;
    font-size: 0.9rem;
}

.checkbox-grid label span::after {
    content: attr(data-tr);
    display: block;
    font-size: 0.75rem;
    color: #888;
    font-weight: 300;
}

.checkbox-grid label:hover {
    background: rgba(255, 255, 255, 0.1);
}

.checkbox-grid input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

/* Generate Section */
.generate-section {
    display: flex;
    gap: 15px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.generate-btn,
.copy-btn {
    flex: 1;
    min-width: 200px;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.generate-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: #fff;
}

.generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.copy-btn {
    background: linear-gradient(45deg, #f093fb, #f5576c);
    color: #fff;
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(240, 147, 251, 0.4);
}

/* Output Section */
.output-section {
    margin-top: 30px;
}

.output-section h2 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #4ecdc4;
}

.output-section textarea {
    width: 100%;
    min-height: 200px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    line-height: 1.6;
    resize: vertical;
    font-family: 'Courier New', monospace;
}

.output-section textarea:focus {
    outline: none;
    border-color: #4ecdc4;
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
}

.footer strong {
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .header h1 {
        font-size: 1.8rem;
    }

    .checkbox-group {
        grid-template-columns: 1fr;
    }

    .generate-section {
        flex-direction: column;
    }

    .generate-btn,
    .copy-btn {
        min-width: 100%;
    }
}
