html,
body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    position: relative;
}

body {
    position: relative;
    min-height: 100vh;
    background-image: url("../../assets/img/bg/h2-hero-1.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    /* ↑ darker | ↓ lighter */
    pointer-events: none;
    z-index: -1;
}

.vs-page__main--layouts {
    background-image: url("../../assets/img/bg/h2-hero-1.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
}

.vs-page__main--layouts::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    /* ↑ darker | ↓ lighter */
    pointer-events: none;
    z-index: -1;
}


/* Prevent horizontal scroll on mobile */

html,
body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    position: relative;
}

* {
    box-sizing: border-box !important;
}


/* Game Server List Container */

.server-list-container {
    min-height: 100vh !important;
    background: #1a2130 !important;
    padding: 20px 0 60px !important;
    overflow-x: hidden !important;
    max-width: 100vw !important;
}


/* Section Titles */

.section-title {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 24px !important;
    font-family: 'Poppins', sans-serif !important;
}


/* Featured Carousel Section */

.featured-carousel-section {
    position: relative !important;
    overflow: hidden !important;
}


/* Custom Carousel Styles */

.custom-carousel-wrapper {
    position: relative !important;
    padding: 0 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

.custom-carousel-container {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

.custom-carousel-track {
    display: flex !important;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    will-change: transform !important;
    width: 100% !important;
    position: relative !important;
}

.custom-carousel-slide {
    min-width: 100% !important;
    width: 100% !important;
    flex-shrink: 0 !important;
    /*padding: 50px !important;*/
    box-sizing: border-box !important;
    display: flex !important;
    justify-content: center !important;
        position: relative !important;

}

.custom-carousel-slide .featured-card {
    width: 100% !important;
    max-width: 100% !important;
}

.featured-card {
    position: relative !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    height: 450px !important;
    background: linear-gradient(135deg, #2a1f3d 0%, #1a2130 100%) !important;
    cursor: pointer !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.featured-card:hover {
    transform: scale(1.01) translateY(-0px) !important;
}

.featured-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.featured-overlay {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%) !important;
    padding: 40px 30px 30px !important;
}

.featured-title {
    font-size: 38px !important;
    text-align: left;
    font-weight: 700 !important;
    margin-bottom: 15px !important;
}

.featured-description {
    font-size: 15px !important;
    text-align: left;
    color: #e0e0e0 !important;
    margin-bottom: 20px !important;
    line-height: 1.7 !important;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5) !important;
}

.featured-tags {
    display: flex !important;
    gap: 10px !important;
    margin-bottom: 25px !important;
    flex-wrap: wrap !important;
}

.featured-tag {
    background: rgba(255, 255, 255, 0.15) !important;
    padding: 8px 14px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    color: #ffffff !important;
    font-weight: 500 !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    transition: all 0.3s ease !important;
}

.featured-tag:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    transform: translateY(-2px) !important;
}

.play-button {
    background: linear-gradient(135deg, #e19f27 0%, #357abd 100%) !important;
    color: #ffffff !important;
    padding: 14px 40px !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    font-size: 17px !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.5), 0 0 0 0 rgba(74, 144, 226, 0.7) !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-family: 'Poppins', sans-serif !important;
}

.play-button:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.7), 0 0 0 4px rgba(74, 144, 226, 0.2) !important;
}

.play-button:active {
    transform: translateY(-1px) scale(1.02) !important;
}


/* Custom Carousel Navigation Buttons */

.custom-carousel-btn {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 50px !important;
    height: 50px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 50% !important;
    backdrop-filter: blur(10px) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
    transition: all 0.3s ease !important;
    font-size: 24px !important;
}

.custom-carousel-btn:hover {
    background: rgba(74, 144, 226, 0.3) !important;
    border-color: rgba(74, 144, 226, 0.5) !important;
    transform: translateY(-50%) scale(1.1) !important;
}

.custom-carousel-btn:active {
    transform: translateY(-50%) scale(0.95) !important;
}

.custom-carousel-prev {
    left: -60px !important;
}

.custom-carousel-next {
    right: -60px !important;
}

@media (max-width: 1200px) {
    .custom-carousel-prev {
        left: 10px !important;
    }

    .custom-carousel-next {
        right: 10px !important;
    }
}


