* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background-color: #ffffff;
    min-height: 100vh;
} */

      .container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 2rem;
}

header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem 0;
  background:linear-gradient(219deg, #FB0E76 0%, #910694 100%);
  color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(233, 30, 99, 0.1);
}

header h1 {
  font-size: 45px !important;
  font-weight: 700 !important;
  margin-bottom: 0.5rem;
	    color: white !important;
/*     font-family: inherit; */
	}

 header p {
            font-size: 1.1rem;
            opacity: 0.9;
        }

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.generator-form {
    background: #f8fafc;
    padding: 30px;
    border-radius: 15px;
    border: 2px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #c44569;
    font-size: 1rem;
}

.input-field,
.select-field {
    width: 100%;
    padding: 12px 16px !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 10px !important;
    font-size: 1rem;
    background-color: white !important;
    transition: all 0.3s ease;
    outline: none !important;
}

.input-field:focus,
.select-field:focus {
    border-color: #ff6b9d !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1) !important;
}

.input-field:hover,
.select-field:hover {
    border-color: #ff6b9d !important;
}

.generate-btn,
.clear-btn {
    width: 100%;
     background:linear-gradient(219deg, #FB0E76 0%, #910694 100%);
    color: white;
    border: none !important;
    padding: 16px 24px !important;
    border-radius: 12px !important;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
/*     box-shadow: 0 6px 20px rgba(255, 107, 157, 0.3); */
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
}

.clear-btn {
    background: transparent !important;
/*     box-shadow: 0 6px 20px rgba(231, 76, 60, 0.3); */
	color:black !important;
	border:2px Solid pink !important;
}

.generate-btn:hover,
.clear-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.4) !important;
}

.clear-btn:hover {
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4) !important;
}

.generate-btn:active,
.clear-btn:active {
    transform: translateY(0);
}

.btn-icon {
    font-size: 1.3rem;
}
.button-group{
	display:flex;
	gap:20px
}

.results-section {
    background: white;
    border: 2px solid #e2e8f0 !important;
    border-radius: 15px !important;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.results-header h2 {
    color: #c44569;
    font-size: 1.5rem;
    font-weight: 600;
}

.copy-btn {
    background:linear-gradient(219deg, #FB0E76 0%, #910694 100%);
    color: white !important;
    border: none !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 10px rgba(255, 107, 157, 0.3);
}

.copy-btn:hover {
    background: #c44569;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(196, 69, 105, 0.4);
}

.copy-icon {
    font-size: 1rem;
}

.results-content {
    background: #f8fafc;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    min-height: 100px;
    white-space: pre-wrap;
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #2d3748;
}

.word-item {
    display: inline-block;
    background: white;
    padding: 8px 16px;
    margin: 4px;
    border-radius: 20px;
    border: 2px solid #ff6b9d;
    color: #c44569;
    font-weight: 600;
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.word-item:hover {
    background: #ff6b9d;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 107, 157, 0.3);
}

.copy-feedback {
    position: fixed;
    top: 30px;
    right: 20px;
    background: #10b981;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 500;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.copy-feedback.show {
    opacity: 1;
    transform: translateX(0);
}

.footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    color: #718096;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0px;
    }
    
    .header {
        padding: 30px 15px;
        margin-bottom: 30px;
    }
	.button-group{
	display:block;
	gap:20px
}
    
    .header h1 {
        font-size: 35px !important;
    }
    
    .header p {
        font-size: 1.1rem;
    }
    
    .generator-form {
        padding: 20px;
    }
    
    .results-section {
        padding: 20px;
    }
    
    .results-header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .copy-btn {
        align-self: center;
    }
    
    .action-buttons {
        justify-content: center;
    }
    
    .results-content {
        font-size: 0.9rem;
    }
    
    .word-item {
        margin: 3px;
        padding: 6px 12px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 2rem;
    }
    
    .header p {
        font-size: 1rem;
    }
    
    .generator-form {
        padding: 15px;
    }
    
    .results-section {
        padding: 15px;
    }
    
    .generate-btn {
        padding: 14px 20px;
        font-size: 1rem;
    }
    
    .copy-feedback {
        right: 15px;
        top: 15px;
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}

/* Loading animation for generate button */
.generate-btn.loading {
    pointer-events: none;
}

.generate-btn.loading .btn-text,
.clear-btn.loading .btn-text {
    opacity: 0.7;
}

.generate-btn.loading .btn-icon,
.clear-btn.loading .btn-icon {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}