/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');

:root {
  --neon: #2979ff; /* MotionRush blue */
}

/* Reset */
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Orbitron', sans-serif;
  background: #000;
  color: #fff;
  overflow-x: hidden;
}

/* ---------------- INTRO ANIMATION ---------------- */
#intro {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: black;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: opacity 1s ease, visibility 1s ease;
}
#intro.hidden {
  opacity: 0; visibility: hidden;
}
.battle {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Players */
#player-left {
  position: absolute;
  top: 45%;
  width: 150px;
  height: auto;
  transform: translateY(-50%);
  fill: var(--neon);
  opacity: 0;
}

 #player-right {
  position: absolute;
  top: 50%;
  width: 150px;
  height: auto;
  transform: translateY(-50%);
  fill: var(--neon);
  opacity: 0;
}

#player-left {
  left: 5%;
  animation: enterLeft 1s ease forwards;
}
#player-right {
  right: 5%;
  animation: enterRight 1s ease forwards;
}
@keyframes enterLeft {
  from { left: -200px; opacity: 0; }
  to { left: 5%; opacity: 1; }
}
@keyframes enterRight {
  from { right: -200px; opacity: 0; }
  to { right: 5%; opacity: 1; }
}

/* Bullets */
.muzzle {
  position: absolute;
  top: 45%;
  width: 15px; height: 15px;
  background: #5ba0ff;
  border-radius: 50%;
  opacity: 0;
}
.muzzle.left {
  left: 15%;
  animation: shootLeft 2s ease forwards 1s;
}
.muzzle.right {
  right: 15%;
  animation: shootRight 2s ease forwards 1s;
}
@keyframes shootLeft {
  0% { opacity: 1; transform: translateY(-50%) translateX(0); }
  100% { opacity: 0; transform: translateY(-50%) translateX(65vw); }
}
@keyframes shootRight {
  0% { opacity: 1; transform: translateY(-50%) translateX(0); }
  100% { opacity: 0; transform: translateY(-50%) translateX(-65vw); }
}

/* Explosion */
.explosion {
  position: absolute;
  top: 50%; left: 50%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, white, #5ba0ff, transparent);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  animation: boom 1s ease forwards 2.2s;
}
@keyframes boom {
  0% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
  50% { transform: translate(-50%, -50%) scale(1.5); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}

/* Logo Reveal */
.intro-logo {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 250px;
  opacity: 0; /* start invisible */
  transition: opacity 1.5s ease; /* smooth fade in */
}
@keyframes logoReveal {
  to { opacity: 1; }
}



/* Bullet streams using image */
.bullet-stream {
  position: absolute;
  top: 50%;
  width: 50px; 
  height: 20px;
  background: url("assets/bullet-left.webp") no-repeat center/contain;
  opacity: 0;
}

/* Left side bullets */
.bullet-stream.left {
  left: 15%;
  animation: bulletsLeft 1s linear forwards 1s;
}

/* Right side bullets */
.bullet-stream.right {
  right: 15%;
  animation: bulletsRight 1s linear forwards 1s;
}

/* Multiple bullets effect */
@keyframes bulletsLeft {
  0% { opacity: 1; transform: translateY(-50%) translateX(0); }
  25% { transform: translateY(-50%) translateX(200px); }
  50% { transform: translateY(-50%) translateX(400px); }
  75% { transform: translateY(-50%) translateX(600px); }
  100% { opacity: 0; transform: translateY(-50%) translateX(800px); }
}

@keyframes bulletsRight {
  0% { opacity: 1; transform: translateY(-50%) translateX(0); }
  25% { transform: translateY(-50%) translateX(-200px); }
  50% { transform: translateY(-50%) translateX(-400px); }
  75% { transform: translateY(-50%) translateX(-600px); }
  100% { opacity: 0; transform: translateY(-50%) translateX(-800px); }
}




/* Hide players after explosion */
#player-left.hide, #player-right.hide {
  opacity: 0 !important;
  transition: opacity 0.5s ease;
}

/* Flash overlay */
#flash {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: white;
  opacity: 0;
  z-index: 20000;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Screen shake */
.shake {
  animation: shake 0.4s ease-in-out;
}
@keyframes shake {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-15px, 0); }
  40% { transform: translate(15px, 0); }
  60% { transform: translate(-15px, 0); }
  80% { transform: translate(15px, 0); }
  100% { transform: translate(0, 0); }
}

/* Glow pulse for logo after explosion */
/* Glow pulse after reveal */
.intro-logo.impact {
  opacity: 1;
  animation: pulseGlow 2s infinite alternate 0.5s;
}

@keyframes pulseGlow {
  from { filter: drop-shadow(0 0 5px var(--neon)); }
  to { filter: drop-shadow(0 0 25px var(--neon)); }
}

