* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

#services,
#home,
#contact,
#about {
  scroll-margin-top: 115px;
}

body {
    font-family: sans-serif;
}


.flickity-page-dots {
    margin-top: -30px !important;
    top: 99%;
}

.section-title {
    text-align: center;
    margin-top: 20px;
    z-index: 99;
    background-color: #0f0f0f !important;
    width: 250px;
    padding: 15px;
    border-radius: 0 0 15px 15px;
    color: white;
    margin: 0 auto;

}

/* NAVBAR */
#mainNav {
    background-color: transparent;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.transition-all {
    transition: all 0.4s ease;
}

#mainNav .navbar-brand {
    opacity: 0;
    transform: translateY(-10px);
}

#mainNav.scrolled {
    background-color: #0f0f0f;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

#mainNav.scrolled .navbar-brand {
    opacity: 1 !important;
    transform: translateY(0);
}

#mainNav .nav-link {
    position: relative;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s ease;
    font-weight: bold;
}

#mainNav .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s ease;
}

#mainNav .nav-link:hover {
    color: #fff;
}

#mainNav .nav-link:hover::after {
    width: 100%;
}

/* END NAVBAR */

/* VIDEO REEL */
#hero {
    height: 100vh;
    overflow: hidden;
}

#bg-video {
    object-fit: cover;
    z-index: 0;
}

#hero .logo {
    animation: float 6s ease-in-out infinite;
}

#hero img {
    height: 300px;
}

#hero h1,
#hero p {
    z-index: 2;
}



.service-icon {
    font-size: 3rem;
    color: #0d6efd;
    margin-bottom: 10px;
}

/* END VIDEO REEL */

/* GAMES */


/* END GAMES */


.home-title {
    top: 0;
    text-align: center;
    margin-top: 20px;
    z-index: 99;
    background-color: #0f0f0f !important;
    width: 250px;
    padding: 15px;
    border-radius: 0 0 15px 15px;
}

.carousel {
    background: #000;
}

.carousel-cell {
    width: 100%;
    overflow: hidden;
}

.carousel-cell img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0;
}

.flickity-button {
    background: rgba(0, 0, 0, 0.5);
    color: white;
}

.flickity-button:hover {
    background: rgba(0, 0, 0, 0.8);
}

.flickity-page-dots .dot {
    background: white;
    opacity: 0.6;
}

.flickity-page-dots .dot.is-selected {
    opacity: 1;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

@media (max-width: 768px) {


    .home-title {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .flickity-prev-next-button {
        display: none;
    }

    #home {
        background-color: #000;
    }

    .js-flickity {
        z-index: 1;
    }

    .carousel-cell {
        width: 100%;
        overflow: hidden;
        cursor: grab;
    }

    .carousel-cell img {
        width: 100%;
        height: 50vh;
        object-fit: cover;
        user-select: none;
        -webkit-user-drag: none;
        transition: transform .4s ease;
    }

    .carousel-cell.is-selected img {
        transform: scale(1.03);
    }
}

/* MODALS */
.modal {
}

.modal-content {
    background-color: #0f0f0f !important;
    color: white;
    text-align: center;
    -webkit-box-shadow:0px 0px 105px 12px rgba(255,255,255,0.16);
-moz-box-shadow: 0px 0px 105px 12px rgba(255,255,255,0.16);
box-shadow: 0px 0px 105px 12px rgba(255,255,255,0.16);
}

.modal-body {
    padding: 0 !important;
}

.modal-description {
    border-radius: 5px !important;

    margin: 15px;
}

.modal ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

/* END MODALS */

/* SERVICES */
#services {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
    background-color: #0f0f0f !important;
}

#services i {
    color: white;
    font-size: 4rem;
}

#services .card {
    min-height: 320px;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  transition: transform 0.3s ease;
      background-color: #0f0f0f !important;
    color: white;
}




#services .card:hover {
  transform: translateY(-8px);
}

#services .card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  z-index: 0;
  background: conic-gradient(
    from 0deg,
    #2e2e2e,
    #2e2e2e,
    #2e2e2e,
    #2e2e2e
  );
  border-radius: inherit;
  animation: spin 3s linear infinite;
  opacity: 0;
  transition: opacity 0.4s ease;
}

#services .card:hover::before {
  opacity: 1;
}

#services .card::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  right: 3px;
  bottom: 3px;
      background-color: #0f0f0f !important;
  border-radius: inherit;
  z-index: 1;
}

#services .card * {
  position: relative;
  z-index: 2;
}

.service-icon {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 15px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* END SERVICES */


/* ABOUT US */
#about p {
    text-align: justify;
    font-size: 22px;
}

.about-gamepad-img {
    width: 60%;
    margin-bottom: 70px;
    animation: float 6s ease-in-out infinite;

}

/* END ABOUT US */


/* PARTNERS */
#partners {
    background-color: #0f0f0f !important;
    padding-bottom: 75px;
}

/* END PARTNERS */


button {
    background-color: #0f0f0f !important;
    color: white !important;
}


footer {
    background-color: #0f0f0f !important;
}

footer i {

    font-size: 24px;
}

.partners-carousel {
    margin: 70px auto;
    width: 80%;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partners-track {
    display: flex;
    gap: 60px;
    animation: scroll 40s linear infinite;
    width: max-content;
}

.partners-carousel:hover .partners-track {
    animation-play-state: paused;
}

.partners-track img {
    height: 85px;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.8);
    transition: filter 0.3s ease;
    cursor: pointer;
}

.partners-track img:hover {
    filter: grayscale(0%) brightness(1);
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ===== Responsivo ===== */
@media (max-width: 768px) {
    .partners-track {
        gap: 30px;
        animation-duration: 25s;
    }

    .partners-track img {
        height: 50px;
    }
}

.flickity-page-dot{
    z-index: 99 !important;
}

.flickity-page-dot.is-selected{
    border: 5px solid rgba(255, 255, 255, 0.479) !important;

}