* {
    font-size: 14px;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 1.75rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.35rem;
    line-height: 1.4;
}

h4 {
    font-size: 1.15rem;
    line-height: 1.4;
}

.primary-gradient {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
}

.accent-gradient {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
}

.text-gradient {
    background: linear-gradient(135deg, #8b5cf6 0%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title-enhanced {
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.8),
    0 6px 30px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(139, 92, 246, 0.4);
    letter-spacing: -0.01em;
    font-weight: 800;
    line-height: 1.15;
}

.hero-subtitle-enhanced {
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.7),
    0 4px 30px rgba(0, 0, 0, 0.5);
    font-weight: 300;
    line-height: 1.75;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-text-gold {
    background: linear-gradient(135deg, #fbbf24 0%, #fcd34d 50%, #fbbf24 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 20px rgba(251, 191, 36, 0.6)) drop-shadow(0 8px 40px rgba(251, 191, 36, 0.4)) drop-shadow(0 0 60px rgba(251, 191, 36, 0.3));
    animation: goldShimmer 3s ease-in-out infinite;
}

@keyframes goldShimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.home-loader {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #8b5cf6 100%);
    background-size: 400% 400%;
    animation: gradientWave 6s ease infinite;
    position: relative;
    overflow: hidden;
}

.home-loader::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(139, 92, 246, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(251, 191, 36, 0.15) 0%, transparent 50%);
    animation: floatingAura 10s ease-in-out infinite;
}

@keyframes gradientWave {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes floatingAura {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(20px, -20px) scale(1.1);
    }
}

.photo-gallery {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2rem;
    padding: 3rem;
}

.photo-card {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    opacity: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 0 3px rgba(139, 92, 246, 0.3);
}

.photo-card:nth-child(1) {
    animation: cardReveal 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.6s forwards;
}

.photo-card:nth-child(2) {
    animation: cardReveal 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 1s forwards;
}

.photo-card:nth-child(3) {
    animation: cardReveal 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 1.4s forwards;
}

.photo-card:nth-child(4) {
    animation: cardReveal 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 1.8s forwards;
}

@keyframes cardReveal {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.photo-card:hover img {
    transform: scale(1.1);
}

.loader-content {
    position: relative;
    z-index: 10;
    text-align: center;
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(20px);
    border-radius: 2rem;
    padding: 2.5rem;
    border: 2px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    max-width: 500px;
}

.loader-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5),
    0 4px 20px rgba(139, 92, 246, 0.4);
}

.loader-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.progress-container {
    width: 18rem;
    height: 0.4rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    overflow: hidden;
    margin: 1.5rem auto;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #8b5cf6, #fbbf24, #8b5cf6);
    background-size: 200% 100%;
    border-radius: 1rem;
    width: 0%;
    animation: progressFill 4s ease-out forwards, progressGlow 2s ease-in-out infinite;
}

