/* ===== TOP BAR ===== */
.d14-topbar {
    background: linear-gradient(135deg, #2c1e13 0%, #3a261a 50%, #2c1e13 100%);
    position: relative;
    overflow: hidden;
    z-index: 1001;
    max-height: 60px;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}
.d14-topbar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(232,115,74,0.07) 25%, rgba(249,115,22,0.05) 50%, rgba(232,115,74,0.07) 75%, transparent 100%);
    animation: d14TopbarShimmer 5s ease-in-out infinite;
}
@keyframes d14TopbarShimmer {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}
.d14-topbar-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 48px 10px 24px;
    gap: 10px;
    position: relative;
}
.d14-topbar-star {
    color: #e8734a;
    font-size: 0.7rem;
    flex-shrink: 0;
    animation: d14TopbarPulse 2.5s ease-in-out infinite;
}
@keyframes d14TopbarPulse {
    0%, 100% { opacity: 0.6; transform: scale(1) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.2) rotate(15deg); }
}
.d14-topbar-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255, 251, 245, 0.8);
    letter-spacing: 0.2px;
    text-align: center;
    line-height: 1.4;
}
.d14-topbar-cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: 8px;
    padding: 3px 14px;
    background: rgba(232, 115, 74, 0.2);
    border: 1px solid rgba(232, 115, 74, 0.3);
    color: #e8734a;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    border-radius: 50px;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
}
.d14-topbar-cta:hover {
    background: #e8734a;
    color: #fff;
    border-color: #e8734a;
    transform: translateY(-1px);
    box-shadow: 0 3px 12px rgba(232, 115, 74, 0.3);
}
.d14-topbar-cta i { font-size: 0.65rem; transition: transform 0.3s ease; }
.d14-topbar-cta:hover i { transform: translateX(2px); }
.d14-topbar-close {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 251, 245, 0.05);
    border: none;
    border-radius: 6px;
    color: rgba(255, 251, 245, 0.3);
    font-size: 0.65rem;
    cursor: pointer;
    transition: all 0.25s ease;
}
.d14-topbar-close:hover {
    background: rgba(255, 251, 245, 0.12);
    color: rgba(255, 251, 245, 0.8);
}
.d14-topbar.d14-dismissed {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
}
@media (max-width: 600px) {
    .d14-topbar-inner { padding: 8px 40px 8px 16px; gap: 6px; }
    .d14-topbar-text { font-size: 0.75rem; }
    .d14-topbar-cta { padding: 2px 10px; font-size: 0.72rem; margin-left: 4px; }
    .d14-topbar-star { display: none; }
}
