
.gmg-holo-widget {
    
    --gmg-holo-cyan: var(--gmg-main-secondary, #00f0ff);
    --gmg-holo-pink: var(--gmg-main-primary, #ff007f);
    --gmg-holo-purple: var(--gmg-main-accent, #a855f7);

    
    --gmg-holo-panel-bg: var(--gmg-main-bg, #121316);
    --gmg-holo-panel-line: var(--gmg-main-text, #f8fafc);
    --gmg-holo-divider: rgb(255 255 255 / 0.07);
    --gmg-holo-watermark: rgb(255 255 255 / 0.12);

    
    --gmg-holo-text: var(--gmg-main-text, #f8fafc);
    --gmg-holo-muted: var(--gmg-main-text, #f8fafc);
    --gmg-holo-faint: #64748b;

    
    --gmg-holo-page-text: var(--gmg-main-text, #ffffff);

    
    --gmg-holo-slide-x: -8px;
}


[dir="rtl"] .gmg-holo-widget {
    --gmg-holo-slide-x: 8px;
}

.gmg-holo-widget * {
    box-sizing: border-box;
}

.gmg-holo-section {
    padding-block: 20px;
}

.gmg-holo-header {
    margin-block-end: 28px;
}

.gmg-holo-badge {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--gmg-holo-cyan);
    margin-block-end: 8px;
    text-shadow: 0 0 10px color-mix(in srgb, var(--gmg-holo-cyan) 60%, transparent);
}

.gmg-holo-heading {
    margin: 0;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 900;
    color: var(--gmg-holo-page-text);
}

.gmg-holo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 32px;
}


.gmg-holo-card {
    opacity: 1 !important;
    position: relative;
    background: var(--gmg-holo-panel-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--gmg-holo-panel-line);
    border-radius: 26px;
    padding: 28px;
    overflow: hidden;
    transition: border-color 300ms ease, box-shadow 300ms ease;
    animation: gmgHoloCardIn 550ms ease both;
    will-change: transform;
}

.gmg-holo-grid .gmg-holo-card:nth-child(1) { animation-delay: 0ms; }
.gmg-holo-grid .gmg-holo-card:nth-child(2) { animation-delay: 90ms; }
.gmg-holo-grid .gmg-holo-card:nth-child(3) { animation-delay: 180ms; }
.gmg-holo-grid .gmg-holo-card:nth-child(n+4) { animation-delay: 260ms; }

@keyframes gmgHoloCardIn {
    from {
        opacity: 0;
        transform: translateY(26px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gmg-holo-card:hover,
.gmg-holo-card:focus-within {
    border-color: color-mix(in srgb, var(--gmg-holo-cyan) 45%, transparent);
    box-shadow:
        0 0 0 1px color-mix(in srgb, var(--gmg-holo-cyan) 25%, transparent),
        0 24px 55px -22px rgb(0 0 0 / 0.7),
        0 0 30px -6px color-mix(in srgb, var(--gmg-holo-cyan) 35%, transparent);
    cursor: pointer;
}


.gmg-holo-scanline {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 40%,
            color-mix(in srgb, var(--gmg-holo-cyan) 18%, transparent) 50%,
            transparent 60%);
    transform: translateX(-120%);
    opacity: 0;
}

.gmg-holo-card:hover .gmg-holo-scanline {
    animation: gmgHoloSweep 1100ms ease;
}

@keyframes gmgHoloSweep {
    0% {
        transform: translateX(-120%);
        opacity: 1;
    }

    100% {
        transform: translateX(120%);
        opacity: 0;
    }
}


.gmg-holo-watermark {
    position: absolute;
    inset-block-start: 28px;
    inset-inline-start: 22px;
    font-family: monospace;
    font-size: 0.68rem;
    letter-spacing: 0.25em;
    color: var(--gmg-holo-watermark);
    writing-mode: vertical-rl;
    z-index: 1;
    pointer-events: none;
}


.gmg-holo-flicker {
    animation: gmgHoloFlicker 6s ease-in-out infinite;
}

@keyframes gmgHoloFlicker {
    0%,
    92%,
    100% { opacity: 1; }
    93% { opacity: 0.25; }
    94% { opacity: 0.9; }
    95% { opacity: 0.3; }
    96% { opacity: 1; }
}


.gmg-holo-card-header {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-block-end: 24px;
    padding-inline-start: 20px;
}

.gmg-holo-badge-accent {
    background: color-mix(in srgb, var(--gmg-holo-cyan) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--gmg-holo-cyan) 35%, transparent);
    color: var(--gmg-holo-cyan);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding-block: 4px;
    padding-inline: 12px;
    border-radius: 999px;
    white-space: nowrap;
}

.gmg-holo-spec-code {
    font-family: monospace;
    font-size: 0.72rem;
    color: var(--gmg-holo-faint);
}


.gmg-holo-card-body {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 20px;
    margin-block-end: 28px;
    padding-inline-start: 20px;
}

.gmg-holo-render {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gmg-holo-render img {
    max-width: 100%;
    max-height: 140px;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgb(0 0 0 / 0.8));
    transition: transform 400ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

.gmg-holo-card:hover .gmg-holo-render img {
    transform: scale(1.06) translateY(-4px);
}

.gmg-holo-info h3 {
    margin: 0 0 12px;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--gmg-holo-text);
    line-height: 1.35;
}


.gmg-holo-spec-list {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.8rem;
    color: var(--gmg-holo-muted);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gmg-holo-spec-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: gmgHoloSpecIn 450ms ease calc(var(--gmg-holo-i, 0) * 120ms + 200ms) both;
}

@keyframes gmgHoloSpecIn {
    from {
        opacity: 0;
        transform: translateX(var(--gmg-holo-slide-x));
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.gmg-holo-spec-list svg {
    color: var(--gmg-holo-pink);
    flex-shrink: 0;
}


.gmg-holo-card-footer {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-block-start: 1px solid var(--gmg-holo-divider);
    padding-block-start: 20px;
}

.gmg-holo-cost small {
    display: block;
    font-size: 0.7rem;
    color: var(--gmg-holo-faint);
    margin-block-end: 2px;
}

.gmg-holo-cost strong {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--gmg-holo-text);
}


.gmg-holo-btn-action {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--gmg-holo-pink), var(--gmg-holo-purple));
    color: #fff;
    text-decoration: none;
    border: none;
    font-weight: 700;
    font-size: 0.85rem;
    padding-block: 11px;
    padding-inline: 22px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: transform 220ms ease, box-shadow 220ms ease;
    white-space: nowrap;
}

.gmg-holo-btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px -4px color-mix(in srgb, var(--gmg-holo-pink) 55%, transparent);
}

.gmg-holo-btn-action:focus-visible {
    outline: 2px solid var(--gmg-holo-cyan);
    outline-offset: 3px;
}


[dir="rtl"] .gmg-holo-btn-action svg {
    transform: scaleX(-1);
}


@media (prefers-reduced-motion: reduce) {
    .gmg-holo-widget .gmg-holo-card,
    .gmg-holo-widget .gmg-holo-flicker,
    .gmg-holo-widget .gmg-holo-spec-list li,
    .gmg-holo-widget .gmg-holo-scanline {
        animation: none;
    }

    .gmg-holo-widget .gmg-holo-spec-list li {
        opacity: 1;
    }
}


@media (max-width: 560px) {
    .gmg-holo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        display: flex;
        flex-wrap: wrap;
    }

    .gmg-holo-card {
        padding: 22px;
        max-width: 100%;
    }

    .gmg-holo-watermark {
        display: none;
    }

    .gmg-holo-card-header,
    .gmg-holo-card-body {
        padding-inline-start: 0;
    }

    .gmg-holo-card-body {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .gmg-holo-card-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .gmg-holo-btn-action {
        justify-content: center;
    }
}
