/* =============================== */

.post-card-excerpt {
    text-overflow: ellipsis;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}
.description-box {
    max-width: 366px;
}
div#notification-alert {
    z-index: 5;
    font-family: 'Minecraft', sans-serif;
    font-size: 18px;
    box-shadow: 0px 0px 20px black;
    padding: 15px 20px;
    border: none !important;
}
#mobile-trigger {
    min-width: auto;
    color: white !important;
    text-shadow: 0px 3px 0px #00000038;
}

#navigation .dropdown .menu {
    border-radius: 0px !important;
    background: #313233;
    border: 3px solid #454647;
    box-shadow: inset 0px -4px 0px #454647;
    outline: 3px solid #000;
    padding: 0px !important;
    scale: none !important;
}
div#mobile-trigger i {
    font-size: 20px;
}
#navigation .dropdown .menu li a {
    padding: 20px !important;
    border-top: 2px solid #454647 !important;
    border-radius: 0 !important;
}

#navigation .dropdown .menu li:first-child a {
    border: none !important;
}

#app {
    font-family: 'Minecraftia', sans-serif;
    background: #171615;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
}

.bg-red {
    background: #ea1c2f;
}

.btn-mc {
    background: #3bcd40;
    border: none;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    position: relative;
    cursor: pointer;
    border-top: 3px solid;
    border-left: 3px solid;
    border-bottom: 5px solid;
    border-color: #009105;
    border-top-color: #83ff87;
    border-left-color: #83ff87;
    outline: 3px solid black;
    transition: all .1s linear;
    border-radius: 0px;
    outline-offset: 0;
    box-shadow: none !important;
    translate: none !important;
}
.btn-mc.primary {
    background: #ea1c2f;
    border-top-color: #ff8572 !important;
    border-left-color: #ff8572 !important;
    border-color: #b61520;
}
.btn-mc span {
    color: white;
    font-family: 'Minecraft', sans-serif;
    font-size: 20px;
    position: relative;
    letter-spacing: 0;
    top: -1px;
    font-weight: normal;
    text-shadow: 0px 3px 0px #00000038;
}
/* */

#navigation {
    background: #313233;
    border-bottom: 5px solid black;
    box-shadow: inset 0px -4px 0px #454647;
}
#navigation .navbar {
    background: transparent;
}
#navigation .menu > li > a {
    background: transparent !important;
    font-weight: 700;
    font-size: .75rem;
    letter-spacing: .08em;
    text-align: center;
    text-transform: uppercase;
    color: #fff !important;
}

#navigation .menu > li:focus-visible {
    outline: none !important;
}

#navigation .btn {
    font-weight: 700;
    font-size: .75rem;
    letter-spacing: .08em;
    text-align: center;
    text-transform: uppercase;
}

#navigation .menu > li > a {
    color: white;
    font-family: 'Minecraft', sans-serif;
    font-size: 20px;
    position: relative;
    letter-spacing: 0;
    top: -2px;
    font-weight: normal;
    text-shadow: 0px 3px 0px #00000038;
}

div#player-count {
    min-width: 0;
    padding: 0 12px;
}

/* */
.btn-lg > span {
    font-size: 24px !important;
}
.btn-lg {
    height: auto;
}
.page.play {
    max-width: 920px;
    margin: 0 auto;
}
.play-image {
    outline: 3px solid black;
}
.card {
    background: #313233;
    border: 5px solid black;
    border-radius: 0px !important;
    outline: none;
}
.copy-label {
    background: #000000;
    font-size: 9px;
    color: #ffffff;
    padding: 6px 9px;
    display: flex;
    align-items: center;
    font-weight: 900;
    margin-left: auto;
    cursor: pointer;
    text-transform: uppercase;
}
h1,h2,h3,h4 {
    font-family: 'Minecraft', sans-serif;
    font-weight: normal;
}
.inner-card {
    border-top: 3px solid #454647;
    box-shadow: inset 4px 0px #454647;
    border-bottom: 4px solid #252525;
    border-radius: 0px;
    outline: 3px solid black;
    color: white;
}
.number {
    background: #3bcd4024;
    color: #7bff80;
    width: 40px;
    height: 40px;
}

.card-body {
    box-shadow: inset 4px 0px #454647;
    border-bottom: 4px solid #252525;
}

.card-title {
    color: white;
    font-family: 'Minecraft', sans-serif;
    font-size: 25px;
    position: relative;
    letter-spacing: 0;
    font-weight: normal;
    text-shadow: 0px 3px 0px #00000038;
    top: -2px;
    margin-bottom: 2px;
}

.card-body p {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;
}
.menu summary:after {
    color: white !important;
    margin-left: auto;
}

