* {
  margin: 0;
  padding: 0;
}

body {
  background: linear-gradient(135deg, #1a2a6c, #2c3e50);
}

.container {
  box-sizing: border-box;
  max-width: 1550px;
  min-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 10px;
}

.container *{
  box-sizing: border-box;
}

header {
  text-align: center;
  padding: 20px;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #00c9ff, #92fe9d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.subtitle {
  font-size: 1.1rem;
  color: #a0c8ff;
  max-width: 95%;
  margin: 0 auto;
  line-height: 1.6;
}

.main-content {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.input-section,
.output-section {
  flex: 1;
  background: rgba(20, 25, 45, 0.8);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.section-title {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(0, 200, 255, 0.3);
  color: #4fc3f7;
}

.section-title span {
  margin-right: 10px;
  font-size: 1.8rem;
}

.container textarea {
  width: 100%;
  height: 250px;
  background: rgba(10, 15, 30, 0.7);
  border: 1px solid rgba(0, 200, 255, 0.2);
  border-radius: 10px;
  padding: 15px;
  color: #e0f7fa;
  font-size: 1.1rem;
  resize: none;
  margin-bottom: 20px;
  transition: border-color 0.3s;
}

.container textarea:focus {
  outline: none;
  border-color: #00c9ff;
  box-shadow: 0 0 0 2px rgba(0, 201, 255, 0.3);
}

.settings {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  padding: 15px;
  background: rgba(10, 15, 30, 0.5);
  border-radius: 10px;
}

.settings label {
  font-size: 1.1rem;
  margin-right: 15px;
  color: #80deea;
}

.container input {
  background: rgba(10, 15, 30, 0.8);
  color: #e0f7fa;
  border: 1px solid rgba(0, 200, 255, 0.3);
  border-radius: 8px;
  padding: 8px 15px;
  min-width: 50%;
  font-size: 1rem;
  width: 120px;
}

.container input:focus {
  outline: none;
  border-color: #00c9ff;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 15px;
}

.container button {
  flex: 1;
  min-width: 150px;
  padding: 18px 14px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

button:active {
  transform: translateY(1px);
}

#shake128 {
  background: linear-gradient(135deg, #00b09b, #96c93d);
}

#shake256 {
  background: linear-gradient(135deg, #2193b0, #6dd5ed);
}

#demo {
  background: linear-gradient(135deg, #8e2de2, #4a00e0);
}

#copy {
  background: linear-gradient(135deg, #41fffb, #ff4b2b);
}

#clear {
  background: linear-gradient(135deg, #f46b45, #eea849);
}

.info-section {
  background: rgba(20, 25, 45, 0.8);
  border-radius: 15px;
  padding: 30px;
  margin-top: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.info-title {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #4fc3f7;
  text-align: center;
}

.info-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 25px;
}

.info-card {
  background: rgba(10, 15, 30, 0.5);
  padding: 25px;
  border-radius: 12px;
  border-left: 4px solid #00c9ff;
}

.info-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #80deea;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-card p {
  line-height: 1.7;
  color: #bbdefb;
}

footer {
  text-align: center;
  margin-top: 40px;
  padding: 20px;
  font-size: 1rem;
  color: #90a4ae;
}

@media (max-width: 1399px) {
  .main-content {
    flex-direction: column;
  }
}