/* Custom Carousel Pagination Dots */

.custom-carousel-dots {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 30px !important;
    padding-bottom: 20px !important;
}

.custom-carousel-dot {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.3) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    border: none !important;
    padding: 0 !important;
}

.custom-carousel-dot.active {
    background: #e19f27 !important;
    width: 30px !important;
    border-radius: 6px !important;
}

.custom-carousel-dot:hover {
    background: rgba(255, 255, 255, 0.5) !important;
}

.custom-carousel-dot.active:hover {
    background: #5ba0f2 !important;
}


/* Server Card Grid */

.server-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 20px !important;
    margin-bottom: 60px !important;
}


/* Server Carousel Styles */

.server-carousel-wrapper {
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 30px !important;
}

.server-carousel-track {
    display: flex !important;
    gap: 20px !important;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    will-change: transform !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-behavior: smooth !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    -webkit-overflow-scrolling: touch !important;
}

.server-carousel-track::-webkit-scrollbar {
    display: none !important;
}

.server-carousel-slide {
    flex: 0 0 calc((100% - 60px) / 4) !important;
    min-width: calc((100% - 60px) / 4) !important;
    max-width: calc((100% - 60px) / 4) !important;
}

.server-carousel-nav {
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
    padding: 10px 0 10px 0;
}

.server-carousel-btn {
    width: 40px !important;
    height: 40px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 50% !important;
    color: #ffffff !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    font-size: 20px !important;
    backdrop-filter: blur(10px) !important;
}

.server-carousel-btn:hover {
    background: rgb(226 137 74 / 30%);
    border-color: rgb(226 165 74 / 60%);
    color: #e2c34a;
}

.server-carousel-btn:active {
    transform: scale(0.95) !important;
}

.server-carousel-btn:disabled {
    opacity: 0.3 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}


/* Medium Laptop (1024px - 1439px): 3 cards visible */

@media (max-width: 1439px) {
    .server-carousel-slide {
        flex: 0 0 calc((100% - 40px) / 3) !important;
        min-width: calc((100% - 40px) / 3) !important;
        max-width: calc((100% - 40px) / 3) !important;
    }
}


/* Tablet (768px - 1023px): 2 cards visible */

@media (max-width: 1023px) {
    .server-carousel-slide {
        flex: 0 0 calc((100% - 20px) / 2) !important;
        min-width: calc((100% - 20px) / 2) !important;
        max-width: calc((100% - 20px) / 2) !important;
    }
}


/* Mobile (< 768px): 1 card visible */

@media (max-width: 767px) {
    .server-carousel-slide {
        flex: 0 0 calc(100% - 0px) !important;
        min-width: calc(100% - 0px) !important;
        max-width: calc(100% - 0px) !important;
    }

    .server-carousel-wrapper {
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
}

.server-card-mini {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(10px) !important;
}

.server-card-bg {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    background: linear-gradient(180deg, rgba(15, 23, 42, .85), rgba(2, 6, 23, .95));
    margin: 12px;
    padding-top: 20px !important;
    padding: 0;
}

.server-card-mini:hover {
    transform: translateY(-4px) !important;
}

.server-card-mini2 {
    background: linear-gradient(180deg, rgba(15, 23, 42, .85), rgba(2, 6, 23, .95));
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(10px) !important;
}

.server-card-mini2:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
    border-color: rgba(74, 144, 226, 0.5) !important;
}