.card-actions {
    margin-top: 12px;
    justify-content: center;
}
.border-base-100 {
    border-color: #454647 !important;
}
.sidebar .card-body, .main-content .card-body {border-top: 3px solid #454647;}
.card-actions .btn {
    width: 100%;
    height: 52px;
}
.font-primary {
    font-family: 'Minecraft', sans-serif;
}
.card-text h2 {
margin-bottom:-15px;
}
.card-image {
    position: relative;
    box-shadow: 0px 4px black, inset 4px 0px 0px #ffffff;
}

.card-text {
    max-width: 800px;
    margin:  0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 20px;
}

.card-text p {
    font-size: 16px;
}

figure.card-image:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    pointer-events: none;
    box-shadow: 0px 4px black, inset 4px 0px 0px #ffffff1c, inset 0px -4px 0px #ffffff1c, inset 0px 4px 0px #ffffff1c, inset -4px 0px 0px #ffffff1c;
    z-index: 5;
}


/* */

.motd-wrapper {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    border-top: 3px solid #ff857299;
    border-bottom: 4px solid black;
}

.motd-text {
    display: inline-block;
    white-space: nowrap;
    animation: scroll-left 40s linear infinite;
}
#navigation .menu > li.nav-active > a {
    color: #fff !important;
}

#navigation li.nav-active {
    outline: 2px solid #000000;
    border: 2px solid grey;
    background: #80808069;
    margin-top: -2px;
    margin-bottom: -2px;
}
.nav-active img {
    max-width: 27px;
    margin-top: -10px;
    position: relative;
    top: 8px;
    margin-right: -6px;
}
#navigation li.nav-active a {
    padding-left:15px !important;
    padding-right:15px !important;
    position: relative;
}

.motd-chunk {
    position:relative;
    top:-4px;
    font-weight: 700;
    font-size: .85rem;
    letter-spacing: .08em;
    text-align: center;
    text-transform: uppercase;
    color: #fff !important;
    font-family: 'Minecraft', sans-serif;
    text-shadow: 0px 2px 0px #00000038;
}
#app {
    color: silver;
}
.motd-chunk {
  margin-right: 4rem;
}
.cart-sidebar .btn-mc.primary {
    height: 63px;
}
.btn-lg {
    height: 73px;
}
.btn-outline {
    border-radius: 0px !important;
    background: transparent !important;
    font-weight: normal !important;
}
@media only screen and (min-width: 768px) {
.menu summary {
    justify-content: space-between;
}
}
@media only screen and (max-width: 768px) {
    .staff-label span {
        top: 1px !important;
    }
    .menu summary:after {
        display: none !important;
    }
}
@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.mobile-actions .btn.btn-mc.primary {
    color: white;
    min-width: 0;
    width:52px;
    text-shadow: 0px 3px 0px #00000038;
    font-size: 17px !important;
}

/* */
#staff-feed h2 {
    font-family: 'Minecraft', sans-serif;
    font-size: 28px;
    position: relative;
    letter-spacing: 0;
    font-weight: normal;
    text-shadow: 0px 3px 0px #00000038;
    margin-bottom: 10px;
}
.staff-label {
    display: inline-flex;
    background: #258adb;
    flex-grow: 0;
    padding: 3px 10px;
    font-weight: 700 !important;
    font-size: 13px !important;
    border-top: 2px solid #6dbeff;
    border-left: 2px solid #6dbeff;
    border-bottom: 4px solid #196aab;
    border-right: 2px solid #196aab;
    outline: 2px solid black;
    margin-left: 10px;
    text-transform: uppercase;
    font-family: 'Minecraft', sans-serif;
}
.staff-label span {
    font-weight: normal;
    position: relative;
    top: -2px;
}
.staff-avatar {
    height: 278px;
    overflow: hidden;
    margin-bottom: -32px;
}

.staff-avatar img {
    height: 370px;
    max-height: none;
}

.staff-title h2 {
    font-size: 16px;
    color: #ff4e4a;
    letter-spacing: 2px;
}

div#footer .footer {
    background: transparent;
    color: silver;
}

div#footer {
    background: #1c1d1d;
    border-top: 5px solid black;
    box-shadow: inset 0px 4px 0px #45464759;
    padding: 40px 0px;
}

div#footer .footer-title {
    color: white;
    opacity: 1;
    font-family: 'Minecraft', sans-serif;
    font-weight: normal;
    font-size: 25px;
}

.btn:hover {
    filter: brightness(1.1) contrast(1)
}

.toast .alert {
    outline: 3px solid black;
    border-radius: 0px !important;
    color: white !important;
    box-shadow: inset 3px 3px 0px #ffffff54, inset -4px -4px 0px #00000033;
    border: none !important;
    font-family: 'Minecraft', sans-serif;
    font-size: 19px;
    position: relative;
    letter-spacing: 0;
    font-weight: normal;
    text-shadow: 0px 3px 0px #00000038;
}

