﻿/* stronger preview when hovering the warning link */
.app-preview-highlight {
    position: relative;
    z-index: 50;
    background: linear-gradient(180deg, rgba(100,255,1000,0.98), rgba(50,255,50,0.95));
    box-shadow: 0 10px 30px rgba(255,140,0,0.95), 0 0 0 6px rgba(255,140,0,0.14) inset;
    transform: translateZ(0) scale(1.04);
    border-radius: 6px;
    transition: transform 180ms cubic-bezier(.2,.8,.2,1), box-shadow 180ms ease, background 180ms ease;
}

/* even stronger highlight after user clicks the link */
.app-scroll-highlight {
    outline: 5px solid rgba(255,140,0,0.98);
    box-shadow: 0 18px 48px rgba(255,120,0,0.98), 0 0 0 8px rgba(255,165,0,0.22) inset;
    border-radius: 6px;
    animation: highlightPop 900ms cubic-bezier(.2,.8,.2,1);
}

/* pulsing glow to draw attention */
@keyframes highlightPulse {
    0% {
        box-shadow: 0 6px 20px rgba(255,140,0,0.0);
    }

    40% {
        box-shadow: 0 18px 44px rgba(255,140,0,0.95);
    }

    100% {
        box-shadow: 0 6px 20px rgba(255,140,0,0.0);
    }
}

/* small pop + settle animation for click */
@keyframes highlightPop {
    0% {
        transform: scale(0.98);
        box-shadow: 0 6px 18px rgba(255,120,0,0.0);
    }

    40% {
        transform: scale(1.06);
        box-shadow: 0 28px 60px rgba(255,120,0,0.98);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(255,120,0,0.7);
    }
}

/* optional: make the app tile image slightly lift on preview */
.app-preview-highlight img {
    transform: translateY(-4px) scale(1.02);
    transition: transform 180ms ease;
    will-change: transform;
}

/* accessible focus style */
.app-preview-highlight:focus,
.app-scroll-highlight:focus {
    outline: 6px solid rgba(255,200,80,0.98);
    box-shadow: 0 20px 50px rgba(255,140,0,0.95);
}

.tri-down {

    /* Styling block element, not required */
    position: relative;
    margin-bottom: 2em;
    /*padding: 1em;*/
    border-bottom: 1px solid #999;
    /*background: #f3f3f3;*/
  }

  /* Required for Down Triangle */
  .tri-down:before, .tri-down:after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-color: transparent;
    border-bottom: 0;
  }

  /* Stroke */
  .tri-down:before {
    bottom: -11px;
    left: 21px;

    /* If 1px darken stroke slightly */
    border-top-color: #777;
    border-width: 11px;
  }

  /* Fill */
  .tri-down:after {
    bottom: -10px;
    left: 22px;
    border-top-color: #f3f3f3;
    border-width: 10px;
  }