/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: url('cards/marble-black.jpg') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    overflow-x: hidden;
    padding-top: 120px;
    position: relative;
}

/* 🌌 Particle Canvas */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
}

/* 🚀 Fancy Loader */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 15, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    backdrop-filter: blur(25px);
    /* Initial heavy blur */
    transition: backdrop-filter 0.3s ease;
}

.fade-out {
    opacity: 0;
    visibility: hidden;
    transition: all 1s ease;
}

#loadingText {
    color: white;
    font-size: 1.2rem;
    z-index: 9999;
}


/* Loader Card Flip */
.flip-card {
    background: transparent;
    width: 150px;
    height: 220px;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transform-style: preserve-3d;
    animation: flip 2s infinite linear;
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    /* ✅ Corrected */
}


.flip-card-front img,
.flip-card-back img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.flip-card-back {
    transform: rotateY(180deg);
}

@keyframes flip {
    0% {
        transform: rotateY(0deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}

/* 🎴 Header */
/* 🌌 Responsive Premium Header */
header {
    position: sticky;
    top: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(20, 20, 20, 0.95));
    padding: 10px 20px;
    box-shadow: 0 2px 12px rgba(255, 20, 147, 0.25);
    z-index: 100;
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.6s ease;
}


/* Top Part (Logo and Menu) */
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Title */
header h1 {
    font-size: 2rem;
    color: #ff69b4;
    margin: 0;
    text-shadow: 0 0 6px rgba(255, 105, 180, 0.6);
    white-space: nowrap;
}

/* 📱 Mobile Toggle */
.mobile-toggle {
    background: linear-gradient(145deg, #ff69b4, #ff1493);
    border: none;
    color: white;
    font-size: 1.1rem;
    padding: 8px 20px;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(255, 105, 180, 0.3);
    display: none;
    margin: 12px auto 0;
    transition: 0.3s ease;
}

.mobile-toggle:hover {
    background: #ff1493;
}


@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
        width: 90%;
        max-width: 320px;
        margin: 12px auto 0;
    }
}

/* 🎯 Controls Area */
.controls {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.controls input,
.controls select {
    padding: 10px 15px;
    border: 2px solid #ff69b4;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

.controls input::placeholder {
    color: #ccc;
}

.controls input:focus,
.controls select:focus {
    border-color: #ff1493;
    background: rgba(0, 0, 0, 0.95);
}

/* 🎯 Sort Buttons */
.sort-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.sort-btn {
    padding: 8px 16px;
    background: linear-gradient(145deg, #ff69b4, #ff1493);
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(255, 105, 180, 0.4);
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
}

.sort-btn:hover {
    background: #ff1493;
    transform: scale(1.05);
}

.sort-btn:active {
    transform: scale(0.95);
}

/* 📱 Responsive - Mobile View */
@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .header-top {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .controls {
        display: none;
        /* Hide by default on mobile */
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-top: 12px;
    }

    .controls.show {
        display: flex;
    }

    .controls input,
    .controls select {
        width: 90%;
        max-width: 320px;
    }

    .sort-buttons {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
}

/* ✨ Fade Animation */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 💎 More Premium Hover */
.controls input:hover,
.controls select:hover,
.sort-btn:hover {
    box-shadow: 0 0 8px rgba(255, 105, 180, 0.4);
}



/* 🖼️ Card Gallery */
#cardGallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 1300px;


    /* Add horizontal spacing */
    padding: 30px 40px;
    /* ← increased horizontal padding */
    margin: 0 auto;

    min-height: 800px;
    align-content: start;
}

@media (max-width: 768px) {
    #cardGallery {
        padding: 20px;
    }
}



/* 🎴 Card Main Layout */
.card {
    background: rgba(30, 30, 30, 0.95);
    padding: 16px;
    border-radius: 16px;
    max-width: 220px;
    width: 100%;
    text-align: center;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.3s ease, box-shadow 0.5s ease;
    box-shadow: 0 8px 20px rgba(216, 72, 127, 0.15), inset 0 0 12px rgba(255, 105, 180, 0.05);
    cursor: pointer;
    overflow: hidden;
    opacity: 0;
    /* transform: translateY(20px); */
    animation: fadeInCard 0.6s ease forwards;
    will-change: transform;
}

@keyframes fadeInCard {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}



/* Card Image */
.card img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    margin-bottom: 1px;
}

/* Card Information Section */
.card-info {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Card Name (Softer Pink, Elegant) */
.card-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: #f48fb1;
    /* SOFTER pink */
    margin-bottom: 6px;
    text-shadow: 0 0 5px rgba(255, 105, 180, 0.2);
}

/* Gen Number */
.card-gen {
    font-size: 0.85rem;
    color: #ccc;
    margin-top: 2px;
}

/* Code */
.card-code {
    font-size: 0.8rem;
    color: #aaa;
    margin-top: 3px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 3px;
}

/* Category */
.card-category {
    font-size: 0.8rem;
    color: #888;
    margin-top: 3px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 3px;
}

/* 🌟 2D / 3D Badge Improved (Glassy Capsule Style) */
.card-type {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 105, 180, 0.2);
    /* Very soft pink glass */
    backdrop-filter: blur(4px);
    color: #fff;
    padding: 2px 8px;
    font-size: 0.65rem;
    border-radius: 999px;
    box-shadow: 0 1px 5px rgba(255, 105, 180, 0.2);
    letter-spacing: 0.3px;
    font-weight: normal;
    opacity: 0.8;
    transition: 0.3s;
}

