:root {
  --purple: #7f47DD;
  --blue: #29abe2;
  --green: #39b54a;
  --dark-bg: #0c0c12;
  --light-text: #eaeaea;
}

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

header {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100vh;
  padding: 0;
  margin: 0;
}

body {
  cursor: none;
  font-family: Arial, sans-serif;
  color: var(--light-text);
  background: var(--dark-bg);
  overflow-x: hidden;
  position: relative;
}

canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none; /* ensure it doesn't block clicks */
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 0;
}

header h1 {
  font-size: 3rem;
  background: linear-gradient(90deg, var(--purple), var(--blue), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

header .subtitle {
  margin: 1rem 0 2rem;
  font-size: 1.2rem;
  color: #ccc;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  margin: 0.5rem;
  color: var(--light-text);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.3s;
}

.btn.primary {
  background: var(--purple);
}

.btn.secondary {
  background: var(--blue);
}

.btn:hover {
  background: var(--green);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  text-align: center;
}

/* Plugin Buy Buttons */
.btn-buy {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  background: linear-gradient(135deg, #222, #444);
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.35s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

/* Hover effect */
.btn-buy:hover {
  background: linear-gradient(135deg, #39b54a, #34d058); /* green fade */
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 6px 14px rgba(0,0,0,0.35);
  color: #fff; /* keep text white for contrast */
}

.trail-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, #7f47dd, #29abe2, #39b54a);
  pointer-events: none;
  z-index: 1000;
  mix-blend-mode: lighten;
  filter: blur(2px);

}

/* Make sure nothing eats the hover */
a.btn-buy {
  position: relative;
  z-index: 1;            /* sit above shadows/adjacent elements */
  pointer-events: auto;  /* just in case a parent toggled it */
}

/* Stronger selector + smooth fade to green */
a.btn-buy:hover,
a.btn-buy:focus-visible {
  background: linear-gradient(135deg, #39b54a, #34d058) !important; /* green fade */
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 6px 14px rgba(0,0,0,0.35);
  color: #fff;
}

/* Ensure the transition actually animates background */
a.btn-buy {
  transition: background 0.35s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

main {
  margin-top: 0;
}

footer {
  text-align: center;
  padding: 2rem 0;
  color: #777;
  font-size: 0.9rem;
}
body,
button,
a,
input,
textarea,
canvas {
  cursor: none !important;
}
