/* © 2021 - 2026 Joalor64, All rights reserved. */
/* Made with ❤️ */

/* BTW, Special thanks to Rizsim Studios for a ton of improvements and fixes! */

:root {
    --default-button-color: #007bff;
    --default-button-hover-color: #0056b3;
    --secondary-button-color: #28a745;
    --secondary-button-hover-color: #218838;
    --noCoverImage: url("../img/thumbnails/placeholder.png");
}

/*
  ____   ____  _______     __
 |  _ \ / __ \|  __ \ \   / /
 | |_) | |  | | |  | \ \_/ / 
 |  _ <| |  | | |  | |\   /  
 | |_) | |__| | |__| | | |   
 |____/ \____/|_____/  |_|   
*/
html {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    background-color: #22232f;
    height: 100%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.navLinesBurger {
    display: none;
    position: absolute;
    cursor: pointer;
    top: 22px;
    right: 55px;
}

body.disable-transitions *,
body.disable-transitions {
    transition: none !important;
}

main {
    flex: 1;
}

* {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

html,
body {
    max-width: 101%;
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

::-webkit-scrollbar-thumb {
    background-color: #3c3c3c;
    border-radius: 50px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #3c3c3cae;
}

::-webkit-scrollbar-corner {
    background-color: #f1f1f1;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../font/poppins-regular.woff2) format('woff2'), url(../font/poppins-regular.woff) format('woff');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../font/poppins-regular.woff2) format('woff2'), url(../font/poppins-regular.woff) format('woff');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD
}

@font-face {
    font-family: 'Jua';
    src: url(../font/jua-regular.woff2) format("woff2"), url(../font/jua-regular.woff) format("woff");
    font-weight: normal;
    font-style: normal;
}

hr {
    border: none;
    width: 70%;
    height: 1px;
    background-color: #43444e;
}

hr .lightmode {
    background: #ccc;
}

a,
a:link,
a:visited {
    color: inherit;
    text-decoration: none;
}

footer {
    background: linear-gradient(to bottom, #ffffff00, #000000);
    padding: 10px;
}

footer p {
    font-size: 20px;
    padding-bottom: 10px;
}

.lightmode {
    background-color: #fafafa;
    color: black;
}

.header {
    font-size: 46px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.sub-head {
    font-weight: normal;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/*
  _   _     __      ______          _____  
 | \ | |   /\ \    / /  _ \   /\   |  __ \ 
 |  \| |  /  \ \  / /| |_) | /  \  | |__) |
 | . ` | / /\ \ \/ / |  _ < / /\ \ |  _  / 
 | |\  |/ ____ \  /  | |_) / ____ \| | \ \ 
 |_| \_/_/    \_\/   |____/_/    \_\_|  \_\
*/
.topnav {
    background-color: #333;
    top: 0;
    width: 100%;
    overflow: hidden;
}

.topnav a {
    float: left;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 17px;
}

.topnav a:hover,
.dropdown:hover .dropbtn {
    background-color: #ddd;
    cursor: pointer;
    color: black;
}

.topnav a.active,
.dropdown a.active .dropbtn {
    background-color: #04AA6D;
    cursor: default;
    color: white;
}

.topnav-right {
    float: right;
}

.dropdown {
    float: left;
    overflow: hidden;
}

.dropdown .dropbtn {
    font-size: 17px;
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
    transition: all 0.3s ease;
    font-family: inherit;
    margin: 0;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.mobile-nav {
    display: none;
}

.announcement-banner {
    width: 100%;
    background: linear-gradient(90deg, #ffecb3 0%, #ffe082 100%);
    color: #222;
    font-size: 20px;
    font-weight: 600;
    padding: 14px 0;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    z-index: 999;
    position: relative;
    letter-spacing: 0.5px;
}

/*
  _______ ____  _____    ____  _    _ _______ _______ ____  _   _ 
 |__   __/ __ \|  __ \  |  _ \| |  | |__   __|__   __/ __ \| \ | |
    | | | |  | | |__) | | |_) | |  | |  | |     | | | |  | |  \| |
    | | | |  | |  ___/  |  _ <| |  | |  | |     | | | |  | | . ` |
    | | | |__| | |      | |_) | |__| |  | |     | | | |__| | |\  |
    |_|  \____/|_|      |____/ \____/   |_|     |_|  \____/|_| \_|
*/
.progress-circle-wrapper {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.7);
    pointer-events: none;
    transition:
        opacity 0.3s cubic-bezier(.4, 2, .4, 1),
        transform 0.3s cubic-bezier(.4, 2, .4, 1);
}

.progress-circle-wrapper.visible {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.progress-circle {
    width: 56px;
    height: 56px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.3s ease;
}

.progress-circle:hover {
    transform: scale(1.10);
}

.progress-circle svg {
    transform: rotate(-90deg);
}

.progress-arrow {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -60%);
    font-size: 1.2em;
    pointer-events: none;
    color: black;
}

/*
  _    _  ____  __  __ ______ 
 | |  | |/ __ \|  \/  |  ____|
 | |__| | |  | | \  / | |__   
 |  __  | |  | | |\/| |  __|  
 | |  | | |__| | |  | | |____ 
 |_|  |_|\____/|_|  |_|______|
*/
.banner {
    background-image: url('../img/wallpapers/glossy-interface-no-ui.png');
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.banner .txt {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    font-family: 'Jua', sans-serif;
    font-size: 120px;
    text-wrap-mode: nowrap;
}

.small-title {
    font-size: 16px;
}

.content {
    display: flex;
    justify-content: center;
    text-align: center;
    gap: 10px;
}

.content img {
    transform: scale(0.4);
    margin-bottom: -130px;
}

.content .box-select01 {
    height: 200px;
    width: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: static;
    cursor: default;
    flex-direction: column;
    transition: transform 1s cubic-bezier(0.075, 0.820, 0.165, 1.000), background-color 0.3s ease, color 0.3s ease;
    padding-bottom: 100px;
}

.content .box-select01 img {
    transition: transform 0.3s ease;
    cursor: pointer;
}

.content .box-select01 img:hover {
    transform: scale(0.45);
}

.hr-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 40px auto;
    width: 80%;
}

.hr-container::before,
.hr-container::after {
    content: "";
    flex: 1;
    height: 2px;
    background-color: #43444e;
}

.hr-container span {
    font-size: 30px;
    font-weight: bold;
    font-family: inherit;
    white-space: nowrap;
    padding: 0 12px;
}

.lightmode .hr-container::before,
.lightmode .hr-container::after {
    background-color: #ccc;
}

.content2 .box-container {
    display: flex;
    align-items: center;
    margin: auto;
    justify-content: flex-start;
    background-color: #f9f9f92a;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    text-align: left;
    padding: 15px;
    gap: 15px;
    max-width: 750px;
}

.content2 .icon-container {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    align-items: center;
    justify-content: center;
}

.content2 .icon-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.content2 .icon-container img:hover {
    transform: scale(1.05);
}

.content2 .text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.content2 .small-title {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
}

.content2 .info-text {
    font-size: 18px;
    margin: 0;
    line-height: 1.4;
}

.about-me {
    font-size: 24px;
    text-align: justify;
    width: 80%;
    margin: 0 auto;
}

/*
   _____  ____   _____ _____          _       _____ 
  / ____|/ __ \ / ____|_   _|   /\   | |     / ____|
 | (___ | |  | | |      | |    /  \  | |    | (___  
  \___ \| |  | | |      | |   / /\ \ | |     \___ \ 
  ____) | |__| | |____ _| |_ / ____ \| |____ ____) |
 |_____/ \____/ \_____|_____/_/    \_\______|_____/ 
*/
.section {
    margin-top: 26px;
}

.section h2 {
    font-size: 28px;
    margin: 0 0 12px;
}

.section .grid {
    max-width: 900px;
    margin: 0 auto;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
    justify-content: center;
}

.grid.two-bottom {
    grid-template-columns: repeat(auto-fit, minmax(260px, 320px));
    padding-top: 30px;
    justify-content: center;
}

.card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: linear-gradient(180deg, rgb(255, 255, 255, 0.4), rgba(255, 255, 255, 0.02));
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
    border-left: 6px solid transparent;
    transition: transform .16s ease, box-shadow .16s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6);
}

.cardContainer {
    margin-left: 0px;
}

.card .img {
    width: 48px;
    height: 48px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 25%;
    flex-shrink: 0;
}

.meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.title {
    font-weight: 700;
    font-size: 15px;
}

.sub {
    font-size: 13px;
    word-break: break-all;
}

.brand-youtube {
    border-left-color: #ff3b30;
}

.brand-bilibili {
    border-left-color: #4C93FF;
}

.brand-tiktok {
    border-left-color: #FE2C55;
}

.brand-discord {
    border-left-color: #5865f2;
}

.brand-bluesky {
    border-left-color: #0096ff;
}

.brand-playstation {
    border-left-color: #003791;
}

.brand-xbox {
    border-left-color: #2ca243;
}

.brand-roblox {
    border-left-color: #353535;
}

.brand-nintendo-switch {
    border-left-color: #E70009;
}

.brand-steam {
    border-left-color: #39196c;
}

.brand-itch {
    border-left-color: #fa5c5c;
}

.brand-github {
    border-left-color: #6e7681;
}

.brand-modio {
    border-left-color: #07c1d8;
}

.brand-gamebanana {
    border-left-color: #ffcc00;
}

.brand-scratch {
    border-left-color: #f7a028;
}

.brand-bandlab {
    border-left-color: #f12d19;
}

.brand-tumblr {
    border-left-color: #36465d;
}

/*
 __          __     _      _      _____        _____  ______ _____   _____ 
 \ \        / /\   | |    | |    |  __ \ /\   |  __ \|  ____|  __ \ / ____|
  \ \  /\  / /  \  | |    | |    | |__) /  \  | |__) | |__  | |__) | (___  
   \ \/  \/ / /\ \ | |    | |    |  ___/ /\ \ |  ___/|  __| |  _  / \___ \ 
    \  /\  / ____ \| |____| |____| |  / ____ \| |    | |____| | \ \ ____) |
     \/  \/_/    \_\______|______|_| /_/    \_\_|    |______|_|  \_\_____/ 
*/
.wallpaper-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 20px;
}

.wallpaper-item {
    width: 300px;
    text-align: center;
    transition: transform 0.3s ease;
}

.wallpaper-item img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.wallpaper-item img:hover {
    transform: scale(1.05);
}

/*
  ______ ____  _____  ________      ________ _____  ____   ______   __
 |  ____/ __ \|  __ \|  ____\ \    / /  ____|  __ \|  _ \ / __ \ \ / /
 | |__ | |  | | |__) | |__   \ \  / /| |__  | |__) | |_) | |  | \ V / 
 |  __|| |  | |  _  /|  __|   \ \/ / |  __| |  _  /|  _ <| |  | |> <  
 | |   | |__| | | \ \| |____   \  /  | |____| | \ \| |_) | |__| / . \ 
 |_|    \____/|_|  \_\______|   \/   |______|_|  \_\____/ \____/_/ \_\
*/
.logo {
    font-family: 'Allan', sans-serif;
    font-size: 150px;
    font-weight: normal;
    margin: auto;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.fvbxVersionsArray {
    margin-top: -30px;
    transform: scale(0.8);
}

@media (max-width: 768px) {
    .fvbxVersionsArray {
        margin-top: 20px;
        transform: scale(1);
    }
}

#version-hr {
    margin-top: 39px;
}

#header {
    line-height: 70px
}

.foreverbox-icons-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-top: 25px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    gap: 40px;
}

.foreverbox-icon-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.foreverbox-icon {
    width: 200px;
    height: 200px;
    border-radius: 25%;
    background-size: cover;
    background-color: #000;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: transform 0.2s ease;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.foreverbox-icon:hover {
    transform: scale(1.05);
    z-index: 1;
}

.foreverbox-icon-label {
    margin-top: 12px;
    font-family: 'Allan', Arial, sans-serif;
    font-size: 32px;
    text-align: center;
    color: #000;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.foreverbox-icon-col[data-icon="1"] .foreverbox-icon-label {
    color: #8c14f7;
}

.foreverbox-icon-col[data-icon="2"] .foreverbox-icon-label {
    color: #00e9ff;
}

.foreverbox-icon-col[data-icon="3"] .foreverbox-icon-label {
    color: #b6b6d4;
}

.foreverbox-icon-col[data-icon="4"] .foreverbox-icon-label {
    color: #dcb551;
}

.foreverbox-icon-col[data-icon="5"] .foreverbox-icon-label {
    color: #00d7ff;
}

.version-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transform: scale(0.95);
}

.version-name-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.version-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
}

