
body {
  margin: 0;
  min-height: 100vh;
  color: #cfe8ff;
  font-family: Arial, sans-serif;
  padding: 20px;
  background:
    radial-gradient(circle at 20% 20%, rgba(76, 201, 240, 0.35), transparent 55%),
    radial-gradient(circle at 80% 30%, rgba(144, 224, 239, 0.28), transparent 55%),
    radial-gradient(circle at 50% 80%, rgba(131, 56, 236, 0.25), transparent 60%),
    radial-gradient(circle at 10% 90%, rgba(0, 180, 216, 0.28), transparent 55%),
    #000814;
  background-attachment: fixed;
  background-size: cover;
  animation: nebulaShift 26s ease-in-out infinite alternate;
}

@keyframes nebulaShift {
  0% { background-position: 0% 0%; }
  50% { background-position: 50% 50%; }
  100% { background-position: 100% 100%; }
}

h1 {
  color: #4cc9f0;
  text-shadow: 0 0 18px rgba(76, 201, 240, 0.9);
  margin-bottom: 10px;
  text-align: center;
}

.subtitle {
  text-align: center;
  margin-bottom: 24px;
  color: #9fd4ff;
  font-size: 14px;
  opacity: 0.9;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.card {
  background: radial-gradient(circle at top, rgba(76, 201, 240, 0.25), rgba(0, 8, 20, 0.96));
  padding: 12px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 0 22px rgba(0,153,255,0.45);
  border: 1px solid rgba(144,224,239,0.35);
  position: relative;
  overflow: hidden;
  transition: transform .2s ease-out, box-shadow .2s ease-out;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 26px rgba(76,201,240,0.9);
}

.card img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 16px rgba(0,153,255,0.6);
}

.editable {
  margin-top: 10px;
  padding: 6px 8px;
  border-radius: 7px;
  background: rgba(0,102,204,0.2);
  color: #b8e5ff;
  text-shadow: 0 0 8px rgba(76,201,240,0.9);
  border: 1px solid rgba(0,180,216,0.55);
  box-shadow: 0 0 12px rgba(0,153,255,0.7);
}

.btn-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.copyImgBtn,
.copyUrlBtn,
.downloadBtn {
  padding: 6px 10px;
  border-radius: 8px;
  border: none;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  color: #e4f7ff;
  background: rgba(0, 180, 216, 0.35);
  text-shadow: 0 0 6px #00b4d8;
  box-shadow: 0 0 12px rgba(0,153,255,0.6);
  transition: 0.18s;
}

.copyImgBtn:hover,
.copyUrlBtn:hover,
.downloadBtn:hover {
  background: rgba(0, 180, 216, 0.6);
  box-shadow: 0 0 18px rgba(76,201,240,0.9);
}
