/* ==========================================================
   Trick pages (tricks/*.html, fr/tours/*.html). Builds on
   developer.css for the card, intro and button styles.
   ========================================================== */

.trick-crumbs {
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
    color: var(--dev-faint);
    font-size: 14px;
}

.trick-crumbs li {
    display: inline;
}

.trick-crumbs li + li::before {
    content: "›";
    margin: 0 8px;
}

.trick-video {
    position: relative;
    display: block;
    margin: 28px 0 8px;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(80deg, var(--dev-cyan), var(--dev-blue), var(--dev-pink));
    box-shadow: 0 30px 60px -24px rgba(79, 108, 176, 0.45);
}

.trick-video img,
.trick-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.trick-video__play {
    position: absolute;
    left: 50%;
    bottom: 7%;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: #2b3242;
    font-weight: 700;
    white-space: nowrap;
    transform: translateX(-50%);
    transition: transform 0.2s ease;
}

.trick-video:hover .trick-video__play,
.trick-video:focus .trick-video__play {
    transform: translateX(-50%) scale(1.05);
}

.trick-video__play svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.trick-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.trick-steps li {
    position: relative;
    margin: 0 0 14px;
    padding: 14px 18px 14px 58px;
    border-radius: var(--dev-radius);
    background: var(--dev-tint);
    counter-increment: step;
}

.trick-steps li::before {
    content: counter(step);
    position: absolute;
    left: 16px;
    top: 13px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--dev-cyan), var(--dev-blue) 55%, var(--dev-pink));
    color: #2f3a4c;
    font-weight: 700;
    line-height: 28px;
    text-align: center;
}

.trick-perks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.trick-perks li::before {
    content: "✦";
    margin-right: 10px;
    color: var(--dev-pink-strong);
}

.trick-cta {
    margin-top: 36px;
    padding: 28px;
    border-radius: 18px;
    background: linear-gradient(80deg, rgba(137, 240, 245, 0.22), rgba(149, 195, 247, 0.22), rgba(242, 203, 234, 0.22));
    text-align: center;
}

.trick-cta p {
    max-width: 52ch;
    margin: 0 auto 14px !important;
}

.trick-others {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.trick-others a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px 8px 8px;
    border-radius: 14px;
    color: var(--dev-text);
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.trick-others a:hover,
.trick-others a:focus {
    background: var(--dev-tint);
    color: var(--dev-text);
}

.trick-others img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}