.version-image {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.version-image img {
    max-width: 115%;
    max-height: 115%;
    margin-top: 25px;
}

.version-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
    color: white;
}

.version-icon svg {
    width: 100px;
    height: 100px;
}

.version-icon p {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.version-icon-top-right {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 50px;
    height: 50px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.version-icon-top-right#incredimods {
    background-image: url('../img/foreverbox/incredimods.png');
    background-size: cover;
}

.version-name {
    font-size: 75px;
    font-weight: bold;
    font-family: 'Allan', sans-serif;
    font-weight: normal;
    text-shadow: 0 4px 8px rgba(255, 255, 255, 0.3);
    color: white;
    text-align: center;
    margin: 0;
}

.version-date {
    font-size: 22px;
    color: white;
    margin: 0;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.version-description {
    font-size: 30px;
    color: white;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.version-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.version-buttons .btn {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    color: white;
    background-color: var(--default-button-color);
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: inherit;
}

.version-buttons .btn:hover {
    background-color: var(--default-button-hover-color);
}

.version-buttons .preview-btn {
    background-color: var(--secondary-button-color);
}

.version-buttons .preview-btn:hover {
    background-color: var(--secondary-button-hover-color);
}

.version-buttons .soon-btn,
.version-buttons .soon-btn:hover {
    background-color: #565656;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal h2 {
    color: black;
}

.modal-content {
    position: relative;
    margin: 15% auto;
    padding: 20px;
    width: 80%;
    max-width: 400px;
    background-color: #fff;
    border-radius: 10px;
    text-align: center;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    color: black;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.modal-buttons {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.platform-icon {
    background-size: cover;
    width: 80px;
    height: 80px;
    cursor: pointer;
    transition: transform 0.2s;
}

.platform-icon:hover {
    transform: scale(1.1);
}

.platform-icon#windows {
    background-image: url("../img/buttons/main/download/windows.png");
}

.platform-icon#android {
    background-image: url("../img/buttons/main/download/android.png");
}

.platform-icon#modio {
    background-image: url("../img/buttons/main/download/modio.png");
}

#previewModal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.preview-modal-content {
    background-color: #fff;
    border-radius: 16px;
    width: 95%;
    max-width: 1000px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-top: 40px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.video-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-wrapper iframe {
    width: 100%;
    max-width: 960px;
    height: auto;
    aspect-ratio: 16 / 9;
    border: none;
    border-radius: 12px;
}

.preview-modal-content .close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    color: black;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 100;
}

.preview-modal-content .close-btn:hover {
    color: #000;
}

#characters-grid {
    margin: 40px auto 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
}

