/********** Template CSS **********/

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 600;
    transition: .5s;
    border-radius: 50px;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: inherit;
}

.btn-primary {
    color: var(--bs-white);
}

.cards-container {
    perspective: 1000px;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  .cards-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    transform-style: preserve-3d;
    height: 450px;
    width: 250px;
    max-width: 100%;
    margin: 0 auto;
  }
  
  .card {
    position: absolute;
    width: 220px;
    height: 400px;
    transition: all 0.5s ease;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  }
  
  .card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Dim inactive cards */
  }
  
  /* Position Logic */
  
  .card-center {
    z-index: 10;
    transform: translate3d(0, 0, 100px); /* Move forward */
  }
  .card-center img { filter: brightness(1); }
  
  .card-left-1 {
    transform: translateX(-160px) rotateY(35deg) scale(0.9);
    z-index: 5;
  }
  
  .card-right-1 {
    transform: translateX(160px) rotateY(-35deg) scale(0.9);
    z-index: 5;
  }
  
  .card-left-2 {
    transform: translateX(-280px) rotateY(45deg) scale(0.8);
    z-index: 1;
  }
  
  .card-right-2 {
    transform: translateX(280px) rotateY(-45deg) scale(0.8);
    z-index: 1;
  }

  @media screen and (max-width: 768px) {
    .cards-wrapper {
      height: 300px;
      width: 180px;
    }
    .card {
      width: 180px;
      height: 320px;
    }
    .card-left-1 {
      transform: translateX(-120px) rotateY(35deg) scale(0.9);
    }
    .card-right-1 {
      transform: translateX(120px) rotateY(-35deg) scale(0.9);
    }
    .card-left-2 {
      transform: translateX(-200px) rotateY(45deg) scale(0.8);
    }
    .card-right-2 {
      transform: translateX(200px) rotateY(-45deg) scale(0.8);
    }
    .card-center {
      transform: translate3d(0, 0, 80px);
    }
  }
  
  /* Button Styling */
  .play-btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(to right, var(--accent-red), #7b121c);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
  }
/*** Navbar ***/
.navbar {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 9;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 25px;
    padding: 40px 0;
    color: var(--bs-white);
    font-size: 17px;
    text-transform: uppercase;
    outline: none;
    transition: .5s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link,
    .navbar.bg-dark .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 8px;
        border-top: 1px solid var(--bs-light);
    }
}

@media (min-width: 992px) {
    .navbar.bg-dark .navbar-nav .nav-link {
        padding: 20px 0;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding-top: 100px;
    background: rgba(0, 0, 0, .7);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 550px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    padding-top: 200px;
    background-size: cover;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: var(--bs-white);
}


/*** Title ***/
.title {
    margin-bottom: 2rem;
}

.title .title-left,
.title .title-center,
.title .title-right {
    display: inline-block;
    text-transform: uppercase;
    overflow: hidden;
}

.title .title-center {
    text-align: center;
}

.title .title-right {
    text-align: right;
}

.title .title-left h5,
.title .title-center h5,
.title .title-right h5 {
    position: relative;
    display: inline-block;
    font-size: 18px;
    font-weight: 300;
}

.title .title-left h5::after,
.title .title-center h5::before,
.title .title-center h5::after,
.title .title-right h5::before {
    position: absolute;
    content: "";
    width: 500%;
    height: 0;
    top: 9px;
    border-bottom: 1px solid var(--bs-white);
}

.title .title-left h5::after,
.title .title-center h5::after {
    left: calc(100% + 15px);
}

.title .title-right h5::before,
.title .title-center h5::before {
    right: calc(100% + 15px);
}

.title .title-left h1,
.title .title-center h1,
.title .title-right h1 {
    border-bottom: 1px solid var(--bs-white);
}


/*** Service ***/
.service-item {
    position: relative;
    margin-top: 2.5rem;
    overflow: hidden;
}

.service-item .service-img {
    position: relative;
    display: inline-block;
}

.service-item .service-img::before {
    position: absolute;
    content: "";
    width: calc(100% - 12rem);
    height: calc(100% - 12rem);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 3rem solid rgba(0, 0, 0, .5);
    border-radius: 300px;
    z-index: 1;
}

.service-item.service-item-left {
    border-radius: 500px 0 0 500px;
    background: linear-gradient(to right, var(--bs-secondary), var(--bs-dark));
}

.service-item.service-item-right {
    border-radius: 0 500px 500px 0;
    background: linear-gradient(to left, var(--bs-secondary), var(--bs-dark));
}

@media (max-width: 767.98px) {
    .service-item.service-item-left,
    .service-item.service-item-right {
        border-radius: 500px 500px 0 0;
        background: linear-gradient(to bottom, var(--bs-secondary), var(--bs-dark));
        text-align: center;
    }
}


/*** Team ***/
.team-item {
    position: relative;
}

.team-item .team-name {
    position: absolute;
    width: 100%;
    height: 60px;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .7);
}

