@font-face {
  font-family: 'EurostileExtended';
  src: url('/assets/fonts/Eurostile-ExtendedTwo.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

#preloader {
  position: fixed;
  inset: 0;
 background: linear-gradient(160deg, #0f0f0f 0%, #060606 50%, #000000 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.2s ease;
}

#preloader.fade-out {
  opacity: 0;
  pointer-events: none;
}

.preloader-content {
  text-align: center;
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 0.25s ease-out, transform 0.25s ease-out;
}

.preloader-content.show {
  opacity: 1;
  transform: scale(1);
}


/* LOGO — reduced 15% */
.preloader-logo img {
  width: clamp(220px, 26vw, 484px);
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Subtitle block */
.preloader-meta {
  display: inline-block;
  margin-top: 24px;
}

/* SUBTITLE — reduced 25% */
.preloader-subtitle {
  font-family: 'EurostileExtended', sans-serif;
  font-size: clamp(22px, 1.1vw, 24px);
  letter-spacing: 3px;
  color: #888888;
  white-space: nowrap;
  line-height: 1.2;
}

/* LINE */
.preloader-line-wrapper {
  position: relative;
  width: 100%;
  height: 1.5px;
  margin-top: 12px;
}

.preloader-line-bg {
  position: absolute;
  inset: 0;
  background: #2a2a2a;
}

.preloader-line-fill {
  position: absolute;
  inset: 0;
  width: 0%;
  background: #c81414; /* refined red */
  transition: width 1.1s linear;
}

@media (max-width: 360px){

  .preloader-logo img{
    width:195px;
  }

  .preloader-subtitle{
    font-size: 10px;
    letter-spacing: 1.5px;
  }

  /* Танка линија за мали Android */
  .preloader-line-wrapper{
    height: 1px;
    margin-top: 5px;
  }

  .preloader-line-fill{
    height: 1px;
  }

}


@media (min-width: 361px) and (max-width: 768px){

  .preloader-logo img{
    width: 215px;
  }

  .preloader-subtitle{
    font-size: 11px;
    letter-spacing: 2px;
  }

  /* Елегантнија мобилна линија */
  .preloader-line-wrapper{
    height: 1px;
    margin-top: 5px;
  }

  .preloader-line-fill{
    height: 1px;
  }

}


/* ===================== */
/* 768 – 819 (iPad Mini зона) */
/* ===================== */

@media (min-width: 768px) and (max-width: 820px){

  .preloader-logo img{
    width: 360px;
  }

  .preloader-subtitle{
    font-size: 20px;
  }

   /* Елегантнија мобилна линија */
  .preloader-line-wrapper{
    height: 1px;
    margin-top: 5px;
  }

  .preloader-line-fill{
    height: 1px;
  }

}


/* ===================== */
/* 820 – 959 (iPad Air зона) */
/* ===================== */

@media (min-width: 821px) and (max-width: 960px){

  .preloader-logo img{
    width: 350px;
  }

  .preloader-subtitle{
    font-size: 25px;
  }


 /* Елегантнија мобилна линија */
  .preloader-line-wrapper{
    height: 1px;
    margin-top: 5px;
  }

  .preloader-line-fill{
    height: 1px;
  }

}


/* ===================== */
/* 960 – 1024 (iPad Pro зона) */
/* ===================== */

@media (min-width: 961px) and (max-width: 1024px){

  .preloader-logo img{
    width: 400px;
  }

  .preloader-subtitle{
    font-size: 23px;
  }


  /* Елегантнија мобилна линија */
  .preloader-line-wrapper{
    height: 1px;
    margin-top: 5px;
  }

  .preloader-line-fill{
    height: 1px;
  }
}