.toast .alert span {
    top: -3px;
    position: relative;
}

.toast .alert {
    padding: 15px 20px;
}

#discord-alert {
    z-index:50;
}


/* ======================= */
#modal #feature-list {
    flex: none !important;
    margin-bottom: 0 !important;
    margin-top: 20px !important;
    font-family: 'Minecraftia', sans-serif;
}
div#mainActions button {
    height: 58px;
}
button#modal-close {
    border-top: 2px solid;
    border-left: 2px solid;
    border-bottom: 3px solid;
    border-color: #b61520;
    border-top-color: #ff8572;
    border-left-color: #ff8572;
    outline: 4px solid black;
    border-radius: 0px;
    background: red;
    width: 45px;
    height: 45px;
    font-size: 20px;
    color: white;
    box-shadow: none !important;
    outline-offset: 0px !important;
    margin: 10px;
}
select#gameServerDropdown {
    font-family: 'Minecraftia', sans-serif;
    font-size: 14px;
    border-radius: 0px !important;
}
#feature-list > li.previous {
    background: #cc48e242;
    color: #ffffff;
    border-color: #8c5597;
    animation: hueShift 5s linear infinite;
}
/* 1) The scroll container itself */
#modal #feature-list {
    max-height: 300px;
    overflow-y: auto;
    scrollbar-color: #777777 transparent;
    padding: 0px !important;
  }
  
  /* 2) Chrome/WebKit styling (force width so it doesn't vanish) */
  #modal #feature-list::-webkit-scrollbar {
    width: 10px !important;
  }
  
  #modal #feature-list::-webkit-scrollbar-track {
    background: rgba(141, 175, 243, 0.25) !important;
  }
  
@keyframes hueShift {
    from {
        filter: hue-rotate(0deg);
    }
    to {
        filter: hue-rotate(360deg);
    }
}

.card .card-actions {
    margin-top: auto;
}
.description-box {
    margin-bottom: 12px !important;
}
.card #feature-list {
    margin-bottom: 12px !important;
}
div#mainActions button {
    pointer-events: all !important;
}
#feature-list > li {
    background: #454647;
    padding: 10px;
    color: silver;
    border: 2px solid #707070;
    outline: 3px solid #000000;
    display: flex;
}
#feature-list > li span {
    position: relative;
    top: -1px;
}
#categoriess .card-body {
    flex: 1;
}

#categoriess .card {
    display: flex;
}

ul#feature-list {
    gap: 15px !important;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px !important;
}
.description-box {
    background: #454647;
    padding: 10px;
    color: silver;
    border: 2px solid #707070;
    outline: 3px solid #000000;
    display: flex;
    align-items: center;
    justify-content: center;
}
#feature-list > li:hover {
    color: white;
}

#categories .card {
    cursor: pointer;
}

#categories .card:hover .card-title {
    transform: translateY(-6px);
}
#categories .card-actions {
    margin: 0px !important;
}
#categories .card .card-title {
    transition: all .25s ease;
}
.btn-mc.secondary {
    background: #646464;
    border-top-color: #818181 !important;
    border-left-color: #818181 !important;
    border-color: #515151;
}
.btn-mc.other {
    background: #2196F3;
    border-top-color: #72d7ff !important;
    border-left-color: #72d7ff !important;
    border-color: #157acb;
}
.store-buttons .btn {
    min-width: 328px;
    height: 75px;
}
.product-buttons {
    margin-top: 25px;
}
.category-header {
    background: #454647;
    color: #ffffff;
    padding: 17px;
    text-align: center;
    font-family: 'Minecraft', sans-serif;
    font-size: 23px;
    position: relative;
    border: 3px solid #646464;
    outline: 3px solid #000000;
}
input,select {
    background: #484b4c;
    border: 2px solid #626464;
    outline: 3px solid black;
    min-height: 48px;
    color: white;
    text-align: center;
}
.line-height-0 {
    line-height: 1;
}
@media only screen and (min-width: 1080px) {
    #categoriess {
        display: flex;
        justify-content: center;
    }
    #categoriess .card {
        width: 100%;
        max-width: 366px;
    }
}
.category-header h2 {
    position: relative;
}
.price {
    color: #c4ff83;
    font-weight: normal;
    margin-top: -5px;
    margin-bottom: 8px;
}

.store-top.flex {
    margin-bottom: 30px;
}
.store-alert {
    background: #b61520;
    color: #ffffff;
    padding: 17px;
    text-align: center;
    font-family: 'Minecraft', sans-serif;
    font-size: 23px;
    position: relative;
    border: 3px solid #ea1c2f;
    outline: 3px solid #000000;
}

