.back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--purple) 100%);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 3rem;
    box-shadow:
        0 8px 20px rgba(255, 71, 87, 0.3),
        0 0 0 1px rgba(113, 88, 226, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 1;
}

.back-button::before {
    content: "← ";
    margin-right: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.back-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.back-button:hover {
    transform: translateY(-3px);
    box-shadow:
        0 12px 25px rgba(255, 71, 87, 0.4),
        0 0 0 1px rgba(113, 88, 226, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--cyan) 100%);
}

.back-button:hover::before {
    transform: translateX(-5px);
}

.back-button:hover::after {
    left: 100%;
}

.back-button:active {
    transform: translateY(-1px);
    transition: transform 0.1s ease;
}

.back-button .pulse-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--cyan);
    border-radius: 50%;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    box-shadow: 0 0 8px var(--cyan);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }

    50% {
        opacity: 0.6;
        transform: translateY(-50%) scale(1.2);
    }
}

.back-button .glow-border {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg,
            var(--accent),
            var(--cyan),
            var(--purple),
            var(--accent));
    background-size: 400% 400%;
    border-radius: 14px;
    z-index: -2;
    opacity: 0;
    animation: rotate-gradient 3s linear infinite;
    transition: opacity 0.3s ease;
}

.back-button:hover .glow-border {
    opacity: 0.8;
}

@keyframes rotate-gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@media (max-width: 768px) {
    .back-button {
        display: none;
    }

    .back-button .pulse-dot {
        width: 5px;
        height: 5px;
        right: 15px;
    }
}