.staggered-menu-wrapper {
    --sm-accent: #ffffff;
    --sm-bg: #000000;
    position: relative;
    z-index: 2000;
}

.staggered-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.sm-toggle {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 0.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2100;
    height: 100%;
}

.sm-toggle-textWrap {
    height: 1.2em;
    overflow: hidden;
    position: relative;
    display: block;
}

.sm-toggle-textInner {
    display: flex;
    flex-direction: column;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.sm-toggle-text {
    height: 1.2em;
    display: block;
}

.sm-toggle-textWrap {
    height: 1.2em;
    overflow: hidden;
    position: relative;
    display: block;
}

.sm-toggle-textInner {
    display: flex;
    flex-direction: column;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.sm-toggle-line {
    height: 1.2em;
    display: block;
}

.sm-icon {
    position: relative;
    width: 24px;
    height: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sm-icon-line {
    position: relative;
    width: 100%;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
}

/* Staggered Panel */
.staggered-menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 500px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.85);
    /* Slightly more transparent */
    backdrop-filter: blur(15px);
    z-index: 2050;
    display: flex;
    flex-direction: column;
    padding: 3rem 2rem;
    /* Less padding to fit items */
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.5);
}

.sm-prelayers {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    z-index: 2040;
    pointer-events: none;
}

.sm-prelayer {
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    /* Match panel max-width */
    height: 100%;
}

.sm-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    z-index: 1050;
    /* Above normal content, below panel */
    pointer-events: none;
    transition: background 0.5s, backdrop-filter 0.5s;
}

/* It's more effective to just blur the backdrop itself while it has a background */
.staggered-menu-wrapper[data-open] .sm-backdrop {
    background: rgba(0, 0, 0, 0.75);
    /* Semi-transparent black */
    backdrop-filter: blur(15px);
    /* Blur effect */
    pointer-events: auto;
}

.sm-panel-inner {
    margin: auto 0;
    width: 100%;
}

.sm-panel-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sm-panel-itemWrap {
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.sm-panel-item {
    display: block;
    font-size: clamp(1.2rem, 3vw, 2.2rem);
    /* Increased significantly to fit 5 items comfortably and look big */
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    position: relative;
    padding-left: 2.2rem;
    transition: transform 0.3s;
}

.sm-panel-item::before {
    content: attr(data-index);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.4em;
    font-family: 'Roboto Mono', monospace;
    color: var(--text-dim);
    opacity: var(--sm-num-opacity, 0);
    transition: opacity 0.5s;
}

.sm-panel-itemLabel {
    display: inline-block;
    transition: color 0.3s;
}

/* Trading-themed color hover effect */
.sm-panel-item:hover .sm-panel-itemLabel {
    background: linear-gradient(to right,
            #2b4539, #61dca3, #61b3dc, #2b4539);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: trading-glow 3s linear infinite;
    background-size: 200% auto;
}

@keyframes trading-glow {
    to {
        background-position: 200% center;
    }
}

@media (max-width: 768px) {
    .staggered-menu-panel {
        padding: 2rem;
        max-width: 100%;
    }
}

/* --- ITAY LEVITE SIGNATURE STYLE --- */
.dev-footer {
    padding: 2rem 0 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    margin-top: auto;
}

.dev-credit {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: #0a0a0a;
    padding: 10px 24px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    font-family: 'Outfit', sans-serif;
}

/* אפקט הילה (Glow) בריחוף */
.dev-credit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #9081fa, #1afffe, #eddd1b, #fd8f50, #fa3335, #9081fa);
    background-size: 400% 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 0;
}

.dev-credit:hover {
    transform: translateY(-5px);
    border-color: transparent;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.dev-credit:hover::before {
    opacity: 0.15;
    animation: AnimateTextGradient 4s linear infinite;
}

.dev-icon-box {
    width: 32px;
    height: 32px;
    background: #111;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
    transition: transform 0.6s ease;
    color: #fff;
}

/* אנימציית סיבוב לאייקון */
.dev-credit:hover .dev-icon-box {
    transform: rotate(360deg);
    border-color: #fff;
}

.dev-icon-box svg {
    width: 16px;
    height: 16px;
    stroke: #fff;
}

.dev-info {
    display: flex;
    flex-direction: column;
    text-align: left;
    position: relative;
    z-index: 1;
}

.dev-label {
    color: #666;
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-bottom: 2px;
}

.dev-name {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}

@keyframes AnimateTextGradient {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: -400% 0;
    }
}

/* התאמה לנייד */
@media (max-width: 850px) {
    .dev-credit {
        padding: 8px 18px;
    }

    .dev-name {
        font-size: 0.85rem;
    }
}