/* =============================================================================
   pages/terms.css
   ----
   Page-specific decorations for /terms.
   Concept: stacked legal/policy documents — translucent navy "paper" cards
   with subtle inner lines, and a gold seal pinned to the top one.
   ========================================================================== */

/* Shared "paper" base (pull custom look since terms decos are mini-cards,
   not the round/icon style of the generic .deco). */
.terms-deco {
    position: absolute;
    pointer-events: none;
    user-select: none;
    z-index: 1;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, .04) 0%,
        rgba(255, 255, 255, .015) 100%);
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    box-shadow:
        0 12px 28px rgba(0, 0, 0, .35),
        0 1px 0 rgba(255, 255, 255, .04) inset;
    overflow: hidden;
}

/* "Paper lines" inside each document */
.terms-deco::before,
.terms-deco::after {
    content: ""; position: absolute;
    left: 12%; right: 12%;
    height: 3px; border-radius: 2px;
    background: rgba(255, 255, 255, .06);
}
.terms-deco::before { top: 28%; }
.terms-deco::after  {
    top: 50%;
    box-shadow: 0 14px 0 rgba(255, 255, 255, .06),
                0 28px 0 rgba(255, 255, 255, .06);
}

/* Top doc — biggest, with a gold seal */
.terms-deco--1 {
    top: -20px; left: 24px;
    width: 110px; height: 140px;
    transform: rotate(-10deg);
    opacity: .94;
}
.terms-deco--1 i {
    position: absolute;
    bottom: 12px; right: 12px;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
    color: var(--navy-900);
    display: grid; place-items: center;
    font-size: .9rem;
    box-shadow:
        0 4px 10px rgba(255, 194, 24, .35),
        0 0 0 4px rgba(255, 194, 24, .14);
    z-index: 2;
}

/* Middle doc — peeking out behind */
.terms-deco--2 {
    top: 40px; left: 130px;
    width: 90px; height: 116px;
    transform: rotate(8deg);
    opacity: .82;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, .035) 0%,
        rgba(255, 255, 255, .015) 100%);
}

/* Small bottom doc */
.terms-deco--3 {
    top: 143px; left: 50px;
    width: 55px; height: 79px;
    transform: rotate(-5deg);
    opacity: .72;
}

/* Hide on small screens */
@media (max-width: 980px) {
    .terms-deco { display: none; }
}
