/* ========================================
   Gothic Green Color Override
   Замена всех золотых цветов на тёмно-зелёные
   ======================================== */

/* Все элементы с золотым цветом меняем на зелёный */
.link-ornament,
.logo-ornament,
.btn-ornament {
    color: var(--green-light) !important;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white-pure);
    border-bottom-color: var(--green-primary);
}

.guide-btn {
    background: linear-gradient(135deg, var(--green-dark), var(--green-primary));
    color: var(--white-pure);
    border: 2px solid var(--green-light);
    box-shadow: var(--shadow-green);
}

.guide-btn:hover {
    box-shadow: 0 0 40px rgba(90, 143, 58, 0.7);
}

/* Ethereal Guide - Green Orb */
.orb-core {
    background: radial-gradient(circle, var(--green-light), var(--green-primary));
    box-shadow: 
        0 0 30px var(--green-light),
        inset 0 0 20px rgba(255, 255, 255, 0.3);
}

@keyframes coreGlow {
    0%, 100% { 
        box-shadow: 0 0 30px var(--green-light);
    }
    50% { 
        box-shadow: 0 0 50px var(--green-light), 0 0 80px var(--green-accent);
    }
}

.orb-ring {
    border-color: var(--green-primary);
}

.guide-speech {
    border: 2px solid var(--green-primary);
    box-shadow: var(--shadow-green);
}

/* Hero Title */
.hero-title {
    color: var(--white-pure);
    text-shadow: 0 0 40px rgba(90, 143, 58, 0.8);
}

.subtitle-ornament {
    color: var(--green-primary);
}

.hero-subtitle {
    color: var(--white-muted);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--green-dark), var(--green-primary));
    color: var(--white-pure);
    border: 2px solid var(--green-light);
    box-shadow: var(--shadow-green);
}

.btn-primary:hover {
    box-shadow: 0 0 50px rgba(90, 143, 58, 0.8);
}

.btn-secondary {
    color: var(--green-light);
    border: 2px solid var(--green-primary);
}

.btn-secondary:hover {
    background: rgba(45, 80, 22, 0.15);
    border-color: var(--green-light);
    color: var(--green-accent);
}

/* World Map - Interactive Visualization */
.world-map-container {
    border: 3px solid var(--green-primary);
    box-shadow: var(--shadow-green);
    background: radial-gradient(ellipse at center, rgba(45, 80, 22, 0.08), transparent);
}

.location-pulse {
    border-color: var(--green-primary);
    box-shadow: 0 0 15px rgba(90, 143, 58, 0.4);
}

.location-pulse::before,
.location-pulse::after {
    border-color: var(--green-primary);
}

.location-label {
    border: none;
    background: transparent;
    box-shadow: none;
}

/* Полностью скрываем текстовые метки - будет 3D город */
.label-text {
    display: none !important;
}

/* Увеличиваем иконки - центрируем их в сферах */
.label-icon {
    font-size: 2.2rem;
    filter: drop-shadow(0 0 10px rgba(90, 143, 58, 0.8));
    transition: all 0.4s ease;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { 
        transform: translateY(0);
    }
    50% { 
        transform: translateY(-3px);
    }
}

.map-location:hover .label-icon {
    transform: scale(1.3) translateY(-3px);
    filter: drop-shadow(0 0 20px rgba(90, 143, 58, 1));
    animation: none;
}

/* Улучшенная пульсация при наведении */
.map-location:hover .location-pulse {
    animation: strongPulse 1s ease-in-out infinite;
    box-shadow: 0 0 25px rgba(90, 143, 58, 0.8);
}

@keyframes strongPulse {
    0%, 100% { 
        transform: scale(1); 
        box-shadow: 0 0 25px rgba(90, 143, 58, 0.8);
    }
    50% { 
        transform: scale(1.1); 
        box-shadow: 0 0 35px rgba(90, 143, 58, 1);
    }
}

/* Section Titles */
.section-title {
    color: var(--white-pure);
}

.title-ornament-left,
.title-ornament-right,
.title-ornament-gothic {
    color: var(--green-primary);
}

.section-subtitle {
    color: var(--white-muted);
}

/* Filters */
.filter-btn:hover,
.filter-btn.active {
    border-color: var(--green-primary);
    color: var(--green-light);
    background: rgba(45, 80, 22, 0.15);
    box-shadow: 0 0 20px rgba(45, 80, 22, 0.4);
}

/* Gallery */
.gallery-item {
    border-color: var(--gray-medium);
}

.gallery-item:hover {
    border-color: var(--green-primary);
    box-shadow: var(--shadow-green);
}

