/* ===== STÍL NA LEATHANAIGH ===== */
@font-face {
  font-family: 'fontSaincheaptha ';
  src: url('cló/DarkestCurse-V459z.woff2') format('woff2');
}

.cló-saincheaptha {
  font-family: 'fontSaincheaptha ', sans-serif;
}

@keyframes flicker {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.85;
  }

  100% {
    opacity: 1;
  }
}

@keyframes flicker-dorcha {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }

  100% {
    opacity: 1;
  }
}

.poll {
  display: block;
  height: 50px;
}

body {
  background-color: #0f0f10;
  background: url('gifs/bg.gif');
  cursor: url('gifs/cursor2.png'), auto;
  background-repeat: repeat;
  background-position: top left;
  background-size: auto;
  color: #ffffff;
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;

  margin: 0;
  padding: 0;
}

body::after {
  content: "";
  position: fixed;
  top: 0%;
  right: 0;
  width: 80px;
  height: 80px;
  background: url('gifs/taibhse.gif') no-repeat center/contain;
  animation: siúilTaibhse 50s steps(20, end) infinite;
  pointer-events: none;
  z-index: 100000;
}

body::before {
  content: "";
  position: fixed;
  top: 0%;
  left: 0;
  /* <-- key change: left side */
  width: 80px;
  height: 80px;
  background: url('gifs/taibhse.gif') no-repeat center/contain;
  animation: siúilTaibhseLeft 50s steps(20, end) infinite;
  pointer-events: none;
  z-index: 100000;
}

@keyframes siúilTaibhse {
  0% {
    transform: translate(0vw, 0vh) scaleX(1);
    opacity: 0;
  }

  5% {
    transform: translate(-5vw, 5vh) scaleX(1);
    opacity: 1;
  }

  5.001% {
    transform: translate(-5vw, 5.001vh) scaleX(-1);
  }

  10% {
    transform: translate(0vw, 10vh) scaleX(-1);
  }

  10.001% {
    transform: translate(0vw, 10.001vh) scaleX(1);
  }

  15% {
    transform: translate(-5vw, 15vh) scaleX(1);
  }

  15.001% {
    transform: translate(-5vw, 15.001vh) scaleX(-1);
  }

  20% {
    transform: translate(0vw, 20vh) scaleX(-1);
  }

  20.001% {
    transform: translate(0vw, 20.001vh) scaleX(1);
  }

  25% {
    transform: translate(-5vw, 25vh) scaleX(1);
  }

  25.001% {
    transform: translate(-5vw, 25.001vh) scaleX(-1);
  }

  30% {
    transform: translate(0vw, 30vh) scaleX(-1);
  }

  30.001% {
    transform: translate(0vw, 30.001vh) scaleX(1);
  }

  35% {
    transform: translate(-5vw, 35vh) scaleX(1);
  }

  35.001% {
    transform: translate(-5vw, 35.001vh) scaleX(-1);
  }

  40% {
    transform: translate(0vw, 40vh) scaleX(-1);
  }

  40.001% {
    transform: translate(0vw, 40.001vh) scaleX(1);
  }

  45% {
    transform: translate(-5vw, 45vh) scaleX(1);
  }

  45.001% {
    transform: translate(-5vw, 45.001vh) scaleX(-1);
  }

  50% {
    transform: translate(0vw, 50vh) scaleX(-1);
  }

  50.001% {
    transform: translate(0vw, 50.001vh) scaleX(1);
  }

  55% {
    transform: translate(-5vw, 55vh) scaleX(1);
  }

  55.001% {
    transform: translate(-5vw, 55.001vh) scaleX(-1);
  }

  60% {
    transform: translate(0vw, 60vh) scaleX(-1);
  }

  60.001% {
    transform: translate(0vw, 60.001vh) scaleX(1);
  }

  65% {
    transform: translate(-5vw, 65vh) scaleX(1);
  }

  65.001% {
    transform: translate(-5vw, 65.001vh) scaleX(-1);
  }

  70% {
    transform: translate(0vw, 70vh) scaleX(-1);
  }

  70.001% {
    transform: translate(0vw, 70.001vh) scaleX(1);
  }

  75% {
    transform: translate(-5vw, 75vh) scaleX(1);
  }

  75.001% {
    transform: translate(-5vw, 75.001vh) scaleX(-1);
  }

  80% {
    transform: translate(0vw, 80vh) scaleX(-1);
  }

  80.001% {
    transform: translate(0vw, 80.001vh) scaleX(1);
  }

  85% {
    transform: translate(-5vw, 85vh) scaleX(1);
  }

  85.001% {
    transform: translate(-5vw, 85.001vh) scaleX(-1);
  }

  90% {
    transform: translate(0vw, 90vh) scaleX(-1);
    opacity: 1;
  }

  90.001% {
    transform: translate(0vw, 90.001vh) scaleX(1);
  }

  95% {
    transform: translate(-5vw, 95vh) scaleX(1);
  }

  95.001% {
    transform: translate(-5vw, 95.001vh) scaleX(-1);
    opacity: 0.5;
  }

  100% {
    transform: translate(0vw, 100vh) scaleX(-1);
    opacity: 0;
  }
}

