/* Import Radzen Icons */
@import url('https://cdn.jsdelivr.net/npm/radzen-icons@1.0.0/dist/radzen-icons.css');

/* Base Styles from your original CSS */
html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* ECLIPSI GAME STYLES */

/* Space Background */
.starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #0c0c1e 0%, #1a1a2e 50%, #16213e 100%);
}

.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(2px 2px at 20px 30px, #eee, transparent), radial-gradient(2px 2px at 40px 70px, #fff, transparent), radial-gradient(1px 1px at 90px 40px, #ddd, transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: stars-animation 60s linear infinite;
}

.stars2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(1px 1px at 50px 160px, #ccc, transparent), radial-gradient(1px 1px at 90px 40px, #ddd, transparent);
    background-repeat: repeat;
    background-size: 150px 150px;
    animation: stars-animation 30s linear infinite;
}

.stars3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(1px 1px at 150px 60px, #aaa, transparent), radial-gradient(1px 1px at 200px 120px, #bbb, transparent);
    background-repeat: repeat;
    background-size: 250px 250px;
    animation: stars-animation 90s linear infinite;
}

@keyframes stars-animation {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-200px);
    }
}

/* Main Layout */
.eclipsi-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

/* Header */
.game-header {
    background: rgba(10, 10, 20, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(233, 69, 96, 0.3);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
}

.game-logo {
    position: relative;
    display: flex;
    align-items: center;
}

.logo-image {
    height: 40px;
    filter: drop-shadow(0 0 10px rgba(233, 69, 96, 0.5));
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 50px;
    background: radial-gradient(ellipse, rgba(233, 69, 96, 0.3) 0%, transparent 70%);
    z-index: -1;
}

/* Navigation */
.main-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: #b8b8d0;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

    .nav-link:hover {
        color: #fff;
        background: rgba(233, 69, 96, 0.1);
        transform: translateY(-2px);
    }

.nav-link-active {
    color: #e94560;
    background: rgba(233, 69, 96, 0.15);
    border-bottom: 2px solid #e94560;
}

.nav-icon {
    font-size: 1.2rem;
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: 1rem;
}

.wishlist-text {
    font-weight: 600;
}

/* Main Content */
.game-main {
    flex: 1;
    min-height: calc(100vh - 80px);
    position: relative;
    z-index: 1;
    padding-bottom: 50px; /* Space for collapsed footer */
}

/* Collapsible Footer */
.game-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(5, 5, 15, 0.98);
    border-top: 1px solid rgba(233, 69, 96, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    overflow: hidden;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.5);
}

/* Collapsed State - Only show handle */
.game-footer {
    height: 50px;
    transform: translateY(calc(100% - 12px));
}

    .game-footer .footer-content,
    .game-footer .footer-bottom {
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px);
    }

    /* Expanded State - Show full content */
    .game-footer.expanded,
    .game-footer:hover {
        height: 320px;
        transform: translateY(0);
    }

        .game-footer.expanded .footer-content,
        .game-footer.expanded .footer-bottom,
        .game-footer:hover .footer-content,
        .game-footer:hover .footer-bottom {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

/* Footer Handle */
.footer-handle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, transparent 0%, rgba(233, 69, 96, 0.6) 50%, transparent 100%);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1001;
}

    .footer-handle:hover {
        background: linear-gradient(90deg, transparent 0%, rgba(233, 69, 96, 0.9) 50%, transparent 100%);
        height: 16px;
    }

/* Handle icon */
.handle-icon {
    color: #e94560;
    font-size: 16px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(-8px);
}

/* Show chevron on collapsed state */
.game-footer:not(.expanded):not(:hover) .handle-icon {
    opacity: 1;
    transform: translateY(0);
}

/* Rotate chevron when expanded */
.game-footer.expanded .handle-icon,
.game-footer:hover .handle-icon {
    transform: rotate(180deg) translateY(4px);
}

/* Footer Content */
.footer-content {
    position: relative;
    height: calc(100% - 60px);
    transition: all 0.4s ease 0.1s;
    margin-top: 12px;
}