.card-type:hover {
    opacity: 1;
    box-shadow: 0 2px 10px rgba(255, 105, 180, 0.5);
}


/* 🌟 Card Shine Effect */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 250%;
    height: 250%;
    background: radial-gradient(circle at var(--shine-x, 50%) var(--shine-y, 50%), rgba(255, 255, 255, 0.3), transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.card:hover::before {
    opacity: 1;
}

/* Popup Fix */
/* 🌌 Popup Overlay */
#popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* 💳 Popup Card */
/* 🌌 Popup Overlay */
#popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* 💳 Popup Card */
.popup-content {
    position: relative;
    width: 100%;
    max-width: 360px;
    aspect-ratio: 2/3;
    background: rgba(30, 30, 30, 0.95);
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(255, 105, 180, 0.4);
    overflow: hidden;
    perspective: 1200px;
    transform-style: preserve-3d;

}

.popup-content img {
    width: 100%;
    border-radius: 12px;
    animation: popupFade 0.5s ease;
}

@keyframes popupFade {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


.popup-inner {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s ease;
    position: relative;

    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);

}

.popup-inner.flipped {
    transform: rotateY(180deg);
}

.popup-front,
.popup-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    overflow: hidden;
}

.popup-front {
    background: #111;
    z-index: 2;
}

.popup-front img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    display: block;
}

.popup-front-info {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
    color: #fff;
    font-weight: bold;
    text-shadow: 0 0 6px rgba(255, 105, 180, 0.7);
}

.popup-front-info h2 {
    font-size: 1.1rem;
    color: #f48fb1;
    margin: 2px 0;
}

.popup-front-info p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.popup-back {
    background: rgba(15, 15, 15, 0.95);
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.popup-back img.blurred {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(6px) brightness(0.23) saturate(0.6);
    z-index: 1;
    border-radius: 15px;
    transform: scaleX(-1);
}

.popup-back-content {
    position: relative;
    z-index: 2;
    padding: 30px 20px;
    width: 100%;
    height: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    backdrop-filter: blur(4px);
    font-family: 'Segoe UI', 'Poppins', sans-serif;
}

.popup-back-title {
    font-size: 1.6rem;
    font-weight: 600;
    background: linear-gradient(to top left, #eeeeee, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow:
        1px 1px 2px rgba(0, 0, 0, 0.85),
        -1px -1px 1px rgba(255, 255, 255, 0.12),
        0 2px 4px rgba(0, 0, 0, 0.6);
    margin-bottom: 20px;
}


.popup-texts {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
    align-items: center;
    width: 100%;
}

.popup-texts h2 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1.4px;
    background: linear-gradient(to top left, #eeeeee, #ffffff);
    background-clip: text;
    /* Standard property */
    -webkit-background-clip: text;
    /* For Safari and older WebKit browsers */
    -webkit-text-fill-color: transparent;
    text-shadow:
        1px 1px 2px rgba(0, 0, 0, 0.85),
        0 0 3px rgba(255, 255, 255, 0.1);
    margin-bottom: 12px;
    opacity: 0;
    transition: opacity 0.5s ease;
}


.popup-info-table {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    font-family: 'Poppins', sans-serif;
    opacity: 0;
    transition: opacity 0.5s ease;
    margin-bottom: 6px;
}

#raidFieldsDisplay {
    display: none;
    margin-top: 16px;
    gap: 8px;
}

#raidFieldsDisplay .popup-row {
    margin-top: 6px;
}


.popup-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.popup-row:last-child {
    border-bottom: none;
}