.server-card-thumb {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    background: linear-gradient(135deg, #2a1f3d 0%, #1a2130 100%) !important;
}

.server-card-content {
    padding: 16px !important;
}

.server-card-name {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    margin-bottom: 8px !important;
}

.server-card-desc {
    font-size: 13px !important;
    color: #b0b0b0 !important;
    margin-bottom: 12px !important;
    line-height: 1.5 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.server-card-footer {
    margin-top: auto !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-top: 10px !important;
}

.server-players {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 13px !important;
    color: #a6d719 !important;
}

.server-premium {
    width: 16px !important;
    height: 16px !important;
    background: linear-gradient(135deg, #a6d719 0%, #7fb518 100%) !important;
    border-radius: 3px !important;
    display: inline-block !important;
}


/* Category Buttons */

.category-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    gap: 20px !important;
    margin-bottom: 60px !important;
}

.category-button {
    position: relative !important;
    height: 120px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    cursor: pointer !important;
    border: 2px solid rgba(255, 215, 0, 0.3) !important;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%) !important;
    transition: all 0.3s ease !important;
}

.category-button:hover {
    border-color: rgba(255, 215, 0, 0.6) !important;
    transform: scale(1.05) !important;
}

.category-button-bg {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 0.3 !important;
}

.category-button-content {
    position: relative !important;
    z-index: 2 !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 20px !important;
}

.category-button-name {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #ffd700 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
    margin-bottom: 8px !important;
}

.category-button-icon {
    font-size: 24px !important;
    color: #ffd700 !important;
}


/* Search and Filter Bar */

.filter-bar {
    display: flex !important;
    gap: 12px !important;
    margin-bottom: 30px !important;
    flex-wrap: wrap !important;
}

.filter-search {
    flex: 1 !important;
    min-width: 200px !important;
    padding: 12px 16px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    font-size: 14px !important;
}

.filter-search::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

.filter-select {
    padding: 12px 16px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    font-size: 14px !important;
    min-width: 150px !important;
}

.filter-button {
    padding: 12px 24px !important;
    background: rgba(74, 144, 226, 0.2) !important;
    border: 1px solid rgba(74, 144, 226, 0.4) !important;
    border-radius: 8px !important;
    color: #e19f27 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.3s ease !important;
}

.filter-button:hover {
    background: rgba(74, 144, 226, 0.3) !important;
}


/* Mod Toggle Grid */

.mod-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 16px !important;
    margin-bottom: 60px !important;
}

.mod-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 16px 20px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 215, 0, 0.2) !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.mod-toggle:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 215, 0, 0.4) !important;
}

.mod-toggle-left {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.mod-icon {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: rgba(255, 215, 0, 0.1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    color: #ffd700 !important;
}

.mod-name {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
}

.toggle-switch {
    width: 50px !important;
    height: 26px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 13px !important;
    position: relative !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.toggle-switch.active {
    background: #a6d719 !important;
}

.toggle-switch::after {
    content: '' !important;
    position: absolute !important;
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    top: 3px !important;
    left: 3px !important;
    transition: all 0.3s ease !important;
}

.toggle-switch.active::after {
    left: 27px !important;
}


/* All Servers Section */

.all-servers-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 30px !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
}

.sort-controls {
    display: flex !important;
    gap: 12px !important;
    align-items: center !important;
}

.sort-label {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 14px !important;
}


/* Responsive */

@media (max-width: 768px) {
    .server-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
    }

    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
    }

    .section-title {
        font-size: 24px !important;
    }
}

.vs-hero--style3 .vs-hero__item {
    padding: 150px 0 0 0
}


/* Mobile Responsive Styles */

@media (max-width: 768px) {
    .vs-hero--style3 {
        height: 300px !important;
        min-height: auto !important;
        padding: 80px 0 30px 0 !important;
    }

    .vs-hero__item {
        padding: 20px 0 !important;
    }

    .custom-carousel-wrapper {
        padding: 0 10px !important;
        margin: 0 auto !important;
    }

    .custom-carousel-slide {
        padding: 0 5px !important;
    }

    .featured-card {
        height: 350px !important;
        border-radius: 12px !important;
    }

    .featured-overlay {
        padding: 25px 20px 20px !important;
    }

    .featured-title {
        font-size: 24px !important;
        margin-bottom: 10px !important;
    }

    .featured-description {
        font-size: 13px !important;
        margin-bottom: 15px !important;
        line-height: 1.5 !important;
    }

    .featured-tags {
        gap: 6px !important;
        margin-bottom: 15px !important;
    }

    .featured-tag {
        padding: 6px 10px !important;
        font-size: 11px !important;
    }

    .play-button {
        padding: 12px 28px !important;
        font-size: 14px !important;
        width: 100% !important;
        max-width: 200px !important;
    }

    .custom-carousel-btn {
        display: none !important;
    }

    .custom-carousel-dots {
        margin-top: 20px !important;
        gap: 6px !important;
    }

    .custom-carousel-dot {
        width: 10px !important;
        height: 10px !important;
    }

    .custom-carousel-dot.active {
        width: 24px !important;
    }
}

