
/* Max-WoW Launcher Gallery - Fullscreen Neon WotLK style with lightbox */

.mxwlg-fs-wrapper {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    min-height: 100vh;
    padding: 40px 5vw;
    box-sizing: border-box;
    background: radial-gradient(circle at top, #141b3a 0, #050616 45%, #02020a 100%);
    color: #e5f6ff;
    font-family: "Segoe UI", system-ui, sans-serif;
}

.mxwlg-fs-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.mxwlg-fs-title {
    text-align: center;
    font-size: 34px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 26px;
    text-shadow: 0 0 20px rgba(0, 220, 255, 0.95), 0 0 40px rgba(0, 110, 255, 0.8);
}

.mxwlg-fs-upload-msg {
    text-align: center;
    margin-bottom: 14px;
}

.mxwlg-fs-upload-success {
    color: #7bffcf;
    text-shadow: 0 0 12px rgba(0, 255, 200, 0.9);
}

.mxwlg-fs-upload-error {
    color: #ff7b7b;
    text-shadow: 0 0 12px rgba(255, 80, 80, 0.9);
}

.mxwlg-fs-albums-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 26px;
}

.mxwlg-fs-album-card {
    width: 300px;
    background: linear-gradient(145deg, rgba(9, 12, 28, 0.98), rgba(3, 6, 16, 0.99));
    border-radius: 18px;
    padding: 16px 16px 18px;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 0 22px rgba(0, 190, 255, 0.55),
        0 0 56px rgba(0, 60, 140, 0.85);
    border: 1px solid rgba(120, 210, 255, 0.45);
    backdrop-filter: blur(10px);
}

.mxwlg-fs-album-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(circle at 0 0, rgba(0, 240, 255, 0.25), transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(0, 120, 255, 0.2), transparent 60%);
    opacity: 0.8;
    z-index: 0;
}

.mxwlg-fs-album-header,
.mxwlg-fs-album-footer,
.mxwlg-fs-album-thumbs {
    position: relative;
    z-index: 1;
}

.mxwlg-fs-album-title {
    font-size: 19px;
    margin: 0 0 4px;
    text-shadow: 0 0 14px rgba(0, 220, 255, 0.95);
}

.mxwlg-fs-album-thumbs {
    display: flex;
    gap: 6px;
    margin: 8px 0 13px;
}

.mxwlg-fs-thumb-wrap {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 11px rgba(0, 220, 255, 0.75);
    animation: mxwlg-fs-float 3s ease-in-out infinite alternate;
}

.mxwlg-fs-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(1.2) contrast(1.1);
    transform: scale(1.06);
}

@keyframes mxwlg-fs-float {
    0% {
        transform: translateY(0) scale(1.02);
        box-shadow: 0 0 12px rgba(0, 210, 255, 0.7);
    }
    100% {
        transform: translateY(-7px) scale(1.06);
        box-shadow: 0 0 22px rgba(120, 230, 255, 1);
    }
}

.mxwlg-fs-enter-btn {
    display: inline-block;
    padding: 7px 18px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 0, #4cf0ff, #0074ff);
    color: #020308;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    text-decoration: none;
    box-shadow:
        0 0 16px rgba(0, 220, 255, 0.95),
        0 0 34px rgba(0, 140, 255, 0.9);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.mxwlg-fs-enter-btn:hover {
    transform: translateY(-1px) scale(1.04);
    filter: brightness(1.1);
    box-shadow:
        0 0 22px rgba(120, 240, 255, 1),
        0 0 40px rgba(0, 160, 255, 0.95);
}

.mxwlg-fs-no-images {
    font-size: 12px;
    opacity: 0.7;
    font-style: italic;
}

.mxwlg-fs-empty {
    text-align: center;
    margin-top: 20px;
    opacity: 0.8;
}

/* Album view */

.mxwlg-fs-album-view {
    margin-top: 18px;
}

.mxwlg-fs-album-view-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(120, 210, 255, 0.3);
    padding-bottom: 6px;
}

.mxwlg-fs-back-link {
    color: #78d2ff;
    text-decoration: none;
    font-size: 13px;
    text-shadow: 0 0 9px rgba(0, 180, 255, 0.9);
}

.mxwlg-fs-back-link:hover {
    text-decoration: underline;
}

.mxwlg-fs-album-view-title {
    font-size: 21px;
    margin: 0;
    text-shadow: 0 0 14px rgba(0, 240, 255, 0.95);
}

/* Upload form */

.mxwlg-fs-upload-form {
    margin-top: 10px;
    margin-bottom: 10px;
}

