/* ==========================================================================
   Kickwise v2 — Global Hero Ethics Notice
   Reusable compact ethics / trust / information card.
   ========================================================================== */

.hero-ethics-text {
    position: relative;
    overflow: hidden;
    max-width: 560px;
    margin: 6px auto 0;
    padding: 10px 42px;
    text-align: center;
    border-radius: 12px;
    font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 12.5px;
    line-height: 1.55;
    letter-spacing: -0.01em;
    color: rgba(0, 49, 114, 0.66);
    background: linear-gradient(
        120deg,
        rgba(26, 93, 168, 0.05),
        rgba(193, 255, 114, 0.09)
    );
    border: 1px solid rgba(193, 255, 114, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow:
        0 6px 16px rgba(0, 49, 114, 0.05),
        0 0 0 1px rgba(193, 255, 114, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.52);
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.hero-ethics-text::after {
    content: "";
    position: absolute;
    top: -20%;
    left: -90%;
    width: 45%;
    height: 140%;
    background: linear-gradient(
        115deg,
        transparent 0%,
        rgba(255, 255, 255, 0) 30%,
        rgba(255, 255, 255, 0.75) 50%,
        rgba(255, 255, 255, 0) 70%,
        transparent 100%
    );
    transform: skewX(-20deg);
    transition: left 0.75s ease;
    pointer-events: none;
    z-index: 1;
}

.hero-ethics-text strong {
    position: relative;
    z-index: 2;
    display: block;
    margin-bottom: 2px;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.35;
    letter-spacing: -0.012em;
    color: #1a5da8;
}

.hero-ethics-text .hero-ethics-icon {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: block;
    width: 18px;
    height: 18px;
    color: #1a5da8;
    stroke: currentColor;
    stroke-width: 1.9;
    transform: translateY(-50%);
    opacity: 0.9;
    pointer-events: none;
}

.hero-ethics-text .hero-ethics-icon--left {
    left: 14px;
}

.hero-ethics-text .hero-ethics-icon--right {
    right: 14px;
}

.hero-ethics-text:hover {
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.35),
        rgba(193, 255, 114, 0.18)
    );
    border-color: rgba(193, 255, 114, 0.45);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.75),
        0 14px 30px rgba(0, 49, 114, 0.12),
        0 0 0 1px rgba(193, 255, 114, 0.18);
}

.hero-ethics-text:hover::after {
    left: 140%;
}

/* Black-based dark mode */
html[data-theme="dark"] .hero-ethics-text {
    color: rgba(255, 255, 255, 0.68);
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.045),
        rgba(193, 255, 114, 0.055)
    );
    border-color: rgba(193, 255, 114, 0.12);
    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.30),
        0 0 0 1px rgba(193, 255, 114, 0.045),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

html[data-theme="dark"] .hero-ethics-text strong,
html[data-theme="dark"] .hero-ethics-text .hero-ethics-icon {
    color: rgba(193, 255, 114, 0.92);
}

html[data-theme="dark"] .hero-ethics-text::after {
    background: linear-gradient(
        115deg,
        transparent 0%,
        rgba(255, 255, 255, 0) 30%,
        rgba(255, 255, 255, 0.22) 50%,
        rgba(255, 255, 255, 0) 70%,
        transparent 100%
    );
}

html[data-theme="dark"] .hero-ethics-text:hover {
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.075),
        rgba(193, 255, 114, 0.10)
    );
    border-color: rgba(193, 255, 114, 0.22);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 16px 34px rgba(0, 0, 0, 0.36),
        0 0 0 1px rgba(193, 255, 114, 0.08);
}

@media (max-width: 767px) {
    .hero-ethics-text {
        max-width: 95%;
        padding: 9px 36px;
        font-size: 12px;
        line-height: 1.5;
    }

    .hero-ethics-text strong {
        font-size: 12.5px;
    }

    .hero-ethics-text .hero-ethics-icon--left {
        left: 10px;
    }

    .hero-ethics-text .hero-ethics-icon--right {
        right: 10px;
    }

    .hero-ethics-text .hero-ethics-icon {
        width: 16px;
        height: 16px;
    }
}
