* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  padding: 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 30px;
  text-align: center;
}

.header h1 {
  font-size: 28px;
  margin-bottom: 10px;
}

.header p {
  font-size: 14px;
  opacity: 0.9;
}

.content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding: 30px;
}

.left-panel,
.right-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

label {
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

select,
input[type="text"],
textarea {
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s;
  font-family: inherit;
}

select:focus,
input[type="text"]:focus,
textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 8px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: white;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
}

.radio-option:hover {
  background: #f0f0f0;
}

.radio-option input[type="radio"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.preview-box {
  background: #f8f9fa;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  min-height: 150px;
  font-size: 13px;
  line-height: 1.6;
  color: #333;
}

.preview-box h3 {
  margin-bottom: 10px;
  color: #667eea;
  font-size: 16px;
}

.prompt-box {
  background: #ffffff;
  border: 2px solid #667eea;
  border-radius: 8px;
  padding: 20px;
  min-height: 200px;
  font-size: 13px;
  line-height: 1.8;
  color: #333;
  white-space: pre-wrap;
  word-wrap: break-word;
  max-height: 400px;
  overflow-y: auto;
}

.button-group {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

button {
  flex: 1;
  padding: 15px 25px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-generate {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.btn-generate:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.btn-copy {
  background: #10b981;
  color: white;
}

.btn-copy:hover {
  background: #059669;
  transform: translateY(-2px);
}

.btn-chatgpt {
  background: #f59e0b;
  color: white;
}

.btn-chatgpt:hover {
  background: #d97706;
  transform: translateY(-2px);
}

.resource-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.resource-links a {
  flex: 1;
  padding: 12px;
  background: #6366f1;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s;
}

.resource-links a:hover {
  background: #4f46e5;
  transform: translateY(-2px);
}

.video-container {
  margin-top: 20px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
  width: 100%;
  height: 300px;
  border: none;
}

@media (max-width: 968px) {
  .content {
    grid-template-columns: 1fr;
  }

  .button-group {
    flex-direction: column;
  }

  .resource-links {
    flex-direction: column;
  }
}

.alert {
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: none;
}

.alert-success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #10b981;
}

.alert-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #ef4444;
}
