/* General */


@font-face {
  font-family: 'Caprasimo';
  src: url('/fonts/PixelifySans.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Medium';
  src: url('/fonts/PixelifySans.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}



body {
   font-family: 'Medium';
  margin: 0;
  padding: 0;
  color: white;
  /*background: url('/media//bg.png') no-repeat center center fixed; */
  background-color: #111;
  background-size: cover;
}



.falling-item {
  position: absolute;
  background-image: url('/media/bonk.png'); /* sau ./media/star.png dacă e local */
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.8;
  width: 120px;
  height: 120px;
  animation: fallAndSpin linear forwards;
}

@keyframes fallAndSpin {
  0% {
    transform: translateY(-100px) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(110vh) rotate(360deg);
    opacity: 0;
  }
}



h1, h2, h3 {
  font-family: 'Caprasimo';
  font-weight: 800;
  text-align: center;
  color: #fff;
  margin-bottom: 16px;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.7), 0 0 16px rgba(255, 165, 0, 0.5);
}


h1 {
  font-size: 6rem;
}

h2 {
  font-size: 2.2rem;
}

h3 {
  font-size: 1.6rem;
}



a {
  color: white;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Navbar */
/* Navbar (fără ::after!) */
.navbar {
  position: sticky;
  top: 0;
  background: linear-gradient(90deg, rgb(255, 102, 0), rgb(255, 145, 0));
  padding: 16px 32px;
  display: flex;
  justify-content: center; /* centru */
  z-index: 500;
}


/* Gradient bar separată */
.gradient-bar {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgb(255, 102, 0), white, orange, rgb(255, 102, 0));
  background-size: 300% 100%;
  animation: gradientFlow 6s linear infinite;
  position: sticky;
  top: 56px; /* ajustează înălțimea dacă navbar-ul are padding mai mult */
  z-index: 499;
}





.logo {
  justify-self: start;
  font-size: 1.25rem;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}


/* Section */
.section {
  position: relative;

  text-align: center;
  padding: 80px 20px;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.about-section {
  scroll-margin-top: 300px;
  padding: 0px 20px 40px;
  max-width: 900px;
  margin: 0 auto;
  min-height: unset;
}

.about-section h2 {
  margin-bottom: 20px;
  text-align: center;
  font-size: 2rem;
}

.about-section p {
  font-size: 1.1rem;
  text-align: center;
  line-height: 1.6;
  color: #fff;
}

.join-button {
  display: inline-block;
  margin: 20px auto 0;
  padding: 10px 24px;
  background: linear-gradient(90deg, rgb(255, 102, 0), orange);
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 999px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 140, 0, 0.4);

  /* nou: centrare */
  text-align: center;
  display: block;
  max-width: fit-content;
}


.join-button:hover {
  background: linear-gradient(90deg, white, gold);
  color: rgb(0, 0, 0);
  box-shadow: 0 6px 16px rgba(255, 140, 0, 0.6);
}


.meme-gallery {
  display: grid;
  gap: 16px;
  padding: 0 16px;
  max-width: 1000px;
  margin: 0 auto;
}
.meme-gallery {
  grid-template-columns: repeat(3, 1fr);
}

.meme-gallery img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.memes-section {
  padding: 50 16px;
  max-width: 1000px;
  margin: 0 auto;
}



.meme-gallery img:hover {
  transform: scale(1.03);
}

.meme-gallery img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.meme-gallery img:hover {
  transform: scale(1.05);
}

@media (max-width: 900px) {
  .meme-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .meme-gallery {
    grid-template-columns: repeat(2, 1fr); /* tot 2 pentru lizibilitate */
  }
  h1 {
    font-size: 2.5rem;
  }
}





.subtitle {
  color: #ffffff;
  font-style: italic;
}

/* Slider */
/* Slider container remains the same */
/* Container */
.slider-container {
  position: relative;
  width: 90%;
  max-width: 600px;
  margin-top: 30px;
}

.slide-wrapper {
  position: relative;
  width: 100%;
  height: auto;
}

.slide {
  display: none;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

.slide.active {
  display: block;
}

.slide-box {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  background-color: rgba(255, 255, 255, 0.05); /* opțional pentru contrast */
  backdrop-filter: blur(2px); /* opțional pentru efect de sticlă */
}


/* Butoane peste imagine, poziționate global */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.3);
  border: none;
  color: white;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}


.nav-btn:hover {
  background-color: white;
  color: black;
}

.prev {
  left: 30px;
}

.next {
  right: 30px;
}

.contract-box {
  margin-top: 40px;
  text-align: center;
  font-family: monospace;
  color: #ffffff;
  
  padding: 16px;
  border-radius: 25px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;

}

.contract-header {
  display: flex;
  font-size: 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  color: #ffffff;
}

.contract-actions button,
.contract-actions a {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  margin-left: 8px;
  align-items: center;
}

.contract-actions img {
  width: 20px;
  height: 20px;
  opacity: 0.8;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.contract-actions img:hover {
  transform: scale(1.15);
  opacity: 1;
}


.social-links {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 24px;
}

.social-links a {
  display: inline-block;
  padding: 8px 16px;
  margin: 5px;
  border: 2px solid #ffae00; /* culoare glow */
  border-radius: 8px;
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s ease-in-out;

  /* Glow efect */
  box-shadow: 0 0 10px #ffbb00, 0 0 20px #ff5100;
}

.social-links a:hover {
  box-shadow: 0 0 15px #ff3300, 0 0 30px #ff0000;
  transform: scale(1.05);
}


.social-links img {
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.8;
}

.social-links img:hover {
  transform: scale(1.2);
  opacity: 1;
}



.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.close-btn {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 3rem;
  color: white;
  cursor: pointer;
  z-index: 10000;
  font-weight: bold;
}



@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

@keyframes glowPulse {
  0%, 100% {
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.6), 0 0 16px rgba(255, 140, 0, 0.4);
  }
  50% {
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.9), 0 0 24px rgba(255, 140, 0, 0.7);
  }
}

h1, h2 {
  animation: glowPulse 2.5s ease-in-out infinite;
}


