body, .footer {
    background-color: black !important;
    color: white;
}
p {
    font-size: 1.5rem;
    font-weight: lighter;
}
h1, h2 ,h5, .navbar-brand{
    font-family: "Emilys Candy", cursive;
}

.section-title {
    background-color: transparent !important;
}
/** transparent navbar **/
.navbar {
    background-color: transparent !important;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10;
    padding: 20px;
}
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: rgba(0, 0, 0, 0.9);
        padding: 15px;
        margin-top: 10px;
        border-radius: 5px;
        text-align: center;
    }
}
/** css slider **/
.slider .list .item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s;
}
.slider .list .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slider .list .item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,1) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}
.slider .list .item .content {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    z-index: 2;
}
.slider .list .item.active {
    opacity: 1;
    z-index: 2;
}

/* Content animations */
@keyframes showContent {
    to {
        transform: translateY(0);
        filter: blur(0);
        opacity: 1;
    }
}
.slider .list .item.active p:nth-child(1),
.slider .list .item.active h2,
.slider .list .item.active p:nth-child(3) {
    transform: translateY(30px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent 0.5s 0.7s ease-in-out forwards;
}
.slider .list .item.active h2 {
    animation-delay: 1s;
}
.slider .list .item.active p:nth-child(3) {
    animation-delay: 1.3s;
}

.controls {
    display: flex;
    gap: 10px;
}
.controls button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-family: monospace;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    font-size: x-large;
    transition: 0.5s;
}
.controls button:hover {
    background: rgba(255, 255, 255, 0.5);
    color: black;
}   
.thumbnails {
    gap: 10px;
    padding: 20px 0;
}
.thumbnails::-webkit-scrollbar {
    display: none;
}
.thumbnails .thumb {
    width: 150px;
    aspect-ratio: 3 / 4;
    filter: brightness(0.5);
    transition: 0.5s;
    flex-shrink: 0;
    position: relative;
}
.thumbnails .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}
.thumbnails .thumb.active {
    filter: brightness(1);
}
.thumbnails .thumb .content {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
}

@media screen and (max-width: 992px) {

}

@media screen and (max-width: 768px) {
    .thumbnails .thumb .content {
        font-size: 0.65rem;
    }
}

@media screen and (max-width: 576px) {

}

@media screen and (max-width: 480px) {
    .thumbnails .thumb .content {
        font-size: 0.6rem;
    }
}


.autoRotate {
    animation: autoRotateAnimation;
    animation-timeline: view();
}

@keyframes autoRotateAnimation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
.autoShow {
    animation: autoShowAnimation both;
    animation-timeline: view(70% 5%);

}

@keyframes autoShowAnimation {
  from {
    opacity: 0;
    transform: scale(0.3);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.more-info-section p {
  font-size: 8rem;
}

.autoBlur {
    animation: autoBlurAnimation linear both;
    animation-timeline: view();
}
@keyframes autoBlurAnimation {
  0% {
    filter: blur(40px);
  }
  45%, 55% {
    filter: blur(0px);
  }
  100% {
    filter: blur(40px);
  }
}

.additional-info-container {
    background: linear-gradient(rgba(0, 0, 0, 0.762), rgba(0, 0, 0, 0.5)), url(/img/additional-info-bg.jpg);
    background-size: cover;
    background-position: center;
    padding: 100px 0;
}

.game-classes-section {
    background: 
        url(/img/texture-bg.jpg),
        linear-gradient(to bottom, #6e818e, #000000);    
    background-size: cover, 100%;
    background-position: center, center;
    background-blend-mode: multiply;
    padding: 100px 0;
}

.play-now-section {
    background: url(/img/play-now-section-bg.png);
    height: 1380px;
    background-size: cover;
    background-position: top center;    
    padding: 100px 0;
    position: relative;
    margin-top: -300px !important;
}

.play-now-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 10%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.play-now-section > * {
    position: relative;
    z-index: 2;
}

.play-now-section h2, .play-now-section p {

    padding: 20px 40px;
    border-radius: 10px;
    display: inline-block;
    text-shadow: 0 10px 30px rgb(0, 0, 0) !important;
}

.play-now-section button {
    width: auto !important;
    padding: 20px 80px !important;
    margin: 0 auto !important;
    display: block !important;
    background: linear-gradient(145deg, #1a1a2e 0%, #16213e 50%, #0f1624 100%) !important;
    border: 3px solid transparent !important;
    border-image: linear-gradient(145deg, #4a5568, #718096, #4a5568) 1 !important;
    position: relative !important;
    color: #f8f9fa !important;
    font-weight: bold !important;
    font-size: 1.2rem !important;
    letter-spacing: 2px !important;
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.5), 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    box-shadow: 
        0 0 20px rgba(139, 92, 246, 0.4),
        0 0 40px rgba(139, 92, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.5),
        0 10px 30px rgba(0, 0, 0, 0.8) !important;
    cursor: pointer !important;
    transition: all 0.4s ease !important;
    border-radius: 5px !important;
    overflow: hidden !important;
}

.play-now-section button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.3), transparent);
    transition: left 0.5s;
}

.play-now-section button:hover::before {
    left: 100%;
}

.play-now-section button:hover {
    background: linear-gradient(145deg, #16213e 0%, #1a1a2e 50%, #0f1624 100%) !important;
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 
        0 0 30px rgba(139, 92, 246, 0.6),
        0 0 60px rgba(139, 92, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.6),
        0 15px 40px rgba(0, 0, 0, 0.9) !important;
    text-shadow: 0 0 15px rgba(139, 92, 246, 0.8), 0 2px 4px rgba(0, 0, 0, 0.8) !important;
}

.play-now-section button:active {
    transform: translateY(-1px) scale(1.02) !important;
}

/* RPG Style Nav Link */
.rpg-button-nav {
    padding: 10px 30px !important;
    margin-left: 15px !important;
    background: linear-gradient(145deg, #1a1a2e 0%, #16213e 50%, #0f1624 100%) !important;
    border: 2px solid transparent !important;
    border-image: linear-gradient(145deg, #4a5568, #718096, #4a5568) 1 !important;
    position: relative !important;
    color: #f8f9fa !important;
    font-weight: bold !important;
    letter-spacing: 1.5px !important;
    text-shadow: 0 0 8px rgba(139, 92, 246, 0.5), 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    box-shadow: 
        0 0 15px rgba(139, 92, 246, 0.4),
        0 0 30px rgba(139, 92, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.5) !important;
    transition: all 0.4s ease !important;
    border-radius: 5px !important;
    overflow: hidden !important;
    text-decoration: none !important;
}

.rpg-button-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.3), transparent);
    transition: left 0.5s;
}

.rpg-button-nav:hover::before {
    left: 100%;
}

.rpg-button-nav:hover {
    background: linear-gradient(145deg, #16213e 0%, #1a1a2e 50%, #0f1624 100%) !important;
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 
        0 0 25px rgba(139, 92, 246, 0.6),
        0 0 50px rgba(139, 92, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.6) !important;
    text-shadow: 0 0 12px rgba(139, 92, 246, 0.8), 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    color: #ffffff !important;
}

.rpg-button-nav:active {
    transform: translateY(0px) scale(1.02) !important;
}