/* Skewed Banner Background */
.footer-banner-background {
    position: absolute;
    top: -15%;
    left: -5%;
    width: 110%;
    height: 130%;
    z-index: 0;
    overflow: hidden;
    transform: skewY(-2deg);
    transform-origin: bottom left;
}

.banner-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.35) contrast(1.2) saturate(1.3);
    transform: skewY(2deg) scale(1.15);
    transition: transform 0.5s ease;
}

.game-footer.expanded .banner-bg-image,
.game-footer:hover .banner-bg-image {
    transform: skewY(2deg) scale(1.2);
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient( 135deg, rgba(10, 10, 20, 0.85) 0%, rgba(26, 26, 46, 0.7) 50%, rgba(10, 10, 20, 0.85) 100% ), radial-gradient( ellipse at center, transparent 0%, rgba(233, 69, 96, 0.08) 100% );
    backdrop-filter: blur(1px);
}

/* Footer Sections */
.footer-sections {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem 0.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    height: 100%;
}

.footer-section h4 {
    color: #e94560;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.footer-section h5 {
    color: #fff;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.footer-section p {
    color: #b8b8d0;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

/* Social Links */
.social-links, .legal-links {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.social-link, .legal-link {
    color: #b8b8d0;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    padding: 0.2rem 0;
    display: flex;
    align-items: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}

    .social-link:hover, .legal-link:hover {
        color: #e94560;
        transform: translateX(3px);
    }

/* Radzen Icons */
.rzi {
    font-family: 'radzen-icons';
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    margin-right: 0.5rem;
    font-size: 1rem;
    width: 16px;
    text-align: center;
}

.rzi-discord::before {
    content: '\e9ca';
}

.rzi-twitter::before {
    content: '\ea96';
}

.rzi-youtube::before {
    content: '\ea9d';
}

.rzi-reddit::before {
    content: '\eac6';
}

/* Footer Actions */
.footer-actions {
    margin-top: 0.75rem;
}

/* Footer Bottom */
.footer-bottom {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(233, 69, 96, 0.2);
    padding: 0.5rem 2rem;
    text-align: center;
    color: #8a8aa8;
    background: rgba(5, 5, 10, 0.95);
    font-size: 0.75rem;
    transition: all 0.4s ease 0.1s;
}

/* Blazor Error UI - Themed */
.blazor-error-ui {
    background: rgba(179, 33, 33, 0.9);
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1002;
}

    .blazor-error-ui .error-content {
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        gap: 1rem;
    }

    .blazor-error-ui .reload {
        color: white;
        text-decoration: underline;
        margin-left: 1rem;
    }

    .blazor-error-ui .dismiss {
        color: white;
        cursor: pointer;
        margin-left: auto;
    }

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }

    .main-nav {
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-link {
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    .game-footer.expanded,
    .game-footer:hover {
        height: 380px;
    }

    .footer-sections {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 1.25rem 1rem 0.5rem;
        text-align: center;
    }

    .social-links, .legal-links {
        align-items: center;
    }

    .footer-handle {
        height: 14px;
    }

        .footer-handle:hover {
            height: 18px;
        }

    .game-footer {
        height: 50px;
        transform: translateY(calc(100% - 14px));
    }

    .game-main {
        padding-bottom: 50px;
    }
}

@media (max-width: 480px) {
    .game-footer.expanded,
    .game-footer:hover {
        height: 420px;
    }

    .footer-sections {
        gap: 1rem;
        padding: 1rem 1rem 0.5rem;
    }

    .footer-section h4 {
        font-size: 1.1rem;
    }

    .footer-section h5 {
        font-size: 0.8rem;
    }

    .logo-image {
        height: 32px;
    }
}

/* Page Layout */
.home-page, .features-page, .gallery-page, .lore-page, .news-page {
    min-height: 100vh;
    color: white;
}

.page-header {
    text-align: center;
    padding: 4rem 2rem 2rem;
    background: linear-gradient(180deg, rgba(10,10,20,0.8) 0%, transparent 100%);
}

    .page-header h1 {
        font-size: 3rem;
        margin-bottom: 1rem;
        color: #e94560;
        text-shadow: 0 0 20px rgba(233, 69, 96, 0.5);
    }

    .page-header p {
        font-size: 1.2rem;
        color: #b8b8d0;
        max-width: 600px;
        margin: 0 auto;
    }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Home Page */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-stars {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(26,26,46,0.8) 100%);
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(233,69,96,0.1) 0%, transparent 70%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fff, #e94560);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #e94560;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #b8b8d0;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.floating-card {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.hero-preview {
    width: 100%;
    max-width: 400px;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(233,69,96,0.3) 0%, transparent 70%);
    border-radius: 8px;
    z-index: -1;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Features Preview */
.features-preview {
    padding: 4rem 0;
    background: rgba(10,10,20,0.5);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(26,26,46,0.6);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(233,69,96,0.2);
    text-align: center;
    transition: all 0.3s ease;
}

    .feature-card:hover {
        transform: translateY(-5px);
        border-color: rgba(233,69,96,0.5);
        box-shadow: 0 10px 30px rgba(233,69,96,0.2);
    }

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: #e94560;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #b8b8d0;
    margin-bottom: 1.5rem;
}

