  /* Russian language specific adjustments */
  [lang="ru"] .line-clamp-3 {
    line-height: 1.4;
}

/* Better text wrapping for longer Russian text */
[lang="ru"] .break-words {
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Responsive adjustments for Russian - keep max 300px */
@media (min-width: 1024px) {
    [lang="ru"] .md\:w-\[300px\] {
        width: 300px;
    }
}


@keyframes indexAnimation {
    0% { height: 20%; opacity: 0.3; }
    50% { height: 70%; opacity: 0.7; }
    100% { height: 20%; opacity: 0.3; }
}

.index-line {
    width: 2px;
    background: linear-gradient(to top, white, transparent);
    opacity: 0.3;
    animation: indexAnimation 2s ease-in-out infinite;
}

.delay-1 {
    animation-delay: 0.7s;
}

.delay-2 {
    animation-delay: 1.4s;
}

.chart-line {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.chart-line path {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
}

.rising-line {
    animation: drawRisingLine 15s linear infinite;
}

.falling-line {
    animation: drawFallingLine 15s linear infinite;
}

@keyframes drawRisingLine {
    0% {
        stroke-dashoffset: 200;
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        stroke-dashoffset: -200;
        opacity: 0;
    }
}

@keyframes drawFallingLine {
    0% {
        stroke-dashoffset: 200;
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        stroke-dashoffset: -200;
        opacity: 0;
    }
}

.manat-symbol {
    position: relative;
    transform: scale(1.2);
}

.manat-symbol span {
    position: relative;
    z-index: 2;
    background: linear-gradient(to bottom, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 0 15px rgba(255,255,255,0.7);
}

.glow-effect {
    position: absolute;
    inset: -5px;
    background: radial-gradient(circle at center, rgba(255,255,255,0.4) 0%, transparent 70%);
    filter: blur(2px);
    opacity: 0.7;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 0.9; }
}

@media (max-width: 768px) {
    .container {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .flex-col-mobile {
        flex-direction: column;
    }
    
    .text-responsive {
        font-size: 1rem;
    }
    
    .hidden-mobile {
        display: none;
    }
    
    .w-full-mobile {
        width: 100%;
    }
}


/* Alpine.js x-cloak CSS */
[x-cloak] { display: none !important; }
        
/* Force dark mode styles */
.dark body {
    background-color: #111827 !important;
    color: #f9fafb !important;
}

.dark .bg-white {
    background-color: #1f2937 !important;
}

.dark .text-gray-600 {
    color: #d1d5db !important;
}

.dark .border-gray-200 {
    border-color: #374151 !important;
}

/* Additional dark mode styles */
.dark .bg-gray-50 {
    background-color: #111827 !important;
}

.dark .text-gray-900 {
    color: #f9fafb !important;
}

.dark .border-gray-100 {
    border-color: #374151 !important;
}

.dark .hover\:bg-gray-100:hover {
    background-color: #374151 !important;
}

/* Language Dropdown Animations */
.language-dropdown {
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 9999;
}

.language-dropdown.hidden {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

.language-dropdown:not(.hidden) {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}