.character-slideshow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.slides-wrapper {
    width: 100%;
    max-width: 550px;
}

.slide {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: rgba(0, 0, 0, 0.15);
    padding: 18px;
    border-radius: 20px;
}

.slide-img {
    max-width: 40%;
}

.slide-img img {
    width: calc(328px / 2);
    height: calc(760px / 2);
    border-radius: 6px;
    display: block;
}

.slide-info {
    flex: 1 1 60%;
    text-align: left;
}

.slide-info .character-name {
    margin: 0 0 6px 0;
}

.appearance-buttons {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.appearance-btn {
    background: #333;
    color: #fff;
    border: none;
    padding: 8px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.appearance-btn:hover {
    background: #444;
}

.appearance-btn.active {
    background: var(--default-button-color);
    color: #fff;
}

.slide-nav {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #fff;
    padding: 10px 12px;
    border-radius: 6px;
    cursor: pointer;
}

.slide-nav:hover {
    background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 820px) {
    .slide {
        flex-direction: column;
    }

    .slide-img {
        flex-basis: auto;
        max-width: 100%;
    }

    .slide-info {
        width: 100%;
    }
}

@keyframes popIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    70% {
        transform: scale(1.15);
        opacity: 1;
    }

    100% {
        transform: scale(1);
    }
}

.version-icon-top-right.animate {
    animation: popIn 0.35s cubic-bezier(0.4, 0, 0.2, 1.3) forwards;
}

/*
 _____  _____   ____       _ ______ _____ _______ _____ 
|  __ \|  __ \ / __ \     | |  ____/ ____|__   __/ ____|
| |__) | |__) | |  | |    | | |__ | |       | | | (___  
|  ___/|  _  /| |  | |_   | |  __|| |       | |  \___ \ 
| |    | | \ \| |__| | |__| | |___| |____   | |  ____) |
|_|    |_|  \_\\____/ \____/|______\_____|  |_| |_____/ 
*/
#categoryControls {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.category-btn {
    background-color: #3a3b4a;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 8px 16px;
    font-size: 1em;
    font-family: inherit;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.15s;
}