.store-alert .text span {
    position: relative;
    text-shadow: 0px 3px 0px #00000038;
}

/* CATEGORIES */

#categories .card-actions .btn {
    height: 58px;
    font-size: 26px !important;
}

#categories .card-actions .btn-mc span {
    font-size: 23px !important;
}

#categories .card-actions {
    margin: 10px;
    margin-top: 2px;
}

#categories .card-title {
    font-size: 36px;
    line-height: 1;
}

#categories .card-title {
    font-size: 36px;
    line-height: 1;
    margin-top: -47px !important;
    background: #313233;
    max-width: 268px;
    margin: 0 auto;
    padding: 10px 38px;
    z-index: 5;
    width: 100%;
    border-top: 4px solid black;
    box-shadow: 0px -13px 33px #31323387;
}

#categories .card-title:after {
    content: "";
    height: 27px;
    width: 4px;
    background: black;
    position: absolute;
    left: 0;
    top: 1px;
}

#categories .card-title:before {
    content: "";
    height: 27px;
    width: 4px;
    background: black;
    position: absolute;
    right: 0;
    top: 1px;
    box-shadow: -3px 0px #454647;
}

div#cart-modal {
    font-family: 'Minecraftia', sans-serif;
    font-size: 12px;
}
.text-md {
    font-size: 16px;
    color: silver;
}

.text-md span#cart-subtotal {
    color: white;
}
/* Cart Modal Styles */
#cart-modal {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 100%;
    max-width: 450px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
    overflow-y: auto;
}

#cart-modal.open {
    transform: translateX(0);
}

#cart-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    z-index: 999;
}

#cart-backdrop.open {
    opacity: 1;
    visibility: visible;
}
.cart-footer {
    background: #101010;
    border-color: #424242;
    box-shadow: inset 0px 3px 0px black;
    border-top-width: 2px !important;
}

#cart-modal {
    border-color: #2d2d2d !important;
}
.cart-header {
    padding: 25px;
    border-bottom: 1px solid #3F3F46;
    position: sticky;
    top: 0;
    background: #18181B;
    z-index: 1001;
}
.cart-item {
    border-width: 2px !important;
    outline: 3px solid black;
}
.cart-content {
    padding: 25px;
    flex: 1;
    overflow-y: auto;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid #3F3F46;
    background: #18181B;
    position: sticky;
    bottom: 0;
}

.cart-item {
    padding: 1rem;
    margin-bottom: 1rem;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    background: #27272A;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: #A1A1AA;
}

.cart-empty i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #3F3F46;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    width: 28px;
    height: 28px;
    border: 1px solid #3F3F46;
    background: #27272A;
    color: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.quantity-btn:hover {
    background: #3F3F46;
}

.quantity-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.quantity-input {
    width: 50px;
    height: 28px;
    text-align: center;
    background: #09090B;
    border: 1px solid #3F3F46;
    color: white;
    border-radius: 4px;
}

.remove-btn {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.remove-btn:hover {
    background: rgba(239, 68, 68, 0.2);
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #3F3F46;
    border-radius: 50%;
    border-top: 2px solid #ffffff;
    animation: spin 1s linear infinite;
}
div#cart-success-message {
    display: none !important;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

div#modal {
    max-width: 700px !important;
    margin: 0 auto;
}
div#modal-content {
    display: flex;
    gap: 30px;
    padding: 40px;
    position: relative;
}
div#cart-items-container .btn-circle {
    background: #ea1c2f !important;
    border: 2px solid #ff8572;
    outline: 3px solid black;
    height: 40px !important;
    color: white;
    text-align: center;
    width: 40px;
    outline-offset: 0px !important;
}
div#cart-items-container input {
    height: 40px !important;
    min-height: 0;
    text-align: center;
    justify-content: center;
    width: 58px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type=number] {
    -moz-appearance:textfield; /* Firefox */
}
.product-page-image {
    max-width: 200px;
    align-items: flex-start;
}

.product-page-details {
    flex: 1;
}

button#modal-close {
    position: absolute;
    z-index: 5;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

div#modal-panel {
    position: relative;
    box-shadow: 0px 0px 50px black !important;
    border: 2px solid #2c2c2c;
    outline: 3px solid black;
    max-width: 700px !important;
}

button#giftButton {
    display: none !important;
}

.cart-success-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #059669;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1002;
}

.cart-success-message.show {
    transform: translateX(0);
}

/* Mobile responsiveness */
@media (max-width: 640px) {
    #cart-modal {
        max-width: 100%;
        width: 100%;
    }
}