@media (max-width: 480px) {
    .custom-carousel-wrapper {
        padding: 0 5px !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .custom-carousel-slide {
        /*padding: 0 10px !important;*/
    }

    .featured-card {
        height: 280px !important;
    }

    .featured-overlay {
        padding: 20px 15px 15px !important;
    }

    .featured-title {
        font-size: 20px !important;
        margin-bottom: 8px !important;
    }

    .featured-description {
        font-size: 12px !important;
        margin-bottom: 12px !important;
        line-height: 1.4 !important;
    }

    .featured-tags {
        gap: 5px !important;
        margin-bottom: 12px !important;
    }

    .featured-tag {
        padding: 5px 8px !important;
        font-size: 10px !important;
    }

    .play-button {
        padding: 10px 24px !important;
        font-size: 13px !important;
    }

    .custom-carousel-dots {
        gap: 5px !important;
    }

    .custom-carousel-dot {
        width: 8px !important;
        height: 8px !important;
    }

    .custom-carousel-dot.active {
        width: 20px !important;
    }

    .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
        max-width: 100% !important;
    }
}

.game-card2 {
    position: relative;
    height: 95px;
    overflow: hidden;
    cursor: pointer;
    padding: 5px;
    background: transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}


/* Border overlay */

.game-card-border {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}


/* Background image */

.game-card-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.75);
}


/* Dark gradient overlay */

.game-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    margin: 5px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.85));
}


/* Title text */

.game-card-title {
    font-weight: 700;
    letter-spacing: 1px;
}


/* Icon */

.game-card-icon {
    font-size: 26px;
    color: #ffd98a;
    text-shadow: 0 0 10px rgba(255, 200, 80, 0.9);
}


/* Hover animation */

.game-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 0 3px #cfa64c, inset 0 0 0 2px #fff1b8, 0 12px 28px rgba(0, 0, 0, 0.9);
}

.game-card:hover .game-card-bg {
    filter: brightness(1);
}

.ui.message {
    position: relative;
    min-height: 1em;
    margin: 1em 0;
    background: #f8f8f9;
    padding: 1em 1.5em;
    line-height: 1.4285em;
    color: rgba(0, 0, 0, .87);
    -webkit-transition: opacity .1s ease, color .1s ease, background .1s ease, -webkit-box-shadow .1s ease;
    transition: opacity .1s ease, color .1s ease, background .1s ease, -webkit-box-shadow .1s ease;
    transition: opacity .1s ease, color .1s ease, background .1s ease, box-shadow .1s ease;
    transition: opacity .1s ease, color .1s ease, background .1s ease, box-shadow .1s ease, -webkit-box-shadow .1s ease;
    border-radius: .28571429rem;
    -webkit-box-shadow: 0 0 0 1px rgba(34, 36, 38, .22) inset, 0 0 0 0 transparent;
    box-shadow: 0 0 0 1px rgba(34, 36, 38, .22) inset, 0 0 0 0 transparent
}

.ui.message:first-child {
    margin-top: 0
}

.ui.message:last-child {
    margin-bottom: 0
}

.ui.message .header {
    display: block;
    font-weight: 700;
    margin: -.14285714em 0 0
}

.ui.message .header:not(.ui) {
    font-size: 1.14285714em
}

.ui.message p {
    opacity: .85;
    margin: .75em 0
}

.ui.message p:first-child {
    margin-top: 0
}

.ui.message p:last-child {
    margin-bottom: 0
}

.ui.message .header+p {
    margin-top: .25em
}

.ui.message .list:not(.ui) {
    text-align: left;
    padding: 0;
    opacity: .85;
    list-style-position: inside;
    margin: .5em 0 0
}

.ui.message .list:not(.ui):first-child {
    margin-top: 0
}

.ui.message .list:not(.ui):last-child {
    margin-bottom: 0
}

.ui.message .list:not(.ui) li {
    position: relative;
    list-style-type: none;
    margin: 0 0 .3em 1em;
    padding: 0
}

.ui.message .list:not(.ui) li:last-child,
.ui.message>:last-child {
    margin-bottom: 0
}

.ui.message .list:not(.ui) li:before {
    position: absolute;
    content: '�';
    left: -1em;
    height: 100%;
    vertical-align: baseline
}

