.important-text {
  color: #fff;
  font-weight: 600;
}

.links-card {
  background: linear-gradient(90deg, #c77dff33, #6c63ff22, #00d0ff11);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(199, 125, 255, 0.13);
  padding: 24px 28px;
  margin-bottom: 38px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  font-size: 1.15rem;
  border: 2px solid #c77dff44;
}

.links-icon {
  font-size: 2.1rem;
  color: #6c63ff;
  margin-right: 6px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px #6c63ff88);
}

.links-list div {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.links-list a {
  color: #c77dff;
  font-weight: 700;
  text-decoration: underline;
  transition: color 0.18s;
}

.links-list a:hover {
  color: #6c63ff;
}

/* Responsive pop-up Joacă Acum */
#play-model {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90vw;
  max-width: 420px;
  max-height: 70vh;
  background: #c77dff;
  color: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  z-index: 99999;
  padding: 5vw 3vw 3vw 3vw;
  text-align: center;
  font-size: clamp(1rem, 2vw, 1.25rem);
  transition: opacity 0.3s;
  opacity: 0;
  display: none;
}

@media (max-width: 500px) {
  #play-model {
    max-width: 98vw;
    padding: 7vw 2vw 4vw 2vw;
    font-size: 1rem;
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: flex !important;
    position: fixed;
    top: 18px;
    right: 18px;
    background: rgba(20, 20, 20, 0.98);
    border-radius: 50%;
    padding: 6px;
    z-index: 100001;
  }

  header nav {
    position: fixed;
    top: 0;
    right: -100vw;
    width: 70vw;
    max-width: 400px;
    height: 100vh;
    background: rgba(20, 20, 20, 0.98);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    transition: right 0.4s cubic-bezier(.77, 0, .18, 1);
    padding-top: 80px;
  }

  header nav.active {
    right: 0;
  }

  header nav ul {
    flex-direction: column;
    align-items: center;
    gap: 18px;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  header nav ul li {
    width: 100%;
    text-align: center;
    border-bottom: none;
    padding: 0;
    display: flex;
    justify-content: center;
  }

  header nav a {
    width: 80%;
    max-width: 170px;
    margin: 0 auto;
    padding: 14px 0;
    font-size: 1.15rem;
    border-radius: 12px;
    box-shadow: none;
    transform: none;
    border-bottom: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}

header .container {
  display: flex;
  justify-content: space-between;
  /* logo stânga, nav dreapta */
  align-items: center;
  width: 100%;
  max-width: 1800px;
  /* limitează cât de departe merg elementele */
  margin: 0 auto;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  background: linear-gradient(to bottom, #0a0a0a, #1a1a1a);
  color: #f0f0f0;
  line-height: 1.6;
}

/* Navbar */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(20, 20, 20, 0.906);
  padding: 15px 15px;
  gap: 20px;
  /* spațiu între zone */
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  min-height: 50px;
}

header .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  margin-top: -10px;
}

header .logo img {
  display: block;
  width: 100%;
  /* height: auto; */
  height: 100%;
  filter: drop-shadow(0 8px 12px rgba(199, 125, 255, 0.7));
}

/* Meniu mobil */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 30px;
  height: 3px;
  background-color: #c77dff;
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Meniu normal */
header nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  /* spațiu între butoane */
  font-size: 1rem;
}

header nav a {
  color: #f0f0f0;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 8px;
  transition: all 0.3s;
  position: relative;
  text-shadow: 0 0 6px rgba(199, 125, 255, 0.5);
  /* glow central */
  height: 48px;
  display: flex;
  align-items: center;
  transform: translateY(10px);
  /* ajustează valoarea după cum vrei */
}

/* Scrollbar modern */
body::-webkit-scrollbar {
  width: 5px;
}

body::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #c77dff 40%, #6c63ff 100%);
  border-radius: 8px;
}

body::-webkit-scrollbar-track {
  background: #181818;
}

/* Glow efect */
header nav a:hover,
header nav a.active {
  background: #c77dff;
  color: #000;
  transform: translateY(3px);
  box-shadow: 0 0 12px rgba(199, 125, 255, 0.6);
  /* glow uniform */
}

/* Hero */
.hero {
  position: relative;
  height: 500px;
  background: url('https://wallpapercave.com/wp/wp12497038.jpg') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

#fireflies {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
}

.hero {
  position: relative;
  height: 100vh;
  background: url('.images/AFIS.jpg') center 0px/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 30px;
  animation: fadeInUp 1s ease 0.3s both;
  font-weight: 300;
}