.popup-row .label {
    font-weight: 600;
    font-size: 1rem;
    background: linear-gradient(to top left, #dddddd, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow:
        1px 1px 2px rgba(0, 0, 0, 0.8),
        -1px -1px 2px rgba(255, 255, 255, 0.1),
        0 2px 4px rgba(0, 0, 0, 0.7);
}

.popup-row .value {
    font-weight: 500;
    font-size: 1rem;
    background: linear-gradient(to top left, #eeeeee, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow:
        1px 1px 2px rgba(0, 0, 0, 0.8),
        -1px -1px 2px rgba(255, 255, 255, 0.1),
        0 2px 4px rgba(0, 0, 0, 0.7);
}

.popup-inner.flipped .popup-texts h2,
.popup-inner.flipped .popup-info-table {
    opacity: 1;
}

#popupClose {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    color: #ff69b4;
    cursor: pointer;
    z-index: 15;
}

#flipButton,
#flipBackButton {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(145deg, #ff69b4, #ff1493);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 0.8rem;
    box-shadow: 0 2px 8px rgba(255, 105, 180, 0.5);
    z-index: 15;
    cursor: pointer;
    transition: 0.3s ease;
}

#flipButton:hover,
#flipBackButton:hover {
    background: #ff1493;
}

.hidden {
    display: none !important;
}




/* 🎯 Animations */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 📱 Responsive */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .controls {
        flex-direction: column;
    }

    #cardGallery {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
}

@media (max-width: 480px) {
    header {
        padding: 15px;
    }

    .controls input,
    .controls select {
        width: 90%;
    }

    #cardGallery {
        gap: 15px;
    }
}

.card-wishlist-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(179, 157, 219, 0.25);
    /* soft purple glass */
    backdrop-filter: blur(4px);
    color: #fff;
    padding: 2px 8px;
    font-size: 0.65rem;
    border-radius: 999px;
    box-shadow: 0 1px 5px rgba(179, 157, 219, 0.2);
    letter-spacing: 0.3px;
    font-weight: normal;
    opacity: 0.85;
    transition: 0.3s;
}

.card-wishlist-badge:hover {
    opacity: 1;
    box-shadow: 0 2px 10px rgba(179, 157, 219, 0.5);
}

/* Popup Header */
.popup-header {
    position: relative;
    width: 100%;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Close Button */
#popupClose {
    font-size: 1.5rem;
    color: #ff69b4;
    cursor: pointer;
}

.mobile-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: all 0.4s ease;
}

.live-header {
    background: transparent;
    padding: 12px 20px;
    display: flex;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    position: sticky;
    top: 0;
}

.live-profile-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 1200px;
    width: 100%;
}

.discord-avatar-wrapper {
    flex-shrink: 0;
}

.discord-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 2px solid #ff69b4;
    box-shadow: 0 0 8px rgba(255, 105, 180, 0.4);
}

.discord-info {
    color: white;
    font-family: 'Poppins', sans-serif;
}

.discord-name {
    font-size: 1.3rem;
    font-weight: bold;
    color: #ff69b4;
}

.discord-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #ccc;
}

#status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

/* Activities Discord  */

.activity-rows {
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow: hidden;
    width: 100vw;
    padding: 20px 0;
}

.activity-row {
    display: flex;
    flex-wrap: nowrap;
    /* Prevent wrapping */
    white-space: nowrap;
    /* ✅ Prevent line breaks */
    min-width: 200%;
    gap: 18px;
    animation: slide-ltr 30s linear infinite;
}


.row-rtl {
    animation: slide-rtl 30s linear infinite;
    justify-content: flex-end;
    min-width: 200%;
    white-space: nowrap;
    /* ✅ */
}