.ui.message>.icon {
    margin-right: .6em
}

.ui.message>.close.icon {
    cursor: pointer;
    position: absolute;
    margin: 0;
    top: .78575em;
    right: .5em;
    opacity: .7;
    -webkit-transition: opacity .1s ease;
    transition: opacity .1s ease
}

.ui.message>.close.icon:hover {
    opacity: 1
}

.ui.message>:first-child {
    margin-top: 0
}

.ui.dropdown .menu>.message {
    margin: 0 -1px
}

.ui.visible.visible.visible.visible.message {
    display: block
}

.ui.icon.visible.visible.visible.visible.message {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
}

.ui.hidden.hidden.hidden.hidden.message,
.ui.table.segment:after {
    display: none
}

.ui.compact.message {
    display: inline-block
}

.ui.compact.icon.message,
.ui.statistic {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox
}

.ui.compact.icon.message {
    display: inline-flex
}

.ui.attached.message {
    margin-bottom: -1px;
    border-radius: .28571429rem .28571429rem 0 0;
    -webkit-box-shadow: 0 0 0 1px rgba(34, 36, 38, .15) inset;
    box-shadow: 0 0 0 1px rgba(34, 36, 38, .15) inset;
    margin-left: -1px;
    margin-right: -1px
}

.ui.attached+.ui.attached.message:not(.top):not(.bottom) {
    margin-top: -1px;
    border-radius: 0
}

.ui.bottom.attached.message {
    margin-top: -1px;
    border-radius: 0 0 .28571429rem .28571429rem;
    -webkit-box-shadow: 0 0 0 1px rgba(34, 36, 38, .15) inset, 0 1px 2px 0 rgba(34, 36, 38, .15);
    box-shadow: 0 0 0 1px rgba(34, 36, 38, .15) inset, 0 1px 2px 0 rgba(34, 36, 38, .15)
}

.ui.bottom.attached.message:not(:last-child) {
    margin-bottom: 1em
}

.ui.attached.icon.message {
    width: auto
}