/* CTA */
.cta-button {
  background-color: #c77dff;
  color: #000;
  padding: 20px 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.3rem;
  border-radius: 35px;
  transition: all 0.3s;
  box-shadow: 0 5px 15px rgba(189, 114, 247, 0.4);
  position: relative;
  overflow: hidden;
  z-index: 1;
  animation: pulse 2s infinite;
  margin-top: 25px;
  /* Adaugă această linie pentru a muta butonul mai jos */
  display: inline-block;
}

.cta-button:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 20px rgba(199, 125, 255, 0.6);
  animation: none;
}

/* Features */
.features {
  padding: 50px 20px;
  text-align: center;
}



.features h2 {
  display: inline-block;
  font-size: 40px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 70px;
  background: linear-gradient(90deg, #c77dff, #b47cff, #ff79f6, #c77dff, #6c63ff, #ce79ff, #af7dff);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: waveGradient 10s ease infinite;
  font-family: "Montserrat", sans-serif;
  text-transform: capitalize;
  position: relative;
  text-shadow: 0 2px 16px #c77dff99;
}

.despre-noi h2 {
  display: inline-block;
  font-size: 40px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 70px;
  background: linear-gradient(90deg, #c77dff, #b47cff, #ff79f6, #c77dff, #6c63ff, #ce79ff, #af7dff);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: waveGradient 10s ease infinite;
  font-family: "Montserrat", sans-serif;
  text-transform: capitalize;
  position: relative;
  text-shadow: 0 2px 16px #c77dff99;
}


.comunitate {
  font-style: italic;
  font-size: 30px;
  background: linear-gradient(90deg, #50c878, #00bfff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.comunitate:hover {
  transform: translateY(-5px);
}

.comunitate i {
  font-size: 22px;
}

.features h2::after {
  border: 1px solid #333;
  bottom: -20px;
  content: "";
  left: 0;
  margin: 0 auto;
  position: absolute;
  right: 0;
}

.features .card h3 {
  color: #f8f8ff;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 12px;
  margin-top: 15px;
  text-shadow: 0 2px 12px #c77dff88;
}

.features .card p {
  color: #e0e0e0;
  font-size: 1.1rem;
  text-shadow: 0 1px 8px #c77dff44;
  margin-bottom: 0;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}


/* animație valuri */
@keyframes waveGradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}


.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.card {
  background: rgba(30, 30, 30, 0.7);
  padding: 25px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  transition: transform 0.7s cubic-bezier(.77, 0, .18, 1), opacity 0.7s cubic-bezier(.77, 0, .18, 1);
  text-align: center;
  border: 1px solid rgba(199, 125, 255, 0.3);
  transform: translateY(50px);
  opacity: 0;
}

.card.visible {
  transform: translateY(0);
  opacity: 1;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(199, 125, 255, 0.7);
  border-color: #c77dff;
}

.card img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 15px;
  border-radius: 10px;
  transition: transform 0.3s;
}

.card:hover img {
  transform: scale(1.2);
  box-shadow: 0 3px 5px rgba(202, 92, 235, 0.7);
}

/* Gallery */
.gallery {
  padding: 50px 20px;
  text-align: center;
}

.gallery h2 {
  color: #c77dff;
  font-size: 2.5rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px #000;
}

.gallery .grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.gallery .grid img {
  width: 200px;
  border-radius: 15px;
  border: 3px solid #c77dff;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  transform: scale(0.9);
  opacity: 0;
}

.gallery .grid img.visible {
  transform: scale(1);
  opacity: 1;
}

.gallery .grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(199, 125, 255, 0.6);
}

/* Logo */
.logo-container img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  filter: drop-shadow(0 0 5px rgb(234, 201, 165));
  transition: all 0.5s ease;
  /* pentru schimbarea dimensiunii pe mobil */
}

