/* de-locations-2.css — вынесено из inline <style> компонента view/de/locations.php */
.locations-title {
    margin-top:40px;
    margin-bottom:40px;
}

.button-loc {
    background: linear-gradient(135deg, #111111, #000000);
    padding: 50px 0;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.button-loc::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(200, 164, 92, 0.1) 0%, transparent 50%);
    animation: shimmer 15s infinite linear;
    pointer-events: none;
}

@keyframes shimmer {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}


@keyframes borderGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

.button-loc h3 {
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 4px;
    text-align: center;
    margin-bottom: 35px;
    text-transform: uppercase;
    background: linear-gradient(to right, #ffffff, #c8a45c, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    animation: titleReveal 0.8s ease forwards;
}

@keyframes titleReveal {
    from {
        opacity: 0;
        transform: translateY(-20px);
        letter-spacing: 15px;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        letter-spacing: 4px;
    }
}

.button-loc h3::after {
    content: '';
    display: block;
    width: 0;
    height: 1px;
    background: #c8a45c;
    margin: 15px auto 0;
    animation: lineGrow 1s ease forwards 0.5s;
}

@keyframes lineGrow {
    to { width: 50px; }
}

.button-loc .row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
    opacity: 0;
    animation: rowFadeIn 0.8s ease forwards 0.3s;
}

@keyframes rowFadeIn {
    to { opacity: 1; }
}

.col-lg-6, 
.col-md-6 {
    flex: 1;
    min-width: 280px;
}

.button-loc ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.citybutton {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    color: #ffffff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(200, 164, 92, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    font-size: 15px;
    letter-spacing: 0.5px;
    overflow: hidden;
}

.citybutton::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    animation: shine 8s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

.citybutton::after {
    content: '→';
    margin-left: 10px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.citybutton:hover {
    border-color: #c8a45c;
    transform: translateY(-1px) scale(1.01);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.2),
        0 0 15px rgba(200, 164, 92, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), 0 0 15px rgba(200, 164, 92, 0.2); }
    50% { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), 0 0 25px rgba(200, 164, 92, 0.4); }
    100% { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), 0 0 15px rgba(200, 164, 92, 0.2); }
}

.citybutton:hover::after {
    opacity: 1;
    transform: translateX(0);
    animation: arrowBounce 1s infinite;
}

@keyframes arrowBounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(3px); }
}

.button-loc li {
    opacity: 0;
    transform: translateY(20px);
    animation: staggerFade 0.5s ease forwards;
}

@keyframes staggerFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.button-loc li:nth-child(1) { animation-delay: 0.1s; }
.button-loc li:nth-child(2) { animation-delay: 0.2s; }
.button-loc li:nth-child(3) { animation-delay: 0.3s; }
.button-loc li:nth-child(4) { animation-delay: 0.4s; }
.button-loc li:nth-child(5) { animation-delay: 0.5s; }

.button-loc::-webkit-scrollbar {
    width: 8px;
}

.button-loc::-webkit-scrollbar-track {
    background: #000000;
}

.button-loc::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #c8a45c, #8b713e);
    border-radius: 4px;
    animation: scrollGlow 2s infinite;
}

@keyframes scrollGlow {
    0%, 100% { box-shadow: 0 0 5px rgba(200, 164, 92, 0.3); }
    50% { box-shadow: 0 0 10px rgba(200, 164, 92, 0.5); }
}

@media (max-width: 768px) {
    .button-loc {
        padding: 30px 0;
    }

    .container {
        padding: 0 20px;
    }

    .button-loc h3 {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .row {
        gap: 15px;
    }

    .citybutton {
        padding: 14px 18px;
        margin: 0px 0 0px !important;
    }
}