.ui.icon.message {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.ui.icon.message>.icon:not(.close) {
    display: block;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: auto;
    line-height: 1;
    vertical-align: middle;
    font-size: 3em;
    opacity: .8
}

.ui.icon.message>.content {
    display: block;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    vertical-align: middle
}

.ui.icon.message .icon:not(.close)+.content {
    padding-left: 0
}

.ui.icon.message .circular.icon {
    width: 1em
}

.ui.floating.message {
    -webkit-box-shadow: 0 0 0 1px rgba(34, 36, 38, .22) inset, 0 2px 4px 0 rgba(34, 36, 38, .12), 0 2px 10px 0 rgba(34, 36, 38, .15);
    box-shadow: 0 0 0 1px rgba(34, 36, 38, .22) inset, 0 2px 4px 0 rgba(34, 36, 38, .12), 0 2px 10px 0 rgba(34, 36, 38, .15)
}

.ui.positive.message {
    background-color: #fcfff5;
    color: #2c662d
}

.ui.attached.positive.message,
.ui.positive.message {
    -webkit-box-shadow: 0 0 0 1px #a3c293 inset, 0 0 0 0 transparent;
    box-shadow: 0 0 0 1px #a3c293 inset, 0 0 0 0 transparent
}

.ui.positive.message .header {
    color: #1a531b
}

.ui.negative.message {
    background-color: #fff6f6;
    color: #9f3a38
}

.ui.attached.negative.message,
.ui.negative.message {
    -webkit-box-shadow: 0 0 0 1px #e0b4b4 inset, 0 0 0 0 transparent;
    box-shadow: 0 0 0 1px #e0b4b4 inset, 0 0 0 0 transparent
}

.ui.negative.message .header {
    color: #912d2b
}

.ui.info.message {
    background-color: #f8ffff;
    color: #276f86
}

.ui.attached.info.message,
.ui.info.message {
    -webkit-box-shadow: 0 0 0 1px #a9d5de inset, 0 0 0 0 transparent;
    box-shadow: 0 0 0 1px #a9d5de inset, 0 0 0 0 transparent
}

.ui.info.message .header {
    color: #0e566c
}

.ui.warning.message {
    background-color: #fffaf3;
    color: #573a08
}

.ui.attached.warning.message,
.ui.warning.message {
    -webkit-box-shadow: 0 0 0 1px #c9ba9b inset, 0 0 0 0 transparent;
    box-shadow: 0 0 0 1px #c9ba9b inset, 0 0 0 0 transparent
}

.ui.warning.message .header {
    color: #794b02
}

.ui.error.message {
    background-color: #fff6f6;
    color: #9f3a38
}

.ui.attached.error.message,
.ui.error.message {
    -webkit-box-shadow: 0 0 0 1px #e0b4b4 inset, 0 0 0 0 transparent;
    box-shadow: 0 0 0 1px #e0b4b4 inset, 0 0 0 0 transparent
}

.ui.error.message .header {
    color: #912d2b
}

.ui.success.message {
    background-color: #fcfff5;
    color: #2c662d
}

.ui.attached.success.message,
.ui.success.message {
    -webkit-box-shadow: 0 0 0 1px #a3c293 inset, 0 0 0 0 transparent;
    box-shadow: 0 0 0 1px #a3c293 inset, 0 0 0 0 transparent
}

.ui.success.message .header {
    color: #1a531b
}

.ui.black.message,
.ui.inverted.message {
    background-color: #1b1c1d;
    color: rgba(255, 255, 255, .9)
}

.ui.red.message {
    background-color: #ffe8e6;
    color: #db2828;
    -webkit-box-shadow: 0 0 0 1px #db2828 inset, 0 0 0 0 transparent;
    box-shadow: 0 0 0 1px #db2828 inset, 0 0 0 0 transparent
}

.ui.red.message .header {
    color: #c82121
}

.ui.orange.message {
    background-color: #ffedde;
    color: #f2711c;
    -webkit-box-shadow: 0 0 0 1px #f2711c inset, 0 0 0 0 transparent;
    box-shadow: 0 0 0 1px #f2711c inset, 0 0 0 0 transparent
}

.ui.orange.message .header {
    color: #e7640d
}

.ui.yellow.message {
    background-color: #fff8db;
    color: #b58105;
    -webkit-box-shadow: 0 0 0 1px #b58105 inset, 0 0 0 0 transparent;
    box-shadow: 0 0 0 1px #b58105 inset, 0 0 0 0 transparent
}

.ui.yellow.message .header {
    color: #9c6f04
}

.ui.olive.message {
    background-color: #fbfdef;
    color: #8abc1e;
    -webkit-box-shadow: 0 0 0 1px #8abc1e inset, 0 0 0 0 transparent;
    box-shadow: 0 0 0 1px #8abc1e inset, 0 0 0 0 transparent
}

.ui.olive.message .header {
    color: #7aa61a
}

.ui.green.message {
    background-color: #e5f9e7;
    color: #1ebc30;
    -webkit-box-shadow: 0 0 0 1px #1ebc30 inset, 0 0 0 0 transparent;
    box-shadow: 0 0 0 1px #1ebc30 inset, 0 0 0 0 transparent
}

.ui.green.message .header {
    color: #1aa62a
}

.ui.teal.message {
    background-color: #e1f7f7;
    color: #10a3a3;
    -webkit-box-shadow: 0 0 0 1px #10a3a3 inset, 0 0 0 0 transparent;
    box-shadow: 0 0 0 1px #10a3a3 inset, 0 0 0 0 transparent
}

.ui.teal.message .header {
    color: #0e8c8c
}

.ui.blue.message {
    background-color: #dff0ff;
    color: #2185d0;
    -webkit-box-shadow: 0 0 0 1px #2185d0 inset, 0 0 0 0 transparent;
    box-shadow: 0 0 0 1px #2185d0 inset, 0 0 0 0 transparent
}

.ui.blue.message .header {
    color: #1e77ba
}

.ui.violet.message {
    background-color: #eae7ff;
    color: #6435c9;
    -webkit-box-shadow: 0 0 0 1px #6435c9 inset, 0 0 0 0 transparent;
    box-shadow: 0 0 0 1px #6435c9 inset, 0 0 0 0 transparent
}

.ui.violet.message .header {
    color: #5a30b5
}

.ui.purple.message {
    background-color: #f6e7ff;
    color: #a333c8;
    -webkit-box-shadow: 0 0 0 1px #a333c8 inset, 0 0 0 0 transparent;
    box-shadow: 0 0 0 1px #a333c8 inset, 0 0 0 0 transparent
}

.ui.purple.message .header {
    color: #922eb4
}

.ui.pink.message {
    background-color: #ffe3fb;
    color: #e03997;
    -webkit-box-shadow: 0 0 0 1px #e03997 inset, 0 0 0 0 transparent;
    box-shadow: 0 0 0 1px #e03997 inset, 0 0 0 0 transparent
}

.ui.pink.message .header {
    color: #dd238b
}

.ui.brown.message {
    background-color: #f1e2d3;
    color: #a5673f;
    -webkit-box-shadow: 0 0 0 1px #a5673f inset, 0 0 0 0 transparent;
    box-shadow: 0 0 0 1px #a5673f inset, 0 0 0 0 transparent
}

.ui.brown.message .header {
    color: #935b38
}

.ui.mini.message {
    font-size: .78571429em
}

.ui.tiny.message {
    font-size: .85714286em
}

.ui.small.message {
    font-size: .92857143em
}

.ui.message {
    font-size: 1em
}

.ui.large.message {
    font-size: 1.14285714em
}

.ui.big.message {
    font-size: 1.28571429em
}

.ui.huge.message {
    font-size: 1.42857143em
}

.ui.massive.message {
    font-size: 1.71428571em
}

.padding-top-custom {
    padding-top: 100px;
}

@media (min-width: 992px) {
    .padding-top-custom {
        padding-top: 200px;
    }
}

.pagination-numbers {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Base button */
.pagination-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;

  font-size: 14px;
  font-weight: 600;
  color: #e8d8a8;

  background: linear-gradient(
    180deg,
    #3a2a1a 0%,
    #2a1c11 100%
  );

  border: 1px solid #6b4a2b;
  border-radius: 8px;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 4px 10px rgba(0, 0, 0, 0.6);

  cursor: pointer;
  transition: all 0.2s ease;
}

/* Hover */
.pagination-btn:hover {
  color: #ffd36a;
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 6px 14px rgba(0, 0, 0, 0.75);
}

/* Active page */
.pagination-btn.active {
  color: #2a1c11;

  background: linear-gradient(
    180deg,
    #f7e08a 0%,
    #e2b94e 100%
  );

  border-color: #f1c75b;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 4px 12px rgba(0, 0, 0, 0.7);
}

/* Disabled (if needed later) */
.pagination-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

  .preloader {
    width: 100%;
    height: 100vh;
    background: url("https://hytale.com/static/images/backgrounds/content-upper-new-1920.jpg")
        center center / cover no-repeat;
}

.preloader::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5); /* 50% opacity */
    z-index: 1;
}