.team-item .team-body {
    position: relative;
    overflow: hidden;
}

.team-item .team-body .team-before,
.team-item .team-body .team-after {
    position: absolute;
    content: "";
    width: 0;
    height: calc(100% - 60px);
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: .5s;
}

.team-item .team-body .team-after {
    left: auto;
    right: 0;
}

.team-item .team-body .team-before {
    text-align: right;
}

.team-item:hover .team-body .team-before,
.team-item:hover .team-body .team-after {
    width: 50%;
}

.team-item .team-body .team-before span,
.team-item .team-body .team-after span {
    margin: 5px;
    color: var(--bs-white);
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-body .team-before span,
.team-item:hover .team-body .team-after span {
    opacity: 1;
    transition-delay: .2s;
}


/*** Testimonial ***/
.testimonial-carousel {
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    margin-top: 35px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 60px;
    height: 60px;
    margin: 0 5px;
    padding: 10px;
    background: var(--bs-dark);
    border-radius: 100px;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot img {
    opacity: .1;
    transition: .5s;
    border-radius: 100px;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}

.partners-section {
    text-align: center;
}

.partners-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.partners-logos a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.partners-logos img {
    max-height: 50px;      /* adjust logo size */
    max-width: 120px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.85;
    transition: all 0.3s ease;
}

.partners-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/*** Footer ***/
@keyframes footerAnimatedBg {
	0% {
        background-position: 0 0;
    }

	100% {
        background-position: -1000px 0;
    }
}

.footer {
	background-image: url(../img/u2bet.png);
	background-position: 0px 0px;
    background-repeat: repeat-x;
	animation: footerAnimatedBg 50s linear infinite;
}

/* Games section styles */
.provider-row {
    gap: 1px;
}
/* .provider-card {
    width: 120px;
    height: 260px;
    background: linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.5));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    padding: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.6);
    border: 3px solid rgba(255,255,255,0.03);
} */
.provider-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: saturate(1.1);
}
.provider-card .provider-label {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: #f7b733;
    color: #2b0b12;
    padding: 6px 10px;
    border-radius: 6px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    text-align: center;
}
.provider-card.highlight { transform: scale(1.06); }

@media screen and (max-width: 768px) {
    .provider-card {
        width: 70px;
        height: 200px;
    }
    .provider-card img{
        width: 150px;
        height: 200px;
    }   
}

.badge-hot {
    display: inline-block;
    background: #e31b23;
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    font-weight: 700;
}

.search-input {
    width: 220px;
    border-radius: 20px;
    padding: 7px 12px;
    border: none;
    box-shadow: 0 6px 18px rgba(0,0,0,0.5);
}

/* .games-grid .game-tile {
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.2));
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    height: 160px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.6);
    transition: transform .25s ease, box-shadow .25s ease;
} */
.games-grid .game-tile img {
    width: 80%;
    height: 80%;
    object-fit: cover;
    filter: brightness(.92);
    transition: transform .25s ease, filter .25s ease;
    border-radius: 8px;
}
.games-grid .game-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.7);
}
.games-grid .game-tile:hover img { transform: scale(1.03); filter: brightness(1); }