.category-btn:hover {
    background-color: #57586b;
    transform: translateY(-2px);
}

.category-btn.active {
    background-color: #1976d2;
    color: #fff;
}

.game-gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    justify-content: center;
    gap: 25px;
    padding: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.game-gallery-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 220px;
    padding: 14px 12px;
    box-sizing: border-box;
}

.game-gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(58, 124, 255, 0.3);
}

.game-gallery-item.has-page {
    cursor: pointer;
}

.game-gallery-item.hide {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
}

.game-gallery-item .game-thumbnail {
    width: 180px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1e1f2b;
    border-radius: 10px;
    padding: 8px;
    object-fit: contain;
    box-sizing: border-box;
    margin: 0 auto 8px auto;
}

.game-gallery-item .game-thumbnail .img {
    background-image: var(--noCoverImage);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
    transform: scale(0.9);
    box-sizing: border-box;
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.game-gallery-item#2048-clicker .game-thumbnail .img {
    transform: scale(0.8);
    height: 80px;
}

.game-gallery-item#rhythmo .game-thumbnail .img,
.game-gallery-item#FlashCreations .game-thumbnail .img,
.game-gallery-item#visionsphere .game-thumbnail .img,
.game-gallery-item#processCreations .game-thumbnail .img {
    transform: scale(0.8);
}

.game-gallery-item#foreverbox .game-thumbnail .img {
    transform: scale(2.2);
    border-radius: 15%;
    width: 70px;
    height: 50px;
}

.game-gallery-item#VSRobReboot .game-thumbnail .img,
.game-gallery-item#Joalor64Engine .game-thumbnail .img,
.game-gallery-item#Joalor64EngineLegacy .game-thumbnail .img,
.game-gallery-item#ChocolateEngine .game-thumbnail .img {
    transform: scale(2.5);
    border-radius: 15%;
    width: 60px;
    height: 40px;
}

