.show-snackbar {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: rgba(16, 20, 29, 0.92);
    color: white;
    padding: 0;
    border-radius: 14px;
    border: 1px solid rgba(233, 185, 73, 0.25);
    z-index: 1500;
    transform: translateX(420px) scale(0.92);
    opacity: 0;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.5s ease,
                box-shadow 0.4s ease;
    max-width: 360px;
    min-width: 290px;
    overflow: hidden;
    box-shadow:
        0 8px 40px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(233, 185, 73, 0.08);
}

.show-snackbar.show {
    transform: translateX(0) scale(1);
    opacity: 1;
}

.show-snackbar.hide {
    transform: translateX(420px) scale(0.92);
    opacity: 0;
}

.show-snackbar::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 15px;
    padding: 1px;
    background: linear-gradient(
        var(--snackbar-angle, 0deg),
        transparent 30%,
        var(--accent-gold) 50%,
        var(--accent-gold-light) 55%,
        transparent 70%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    animation: snackbarBorderSpin 4s linear infinite;
}

@keyframes snackbarBorderSpin {
    to { --snackbar-angle: 360deg; }
}

@property --snackbar-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

.show-snackbar::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        105deg,
        transparent 35%,
        rgba(233, 185, 73, 0.06) 45%,
        rgba(247, 216, 136, 0.1) 50%,
        rgba(233, 185, 73, 0.06) 55%,
        transparent 65%
    );
    pointer-events: none;
    will-change: transform;
    animation: snackbarShimmer 5s ease-in-out infinite;
    z-index: 1;
}

@keyframes snackbarShimmer {
    0%, 100% { transform: translateX(-260%); }
    50%      { transform: translateX(400%); }
}

.show-snackbar:hover {
    box-shadow:
        0 12px 50px rgba(0, 0, 0, 0.6),
        0 0 35px rgba(233, 185, 73, 0.15),
        0 0 80px rgba(233, 185, 73, 0.06);
    transform: translateX(0) scale(1.02) translateY(-4px);
}

.snackbar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px 0;
    position: relative;
    z-index: 2;
}

.snackbar-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold-light);
}

.snackbar-live {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #ff4444;
    text-transform: uppercase;
}

.snackbar-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff4444;
    animation: livePulse 1.4s ease-in-out infinite;
    box-shadow: 0 0 6px rgba(255, 68, 68, 0.6);
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.3; transform: scale(0.7); }
}

.snackbar-close {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 0;
    border-radius: 6px;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.snackbar-close:hover {
    color: var(--accent-gold-light);
    background: rgba(233, 185, 73, 0.12);
    border-color: rgba(233, 185, 73, 0.3);
    transform: scale(1.1);
}

.snackbar-content {
    padding: 12px 18px 14px;
    position: relative;
    z-index: 2;
}

.snackbar-event {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
    background: linear-gradient(135deg, #fff 0%, var(--accent-gold-light) 60%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.snackbar-details {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.snackbar-details i {
    color: var(--accent-gold);
    font-size: 11px;
}

.snackbar-time {
    font-size: 13px;
    color: var(--accent-gold-light);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.snackbar-time i {
    font-size: 11px;
}

.snackbar-time-short {
    display: none;
}

.snackbar-actions {
    padding: 0 18px 14px;
    position: relative;
    z-index: 2;
}

.snackbar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 18px;
    background: var(--gradient-warm);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.snackbar-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.snackbar-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 185, 73, 0.35);
}

.snackbar-btn:hover::before {
    opacity: 1;
}

.snackbar-btn i {
    font-size: 11px;
}

.snackbar-eq {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 14px;
    padding: 0 18px 10px;
    position: relative;
    z-index: 2;
}

.snackbar-eq-bar {
    flex: 1;
    min-height: 2px;
    border-radius: 1px 1px 0 0;
    background: var(--accent-gold);
    opacity: 0.2;
    height: 100%;
    transform-origin: bottom;
    transform: scaleY(0.15);
    transition: opacity 0.6s ease;
    will-change: transform;
    animation: snackbarEq var(--eq-speed, 0.6s) ease-in-out infinite alternate paused;
}

.show-snackbar.show .snackbar-eq-bar {
    opacity: 0.5;
    animation-play-state: running;
}

.show-snackbar:hover .snackbar-eq-bar {
    opacity: 0.8;
}

@keyframes snackbarEq {
    0%   { transform: scaleY(calc(var(--eq-min, 10) / 100)); }
    100% { transform: scaleY(calc(var(--eq-max, 85) / 100)); }
}

@media (max-width: 768px) {
    .show-snackbar {
        bottom: 16px;
        right: 16px;
        left: 16px;
        max-width: none;
        min-width: auto;
        transform: translateY(200px) scale(0.95);
    }

    .show-snackbar.show {
        transform: translateY(0) scale(1);
    }

    .show-snackbar.hide {
        transform: translateY(200px) scale(0.95);
    }
}

@media (max-width: 480px) {
    .snackbar-event {
        font-size: 17px;
    }
}

html.rc-light .show-snackbar {
    background: rgba(255, 255, 255, 0.96);
    color: var(--text-primary);
    border-color: rgba(161, 98, 7, 0.3);
    box-shadow:
        0 8px 40px rgba(20, 24, 40, 0.18),
        0 0 20px rgba(233, 185, 73, 0.1);
}
html.rc-light .show-snackbar:hover {
    box-shadow:
        0 12px 50px rgba(20, 24, 40, 0.22),
        0 0 35px rgba(233, 185, 73, 0.18);
}
html.rc-light .snackbar-event {
    background-image: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-gold-light) 60%, var(--accent-gold) 100%);
}
html.rc-light .snackbar-details {
    color: var(--text-secondary);
}
html.rc-light .snackbar-close {
    background: rgba(20, 24, 40, 0.05);
    border-color: rgba(20, 24, 40, 0.14);
    color: var(--text-muted);
}