.badge-new {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #ff3b30;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.play-btn {
    position: absolute;
    bottom: 10px;
    left: 40%;
    transform: translateX(-50%);
    background: linear-gradient(90deg,#ff6b2d,#ff2d55);
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 700;
    display: none;
}
.games-grid .game-tile:hover .play-btn { display: block; }

@media (max-width: 576px) {
    .provider-card { width: 86px; height: 200px; }
    .search-input { width: 160px; }
    .games-grid .game-tile { height: 140px; }
}

.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tab {
    padding: 8px 16px;
    background: #555;
    border: none;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

.tab.active {
    background: #1e5eff;
}
.promotion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 20px;
}

/* Card */
.promotion-card {
    background: #2b1b26;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    transition: transform 0.2s;
}

.promotion-card:hover {
    transform: translateY(-5px);
}

.promotion-card img {
    width: 95%;
    margin: 12px auto 0 auto;
    display: block;
}

@media screen and (max-width: 768px) {
    .promotion-card {
        margin: 0 auto;
        width: 100%;
    }
    .promotion-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
}

.desc {
    padding: 12px;
    font-size: 14px;
}

/* Buttons */
.actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 12px;
}

.apply {
    background: linear-gradient(90deg, #ff2b2b, #c70000);
    border: none;
    color: #fff;
    padding: 8px 18px;
    border-radius: 6px;
    cursor: pointer;
}

.more {
    background: transparent;
    border: 1px solid #ff2b2b;
    color: #ff2b2b;
    padding: 8px 18px;
    border-radius: 6px;
    cursor: pointer;
}
/* Register form styles */
.register-wrapper {
    color: #fff;
}
.register-title {
    font-size: 34px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    color: #fff;
}
.register-sub {
    text-align: center;
    margin-bottom: 10px;
    color: #ddd;
}
.register-card {
    width: 45%;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(53, 48, 51, 0.85), rgba(43, 40, 43, 0.95));
    border: 1px solid rgba(255,255,255,0.06);
    padding: 28px;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.6);
}
.social-or { text-align: center; margin-bottom: 18px; position: relative; color: #fff; }
.social-or:before, .social-or:after { content: ""; height: 1px; width: 36%; background: rgba(255,255,255,0.08); position: absolute; top: 50%; }
.social-or:before { left: 0; }
.social-or:after { right: 0; }
.google-btn { width:44px; height:44px; border-radius:50%; background:#fff; display:inline-flex; align-items:center; justify-content:center; margin:0 auto 8px; color:#db4437; font-size:20px; }
.or-text { color:#ddd; font-size:14px; margin-top:6px; }

.register-form .form-group { display:flex; align-items:center; margin-bottom:12px; gap:12px; }
.register-form label { width:160px; min-width:120px; color:#fff; font-weight:600; padding-right:10px; }
.register-form .form-control { background:#fff; border-radius:4px; border: none; color:#333; height:38px; padding:6px 10px; }
.register-form textarea.form-control { height:90px; padding-top:8px; }
.register-form .small { color:#ddd; font-size:12px; margin-top:4px; margin-left:160px; display:block; }
.register-actions { display:flex; gap:12px; justify-content:center; margin-top:18px; }
.btn-clear { background:#c43b50; border: none; color:#fff; padding:8px 20px; border-radius:6px; cursor:pointer; }
.btn-register { background: linear-gradient(90deg,#ff2b2b,#c70000); border:none; color:#fff; padding:8px 20px; border-radius:6px; cursor:pointer; }

@media (max-width:767.98px){ 
    .register-form label{ width:100%; margin-bottom:6px; }
    .register-form .form-group{ flex-direction:column; align-items:flex-start; }
    .register-sub { text-align:center; }
    .register-title { text-align:center; }
}