.mxwlg-fs-upload-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.mxwlg-fs-upload-title {
    flex: 1 1 180px;
    min-width: 0;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(120, 210, 255, 0.5);
    background: rgba(10, 16, 30, 0.95);
    color: #e5f6ff;
}

.mxwlg-fs-upload-file {
    flex: 1 1 220px;
    min-width: 0;
    padding: 4px 6px;
    border-radius: 999px;
    border: 1px solid rgba(120, 210, 255, 0.5);
    background: rgba(8, 12, 24, 0.95);
    color: #e5f6ff;
}

.mxwlg-fs-upload-btn {
    flex: 0 0 auto;
    padding: 7px 16px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    background: radial-gradient(circle at 30% 0, #4cf0ff, #0074ff);
    color: #020308;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    box-shadow:
        0 0 14px rgba(0, 220, 255, 0.95),
        0 0 30px rgba(0, 140, 255, 0.9);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.mxwlg-fs-upload-btn:hover {
    transform: translateY(-1px) scale(1.03);
    filter: brightness(1.08);
}

.mxwlg-fs-login-hint {
    font-size: 13px;
    opacity: 0.8;
}

/* Album images grid */

.mxwlg-fs-album-images-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
    margin-top: 16px;
}

.mxwlg-fs-image-item {
    width: 280px;
    border-radius: 14px;
    overflow: hidden;
    background: radial-gradient(circle at top left, rgba(0, 210, 255, 0.22), rgba(0, 0, 0, 0.88));
    box-shadow:
        0 0 18px rgba(0, 220, 255, 0.8),
        0 0 44px rgba(0, 60, 130, 0.85);
    position: relative;
    cursor: pointer;
}

.mxwlg-fs-image-full {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1.03);
    transition: transform 0.2s ease-out, filter 0.2s ease-out;
    filter: saturate(1.15) contrast(1.1);
}

.mxwlg-fs-image-item:hover .mxwlg-fs-image-full {
    transform: scale(1.07);
    filter: saturate(1.2) contrast(1.15) brightness(1.08);
}

/* Lightbox */

.mxwlg-fs-lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.mxwlg-fs-lightbox.mxwlg-fs-open {
    display: flex;
}

.mxwlg-fs-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(0,0,0,0.9), rgba(0,0,0,0.98));
    backdrop-filter: blur(4px);
}

.mxwlg-fs-lightbox-inner {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mxwlg-fs-lightbox-img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 16px;
    box-shadow:
        0 0 24px rgba(0, 220, 255, 0.9),
        0 0 70px rgba(0, 80, 160, 0.9);
}

.mxwlg-fs-lightbox-close,
.mxwlg-fs-lightbox-prev,
.mxwlg-fs-lightbox-next {
    position: absolute;
    background: rgba(6, 16, 30, 0.9);
    border-radius: 999px;
    border: 1px solid rgba(120, 210, 255, 0.7);
    color: #e5f6ff;
    width: 40px;
    height: 40px;
    line-height: 38px;
    text-align: center;
    font-size: 22px;
    cursor: pointer;
    box-shadow:
        0 0 16px rgba(0, 220, 255, 0.9),
        0 0 30px rgba(0, 120, 255, 0.85);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.mxwlg-fs-lightbox-close {
    top: -18px;
    right: -18px;
}

.mxwlg-fs-lightbox-prev {
    left: -50px;
    top: 50%;
    transform: translateY(-50%);
}

.mxwlg-fs-lightbox-next {
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
}

.mxwlg-fs-lightbox-close:hover,
.mxwlg-fs-lightbox-prev:hover,
.mxwlg-fs-lightbox-next:hover {
    transform: scale(1.05);
    box-shadow:
        0 0 22px rgba(120, 240, 255, 1),
        0 0 40px rgba(0, 160, 255, 0.95);
}

/* Responsive */

@media (max-width: 900px) {
    .mxwlg-fs-upload-fields {
        flex-direction: column;
        align-items: stretch;
    }
    .mxwlg-fs-upload-title,
    .mxwlg-fs-upload-file,
    .mxwlg-fs-upload-btn {
        width: 100%;
    }
    .mxwlg-fs-lightbox-prev {
        left: 4px;
    }
    .mxwlg-fs-lightbox-next {
        right: 4px;
    }
}

@media (max-width: 768px) {
    .mxwlg-fs-albums-grid {
        gap: 18px;
    }
    .mxwlg-fs-album-card {
        width: 100%;
        max-width: 340px;
    }
    .mxwlg-fs-image-item {
        width: 100%;
        max-width: 340px;
    }
}