/* News Preview */
.news-preview {
    padding: 4rem 0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }
}

/* News Card */
.news-card {
    background: rgba(26, 26, 46, 0.6);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(233, 69, 96, 0.2);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

    .news-card:hover {
        transform: translateY(-5px);
        border-color: rgba(233, 69, 96, 0.5);
        box-shadow: 0 10px 30px rgba(233, 69, 96, 0.2);
    }

.news-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

    .news-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.news-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent 50%, rgba(10, 10, 20, 0.9) 100%);
}

.news-card-content {
    padding: 1.5rem;
}

.news-card-title {
    color: #e94560;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.news-card-date {
    color: #8a8aa8;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.news-card-excerpt {
    color: #b8b8d0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Feature Detail */
.feature-detail {
    margin-bottom: 4rem;
}

.feature-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.feature-detail-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

    .feature-detail-header h2 {
        color: #e94560;
        margin: 0;
    }

.feature-detail-body {
    color: #b8b8d0;
    line-height: 1.7;
}

    .feature-detail-body p {
        margin-bottom: 1rem;
    }

.feature-detail-image {
    position: relative;
}

    .feature-detail-image img {
        width: 100%;
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

.image-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(233, 69, 96, 0.2) 0%, transparent 70%);
    border-radius: 8px;
    z-index: -1;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .gallery-item:hover {
        transform: scale(1.05);
    }

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(10, 10, 20, 0.9));
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    transform: translateY(0);
}

.gallery-item-overlay h4 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.gallery-item-overlay p {
    color: #b8b8d0;
    font-size: 0.9rem;
    margin: 0;
}

/* Gallery Controls */
.gallery-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

/* Image Lightbox */
.image-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 2rem;
}

.image-lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: rgba(26, 26, 46, 0.95);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(233, 69, 96, 0.3);
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(233, 69, 96, 0.8);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10001;
    transition: background 0.3s ease;
}

    .lightbox-close:hover {
        background: rgba(233, 69, 96, 1);
    }

.lightbox-image {
    max-width: 100%;
    max-height: 70vh;
    display: block;
    margin: 0 auto;
}

.lightbox-info {
    padding: 1.5rem;
    text-align: center;
}

    .lightbox-info h3 {
        color: #e94560;
        margin-bottom: 0.5rem;
    }

    .lightbox-info p {
        color: #b8b8d0;
        margin: 0;
    }

/* Lore Section */
.lore-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 3rem;
}

.lore-content h2 {
    color: #e94560;
    margin-bottom: 1.5rem;
}

.lore-content p, .lore-content ul {
    color: #b8b8d0;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.lore-content ul {
    padding-left: 1.5rem;
}

.lore-content li {
    margin-bottom: 0.5rem;
}

.lore-content strong {
    color: #e94560;
}

.lore-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Lore Navigation */
.lore-navigation {
    margin-top: 2rem;
}

/* News List */
.news-list {
    max-width: 800px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
    .feature-detail-content,
    .lore-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-detail-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .image-lightbox-overlay {
        padding: 1rem;
    }

    .news-card {
        margin-bottom: 1.5rem;
    }
}

.filled-icon {
    font-variation-settings: 'FILL' 1;
}