@keyframes siúilTaibhseLeft {
  0% {
    transform: translate(0vw, 0vh) scaleX(-1);
    opacity: 0;
  }

  5% {
    transform: translate(5vw, 5vh) scaleX(-1);
    opacity: 1;
  }

  5.001% {
    transform: translate(5vw, 5.001vh) scaleX(1);
  }

  10% {
    transform: translate(0vw, 10vh) scaleX(1);
  }

  10.001% {
    transform: translate(0vw, 10.001vh) scaleX(-1);
  }

  15% {
    transform: translate(5vw, 15vh) scaleX(-1);
  }

  15.001% {
    transform: translate(5vw, 15.001vh) scaleX(1);
  }

  20% {
    transform: translate(0vw, 20vh) scaleX(1);
  }

  20.001% {
    transform: translate(0vw, 20.001vh) scaleX(-1);
  }

  25% {
    transform: translate(5vw, 25vh) scaleX(-1);
  }

  25.001% {
    transform: translate(5vw, 25.001vh) scaleX(1);
  }

  30% {
    transform: translate(0vw, 30vh) scaleX(1);
  }

  30.001% {
    transform: translate(0vw, 30.001vh) scaleX(-1);
  }

  35% {
    transform: translate(5vw, 35vh) scaleX(-1);
  }

  35.001% {
    transform: translate(5vw, 35.001vh) scaleX(1);
  }

  40% {
    transform: translate(0vw, 40vh) scaleX(1);
  }

  40.001% {
    transform: translate(0vw, 40.001vh) scaleX(-1);
  }

  45% {
    transform: translate(5vw, 45vh) scaleX(-1);
  }

  45.001% {
    transform: translate(5vw, 45.001vh) scaleX(1);
  }

  50% {
    transform: translate(0vw, 50vh) scaleX(1);
  }

  50.001% {
    transform: translate(0vw, 50.001vh) scaleX(-1);
  }

  55% {
    transform: translate(5vw, 55vh) scaleX(-1);
  }

  55.001% {
    transform: translate(5vw, 55.001vh) scaleX(1);
  }

  60% {
    transform: translate(0vw, 60vh) scaleX(1);
  }

  60.001% {
    transform: translate(0vw, 60.001vh) scaleX(-1);
  }

  65% {
    transform: translate(5vw, 65vh) scaleX(-1);
  }

  65.001% {
    transform: translate(5vw, 65.001vh) scaleX(1);
  }

  70% {
    transform: translate(0vw, 70vh) scaleX(1);
  }

  70.001% {
    transform: translate(0vw, 70.001vh) scaleX(-1);
  }

  75% {
    transform: translate(5vw, 75vh) scaleX(-1);
  }

  75.001% {
    transform: translate(5vw, 75.001vh) scaleX(1);
  }

  80% {
    transform: translate(0vw, 80vh) scaleX(1);
  }

  80.001% {
    transform: translate(0vw, 80.001vh) scaleX(-1);
  }

  85% {
    transform: translate(5vw, 85vh) scaleX(-1);
  }

  85.001% {
    transform: translate(5vw, 85.001vh) scaleX(1);
  }

  90% {
    transform: translate(0vw, 90vh) scaleX(1);
    opacity: 1;
  }

  90.001% {
    transform: translate(0vw, 90.001vh) scaleX(-1);
  }

  95% {
    transform: translate(5vw, 95vh) scaleX(-1);
  }

  95.001% {
    transform: translate(5vw, 95.001vh) scaleX(1);
    opacity: 0.5;
  }

  100% {
    transform: translate(0vw, 100vh) scaleX(1);
    opacity: 0;
  }
}

.coimeádán {
  max-width: 80%;
  margin: 40px auto;
  padding: 20px;
  background-color: #1a1a1d;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
}

.bosca-teidil {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  background: url('gifs/ceann2.gif');
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
  z-index: 800;
  opacity: 0.9;
}

.bosca-ábhar {
  display: flex;
  gap: 20px;
  background-color: #1a1a1d;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.bosca {
  flex: 1;
  background: #1a1a1d;
  padding: 20px;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
}