.gallery-item-title {
    color: var(--white-pure);
}

.gallery-item-overlay {
    background: rgba(45, 80, 22, 0.92);
}

/* Music Player */
.audio-visualizer-container {
    border: 3px solid var(--green-primary);
    background: radial-gradient(ellipse at center, rgba(45, 80, 22, 0.12), var(--black-soft));
    box-shadow: var(--shadow-green);
}

.music-player-elegant {
    border: 3px solid var(--green-primary);
    box-shadow: var(--shadow-green);
}

.artwork-frame {
    border: 4px solid var(--green-primary);
    box-shadow: var(--shadow-green);
}

.artwork-image {
    background: linear-gradient(135deg, var(--green-dark), var(--gray-medium));
}

.artwork-vinyl {
    border: 2px solid var(--green-dark);
}

.artwork-vinyl::before {
    background: var(--green-primary);
}

.track-title {
    color: var(--white-pure);
}

.control-btn-elegant {
    border: 2px solid var(--green-primary);
    color: var(--green-light);
}

.control-btn-elegant:hover {
    background: var(--green-primary);
    color: var(--white-pure);
    box-shadow: var(--shadow-green);
}

.time-current,
.time-total {
    color: var(--green-light);
}

.timeline-progress {
    background: linear-gradient(90deg, var(--green-dark), var(--green-light));
}

.timeline-handle {
    background: var(--green-light);
    box-shadow: 0 0 10px var(--green-primary);
}

.playlist-item:hover,
.playlist-item.active {
    border-color: var(--green-primary);
    background: rgba(45, 80, 22, 0.12);
}

.playlist-number {
    color: var(--green-light);
}

.playlist-duration {
    color: var(--green-light);
}

/* Family Tree */
.family-tree-container {
    border: 3px solid var(--green-primary);
    box-shadow: var(--shadow-green);
}

.tree-link {
    stroke: var(--green-primary);
}

.tree-node-circle {
    stroke: var(--green-primary);
}

.tree-node:hover .tree-node-circle {
    fill: var(--green-primary);
    stroke: var(--green-light);
}

/* Quests */
.quest-card {
    border-color: var(--gray-light);
}

.quest-card::before {
    background: linear-gradient(45deg, var(--green-primary), var(--green-light), var(--green-primary));
}

.quest-card:hover {
    border-color: var(--green-primary);
    box-shadow: var(--shadow-green);
}

.quest-icon-large {
    filter: drop-shadow(0 0 10px var(--green-primary));
}

.quest-title {
    color: var(--white-pure);
}

.quest-progress-fill {
    background: linear-gradient(90deg, var(--green-dark), var(--green-light));
}

.quest-status {
    color: var(--green-light);
}

/* Modals */
.modal-elegant {
    border: 3px solid var(--green-primary);
    box-shadow: var(--shadow-green);
}

.modal-close {
    border: 2px solid var(--green-primary);
    color: var(--green-light);
}

.modal-close:hover {
    background: var(--green-primary);
    color: var(--white-pure);
}

/* Footer */
.footer-ornament-top {
    color: var(--green-primary);
}

.ornament-symbol {
    color: var(--green-primary);
}

/* Particles & Background */
#particles-js {
    opacity: 0.3;
}

/* SVG Icons - Green tint */
svg path,
svg circle {
    transition: all 0.3s ease;
}

button:hover svg path,
a:hover svg path {
    filter: drop-shadow(0 0 5px var(--green-light));
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 12px;
    background: var(--black-soft);
}

::-webkit-scrollbar-thumb {
    background: var(--green-dark);
    border-radius: 10px;
    border: 2px solid var(--black-soft);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--green-primary);
}

/* Selection */
::selection {
    background: var(--green-primary);
    color: var(--white-pure);
}

::-moz-selection {
    background: var(--green-primary);
    color: var(--white-pure);
}

/* Focus styles */
*:focus-visible {
    outline: 2px solid var(--green-primary);
    outline-offset: 3px;
}

/* Loading bar в SVG */
.arc-emblem path,
.arc-emblem circle {
    stroke: var(--green-light) !important;
}

/* Animated borders */
@keyframes borderGlow {
    0% { 
        background-position: 0% 50%;
        box-shadow: 0 0 20px rgba(45, 80, 22, 0.4);
    }
    50% { 
        background-position: 100% 50%;
        box-shadow: 0 0 40px rgba(90, 143, 58, 0.6);
    }
    100% { 
        background-position: 0% 50%;
        box-shadow: 0 0 20px rgba(45, 80, 22, 0.4);
    }
}

