/* Стили для кнопок действий на детальной странице концерта */

.concert-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
    justify-content: center;
    align-items: center;
}

/* Базовые стили для всех кнопок действий */
.concert-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none !important;
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
    min-height: 48px;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    
    /* Улучшения для Windows */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "liga" 1, "kern" 1;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.concert-action-btn:hover {
    transform: translateY(-2px) scale(1.02);
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.concert-action-btn:active {
    transform: translateY(-1px) scale(0.98);
    transition: all 0.1s ease;
}

/* Кнопка "Купить билет" - красная */
.event_ticket {
    background: linear-gradient(135deg, #e14425 0%, #ff6b47 100%);
    color: #fff !important;
    border-color: rgba(225, 68, 37, 0.3);
    text-decoration: none !important;
    
    /* Дополнительный контраст для Windows */
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    font-weight: 700;
}

.event_ticket:hover {
    background: linear-gradient(135deg, #d63916 0%, #ff5a35 100%);
    border-color: rgba(225, 68, 37, 0.5);
    color: #fff !important;
    text-decoration: none !important;
    
    /* Усиленный контраст при наведении */
    border: 1px solid rgba(255, 255, 255, 0.4);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.event_ticket:focus,
.event_ticket:active,
.event_ticket:visited {
    text-decoration: none !important;
    color: #fff !important;
}

/* Кнопка "О заведении" - синяя */
.about_place_btn {
    background: linear-gradient(135deg, #3742fa 0%, #5865f2 100%);
    color: #fff !important;
    border-color: rgba(55, 66, 250, 0.3);
    text-decoration: none !important;
    
    /* Дополнительный контраст для Windows */
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    font-weight: 700;
}

.about_place_btn:hover {
    background: linear-gradient(135deg, #2f3af2 0%, #4c5bfc 100%);
    border-color: rgba(55, 66, 250, 0.5);
    color: #fff !important;
    text-decoration: none !important;
    
    /* Усиленный контраст при наведении */
    border: 1px solid rgba(255, 255, 255, 0.4);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.about_place_btn:focus,
.about_place_btn:active,
.about_place_btn:visited {
    text-decoration: none !important;
    color: #fff !important;
}

/* Кнопка "Как добраться?" - желтая */
.directions_btn {
    background: linear-gradient(135deg, #ff8c00 0%, #ff9500 100%);
    color: #fff !important;
    border-color: rgba(255, 165, 2, 0.3);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
    text-decoration: none !important;
    border-bottom: none !important;
    
    /* Улучшенный контраст для желтой кнопки на Windows */
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 700;
    /* Более темный оранжевый для лучшей читаемости */
}

.directions_btn:hover {
    background: linear-gradient(135deg, #ff7700 0%, #ff8c00 100%);
    border-color: rgba(255, 165, 2, 0.5);
    color: #fff !important;
    text-decoration: none !important;
    border-bottom: none !important;
    
    /* Усиленный контраст при наведении */
    border: 1px solid rgba(255, 255, 255, 0.5);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

.directions_btn:focus,
.directions_btn:active,
.directions_btn:visited {
    text-decoration: none !important;
    color: #fff !important;
    border-bottom: none !important;
}

/* Дополнительные правила для полного убирания подчеркивания */
a.directions_btn,
a.directions_btn:hover,
a.directions_btn:focus,
a.directions_btn:active,
a.directions_btn:visited {
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

/* Иконки в кнопках */
.concert-action-btn i {
    margin-right: 8px;
    font-size: 16px;
}

/* Анимация пульсации для важных кнопок */
.event_ticket {
    animation: subtle-pulse 3s ease-in-out infinite;
}

@keyframes subtle-pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(225, 68, 37, 0.4);
    }
    50% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 0 0 8px rgba(225, 68, 37, 0);
    }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .concert-actions {
        flex-direction: column;
        gap: 10px;
        margin: 15px 0;
    }
    
    .concert-action-btn {
        width: 100%;
        max-width: 280px;
        padding: 14px 20px;
        font-size: 15px;
        min-height: 50px;
    }
    
    .concert-action-btn i {
        margin-right: 10px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .concert-action-btn {
        padding: 12px 16px;
        font-size: 14px;
        min-height: 46px;
    }
    
    .concert-action-btn i {
        margin-right: 8px;
        font-size: 16px;
    }
}

/* Состояние загрузки */
.concert-action-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.concert-action-btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Эффект свечения при фокусе */
.concert-action-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Темная тема */
@media (prefers-color-scheme: dark) {
    .concert-action-btn {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }
    
    .concert-action-btn:hover {
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    }
}

/* Специальные стили для Windows */
@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
    .concert-action-btn {
        font-weight: 700 !important;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8) !important;
        border: 2px solid rgba(255, 255, 255, 0.3) !important;
    }
    
    .event_ticket {
        background: #d63916 !important;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9) !important;
    }
    
    .about_place_btn {
        background: #2f3af2 !important;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9) !important;
    }
    
    .directions_btn {
        background: #ff7700 !important;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9) !important;
    }
}

/* Дополнительные стили для улучшения читаемости на всех системах */
.concert-action-btn {
    /* Принудительное сглаживание шрифтов */
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: optimizeLegibility !important;
    
    /* Улучшенная типографика */
    font-variant-ligatures: common-ligatures;
    font-kerning: auto;
}

/* Стили для высокого DPI (включая Full HD) */
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) {
    .concert-action-btn {
        font-weight: 700 !important;
        text-shadow: 0 0.5px 2px rgba(0, 0, 0, 0.6) !important;
        letter-spacing: 0.2px;
    }
    
    .event_ticket,
    .about_place_btn,
    .directions_btn {
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8) !important;
    }
}