@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Big+Shoulders+Stencil+Text:wght@700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=VT323&display=swap");

@font-face {
  font-family: "OCR A Extended";
  src: url("/fonts/OCRAEXT.TTF");
  font-weight: normal;
  font-style: normal;
}










/* Fade-in effect when page loads */
body {
  opacity: 0;
  animation: fadeIn 1.5s forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Slide-in effect for main content */
main {
  transform: translateY(20px);
  opacity: 0;
  animation: slideIn 1s ease-out forwards;
}

@keyframes slideIn {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Glitch flicker effect on titles */
h1, h2 {
  animation: glitchFlicker 1.5s infinite;
}

@keyframes glitchFlicker {
  0% { text-shadow: 0px 0px 5px #00ff99; }
  50% { text-shadow: 0px 0px 15px #707070; }
  100% { text-shadow: 0px 0px 5px #00ff99; }
}

/* Neon text glow effect */
.neon-text {
  text-shadow: 0px 0px 10px #00ff99;
  animation: neonGlow 1.5s infinite alternate;
}

@keyframes neonGlow {
  from { text-shadow: 0px 0px 10px #00ff99; }
  to { text-shadow: 0px 0px 20px #00ff99; }
}

/* NaveBar Styles and Animations */

/* NAVBAR */
.navbar ul li a {
  position: relative;
  color: #00ff99;  /* Hacker greenish color */
  font-size: 1.5rem; /* Adjust font size for mobile */
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  transition: 0.3s;
  font-family: "VT323", cursive;
}

.nav-links {
  display: none;
  display: flex;
  list-style: none; /* Hidden by default on mobile */
}

.nav-links li {
  margin: 0 10px;
}

.nav-links li a {
  text-decoration: none;
  color: #fff;
}

.nav-links.active {
  display: flex; /* Show when toggled */
  flex-direction: row;
}

/* Default navbar styles */
.navbar {
  position: fixed;
  width: 100%;
  height: 60px;
  top: 0;
  left: 0;
  background: rgb(0, 0, 0); /* Dark background to match hacker theme */
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  align-items: center;
  padding: 10px 6%;
  z-index: 1000;
  border-bottom: 2px solid #00ff99; /* Hacker greenish border */
}

/* Default menu style */
.navbar ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

/* HAMBURGER MENU (Hidden by Default) */
.hamburger {
  display: none;
  font-size: 35px;
  cursor: pointer;
  color: #00ff99; /* Greenish color for hamburger */
}

/* 📱 MOBILE RESPONSIVE DESIGN */
@media (max-width: 768px) {
  .navbar {
    padding: 10px 4%;
  }

  /* Hide menu by default */
  .navbar ul {
    flex-direction: column;
    background: rgb(0, 0, 0); /* Dark background */
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    text-align: center;
    gap: 1rem;
    padding: 10px 0;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
  }

  /* Show menu when active */
  .navbar ul.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
  }

  /* SHOW HAMBURGER ICON */
  .hamburger {
    display: block;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #000000;
  font-family: "Orbitron", sans-serif;
}

.logo img {
  position: absolute;
  left: 2%;
  z-index: 1000;
  max-height: 50px !important;
  max-width: 50px !important;
  display: flex;
  justify-content: center;
  align-items: center;
  bottom: 10px;
}

/* Glitch Effect */
.navbar ul li a::before,
.navbar ul li a::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: #00ff99; /* Hacker greenish color */
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.navbar ul li a::after {
  color: rgb(153, 153, 153);
  left: 2px;
}

.navbar ul li a:hover {
  color: #464646;
  animation: navglitch 0.5s infinite;
}

.navbar ul li a:hover::before {
  clip: rect(10px, 100px, 20px, 0);
  left: -2px;
}

.navbar ul li a:hover::after {
  clip: rect(5px, 50px, 20px, 0);
  left: 2px;
}

@keyframes navglitch {
  0% {
    text-shadow: -2px 2px 0 #00ff99, 2px -2px 0 rgb(0, 51, 25);
  }
  25% {
    text-shadow: 2px 2px 0 #00cc7a, -2px -2px 0 rgb(0, 40, 20);
  }
  50% {
    text-shadow: -2px -2px 0 #009966, 2px 2px 0 rgb(0, 102, 51);
  }
  75% {
    text-shadow: 2px -2px 0 #00e68a, -2px 2px 0 rgb(0, 61, 31);
  }
  100% {
    text-shadow: -2px 2px 0 #00ff99, 2px -2px 0 rgb(0, 51, 25);
  }
}























  /* Raining Text Effect */
  #rain-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
  }
  
  .rain {
    position: absolute;
    color: rgba(0, 255, 0, 0.8);
    font-size: 16px;
    animation: fall 3s linear infinite;
  }
  
  @keyframes fall {
    to {
      transform: translateY(100vh);
    }
  }
  
  /* General Text Styling */
body {
  font-family: 'Courier New', monospace;
  background-color: #0a0a0a;
  color: #00ff99;
  margin: 0;
  padding: 0;
  text-align: center;
  overflow-x: hidden;
}


/* Story Header */
.story-header {
  background: #000;
  padding: 80px 20px;
  text-align: center;
  position: relative;
}

.story-header h1 {
  font-size: 3em;
  color: #00ff99;
  text-shadow: 0px 0px 20px #00ff99, 0px 0px 40px #00ff99;
  text-transform: uppercase;
  letter-spacing: 3px;
  animation: hackerFlicker 1.5s infinite alternate;
}

.story-header p {
  font-size: 1.4em;
  opacity: 0.8;
  text-shadow: 0px 0px 15px #00ff99;
}

/* Neon Border Effect for Sections */
.story-section {
  background: rgba(0, 0, 0, 0.85);
  padding: 40px;
  margin: 50px 10%;
  border-radius: 10px;
  border: 3px solid transparent;
  box-shadow: 0px 0px 20px rgba(0, 255, 153, 0.3);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}

/* Animated Glowing Border */
.story-section::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 15px;
  border: 3px solid #00ff99;
  box-shadow: 0px 0px 15px #00ff99;
  opacity: 0.7;
  animation: pulseBorder 2s infinite alternate;
}

/* Pulsing Border Animation */
@keyframes pulseBorder {
  0% { box-shadow: 0px 0px 10px #00ff99; }
  100% { box-shadow: 0px 0px 20px #00ff99, 0px 0px 40px #00ff99; }
}

/* Hacker Section - Special Glitch Effect */
.hacker-section {
  border: 4px dashed #00ff99;
  animation: glitchBorder 1.5s infinite alternate;
}

@keyframes glitchBorder {
  0% { border-color: #00ff99; }
  50% { border-color: #00cc7a; transform: skewX(-3deg); }
  100% { border-color: #00ff99; transform: skewX(3deg); }
}

/* Glitch Text Effect */
.hacker-text {
  font-size: 1.5em;
  color: #00ff99;
  text-shadow: 0px 0px 15px #00ff99;
  animation: hackerFlicker 1.5s infinite alternate, glitchEffect 2s infinite;
}

/* Call to Action Button */
.cta-btn {
  background-color: #00ff99;
  color: #0a0a0a;
  border: none;
  padding: 15px 30px;
  font-size: 1.2em;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 0px 15px #00ff99;
}

.cta-btn:hover {
  background-color: #00cc7a;
  box-shadow: 0px 0px 25px #00ff99;
}

/* Animated Text Effects */
@keyframes hackerFlicker {
  0% { opacity: 0.8; text-shadow: 0px 0px 10px #00ff99; }
  50% { opacity: 1; text-shadow: 0px 0px 15px #00ff99, 0px 0px 25px #00ff99; }
  100% { opacity: 0.8; text-shadow: 0px 0px 10px #00ff99; }
}

@keyframes glitchEffect {
  0% { transform: skewX(-5deg); }
  50% { transform: skewX(5deg); }
  100% { transform: skewX(-5deg); }
}














/* Call to Action - Fix */
.call-to-action {
  border-radius: 0%;
  margin: 50px 0% 0% 0%;
  padding: 80px 10%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  font-size: 2rem;
  font-weight: bold;
  text-transform: uppercase;
  overflow: hidden;
  flex-direction: column;
  background-color: transparent; /* Dark background for contrast */
  box-shadow: 0 0 15px #00ff99; /* Glowing border effect */
}

/* Add background animation using a pseudo-element */
.call-to-action::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, 
      rgba(0, 255, 153, 0.2), 
      rgba(0, 200, 100, 0.4), 
      rgba(0, 100, 50, 0.3), 
      rgba(0, 255, 153, 0.2)
  );
  background-size: 500% 500%;
  animation: backgroundShift 10s linear infinite;
  z-index: -1;
}

/* Call to Action Title */
.call-to-action h2 {
  font-size: 36px;
  color: #00ff99; /* Neon cyan text */
  text-shadow: 0 0 15px #00ff99, 0 0 30px #00ff99; /* Glowing text shadow */
  font-family: "Orbitron", sans-serif; /* Hacker font */
}

/* Call to Action Paragraph */
.call-to-action p {
  font-size: 18px;
  margin: 15px 0;
  opacity: 0.9;
  font-family: "Courier New", monospace; /* Monospace font */
  color: #00ff99;
  text-shadow: 0 0 5px #00ff99, 0 0 10px #00ff99; /* Glowing effect */
}

/* Button Styling */
.btn {
  display: inline-block;
  padding: 10px 25px;
  font-size: 18px;
  color: black;
  background: #00ff99; /* Neon cyan background */
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: 0.3s;
  text-transform: uppercase;
  font-family: "Orbitron", sans-serif;
  box-shadow: 0 0 10px #00ff99;
}

/* Button Hover Effect */
.btn:hover {
  background: #00cc66; /* Darker neon green on hover */
  color: white;
  box-shadow: 0 0 20px #00ff99;
}
/* Background Shift */
@keyframes backgroundShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}



/* Newsletter Section */
.subscribe {
  background-color: #050505;
  color: #00ff99;
  text-align: center;
  padding: 50px;
  font-family: "Courier New", monospace;
  border: 2px solid #00ff99;
  border-radius: 10px;
  box-shadow: 0 0 10px #00ff99;
  animation: flicker 1.5s infinite alternate;
  margin-bottom: 5%;
  margin: 5% 5% 5% 5%;
  padding: 80px 10%;
}

.subscribe h2 {
  font-size: 3rem;
  color: #00FF99;
  margin-bottom: 2rem;
  text-align: center;
}




/* Hacker Input Container */
.hacker-input-container {
  position: relative;
  width: 100%;
  max-width: 500px; /* Max width for larger screens */
  margin: 0 auto; /* Center the input field */
}

/* Hacker Input Styling */
.hacker-input {
  width: 100%;
  padding: 12px 15px;
  background: #000000;
  border: 2px solid #00ff00;
  color: #00ff00;
  font-family: "Courier New", monospace;
  font-size: 16px;
  outline: none;
  box-shadow: 0 0 10px #00ff00;
  transition: all 0.3s ease;
}

/* Placeholder styling */
.hacker-input::placeholder {
  color: #00cc00;
  opacity: 0.7;
}

/* Focus state with enhanced glow */
.hacker-input:focus {
  box-shadow:
    0 0 20px #00ff00,
    0 0 30px #00ff00;
  background: rgba(0, 255, 0, 0.05);
}

/* Label animation */
.hacker-label {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: #00ff00;
  font-size: 16px;
  pointer-events: none;
  transition: all 0.3s ease;
  text-shadow: 0 0 5px #00ff00;
}

/* Move label up and scale when input is focused or filled */
.hacker-input:focus + .hacker-label,
.hacker-input:not(:placeholder-shown) + .hacker-label {
  top: -10px;
  left: 10px;
  font-size: 12px;
  background: transparent;
  padding: 0 5px;
}

/* Cursor blinking effect */
.hacker-input-container::after {
  content: "_";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #00ff99;
  font-size: 20px;
  animation: blink 0.7s infinite;
}

/* Scanline effect across input */
.hacker-input-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(0, 255, 0, 0.3);
  animation: scanline 2s infinite linear;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

@keyframes scanline {
  0% {
    top: 0;
  }
  50% {
    top: 100%;
  }
  100% {
    top: 100%;
  }
}

/* Digital glitch effect on hover */
.hacker-input:hover {
  animation: newsletterGlitch 0.5s infinite;
}

@keyframes newsletterGlitch {
  0% {
    transform: translate(0);
  }
  20% {
    transform: translate(-2px, 2px);
  }
  40% {
    transform: translate(2px, -2px);
  }
  60% {
    transform: translate(-2px, 0);
  }
  80% {
    transform: translate(2px, 0);
  }
  100% {
    transform: translate(0);
  }
}

/* Responsive styling */
@media (max-width: 768px) {
  .subscribe {
    padding: 2rem; /* Reduce padding on smaller screens */
  }

  .subscribe h2 {
    font-size: 2rem; /* Smaller heading */
  }

  .hacker-input-container {
    width: 90%; /* Allow the input to take more space */
    max-width: 400px; /* Restrict max-width on small screens */
  }

  .hacker-input {
    font-size: 14px; /* Smaller input font */
    padding: 10px 12px; /* Adjust padding for smaller screens */
  }

  .hacker-input-container::after {
    font-size: 18px; /* Adjust blinking cursor size */
  }
}

@media (max-width: 480px) {
  .subscribe h2 {
    font-size: 1.5rem; /* Even smaller heading for very small screens */
  }

  .hacker-input {
    font-size: 12px; /* Further reduce input font size */
    padding: 8px 10px; /* Adjust padding */
  }

  .hacker-input-container::after {
    font-size: 16px; /* Adjust blinking cursor size */
  }
}


/* Newsletter Button Styling */
.subscribe-btn {
  background-color: #00FF99;
  color: #000000;
  padding: 12px 20px;
  font-size: 16px;
  font-family: "Orbitron", sans-serif;
  font-weight: bold;
  letter-spacing: 2px;
  border: 2px solid #00FF50;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.subscribe-btn:hover {

  background-color: #00cc00;
  border-color: #00cc00;
  color: #ffffff;
  box-shadow: 0 0 10px #00ff00;
}






/* Footer Section */
.footer_section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: #050505;
  color: #00ff99;
  text-align: center;
  padding: 50px;
  font-family: "Courier New", monospace;
  border: 2px solid #00ff99;
  border-radius: 10px;
  box-shadow: 0 0 10px #00ff99;
  animation: flicker 1.5s infinite alternate;
  margin: 50px 5% 5% 5%;
  padding: 80px 10%;

}


.footer {
  background: #050505;
  color: #00ff99;
  padding: 20px 0;
  text-align: center;
  font-family: 'Courier New', monospace;
  border-top: 2px solid #00ff99;
  position: relative;
  overflow: hidden;
  
}

.footer-container {
  max-width: 1100px;
  margin: auto;
  
}
/* From Uiverse.io by wilsondesouza */ 

.example-2 {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  gap: 2rem;
  margin-top: 2%;
  
}

.followUs{
  font-size: 1.5rem;
  color: #00ff99;
  font-family: "Orbitron", sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}
.example-2 .icon-content {
  margin: 0 10px;
  position: relative;
}
.example-2 .icon-content .tooltip {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  padding: 6px 10px;
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  font-size: 14px;
  transition: all 0.3s ease;
}
.example-2 .icon-content:hover .tooltip {
  opacity: 1;
  visibility: visible;
  top: -50px;
}
.example-2 .icon-content a {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #000000;
  background-color: #00ff99;
  transition: all 0.3s ease-in-out;
}
.example-2 .icon-content a:hover {
  box-shadow: 3px 2px 45px 0px rgb(0 0 0 / 12%);
}
.example-2 .icon-content a svg {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
}
.example-2 .icon-content a:hover {
  color: white;
}
.example-2 .icon-content a .filled {
  position: absolute;
  top: auto;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: #000;
  transition: all 0.3s ease-in-out;
}
.example-2 .icon-content a:hover .filled {
  height: 100%;
}

.example-2 .icon-content a[data-social="twitter"] .filled,
.example-2 .icon-content a[data-social="twitter"] ~ .tooltip {
  background-color: black;
}

.example-2 .icon-content a[data-social="facebook"] .filled,
.example-2 .icon-content a[data-social="facebook"] ~ .tooltip {
  background-color: black;
}
.example-2 .icon-content a[data-social="instagram"] .filled,
.example-2 .icon-content a[data-social="instagram"] ~ .tooltip {
  background: black;
}
.example-2 .icon-content a[data-social="youtube"] .filled,
.example-2 .icon-content a[data-social="youtube"] ~ .tooltip {
  background-color: black;
}

/* Glitch Effect */
.footer-text {
  position: relative;
  font-size: 14px;
  animation: footerglitch 1s infinite;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 3% 0%;
  text-align: center;
  color: #cecece;
}

@keyframes footerglitch {
  0% {
    text-shadow: 2px 2px 0px #00ff99, -2px -2px 0px #464646;
  }
  50% {
    text-shadow: -2px -2px 0px #00ff99, 2px 2px 0px #00ff99;
  }
  100% {
    text-shadow: 2px 2px 0px #00ff99, -2px -2px 0px #00ff99;
  }
}