.game-gallery-item .game-thumbnail#thumbfix .img {
    border-radius: 10px;
    transform: scale(1.9);
    width: 70px;
    height: 500px;
}

.game-gallery-item#alura .game-thumbnail .img {
    border-radius: 15px;
    transform: scale(1.2);
    width: 120px;
    height: 90px;
}

.game-gallery-item#eternyx .game-thumbnail .img,
.game-gallery-item#percush .game-thumbnail .img,
.game-gallery-item#yagsr .game-thumbnail .img {
    border-radius: 25%;
    transform: scale(1.3);
    margin-bottom: 5px;
    width: 80px;
    height: 80px;
}

.game-gallery-item .game-name {
    font-size: 1.05em;
    margin: 4px 0 8px 0;
    color: #fff;
    font-weight: 600;
}

.game-gallery-item .game-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 6px;
    margin-bottom: 0;
}

.game-gallery-item .link-icon {
    width: 34px;
    height: 34px;
    transition: transform 0.2s ease, filter 0.2s ease;
    filter: brightness(0.9);
}

.game-gallery-item .link-icon:hover {
    transform: scale(1.15);
    filter: brightness(1.2);
}

.game-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 20px auto;
    max-width: 1200px;
}

.game-container {
    width: 300px;
    text-align: center;
    border-radius: 10px;
    padding: 15px;
    background-color: #f9f9f934;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    flex: 1 1 calc(33.333% - 40px);
    box-sizing: border-box;
}

.game-thumbnail {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.game-name {
    font-size: 1.5em;
    font-weight: normal;
    margin: 10px 0;
}

.game-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.game-gallery-item .link-icon#github {
    background-image: url("../img/buttons/socials/orbs/github.png");
}

.game-gallery-item .link-icon#itch {
    background-image: url("../img/buttons/socials/orbs/itch.png");
}

.game-gallery-item .link-icon#modio {
    background-image: url("../img/buttons/main/download/modio.png");
}

.game-gallery-item .link-icon#windows {
    background-image: url("../img/buttons/main/download/windows.png");
}

.game-gallery-item .link-icon#android {
    background-image: url("../img/buttons/main/download/android.png");
}

.game-gallery-item .link-icon#gamebanana {
    background-image: url("../img/buttons/socials/orbs/gamebanana.png");
}

.game-gallery-item .link-icon#mega {
    background-image: url("../img/buttons/socials/orbs/mega.png");
}

.game-gallery-item .link-icon#website {
    background-image: url("../img/buttons/main/website-orb.png");
}

.link-icon {
    background-size: cover;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: transform 0.2s;
}

.link-icon:hover {
    transform: scale(1.1);
}

/*
  _____          _      _      ______ _______     __
 / ____|   /\   | |    | |    |  ____|  __ \ \   / /
| |  __   /  \  | |    | |    | |__  | |__) \ \_/ / 
| | |_ | / /\ \ | |    | |    |  __| |  _  / \   /  
| |__| |/ ____ \| |____| |____| |____| | \ \  | |   
 \_____/_/    \_\______|______|______|_|  \_\ |_|   
*/
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: auto;
}

.gallery-item {
    text-align: center;
    background-color: #f0f0f026;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 10px;
    transition: transform 0.2s;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.gallery-item p {
    margin-top: 10px;
    font-size: 24px;
}

.gallery#gall-misc {
    max-width: 800px;
}

#gallery-container .gallery .gallery-item {
    width: 265px;
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#gallery-container .gallery .gallery-item img {
    width: 265px;
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/*
  _   _ ________          _______ 
 | \ | |  ____\ \        / / ____|
 |  \| | |__   \ \  /\  / / (___  
 | . ` |  __|   \ \/  \/ / \___ \ 
 | |\  | |____   \  /\  /  ____) |
 |_| \_|______|   \/  \/  |_____/ 
*/
.news-container {
    display: flex;
    flex-direction: column;
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.news-date-group {
    margin-bottom: 40px;
}

.news-date-header {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 15px;
    border-left: 5px;
    padding-left: 10px;
}

.news-post {
    display: flex;
    gap: 20px;
    background-color: #f4f4f42a;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.news-img {
    flex: 0 0 200px;
}

.news-img img {
    width: 100%;
    border-radius: 10px;
}

.news-content {
    flex: 1;
}

.news-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 8px;
}

.news-info {
    font-size: 16px;
    margin-bottom: 10px;
}

.news-buttons a {
    display: inline-block;
    padding: 8px 16px;
    margin-right: 10px;
    background-color: var(--default-button-color);
    transition: background-color 0.3s ease;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
}

.news-buttons a:hover {
    background-color: var(--default-button-hover-color);
}

