/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  height: 100vh;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  transition: background 0.6s ease-in-out;
}

/* Container */
section {
  background: rgba(255, 255, 255, 0.05);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  max-width: 550px;
  width: 90%;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  animation: fadeIn 0.7s ease-in-out;
}

/* Buttons */
button {
  background: linear-gradient(to right, #00f2fe, #4facfe);
  border: none;
  color: white;
  padding: 12px 28px;
  margin: 12px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 20px rgba(79, 172, 254, 0.6);
  position: relative;
  overflow: hidden;
}

button:hover {
  transform: translateY(-4px);
  background: linear-gradient(to right, #4facfe, #00f2fe);
  box-shadow: 0 6px 30px rgba(79, 172, 254, 0.8);
}

button:active {
  transform: scale(0.97);
  box-shadow: 0 2px 10px rgba(79, 172, 254, 0.4);
}

/* Heading */
h2 {
  margin-top: 20px;
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
}

/* Code Box */
.copycode {
  margin-top: 20px;
  padding: 14px;
  background-color: rgba(0, 0, 0, 0.6);
  color: #00ffcc;
  font-family: 'Courier New', monospace;
  border-radius: 12px;
  word-break: break-all;
  font-size: 16px;
  border: 1px solid #00ffcc;
  transition: 0.3s ease;
  user-select: all;
}

.copycode:hover {
  box-shadow: 0 0 15px #00ffcc, 0 0 30px #00ffcc44;
  cursor: pointer;
}