/* ===== CEANNTEIDEAL ===== */
header {
  background: linear-gradient(90deg, #000000, #1a0000);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  text-align: center;
}

/* ===== CEANNTEIDIL ===== */
h1,
h2,
h3 {
  color: #ff2b2b;
  letter-spacing: 1px;
}

h1 {
  font-family: 'fontSaincheaptha ', Arial, sans-serif;
  font-size: 8rem;
  padding-bottom: 10px;
  animation: flicker-dorcha 0.8s infinite;
  position: relative;
  z-index: 1;
  margin-top: 60px;
}

h2 {
  margin-top: 20px;
  font-family: 'fontSaincheaptha ', Arial, sans-serif;
}

/* ===== TÉACS ===== */
p {
  color: #dddddd;
  line-height: 1.6;
}

.téacs-móra {
  font-size: 2rem;
}

.fotheideal  {
  color: #aaaaaa;
  font-size: 0.95rem;
}

/* ===== NAISC ===== */
a {
  color: #ff4c4c;
  text-decoration: none;
  font-weight: bold;
  cursor: url('gifs/cursor-link.png'), pointer;
}

a:hover {
  background-color: #2a0000;
  color: #ff2b2b;
  text-decoration: none;
  transform: scale(1.05);
  animation: flicker 0.2s infinite;
  border-radius: 10px;
  box-shadow:
    5px 5px 0px #000,
    0 0 15px rgba(255, 0, 0, 0.9),
    0 0 25px rgba(255, 0, 0, 0.4);
}

section {
  margin-bottom: 30px;
}


hr {
  border: none;
  height: 1px;
  background-color: #333;
  margin: 20px 0;
}

/* ===== STÍL CNAIPE ===== */
.stíl-cnaipe {
  display: inline-block;
  font-family: 'fontSaincheaptha ', Arial, sans-serif;
  background-color: #1a0000;
  color: #ffffff;
  padding: 12px 20px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 50px;
  box-shadow:
    3px 3px 0px #000,
    0 0 10px rgba(255, 0, 0, 0.6);
  transition: all 0.15s ease;
}

.stíl-cnaipe:hover {
  background-color: #2a0000;
  color: #ff2b2b;
  text-decoration: none;
  transform: scale(1.05);
  animation: flicker 0.2s infinite;
  box-shadow:
    5px 5px 0px #000,
    0 0 15px rgba(255, 0, 0, 0.9),
    0 0 25px rgba(255, 0, 0, 0.4);
}

.stíl-cnaipe:active {
  transform: translate(2px, 2px);
  box-shadow:
    1px 1px 0px #000,
    0 0 5px rgba(255, 0, 0, 0.5);
}

.lár-teideal {
  text-align: center;
  font-family: 'fontSaincheaptha ', Arial, sans-serif;
  transform: scale(1.05);
  animation: flicker 0.4s infinite;
}

.pic {
  width: 200px;
  height: 300px;
  border-radius: 10px;
}

.roghchlár-anuas {
  position: relative;

}

.burgar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: url('gifs/cursor-link.png'), pointer;
  background: transparent;
  /* transparent background */
  padding: 10px;
  position: fixed;
  left: 15px;
  top: 10px;
  z-index: 1001;
}

.burgar span {
  width: 50px;
  height: 6px;
  background-color: #ff2b2b;
  border-radius: 10px;
  display: block;
  z-index: 9999;
}

.burgar:hover span {
  background-color: gray;
  animation: flicker 0.2s infinite;
  z-index: 9999;
}

.ábhar-roghchlár-anuas {
  display: none;
  position: fixed;
  left: 25px;
  top: 65px;
  background: #09090a;
  background: url('gifs/static.gif') repeat;
  background-size: auto;
  animation: flicker 0.5s infinite alternate;
  text-decoration: none;
  border-radius: 10px;
  z-index: 9999;
  box-shadow:
    5px 5px 0px #000,
    0 0 15px rgba(255, 0, 0, 0.9),
    0 0 25px rgba(255, 0, 0, 0.4);
}

/* NAISC */
.ábhar-roghchlár-anuas a {
  display: block;
  padding: 10px;
  text-decoration: none;
  border-radius: 10px;
  text-align: center;
  font-family: 'fontSaincheaptha ', Arial, sans-serif;
  font-size: 1.5rem;
  color: white;
  z-index: 9999;
}

.ábhar-roghchlár-anuas a:hover {
  background: #ff2b2b;
  text-decoration: none;
  transform: scale(1.05);
  animation: flicker 0.2s infinite;
  z-index: 9999;
}

.roghchlár-anuas:hover .ábhar-roghchlár-anuas {
  display: block;
  z-index: 9999;
}

.tarraingt-taibhse {
  position: absolute;
  width: 60px;
  height: 60px;
  pointer-events: none;
  opacity: 0;
  background: url("gifs/trail2.png") no-repeat center/contain;
  transform: translate3d(0, 0, 0);
  animation: tréig-taibhse 0.7s ease-out forwards;

}

@keyframes tréig-taibhse {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.4;
    filter: blur(2px);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -70%) scale(0.6);
    filter: blur(4px);
  }
}
