/* ===== AimoneyGuideCo ULTRA-PREMIUM TICKER ===== */

.amg-ticker {
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
    padding: 14px 0 !important; /* Clean premium padding */
    overflow: hidden !important;
    background: #111827 !important; /* Premium Off-Black */
    box-sizing: border-box !important;
    border-top: 1px solid rgba(255,255,255,0.05) !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
}

/* Moving line */
.amg-ticker-track {
    display: flex !important;
    align-items: center !important;
    width: max-content !important;
    gap: 40px !important; /* Balanced modern spacing */
    white-space: nowrap !important;
    will-change: transform !important;
    animation: amgTickerMove 25s linear infinite !important; /* Smooth professional speed */
}

/* Stylish Premium Text */
.amg-ticker-track span {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: 'Poppins', Arial, sans-serif !important; /* Clean tech font */
    font-size: 15px !important; /* Modern elegant sizing */
    font-weight: 600 !important;
    letter-spacing: 2px !important; /* Luxury tracking */
    line-height: 1 !important;
    color: #FFFFFF !important; /* Crisp white */
    white-space: nowrap !important;
    transform: none !important; /* Removed cheap italics */
    text-shadow: none !important; /* Removed cartoony shadows */
    opacity: 0.9 !important;
}

/* ===== MINIMALIST PREMIUM ICON ===== */
.amg-ticker-track b {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    color: #4F46E5 !important; /* Beautiful Tech Blue-Purple Glow */
    background: none !important; /* Removed bulky orange background */
    border: none !important; /* Removed cheap borders */
    transform: none !important;
    box-shadow: none !important; /* Removed cartoony 3D shadow */
    text-shadow: none !important;
}

/* ===== CONTINUOUS MOVEMENT ===== */
@keyframes amgTickerMove {
    0% { transform: translate3d(0,0,0); }
    100% { transform: translate3d(-50%,0,0); }
}

/* ===== MOBILE OPTIMIZATION ===== */
@media (max-width: 781px) {
    .amg-ticker {
        padding: 12px 0 !important;
    }
    .amg-ticker-track {
        gap: 30px !important;
        animation-duration: 35s !important; /* Smooth on mobile */
    }
    .amg-ticker-track span {
        font-size: 13px !important;
        letter-spacing: 1.5px !important;
    }
    .amg-ticker-track b {
        font-size: 14px !important;
    }
}

/* ===== PAUSE ON HOVER ===== */
.amg-ticker:hover .amg-ticker-track {
    animation-play-state: paused !important;
}
/* ===== SMART SMOOTH MENU BUTTON INTERACTION ===== */

/* بٽڻ کي خوبصورت بولڊ ۽ سموٿ ڪرڻ لاءِ */
.menu-toggle .gp-icon {
    font-weight: 900 !important;
    font-size: 22px !important;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    will-change: transform;
}

/* آڱر رکڻ يا مينيو کلڻ وقت بٽڻ سموٿ گھمي × ٿيندو */
.main-navigation.toggled .menu-toggle .gp-icon {
    transform: rotate(90deg) !important;
}

/* جڏهن مينيو کلي ته هيمبرگر آئڪن کي ڪليئر '×' (Close) بٽڻ سان بدلايو */
.main-navigation.toggled .menu-toggle .icon-menu-toggle:before {
    content: "\ea0f" !important; /* GeneratePress native smooth close code */
}

