body {
    background-color: #f8f1fe;
}

h6 {
    font-family: "Segoe UI Semibold";
}

/* Ensure the main container has extra bottom padding */
.parent-body {
    height: 100vh;
    padding-bottom: 70px; /* Base padding */
}

/* Override bottom padding on mobile so content isn’t obscured by sticky overlay */
@media only screen and (max-width: 600px) {
    .parent-body {
         padding-bottom: 100px; /* Increased padding on mobile */
    }
}

.buttons {
    color: #36454f;
}

.solidButton > a {
    font-size: 1.5em;
    text-decoration: none;
    color: inherit;
}

.solidButton > a > img {
    width: 35px;
    height: auto;
}

.solidButton > a:hover {
    color: inherit;
}

.solidButton:hover {
    background-color: white;
}

.foreignLogoText {
    font-family: 'Manrope', sans-serif;
    font-size: 0.9em;
}

.solidButton {
    border-radius: 3px;
}

hr {
    margin: 0;
}

.list-group-item {
    background-color: transparent;
    font-weight: 600;
}

.list-group-item.active {
    background-color: white;
    color: inherit;
    border-color: inherit;
}

.metadata-info {
    text-align: center;
}

ul {
    text-decoration: none;
    list-style: none;
}

.logo img {
    width: 135px;
    height: auto;
}

.aws img, .steam img, .fanza img, .googleDrive img, .mega img, .nyaaTorrentMagnet img, .patreonDownload img, .BRHost img {
    width: 35px;
    height: auto;
    margin-right: 10px;
}

ul > li {
    padding-bottom: 10px;
}

.metadata-info {
    padding-top: 20px;
}

.sampleImageContainer img {
    max-width: 100%;
}

.links a {
    text-decoration: none;
    color: inherit;
}

.forumLink a {
    color: cornflowerblue;
}

.foreignLogo {
    height: 0;
    background: transparent no-repeat center center / contain;
    width: 35px;
    display: inline-block;
}

/* CSS FOR THE LOADER */
footer.footer {
    display: none;
}

.loader,
.loader:after {
    border-radius: 50%;
    width: 10em;
    height: 10em;
}

.loader {
    margin: 60px auto;
    font-size: 10px;
    position: relative;
    text-indent: -9999em;
    border-top: 1.1em solid rgba(0, 0, 0, 0.2);
    border-right: 1.1em solid rgba(0, 0, 0, 0.2);
    border-bottom: 1.1em solid rgba(0, 0, 0, 0.2);
    border-left: 1.1em solid #ffffff;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: load8 1.1s infinite linear;
    animation: load8 1.1s infinite linear;
}

@-webkit-keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.hamburger {
    display: none;
}

.js-clipboard {
    padding: 2px 3px;
    border-radius: 2px;
}

.js-clipboard:hover {
    background-color: rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.navbar-mobile-menu {
    display: none;
}

nav.navbar {
    display: none;
}

@media only screen and (max-width: 600px) {
    .tabnav, .forumSpacing, .foreignLogoText, .link-text {
        display: none;
    }
    .content-parent {
        flex-direction: column;
    }
    .links-list-parent > li, .links-list-parent div, .footerNavLinks > li {
        display: inline-block;
    }
    .links-list-parent {
        padding: 0;
        margin: 0;
    }
    .links {
        margin: 0;
        padding: 20px 0 0!important;
        text-align: center;
    }
    .sampleImageContainer img {
        max-width: 99vw;
    }
    .buttons {
        display: none!important;
    }
    .header-flex {
        text-align: center;
        display: unset!important;
    }
    div.header-flex > div.logo {
        padding: 10px 0!important;
    }
    div.content-tab {
        display: block!important;
        opacity: 1!important;
    }
    div.content-tab {
        border-bottom: 2px solid rgba(0,0,0,0.15);
        margin-bottom: 12px;
    }
    hr {
        margin-bottom: 10px;
    }
    main.main {
        padding: 0!important;
        max-width: 100vw;
        overflow-x: hidden;
    }
    footer.footer {
        display: none;
    }
    header.header {
        position: sticky;
        top: 0;
        z-index: 500;
        background-color: #f8f1fe;
        border-bottom: 3px solid #ff69b4;
    }
    .hamburger {
        display: block;
    }
    .hamburger > span {
        padding: 5px;
        border-radius: 3px;
        color: hotpink;
    }
    nav.navbar {
        display: flex;
        padding: 0.2rem 1rem 0.5rem 1rem;
    }
    nav.navbar > button {
        align-self: center!important;
    }
    .navbar-nav-item {
        background-color: white;
        margin: 1px;
        padding-bottom: 0;
        border-radius: 1px;
    }
    .navbar-nav-item > a {
        text-decoration: none;
        color: inherit;
        font-family: "Segoe UI Semibold";
        font-weight: 600;
    }
    .navbar-nav-item.active {
        background-color: hotpink;
        color: white;
    }
    [id]::before {
        content: '';
        display: block;
        height: 130px;
        margin-top: -130px;
        visibility: hidden;
    }
    /* Sticky Mobile Footer Overlay */
    .mobile-footer-overlay {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: #fff;
        padding: 15px 0;
        z-index: 1000;
        box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.3);
    }
    .mobile-footer-overlay .container {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }
    .mobile-footer-overlay .footer-icon img {
        width: 30px;
        height: auto;
    }
}