@keyframes impactPulse {
  0% { transform: translate(-50%, -50%) scale(1); filter: drop-shadow(0 0 5px var(--neon)); }
  50% { transform: translate(-50%, -50%) scale(1.3); filter: drop-shadow(0 0 40px var(--neon)); }
  100% { transform: translate(-50%, -50%) scale(1); filter: drop-shadow(0 0 15px var(--neon)); }
}




/* ---------------- NAVBAR ---------------- */
header {
  background: #000;
  padding: 15px 40px;
  border-bottom: 1px solid #111;
  position: sticky;
  top: 0;
  z-index: 999;
}

/* Make nav a flex container */


header img {
  width: 100px;
  display: block;
}


header {
  flex: 0 0 auto; /* logo fixed size on left */
}

.logo {
  display: flex;
  align-items: center;   /* vertically align text with logo */
  gap: 10px;             /* spacing between image and text */
}

.logo img {
  width: 60px;           /* smaller logo size for navbar */
  height: auto;
  cursor: pointer;       /* indicate it’s clickable */
}


.brand {
  font-size: 1.5em;
  font-weight: bold;
  display: flex;
  gap: 4px;
}

.motion {
  color: #94e4ea; /* light cyan * /
  text-shadow: 0 0 10px #94e4ea, 0 0 20px #94e4ea; */
}

.rush {
  color: #019edb; /* bright blue * /
  text-shadow: 0 0 10px #019edb, 0 0 20px #019edb; */
}


/* Base nav (desktop) */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
  margin: 0;
  padding: 0;
  margin-left: auto;
  margin-right: 5%;
}

/* Hamburger hidden on desktop */
.hamburger {
  display: none;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
}

/* ---------- Mobile Styles ---------- */
@media (max-width: 768px) {
  nav ul {
    position: absolute;
    top: 70px; /* below header */
    right: 0;
    width: 200px;
    flex-direction: column;
    gap: 20px;
    background: #111;
    padding: 20px;
    display: none; /* hidden by default */
    border-left: 2px solid var(--neon);
    box-shadow: -5px 0 15px rgba(0,0,0,0.5);
  }

  nav ul.show {
    display: flex; /* visible when toggled */
  }

  .hamburger {
    display: block; /* visible only on mobile */
  }

  /* Keep logo left, menu toggled */
  nav {
    justify-content: space-between;
  }
}



nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--neon);
  text-shadow: 0 0 15px var(--neon);
}


/* ---------------- HERO ---------------- */
.hero {
  text-align: center;
  padding: 120px 20px;
}
.hero-logo {
  width: 250px;
  margin-bottom: 20px;
}
.neon-text {
  font-size: 2.5em;
  color: #01a3df; /*var(--neon);*/
  text-shadow: 0 0 10px var(--neon), 0 0 30px var(--neon);
}

/* ---------------- SOCIAL ---------------- */
.social {
  text-align: center;
  padding: 60px 20px;
}
.icons {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.icons i {
  font-size: 50px;
  color: white;
  transition: 0.3s;
}
.icons i:hover {
  color: var(--neon);
  text-shadow: 0 0 20px var(--neon);
  transform: scale(1.2);
}

/* ---------------- FOOTER ---------------- */
footer {
  text-align: center;
  padding: 20px;
  background: #111;
  border-top: 1px solid #222;
}
.footer-links a {
  color: #bbb;
  margin: 0 5px;
  text-decoration: none;
  transition: 0.3s;
}
.footer-links a:hover {
  color: var(--neon);
  text-shadow: 0 0 8px var(--neon);
}








/* ---------------- DONATE ---------------- */
.donate {
  text-align: center;
  padding: 60px 20px;
}
.donate-btn {
  display: inline-block;
  padding: 15px 30px;
  margin-top: 20px;
  background: red;
  color: #fff;
  text-decoration: none;
  font-size: 1.2em;
  border-radius: 8px;
  box-shadow: 0 0 15px red;
  transition: 0.3s;
}
.donate-btn:hover {
  box-shadow: 0 0 25px #ff3333;
  transform: scale(1.05);
}

/* ---------------- CONTACT ---------------- */
.contact {
  text-align: center;
  padding: 60px 20px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  margin: 0 auto;
  gap: 15px;
}
.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: #111;
  color: #fff;
}
.contact-form button {
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: var(--neon);
  color: #000;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}
.contact-form button:hover {
  background: #5ba0ff;
  box-shadow: 0 0 15px var(--neon);
}


#donations-container {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #007bff; /* Blue Neon Border */
    padding: 15px;
    border-radius: 12px;
    width: 800px;
    max-width: 1000px;
    margin: auto;
    box-shadow: 0px 0px 20px rgba(0, 123, 255, 0.8); /* Blue Neon Glow */
    text-align: center;
    font-family: "Orbitron", sans-serif;
    color: white;
}