@keyframes progressFill {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

@keyframes progressGlow {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

.loading-dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1rem;
}

.loading-dot {
    width: 0.6rem;
    height: 0.6rem;
    background: #8b5cf6;
    border-radius: 50%;
    animation: dotBounce 1.4s infinite ease-in-out;
}

.loading-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes dotBounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

.fixed-language-selector {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.lang-toggle-btn {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    border: 2px solid rgba(139, 92, 246, 0.5);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.lang-toggle-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 25px rgba(139, 92, 246, 0.5);
}

.lang-menu {
    position: absolute;
    bottom: 65px;
    right: 0;
    width: 160px;
    background: white;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transform: translateY(10px) scale(0.95);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lang-menu.show {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

.lang-option {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    color: #334155;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(167, 139, 250, 0.08));
    color: #8b5cf6;
    padding-left: 20px;
}

.lang-option.active {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(167, 139, 250, 0.12));
    color: #7c3aed;
    font-weight: 600;
}

.chat-assistant {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
}

.chat-toggle-btn {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.4);
    border: 3px solid rgba(251, 191, 36, 0.3);
    position: relative;
}

.chat-toggle-btn::before {
    content: '';
    position: absolute;
    top: -3px;
    right: -3px;
    width: 16px;
    height: 16px;
    background: #10b981;
    border: 2px solid white;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.chat-toggle-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 30px rgba(251, 191, 36, 0.5);
}

.chat-window {
    position: absolute;
    bottom: 75px;
    left: 0;
    width: 380px;
    height: 550px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-window.show {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

.chat-header {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    padding: 1.2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.chat-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.2rem 0;
}

.chat-status {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.chat-status::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

.chat-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    background: #f8fafc;
    scroll-behavior: smooth;
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: #e2e8f0;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.chat-message {
    margin-bottom: 1.2rem;
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    animation: messageSlideIn 0.3s ease;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message.user {
    flex-direction: row-reverse;
}

.chat-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.chat-message.user .chat-avatar {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.chat-bubble {
    max-width: 75%;
    padding: 0.9rem 1.1rem;
    border-radius: 16px;
    font-size: 0.875rem;
    line-height: 1.5;
}

.chat-bubble p {
    margin: 0 0 0.5rem 0;
}

.chat-bubble p:last-child {
    margin-bottom: 0;
}

.chat-bubble.bot {
    background: white;
    color: #334155;
    border: 1px solid #e2e8f0;
    border-top-left-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.chat-bubble.user {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    border-top-right-radius: 4px;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

.chat-quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.8rem;
}

.quick-reply {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border: 1px solid #cbd5e1;
    padding: 0.5rem 0.9rem;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #334155;
    font-weight: 500;
}

.quick-reply:hover {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    border-color: #8b5cf6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.chat-typing {
    padding: 0.5rem 1.5rem;
    background: #f8fafc;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.chat-typing span {
    width: 8px;
    height: 8px;
    background: #cbd5e1;
    border-radius: 50%;
    animation: typingDot 1.4s infinite ease-in-out;
}

.chat-typing span:nth-child(1) {
    animation-delay: -0.32s;
}

.chat-typing span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typingDot {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.chat-input-container {
    padding: 1rem 1.2rem;
    background: white;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 0.8rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.chat-input {
    flex: 1;
    padding: 0.7rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 24px;
    font-size: 0.875rem;
    outline: none;
    transition: all 0.2s ease;
    font-family: inherit;
}

.chat-input:focus {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.chat-send {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.chat-send:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.chat-send:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .photo-gallery {
        gap: 1.5rem;
        padding: 2rem;
    }

    .loader-title {
        font-size: 2.5rem;
    }

    .loader-subtitle {
        font-size: 0.9rem;
    }

    .chat-assistant {
        left: 20px;
        right: auto;
        bottom: 20px;
        transform: none;
    }

    .chat-window {
        width: calc(100vw - 100px);
        max-width: 380px;
        height: 500px;
        left: 20px;
        right: auto;
        transform: translateY(20px) scale(0.95);
    }

    .chat-window.show {
        transform: translateY(0) scale(1);
    }

    .fixed-language-selector {
        right: 20px;
        left: auto;
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }

    .photo-gallery {
        gap: 1rem;
        padding: 1.5rem;
    }

    .loader-title {
        font-size: 2rem;
    }

    .loader-content {
        padding: 1.5rem;
    }

    .progress-container {
        width: 14rem;
    }

    .chat-assistant {
        left: 20px;
        right: auto;
        bottom: 20px;
        transform: none;
    }

    .chat-window {
        height: 450px;
        width: calc(100vw - 100px);
        max-width: 320px;
        left: 20px;
        right: auto;
        transform: translateY(20px) scale(0.95);
    }

    .chat-window.show {
        transform: translateY(0) scale(1);
    }

    .chat-toggle-btn {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }

    .fixed-language-selector {
        right: 20px;
        left: auto;
        bottom: 20px;
    }
}