/* ================= Global / Body ================= */
* { box-sizing: border-box; }

body {
  background-color: #0b0011; /* darker fallback */
  background-image: url('https://media3.giphy.com/media/v1.Y2lkPTc5MGI3NjExN283MzVza3gyZnhmZGx5eHF5ajg0cWJ1czRpYnI5a2M2bnQ5Nmd2dyZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/U3qYN8S0j3bpK/giphy.gif');
  background-repeat: repeat;
  background-size: auto;
  color: #fff0f5;
  font-family: "Verdana", sans-serif;
  text-align: center;
  margin: 0;
  padding: 0;

  /* Custom cursor (ANI + PNG fallback) */
  cursor: url('https://cur.cursors-4u.net/nature/nat-10/nat942.ani'),
         url('https://cur.cursors-4u.net/nature/nat-10/nat942.png'),
         auto !important;
}

/* ================= Header / Nav ================= */
header {
  background: rgba(0,0,0,0.6);
  padding: 22px 10px;
  border-bottom: 3px double #ffb6c1;
  box-shadow: 0 0 18px #ff69b4;
}

h1 {
  color: #ffb6c1;
  font-family: "Comic Sans MS", cursive;
  text-shadow: 1px 1px 5px #ff1493;
  margin: 6px 0;
  font-size: 32px;
}

nav {
  margin-top: 10px;
}

nav a {
  display: inline-block;
  color: #fff0f5;
  text-decoration: none;
  font-weight: bold;
  margin: 0 8px;
  padding: 10px 18px;
  border-radius: 14px;
  background: linear-gradient(90deg,#ff69b4,#ff1493,#ff69b4);
  border: 2px solid #ffb6c1;
  box-shadow: 0 0 10px #ff69b4;
  animation: sparkle 2.5s infinite linear;
  font-family: "Comic Sans MS", cursive;
}

nav a:hover { background: #ffb6c1; color: #800040; }

/* sparkle animation */
@keyframes sparkle {
  0% { box-shadow: 0 0 5px #fff, 0 0 8px #ff69b4; }
  50% { box-shadow: 0 0 18px #fff, 0 0 36px #ff69b4; }
  100% { box-shadow: 0 0 5px #fff, 0 0 8px #ff69b4; }
}

/* ================= Main content container ================= */
.content {
  margin: 48px auto;
  max-width: 900px;
  background: rgba(0,0,0,0.78);   /* darker for readability */
  padding: 36px;
  border-radius: 16px;
  border: 3px double #ffb6c1;
  box-shadow: 0 0 28px #ff69b4;
  color: #fff;
}

/* page headings */
.content h2 {
  font-size: 28px;
  margin-top: 0;
  color: #fff;
}

/* ================= course-item (each course box) ================= */
.course-item {
  position: relative;     /* important for z-index stacking */
  z-index: 2;
  margin-bottom: 36px;
  padding: 22px;
  background: rgba(0,0,0,0.6);
  border-radius: 12px;
  border: 2px double #ffb6c1;
  box-shadow: 0 0 14px #ff69b4;
  text-align: center;
}

/* course title + description */
.course-item h3 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 8px;
}
.course-item p {
  color: #f8eefe;
  line-height: 1.5;
  margin: 0 0 18px 0;
  padding: 0 20px;
}

/* ================= Button / PayPal area ================= */
/* Wrapper that ensures clickable area is on top */
.paypal-button {
  position: relative;
  z-index: 50;              /* keep above other layout elements */
  pointer-events: auto;
  display: inline-block;
  margin-top: 10px;
}

/* Hide any PayPal-provided large image inputs (common culprit) */
.paypal-button input[type="image"],
.paypal-button img.paypal-large-img, 
.paypal-button img[src*="btn_buynow"] {
  display: none !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* If PayPal inserted a default button in a strange style, hide it */
form[action*="ncp/payment"] input[type="submit"][value*="Buy"] {
  /* fallback: do not rely on this; we create our own visible button */
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* Your visible Buy button (ensure real clickable <button> or input[type=submit]) */
.buy-now-btn {
  display: inline-block;
  background: linear-gradient(90deg,#ff99cc,#ff66b2);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 12px 36px;
  border-radius: 24px;
  border: 2px solid #ffb6c1;
  box-shadow: 0 0 22px #ff69b4, inset 0 -3px 8px rgba(0,0,0,0.2);
  cursor: pointer;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
  z-index: 60;               /* on top */
  position: relative;
}

/* hover effect */
.buy-now-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 28px #ffb6c1, inset 0 -2px 6px rgba(0,0,0,0.15);
}

/* small payment icons below button – not interactive (prevent accidental hover) */
.paypal-info {
  margin-top: 10px;
  pointer-events: none;   /* prevent tiny icons from stealing clicks */
  display: flex;
  justify-content: center;
  gap: 8px;
  align-items: center;
}
.paypal-info img { max-height: 22px; opacity: 0.95; }

/* small powered by line */
.paypal-power {
  margin-top: 6px;
  font-size: 0.78rem;
  color: #f8eefe;
  pointer-events: none;
}

/* ================= Forms / inputs ================= */
input[type="text"], input[type="email"], textarea, input[type="password"] {
  background-color: #fff0f5;
  border: 2px solid #ff69b4;
  border-radius: 10px;
  padding: 10px;
  width: 90%;
  font-size: 16px;
  color: #800040;
  margin: 10px 0;
}

/* generic submit fallback */
input[type="submit"] {
  cursor: pointer;
}

/* ================= Footer ================= */
footer {
  margin-top: 36px;
  padding: 20px 10px;
  font-size: 12px;
  opacity: 0.9;
  color: #ffe6f2;
}

/* ================= Utility / safety rules ================= */
/* Make sure no big invisible overlay captures clicks */
* { -webkit-tap-highlight-color: transparent; }

/* Ensure clickable controls catch pointer events */
button, input, a { pointer-events: auto; }

/* If any element accidentally has a full-page overlay, give easy debug visibility */
/* Remove or comment this in production if you added overlays earlier */
/*
.overlay-debug {
  outline: 2px dashed rgba(255,255,255,0.05);
  pointer-events: none;
}
*/