#donations-container h2 {
    font-size: 22px;
    color: #007bff; /* Blue Text */
    text-shadow: 0px 0px 10px #007bff;
    margin-bottom: 15px;
}

#donation-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(10, 10, 10, 0.9);
    border-radius: 8px;
    overflow: hidden;
    color: white;
}

#donation-table th, #donation-table td {
    border: 1px solid #007bff; /* Blue Borders */
    padding: 12px;
    text-align: center;
}

#donation-table th {
    background: #007bff; /* Blue header background */
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 0px 0px 5px black;
}

#donation-table tbody tr:nth-child(even) {
    background: rgba(0, 123, 255, 0.2); /* Blue alternate row */
}

#donation-table tbody tr:nth-child(odd) {
    background: rgba(0, 123, 255, 0.1);
}

.amount {
    color: #28a745;
    font-weight: bold;
    font-size: 16px;
}

.high-donation {
    color: gold;
    font-weight: bold;
    text-shadow: 0px 0px 10px gold;
}

.comment {
    font-size: 14px;
    color: #ffffff;
    font-style: italic;
}

.date {
    font-size: 12px;
    color: #ffffff;
}



@media (max-width: 868px) {
    #donations-container {
        width: 95%;
        padding: 10px;
        box-shadow: 0px 0px 10px rgba(0, 123, 255, 0.6);
    }

    #donations-container h2 {
        font-size: 18px;
        margin-bottom: 8px;
    }

    #donation-table {
        font-size: 12px; /* Reduce font size */
        border-radius: 6px;
    }

    #donation-table th, 
    #donation-table td {
        padding: 6px; /* Reduce padding */
    }

    #donation-table th {
        font-size: 12px;
        padding: 8px;
    }

    .amount {
        font-size: 14px;
    }

    .comment {
        font-size: 12px;
    }

    .date {
        font-size: 11px;
    }

    /* Ensure table remains scrollable if needed */
    #donations-container {
        overflow-x: auto;
    }
}

/* ---------------- PARTNERS ---------------- */
.partners {
  text-align: center;
  padding: 60px 20px;
}
.partner-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
}
.partner-logos img {
  width: 150px;
  transition: 0.3s;
}
.partner-logos img:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 15px var(--neon));
}



/* Partner page */
.partner-card {
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid var(--neon);
  border-radius: 12px;
  padding: 30px;
  max-width: 700px;
  margin: 40px auto;
  text-align: center;
  box-shadow: 0 0 20px var(--neon);
}
.partner-name {
  font-size: 2em;
  margin-bottom: 15px;
  color: var(--neon);
  text-shadow: 0 0 10px var(--neon);
}
.partner-desc {
  font-size: 1.1em;
  margin-bottom: 20px;
}
.partner-services {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
  display: inline-block;
}
.partner-services li {
  margin: 10px 0;
  font-size: 1.1em;
}
.partner-services i {
  color: var(--neon);
  margin-right: 10px;
}
.partner-link {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background: #01a3df;/*var(--neon);*/
  color: #000;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}
.partner-link:hover {
  background: #5ba0ff;
  box-shadow: 0 0 20px var(--neon);
}













/* ---------------- INTRO MOBILE FIX ---------------- */
@media (max-width: 768px) {
  #player-left,
  #player-right {
    width: 90px;      /* smaller shooter size */
  }

  #player-left {
    left: 2%;         /* push slightly inward */
    top: 47%;         /* adjust Y alignment */
  }

  #player-right {
    right: 2%;        /* push slightly inward */
    top: 50%;
  }

  .muzzle.left {
    left: 12%;        /* adjust bullet origin */
  }

  .muzzle.right {
    right: 12%;
  }

  .bullet-stream.left {
    left: 12%;
  }

  .bullet-stream.right {
    right: 12%;
  }

  .explosion {
    width: 140px;     /* smaller explosion */
    height: 140px;
  }

  .intro-logo {
    width: 180px;     /* smaller logo on phones */
  }
}












/* ---------------- Privacy page ---------------- */
/* Privacy page */
.privacy {
  max-width: 900px;
  margin: 60px auto;
  padding: 20px;
  background: rgba(0,0,0,0.7);
  border: 2px solid var(--neon);
  border-radius: 12px;
  box-shadow: 0 0 20px var(--neon);
}
.privacy h1 {
  text-align: center;
  margin-bottom: 20px;
}
.privacy h2 {
  margin-top: 30px;
  color: var(--neon);
  text-shadow: 0 0 10px var(--neon);
}
.privacy p, .privacy ul {
  font-size: 1em;
  line-height: 1.6;
}
.privacy ul {
  list-style: disc;
  margin-left: 20px;
}