@keyframes slide-ltr {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes slide-rtl {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.activity-card {
    flex-shrink: 0;
    min-width: 280px;
    max-width: 300px;
    background: linear-gradient(145deg, #2c2c2c, #1a1a1a);
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 6px 18px rgba(255, 105, 180, 0.15);
    color: #f0f0f0;
    font-family: 'Poppins', sans-serif;
    transition: transform 0.3s ease;
}

.activity-card:hover {
    transform: scale(1.03);
}

.activity-image {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 12px;
    image-rendering: auto;
}

.activity-title {
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffb3d9;
}

.activity-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.activity-detail,
.activity-state {
    font-size: 0.85rem;
    opacity: 0.9;
    margin: 2px 0;
}

.activity-timer {
    font-size: 0.75rem;
    color: #42e8e0;
    margin-top: 6px;
}

@keyframes slide-ltr {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(100%);
    }
}

@keyframes slide-rtl {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }
}

.activity-image,
.activity-icon {
    image-rendering: auto;
    image-rendering: crisp-edges;
    image-rendering: -webkit-optimize-contrast;
}

@media (max-width: 600px) {
    .activity-card {
        min-width: 200px;
        max-width: 220px;
        padding: 10px;
        border-radius: 12px;
    }

    .activity-image {
        height: 100px;
        border-radius: 10px;
    }

    .activity-title {
        font-size: 1rem;
    }

    .activity-detail,
    .activity-state {
        font-size: 0.75rem;
    }

    .activity-timer {
        font-size: 0.7rem;
    }

    .activity-icon {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 600px) {
    .row-ltr {
        animation-duration: 40s;
    }

    .row-rtl {
        animation-duration: 40s;
    }
}

/* Toggle Header */
.floating-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #2c2c2c, #1a1a1a);
    color: white;
    padding: 12px 16px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    cursor: pointer;
    z-index: 9999;
    transition: all 0.3s ease, transform 0.2s ease;
    animation: floatPulse 3s infinite ease-in-out;
}

/* Hover Effect */
.floating-btn:hover {
    background: linear-gradient(145deg, #444, #111);
    transform: scale(1.08) translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}

/* Click (Active) Effect */
.floating-btn:active {
    transform: scale(0.95) translateY(2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}

/* Pulse floating animation */
@keyframes floatPulse {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

/* Hide State */
.floating-btn.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(30px);
    transition: all 0.4s ease;
}


.hidden-header {
    display: none;
}


.banner-wrapper iframe {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: transparent;
}

/* =================== 🔥 BANNER STYLES FROM home.css =================== */

/* 💠 Banner Section */
.section-block {
    position: relative;
    max-width: 940px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

/* 💠 Main Banner Container */
.banner-window {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: transparent;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.01);
    transition: box-shadow 0.5s ease;
}

/* ✨ Shimmer */
.banner-window::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: skewX(-20deg);
    animation: shimmer 5s ease-in-out infinite;
    z-index: 3;
    pointer-events: none;
    border-radius: inherit;
    mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 98%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 98%, transparent 100%);
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* 🔄 Flip Effect */
.banner-flip {
    perspective: 1400px;
    width: 100%;
    height: 100%;
    cursor: pointer;
    position: relative;
}

.banner-inner {
    width: 100%;
    height: 100%;
    transition: transform 1s ease;
    transform-style: preserve-3d;
    position: relative;
}

.banner-flip.flipped .banner-inner {
    transform: rotateY(180deg);
}

.banner-front,
.banner-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: inherit;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-front img,
.banner-back img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
}

@media (max-width: 768px) {

    .banner-front img,
    .banner-back img {
        object-fit: contain;
    }
}

.banner-back {
    transform: rotateY(180deg);
    position: relative;
}

.blurred-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(12px) brightness(0.4);
    z-index: 0;
    transform: scaleX(-1);
}

/* 📝 Banner Info (Engraved Text) */
.banner-info {
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 20px;
    text-shadow:
        1px 1px 1px rgba(0, 0, 0, 0.6),
        -1px -1px 1px rgba(255, 255, 255, 0.1),
        0 0 10px rgba(0, 0, 0, 0.3);
    word-break: break-word;
    max-width: 90%;
    margin: auto;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.banner-flip.flipped .banner-info {
    opacity: 1;
    transform: translateY(0);
    animation: fadeUp 0.7s ease-out forwards;
}

.banner-info h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    background: linear-gradient(to top left, #ffffff, #ffaad4);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow:
        2px 2px 2px rgba(0, 0, 0, 0.3),
        -1px -1px 1px rgba(255, 255, 255, 0.2);
}

.banner-info p {
    font-size: 1rem;
    margin: 4px 0;
    opacity: 0.9;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navigation Zones */
.zone-left,
.zone-middle,
.zone-right {
    position: absolute;
    z-index: 5;
}

.zone-left {
    top: 0;
    left: 0;
    height: 100%;
    width: 20%;
}

.zone-middle {
    top: 0;
    left: 20%;
    height: 100%;
    width: 60%;
}

.zone-right {
    top: 0;
    right: 0;
    height: 100%;
    width: 20%;
}

/* Pagination Dots */
.pagination-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: #ff8ccf;
}


.zone-left,
.zone-middle,
.zone-right {
    position: absolute;
    z-index: 5;
}

.zone-left {
    top: 0;
    left: 0;
    height: 100%;
    width: 20%;
}

.zone-middle {
    top: 0;
    left: 20%;
    height: 100%;
    width: 60%;
}

.zone-right {
    top: 0;
    right: 0;
    height: 100%;
    width: 20%;
}

.section-block {
    position: relative;
    width: 100%;
    max-width: 940px;
    padding: 0 10px;
}

.banner-window {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: transparent;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.01);
    transition: box-shadow 0.5s ease;
}

@media (max-width: 768px) {
    .banner-window {
        aspect-ratio: 16 / 9;
        height: auto;
    }
}

@media (max-width: 480px) {
    .banner-window {
        aspect-ratio: 16 / 10;
    }

    .banner-info h2 {
        font-size: 1.3rem;
    }

    .banner-info p {
        font-size: 0.85rem;
    }
}

/* section space  */
.section-block {
    margin-top: 80px;
    /* or adjust to 40px, 80px based on preference */
}