﻿@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

:root {
    --primary: #6a11cb;
    --secondary: #2575fc;
    --accent: #ff4757;
    --light: #ffffff;
}

.top-bar {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--light);
    padding: 14px 0;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

    .top-bar::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 10%, transparent 40%);
        animation: shine 8s linear infinite;
    }

@keyframes shine {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.top-bar-content {
    position: relative;
    z-index: 1;
}

.info-item {
    display: flex;
    align-items: center;
    padding: 10px 18px;
    border-radius: 10px;
    transition: all 0.3s ease;
    transform: translateY(0);
}

    .info-item:hover {
        background: rgba(255,255,255,0.1);
        transform: translateY(-4px) scale(1.02);
        box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    }

.info-icon {
    font-size: 1.5rem;
    margin-right: 12px;
    color: var(--light);
    background: rgba(255, 255, 255, 0.25);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.info-item:hover .info-icon {
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent);
    transform: rotate(10deg) scale(1.15);
}

.info-text h6 {
    font-weight: 700;
    margin-bottom: 2px;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.info-text span {
    font-size: 0.82rem;
    opacity: 0.95;
}

.divider {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.6), transparent);
    margin: 0 12px;
}

.hotline {
    background: var(--accent);
    padding: 6px 14px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    animation: pulse 2s infinite;
    box-shadow: 0 0 10px rgba(255,71,87,0.7);
}

    .hotline i {
        margin-right: 6px;
    }

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255,71,87,0.6);
    }

    70% {
        transform: scale(1.08);
        box-shadow: 0 0 12px 8px rgba(255,71,87,0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255,71,87,0);
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

    .fade-in-up.delay-1 {
        animation-delay: 0.3s;
    }

    .fade-in-up.delay-2 {
        animation-delay: 0.6s;
    }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 992px) {
    .top-bar {
        display: none;
    }
}