/*
 _____            _____ _____ ____     _____ _    _       _______ 
|  __ \     /\   |  __ \_   _/ __ \   / ____| |  | |   /\|__   __|
| |__) |   /  \  | |  | || || |  | | | |    | |__| |  /  \  | |   
|  _  /   / /\ \ | |  | || || |  | | | |    |  __  | / /\ \ | |   
| | \ \  / ____ \| |__| || || |__| | | |____| |  | |/ ____ \| |   
|_|  \_\/_/    \_\_____/_____\____/   \_____|_|  |_/_/    \_\_|
*/
.outer-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: calc(100vh - 140px);
    padding: 20px;
    box-sizing: border-box;
}

.content-container {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    width: 100%;
    justify-content: center;
}

.music-player {
    text-align: center;
    margin: 0;
    padding: 16px;
    border-radius: 10px;
    background-color: #f9f9f96b;
    flex: 0 0 420px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.radio-ui {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.track-info {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: bold;
}

.progress-wrap {
    width: 100%;
    margin: 10px 0;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.progress-bar::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #1976d2, #4fc3f7);
    border-radius: 10px;
    transition: width 0.1s linear;
}

.time-info {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-top: 6px;
    color: #333;
}

.controls {
    margin-top: 10px;
}

.controls button {
    margin: 0 5px;
    padding: 5px 10px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    border-radius: 15px;
    background-color: var(--default-button-color);
    color: white;
    transition: background-color 0.3s;
    font-family: inherit;
}

.controls button:focus {
    outline: 3px solid #1976d2;
    outline-offset: 2px;
}

.controls button:hover {
    background-color: var(--default-button-hover-color);
}

#volume-slider {
    margin-left: 10px;
}

iframe {
    flex: 0 0 500px;
    max-width: 100%;
    height: 600px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: none;
}

/*
   _____ ____  __  __ _____ _____    _____ ______ _   _ ______ _____         _______ ____  _____  
  / ____/ __ \|  \/  |_   _/ ____|  / ____|  ____| \ | |  ____|  __ \     /\|__   __/ __ \|  __ \ 
 | |   | |  | | \  / | | || |      | |  __| |__  |  \| | |__  | |__) |   /  \  | | | |  | | |__) |
 | |   | |  | | |\/| | | || |      | | |_ |  __| | . ` |  __| |  _  /   / /\ \ | | | |  | |  _  / 
 | |___| |__| | |  | |_| || |____  | |__| | |____| |\  | |____| | \ \  / ____ \| | | |__| | | \ \ 
  \_____\____/|_|  |_|_____\_____|  \_____|______|_| \_|______|_|  \_\/_/    \_\_|  \____/|_|  \_\                                                                                             
*/
#comic-generator {
    text-align: center;
    margin: 30px auto 30px auto;
    padding: 30px 20px 20px 20px;
    background: linear-gradient(135deg, #3a7cff 0%, #a1c4fd 100%);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(58, 124, 255, 0.15);
    max-width: 1200px;
    border: 3px solid #fff;
    position: relative;
}

.panel-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 25px;
}

.comic-panel {
    position: relative;
    border: 3px solid #1976d2;
    border-radius: 18px;
    padding: 10px 10px 6px 10px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(58, 124, 255, 0.18);
    transition: box-shadow 0.2s;
}

.comic-panel:hover {
    box-shadow: 0 8px 32px rgba(58, 124, 255, 0.28);
}

.comic-panel img {
    width: 340px;
    height: 340px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    background: #e3e8ff;
}

.comic-panel button {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 1.5em;
    background: #3a7cff;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    box-shadow: 0 2px 8px rgba(58, 124, 255, 0.18);
    cursor: pointer;
    transition: background 0.2s;
}

.comic-panel button:hover {
    background: #1976d2;
}

.controls#comic button {
    margin: 8px 12px;
    padding: 12px 24px;
    font-size: 1.1em;
    border-radius: 16px;
    background: #fff;
    color: #1976d2;
    border: 2px solid #1976d2;
    font-family: 'Poppins', 'Jua', sans-serif;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(58, 124, 255, 0.10);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.controls#comic button:hover {
    background: #1976d2;
    color: #fff;
}

.comic-id-controls {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(58, 124, 255, 0.10);
    padding: 18px 0 12px 0;
    display: inline-block;
    width: 350px;
}

.comic-id-controls #comicIdDisplay {
    font-weight: bold;
    color: #1976d2;
    font-size: 1.1em;
    margin-right: 10px;
}

.comic-id-controls #comicIdInput {
    margin-left: 10px;
}

