/* ============================================================
   home.css — Homepage-only styles
   Particles canvas overlay + hero carousel
   ============================================================ */

/* Particles canvas positioned as a subtle overlay in the hero */
.carousel-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 25%;
    height: 30%;
    pointer-events: none; /* Prevents interaction with elements behind it */
}

/* ============================================================
   Hashtag Award Badge — Homepage only
   ============================================================ */
.hashtag-container {
    position: fixed;
    bottom: 28px;
    left: 20px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}
.hashtag-container.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}
.hashtag-container.hide {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(12px) !important;
}
.hashtag-card {
    position: relative;
    background: #fff;
    border-left: 4px solid var(--primary_color);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.14);
    padding: 12px 36px 12px 14px;
    text-decoration: none;
    display: inline-block;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.hashtag-card:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}
.hashtag-label {
    display: block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--primary_color);
    margin-bottom: 4px;
    white-space: nowrap;
}
.hashtag-main {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #111;
    line-height: 1.3;
    white-space: nowrap;
}
.hashtag-awarded {
    display: block;
    font-size: 0.68rem;
    color: #666;
    margin-top: 5px;
    font-style: italic;
    white-space: nowrap;
}
.hashtag-dismiss {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid #ddd;
    background: #f8f8f8;
    color: #999;
    font-size: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    padding: 0;
    line-height: 1;
    font-family: sans-serif;
}
.hashtag-dismiss:hover {
    background: var(--primary_color);
    border-color: var(--primary_color);
    color: #fff;
}
@media (max-width: 576px) {
    .hashtag-container {
        left: 50%;
        transform: translateX(-50%) translateY(12px);
        bottom: 16px;
    }
    .hashtag-container.show { transform: translateX(-50%) translateY(0) !important; }
    .hashtag-container.hide { transform: translateX(-50%) translateY(12px) !important; }
    .hashtag-main { white-space: normal; font-size: 0.78rem; }
}