/* Media query pentru telefoane */
@media (max-width: 768px) {

  /* Containerul principal pe mobil */
  .row {
    flex-direction: column;
    /* coloane pe verticală */
    align-items: center;
    /* centru pe orizontală */
  }

  /* Coloanele devin full width */
  .col-md-6,
  .col-sm-6,
  .col-xs-12 {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* centrează tot ce e în coloană */
    justify-content: center;
  }

  /* Logo responsive și centrat */
  .logo-container {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .logo-container img {
    max-width: 70%;
    /* logo mai mare pe mobil */
    height: auto;
    margin-bottom: 20px;
  }

  /* Text centrat */
  .well-middle {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* Desktop: logo centrat vertical */
@media (min-width: 769px) {

  /* coloana logo */
  .col-md-6:first-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* centru vertical */
    height: 100%;
    /* ocupă întreaga înălțime a rândului */
  }

  .logo-container {
    display: flex;
    justify-content: center;
    /* centru orizontal în coloană */
    align-items: center;
    /* centru vertical în coloană */
    height: 100%;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

.footer-area {
  background: transparent;
  padding-top: 50px;
}

.footer-area-bottom {
  background: transparent;
}

.footer-head p {
  color: #444;
}

.footer-head h4 {
  color: #444;
  font-size: 16px;
  letter-spacing: 2px;
  padding-bottom: 10px;
  text-transform: uppercase;
}

.footer-logo {
  padding-bottom: 20px;
}

.footer-logo h2 {
  color: #222;
  padding: 0;
  margin: 0;
  font-size: 36px;
  font-weight: bold;
  line-height: 1;
}

.footer-logo h2 span {
  color: #ADD8E6;
}


.footer-icons ul li {
  display: inline-block;
}

.footer-icons ul li a {
  border: 3px solid #444;
  color: #444;
  display: block;
  font-size: 20px;
  height: 50px;
  line-height: 38px;
  margin-right: 20px;
  text-align: center;
  width: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.footer-icons ul li a i {
  line-height: 0;
}

.flicker-img>a {
  float: left;
  padding: 1px;
  width: 33.33%;
}

.footer-icons {
  margin-top: 30px;
}

.footer-contacts p span {
  color: #ADD8E6;
  font-weight: 700;
}

.popular-tag ul li {
  display: inline-block;
}

.footer-content {
  display: block;
  overflow: hidden;
}

.popular-tag ul li a:hover,
.footer-icons ul li a:hover {
  background: #4B0150;
  border: 1px solid #4B0150;
  color: #fff;
  /* Soft glow */
  box-shadow: 0 0 20px rgba(102, 2, 109, 0.792);
  /* glow extern */
  transition: all 0.3s ease;
  /* tranziție lină */
}

.popular-tag ul li a {
  border: 1px solid #444;
  border-radius: 30px;
  color: #444;
  font-size: 13px;
  display: block;
  font-weight: 600;
  margin: 5px 3px;
  position: relative;
  text-decoration: none;
  text-transform: capitalize;
  transition: all 0.4s ease 0s;
  width: 70px;
}

.copyright-text a:hover {
  text-decoration: underline;
  color: #ADD8E6;
}

.copyright-text a {
  color: #444;
}

.copyright>p {
  margin-bottom: 0;
  color: #444;
}

.copyright a,
.credits a {
  color: #ADD8E6;
}

.credits {
  padding-top: 5px;
  text-align: center;
}


/* Animații */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 5px 15px rgba(199, 125, 255, 0.4);
  }

  50% {
    box-shadow: 0 5px 25px rgba(199, 125, 255, 0.9);
  }

  100% {
    box-shadow: 0 5px 15px rgba(199, 125, 255, 0.4);
  }
}

/* Responsive */
@media screen and (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  header nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 30%;
    height: 100vh;
    background: rgba(20, 20, 20, 0.98);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    z-index: 1000;
    padding-top: 80px;
  }

  header nav.active {
    right: 0;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
  }

  header nav ul {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  header nav a {
    font-size: 1.2rem;
    padding: 12px 15px;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 8px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -8px);
  }
}


/* Hero title */
.hero h1 {
  font-weight: 600;
  /* bold extrem */
  font-size: 3rem;
  /* ajustează dimensiunea */
  color: #ffffff;
  /* culoare tip Minecraft aesthetic */
  /* text-shadow: 
    0 0 5px #ffffff,
    0 0 10px #ffffff,
    0 0 20px #ffffff,
    0 0 30px #9b59b6;  */
}

/* Subnivele, servicii , despre noi */


.area-padding {
  padding: 10px 0px 60px;
}

.area-padding-2 {
  padding: 70px 0px 50px;
}

.section-headline h2 {
  display: inline-block;
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 70px;
  position: relative;
  text-transform: capitalize;
}

.section-headline h2::after {
  border: 1px solid #333;
  bottom: -20px;
  content: "";
  left: 0;
  margin: 0 auto;
  position: absolute;
  right: 0;
  width: 40%;
}

.sec-head {
  display: inline-block;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 0;
  padding: 0 0 10px;
  text-transform: uppercase;
  transition: all 0.4s ease 0s;
}


/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services-icon {
  color: #444;
  display: inline-block;
  font-size: 60px;
  line-height: 66px;
  margin-bottom: 10px;
  transition: color 1s ease;
}

.section-headline.services-head>h2 {
  margin-bottom: 25px;
}

.services-details {
  padding-top: 40px;
  transition: all 0.5s ease 0s;
}

.services-details:hover h4,
.services-details:hover .services-icon {
  color: #9EABFF;
}

.row.second-row {
  margin-top: 40px;
}

.section-head>h2 {
  color: #333;
}

.single-services>h4 {
  color: #9EABFF;
  font-size: 24px;
  font-weight: 500;
}

.single-services>p {
  color: #fff;
  font-size: 14px;
}

.br {
  color: #fff;
}