.submit-panel-section {
    background: linear-gradient(135deg, #fff 60%, #a1c4fd 100%);
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(58, 124, 255, 0.10);
    padding: 24px 0 18px 0;
    margin: 30px auto 0 auto;
    max-width: 600px;
    text-align: center;
}

.submit-panel-section h2 {
    font-family: 'Jua', 'Poppins', sans-serif;
    color: #3a7cff;
    font-size: 2em;
    margin-top: 0;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px #a1c4fd88;
}

.submit-panel-section p {
    color: #22232f;
    font-size: 1.1em;
    margin-bottom: 10px;
}

.submit-panel-section a {
    color: #1976d2;
    font-weight: bold;
    font-size: 1.1em;
    text-decoration: underline;
    transition: color 0.2s;
}

.submit-panel-section a:hover {
    color: #3a7cff;
}

.submit-panel-section h3 {
    color: #1976d2;
    margin-top: 18px;
    margin-bottom: 6px;
    font-size: 1.2em;
    font-family: 'Poppins', 'Jua', sans-serif;
}

.submit-panel-section p:last-child {
    color: #444;
    font-size: 1em;
    margin-bottom: 0;
}

/*
 _  _    ___  _  _     _____        _____ ______ 
| || |  / _ \| || |   |  __ \ /\   / ____|  ____|
| || |_| | | | || |_  | |__) /  \ | |  __| |__   
|__   _| | | |__   _| |  ___/ /\ \| | |_ |  __|  
   | | | |_| |  | |   | |  / ____ \ |__| | |____ 
   |_|  \___/   |_|   |_| /_/    \_\_____|______|
*/
.oopsImg {
    background-image: url('../img/faviconOops.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
}

button.homeButton {
    margin: 0 5px;
    padding: 5px 10px;
    font-size: 25px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background-color: var(--default-button-color);
    color: white;
    transition: background-color 0.3s;
    font-family: inherit;
}

button.homeButton:hover {
    background-color: var(--default-button-hover-color);
}

/*
  __  __  ____  ____ _____ _      ______    _____ _    _ _____  _____   ____  _____ _______ 
 |  \/  |/ __ \|  _ \_   _| |    |  ____|  / ____| |  | |  __ \|  __ \ / __ \|  __ \__   __|
 | \  / | |  | | |_) || | | |    | |__    | (___ | |  | | |__) | |__) | |  | | |__) | | |   
 | |\/| | |  | |  _ < | | | |    |  __|    \___ \| |  | |  ___/|  ___/| |  | |  _  /  | |   
 | |  | | |__| | |_) || |_| |____| |____   ____) | |__| | |    | |    | |__| | | \ \  | |   
 |_|  |_|\____/|____/_____|______|______| |_____/ \____/|_|    |_|     \____/|_|  \_\ |_|   
*/
@media (max-width: 420px) {
    body {
        padding: 10px;
    }

    .topnav {
        padding: .35rem .0rem;
        border-radius: 8px;
        gap: 8px
    }

    .topnav a {
        padding: .4rem .6rem;
        font-size: .92rem;
    }

    .banner {
        padding: 1.2rem;
    }

    .banner .txt {
        font-size: clamp(1.25rem, 9vw, 3.6rem);
    }

    .music-player {
        padding: 10px;
        max-width: 100%;
    }

    .controls button {
        padding: .35rem .5rem;
        font-size: .9rem;
    }

    .wallpaper-gallery,
    .gallery,
    .game-gallery,
    .game-list {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 12px;
    }

    .progress-bar {
        height: 8px;
    }

    .panel-container {
        gap: 10px;
    }
}

@media (max-width:480px) {
    .card img {
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 600px) {
    .game-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .game-gallery-item {
        width: 160px;
        height: 280px;
        padding: 12px;
    }

    .game-gallery-item .game-thumbnail {
        width: 140px;
        height: 110px;
    }

    .game-gallery-item .link-icon {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 720px) {
    .content-container {
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }

    .music-player {
        flex: 0 0 95%;
        max-width: 500px;
    }

    iframe {
        width: 95%;
        height: 520px;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
        padding: 10px;
    }

    .navLinesBurger {
        display: block;
        position: absolute;
        cursor: pointer;
        top: 13px;
        right: 55px;
    }

    .topnav {
        position: relative;
    }

    .topnav a {
        float: none;
        display: block;
        text-align: left;
    }


    .mobile-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #111;
        border-radius: 8px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 20px 0;
        transform: translateY(-1000px) scale(0.95);
        transform-origin: top center;
        pointer-events: none;
        opacity: 0;
        transition: all 0.3s ease;
        z-index: 999;
    }

    .dropdown-content {
        display: none;
        position: flex;
        background-color: #333;
        margin-left: -75px;
        margin-top: 20px;
        box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    }

    .mobile-nav.open {
        transform: translateY(-635px) scale(0.95);
        pointer-events: auto;
        opacity: 1;
    }

    .mobile-nav a {
        color: white;
        text-decoration: none;
        font-size: 18px;
    }

    .mobile-nav a .active {
        background-color: #04AA6D;
    }

    .nav-links {
        display: none;
    }

    .banner {
        height: 300px;
        background-size: cover;
        background-position: center;
    }

    .banner .txt {
        font-size: 40px;
        text-wrap-mode: wrap;
    }

    .content {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
        gap: 15px 20px;
        justify-content: center;
        align-items: center;
    }

    .content img {
        transform: scale(1.2);
    }

    .content .box-select01 {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        max-width: 180px;
        width: auto;
        justify-self: center;
        padding: 10px;
    }

    .content .box-select01 img {
        width: clamp(90px, 20vw, 140px);
        height: auto;
        margin-bottom: 3px;
        transition: transform 0.3s ease;
    }

    .content .box-select01 img:hover {
        transform: scale(1.1);
    }

    .content .box-select01 span,
    .content .box-select01 p {
        font-size: 15px;
        line-height: 1.2;
        text-align: center;
    }

    .content2 .box-container {
        flex-direction: column;
        text-align: center;
        padding: 10px;
        gap: 10px;
    }

    .content2 .icon-container {
        width: 150px;
        height: 150px;
    }

    .content2 .text-container {
        gap: 8px;
    }

    .content2 .small-title {
        font-size: 20px;
    }

    .content2 .info-text {
        font-size: 16px;
    }

    .container {
        flex-direction: column;
        text-align: center;
        padding: 10px;
    }

    .wallpaper-item {
        width: 100%;
    }

    .game-container {
        flex: 1 1 100%;
        margin: 10px 0;
    }

    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .news-container {
        padding: 10px;
    }

    .news-post {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }

    .news-img {
        flex: 0 0 auto;
        width: 100%;
    }

    .news-img img {
        border-radius: 8px;
    }

    .news-content {
        text-align: center;
    }

    .news-title {
        font-size: 18px;
    }

    .news-info {
        font-size: 14px;
    }

    .news-buttons a {
        font-size: 12px;
        padding: 6px 12px;
    }

    .foreverbox-icons-row {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .foreverbox-icon-col {
        width: 100%;
        align-items: center;
        margin-bottom: 10px;
    }

    .foreverbox-icon {
        width: 120px;
        height: 120px;
    }

    .foreverbox-icon-label {
        font-size: 20px;
        margin-top: 8px;
    }

    .version-container {
        flex-direction: column;
        transform: scale(0.95);
        padding: 10px;
        gap: 15px;
    }

    .version-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .version-image img {
        width: 100%;
        height: auto;
        border-radius: 15px;
        margin-bottom: 10px;
    }

    .version-info {
        align-items: center;
        text-align: center;
    }

    .version-name {
        font-size: 32px;
    }

    .version-date {
        font-size: 14px;
    }

    .version-description {
        font-size: 18px;
    }

    .version-buttons {
        gap: 10px;
        align-items: center;
        justify-content: center;
    }

    .version-buttons .btn {
        font-size: 12px;
        padding: 8px 16px;
    }

    .version-icon svg {
        width: 60px;
        height: 60px;
    }

    .version-icon p {
        font-size: 14px;
    }

    #characters-grid {
        flex-direction: column;
        align-items: center;
        margin-top: 20px;
        width: 100%;
        padding: 0 5px;
    }

    .characters-table {
        gap: 12px;
        width: 100%;
    }

    .character-row {
        flex-direction: column;
        gap: 12px;
        align-items: center;
        width: 100%;
    }

    .character-cell {
        width: 90vw;
        max-width: 320px;
        margin: 0 auto;
    }

    .character-thumb {
        width: 90vw;
        max-width: 180px;
        height: auto;
        min-width: 100px;
        min-height: 120px;
    }

    .character-name {
        font-size: 1em;
    }

    .character-modal-content {
        max-width: 90vw;
        width: 90vw;
        padding: 16px 4px;
        font-size: 0.95em;
    }

    .character-modal-imgs {
        gap: 8px;
    }

    .character-modal-img-block img {
        width: 180px;
        height: 180px;
    }

    .character-modal-close {
        font-size: 1.5em;
        right: 8px;
        top: 8px;
    }

    .character-modal-tabs {
        gap: 4px;
    }

    .character-modal-tab {
        padding: 4px 10px;
        font-size: 0.95em;
    }

    .content-container {
        flex-direction: column;
        align-items: center;
    }

    .music-player {
        order: 1;
    }

    iframe {
        order: 2;
        width: 100vw;
        max-width: 100%;
        height: 50vh;
        margin-bottom: 20px;
        box-sizing: border-box;
    }

    .panel-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .comic-panel img {
        width: 90vw;
        max-width: 100%;
        height: auto;
    }

    .video-wrapper {
        display: block;
        transform: scale(0.9);
    }

    .preview-modal-content {
        transform: scale(0.95);
    }
}

@media (max-width: 1024px) {
    .game-gallery {
        grid-template-columns: repeat(3, 1fr);
    }

    .game-gallery-item {
        width: 200px;
        height: 320px;
    }

    .game-gallery-item .game-thumbnail {
        width: 160px;
        height: 130px;
    }
}