.preloader > * {
    position: relative;
    z-index: 2;
}

.featured-card-margin {
  margin: 35px;
}

/* Mobile */
@media (max-width: 576px) {
  .featured-card-margin {
    margin: 35px 10px;
  }
}

.label-gold {
  color: #fff;
  margin-bottom: 8px;
  display: block;
}

.multi-select {
  position: relative;
  width: 100%;
}

.multi-select-input {
  background: #0b0e13;
  border: 1px solid rgba(255,255,255,0.15);
  padding: 12px;
  min-height: 48px;
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.multi-select-input.active {
  border-color: #A6D719;
}

.multi-select-input .placeholder {
  color: rgba(255,255,255,0.5);
}

.multi-tag {
  background: #A6D719;
  color: #000;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.multi-tag span {
  cursor: pointer;
  font-weight: bold;
}

.multi-select-dropdown {
  position: absolute;
  width: 100%;
  background: #0b0e13;
  border: 1px solid rgba(255,255,255,0.15);
  max-height: 280px;
  overflow: hidden;
  display: none;
  z-index: 50;
}

.multi-select.open .multi-select-dropdown {
  display: block;
}

.multi-search {
  width: 100%;
  padding: 10px;
  border: none;
  outline: none;
  background: #111;
  color: #fff;
}

.multi-options {
  max-height: 220px;
  overflow-y: auto;
}

.multi-option {
  padding: 10px;
  cursor: pointer;
  color: #fff;
}

.multi-option:hover {
  background: #A6D719;
  color: #000;
}