/* 1. Creator Discovery Anim */
.creator-discovery-anim {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 10px;
}
.cd-search-bar {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    overflow: hidden;
}
.cd-search-text {
    border-right: 2px solid #10b981;
    white-space: nowrap;
    overflow: hidden;
    animation: typing 2s steps(20, end) infinite alternate;
}
@keyframes typing {
    from { width: 0; }
    to { width: 150px; }
}

.cd-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cd-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 12px;
    color: #aaa;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform: translateX(100%);
    opacity: 0;
    animation: slideIn 0.5s forwards;
}
.cd-card:nth-child(1) { animation-delay: 2s; }
.cd-card:nth-child(2) { animation-delay: 2.2s; }
.cd-card:nth-child(3) { animation-delay: 2.4s; }

.cd-card.best-match {
    background: rgba(16, 185, 129, 0.15);
    color: #fff;
    border: 1px solid #10b981;
    animation: slideIn 0.5s forwards, glowMatch 1s infinite alternate;
    animation-delay: 2.2s, 3s;
}
.cd-badge {
    background: #10b981;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: bold;
}
@keyframes slideIn {
    to { transform: translateX(0); opacity: 1; }
}
@keyframes glowMatch {
    from { box-shadow: 0 0 5px rgba(16,185,129,0.2); }
    to { box-shadow: 0 0 15px rgba(16,185,129,0.6); }
}

/* 2. Viral Growth Anim */
.viral-growth-anim {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.vg-counter-container {
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.vg-chart {
    width: 100%;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}
.vg-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #10b981, #34d399);
    border-radius: 20px;
}

/* 3. Engagement Anim */
.engagement-anim {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.eng-box {
    position: relative;
    width: 100%;
    height: 150px;
}
.eng-item {
    position: absolute;
    bottom: -30px;
    font-size: 1.5rem;
    opacity: 0;
}
.eng-item.heart { left: 20%; animation: floatUp 3s infinite 0.1s; }
.eng-item.comment { left: 40%; animation: floatUp 3.5s infinite 0.5s; }
.eng-item.share { left: 60%; animation: floatUp 3.2s infinite 1.2s; }
.eng-item.save { left: 80%; animation: floatUp 2.8s infinite 0.8s; }
.eng-item.heart2 { left: 50%; animation: floatUp 3.1s infinite 1.5s; }

@keyframes floatUp {
    0% { transform: translateY(0) scale(0.5); opacity: 0; }
    20% { opacity: 1; transform: translateY(-30px) scale(1.2); }
    80% { opacity: 0.8; transform: translateY(-100px) scale(1); }
    100% { transform: translateY(-130px) scale(0.8); opacity: 0; }
}

/* 4. Global Map Anim */
.global-map-anim {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 400px;
    margin: 0 auto;
}
.map-bg {
    font-size: 15rem;
    opacity: 0.1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.map-pin {
    position: absolute;
    color: #10b981;
    font-size: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
}
.map-pin span {
    font-size: 0.8rem;
    color: #fff;
    background: rgba(0,0,0,0.5);
    padding: 2px 5px;
    border-radius: 4px;
    margin-top: 5px;
}
.pin-us { top: 30%; left: 20%; animation: dropPin 0.5s forwards 0.5s; }
.pin-uk { top: 25%; left: 45%; animation: dropPin 0.5s forwards 1.0s; }
.pin-ie { top: 22%; left: 42%; animation: dropPin 0.5s forwards 1.2s; }
.pin-in { top: 45%; left: 70%; animation: dropPin 0.5s forwards 1.8s; }
.pin-au { top: 70%; left: 85%; animation: dropPin 0.5s forwards 2.3s; }

@keyframes dropPin {
    to { opacity: 1; transform: translateY(0); }
}

.map-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.map-line {
    fill: none;
    stroke: rgba(16, 185, 129, 0.5);
    stroke-width: 2;
    stroke-dasharray: 10 10;
    animation: dashAnim 20s linear infinite;
}
@keyframes dashAnim {
    to { stroke-dashoffset: 1000; }
}

/* 5. Campaign Dashboard Anim */
.dashboard-anim {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    width: 100%;
}
.dash-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}
.dark .dash-card {
    background: #1e293b;
    border-color: #334155;
    color: #fff;
}
.dash-card:hover {
    transform: translateY(-5px);
}
.dash-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: block;
}
.dash-label {
    display: block;
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.dash-val {
    font-size: 2.5rem;
    font-weight: 700;
    color: #10b981;
}
