h1 {
  position: absolute !important;
  width: 1px; 
  height: 1px; 
  padding: 0; 
  margin: -1px; 
  overflow: hidden; 
  clip: rect(0, 0, 0, 0); 
  white-space: nowrap; /* Prevent line breaks */
  border: 0;
}

/* Full screen black background */
canvas {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  z-index: 0;
}

/* Center circular "bored" button */
#boredButton {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: none;
  
  background: radial-gradient(circle at center, #ffae00, #ff5500);
  color: black;
  
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  
  z-index: 10;
  
  box-shadow:
    0 0 10px #ffae00,
    0 0 20px #ff5500,
    0 0 30px #ff7700,
    0 0 40px #ffaa00;
  
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#boredButton:hover {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow:
    0 0 20px #ffcc00,
    0 0 30px #ff8800,
    0 0 50px #ff5500,
    0 0 70px #ff3300;
}

.adsense-ad {
  position: relative;
  margin: 40px auto 0;
  width: 100%;
  max-width: 728px;
  height: auto;
  text-align: center;
  z-index: 5;
}

/* 🔺 Popup Ad Styling */
.adsense-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.adsense-popup .popup-content {
  background: #111;
  border: 2px solid #ff6600;
  padding: 20px 30px;
  border-radius: 12px;
  box-shadow: 0 0 20px #ff5500;
  color: #ffcc00;
  position: relative;
  max-width: 90%;
  text-align: center;
}

.adsense-popup .popup-content p {
  margin: 0;
  font-size: 16px;
}

/* Close Button */
#closePopup {
  position: absolute;
  top: 8px;
  right: 12px;
  cursor: pointer;
  font-size: 22px;
  color: #ffcc00;
}

.hidden {
  display: none;
}

#topRightLinks {
  position: fixed;
  top: 20px;
  right: 25px;
  z-index: 20;

  display: flex;
  gap: 12px;
  align-items: center;

  background: rgba(255, 100, 0, 0.15);
  padding: 10px 18px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 140, 0, 0.4);

  font-family: sans-serif;
  font-weight: 600;
}

#topRightLinks a {
  color: #ffcc00;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.2s ease;
  font-size: 14px;
  padding: 4px 8px;
  border-radius: 14px;
}

#topRightLinks a:hover {
  color: #ffaa00;
  transform: scale(1.05);
  background: rgba(255, 100, 0, 0.3);
}

#siteIdentity {
  color: #ffcc00;
  font-size: 14px;
  user-select: none;
  cursor: default;
  padding: 4px 8px;
  border-radius: 14px;
  transition: background 0.3s ease;
}

#siteIdentity:hover {
  background: rgba(255, 100, 0, 0.3);
}
.social-icon {
  color: #ffcc00;
  font-size: 16px;
  padding: 4px;
  transition: text-decoration 0.3s ease, transform 0.2s ease;
  text-decoration: none;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.9); /* white background with slight transparency */
}

.social-icon:hover {
  text-decoration: underline;
  transform: scale(1.1);
  /* no color change */
}

.social-icon i {
  color: inherit; /* inherit color from parent */
  font-size: 16px;
  pointer-events: none; /* so hover is on the <a> only */
}
