:root {
  --bg: #1a1a2e;
  --panel: rgba(255, 255, 255, 0.15);
  --accent: #ff6b6b;
  --accent-hover: #ee5a52;
  --text: #ffffff;
  --text-dark: #2d3436;
  --muted: rgba(255, 255, 255, 0.7);
  --border: rgba(255, 255, 255, 0.2);
  --input-bg: rgba(255, 255, 255, 0.9);
  --input-focus: rgba(255, 255, 255, 1);
  --radius: 12px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
 
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", Roboto, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(img/bg.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(2px) brightness(0.7);
  z-index: -1;
}

.wrapper {
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 90%;
  max-width: 700px;
  padding: 40px 30px;
  text-align: center;
}

.wrapper * {
  opacity: 1;
}

h1 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--text);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

p.subtitle {
  color: var(--muted);
  margin-bottom: 30px;
}

textarea {
  width: 100%;
  height: 130px;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--input-bg);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.95rem;
  resize: vertical;
  color: var(--text-dark);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
   box-sizing: border-box;
  outline: none;
  overflow: hidden;
}

textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--input-focus);
  box-shadow: 0 4px 16px rgba(255, 107, 107, 0.2);
  transform: translateY(-2px);
}

.buttons {
  margin: 25px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

button {
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
  position: relative;
  overflow: hidden;
}

button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

button:hover::before {
  width: 300px;
  height: 300px;
}

button:hover {
  background: var(--accent-hover);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
  transform: translateY(-2px);
}

button:active {
  transform: translateY(0) scale(0.98);
}

footer {
  margin-top: 25px;
  color: var(--muted);
  font-size: 0.85rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

