#secrets-page,
.secret-detail-page {
    max-width: 1180px;
    margin: auto;

    color: #edf3f8;

    --c: #43e4ff;
    --p: #ff4f9a;
    --l: rgba(255, 255, 255, 0.08);
}


/* =========================================================
   HERO
   ========================================================= */

.secrets-hero {
    position: relative;

    min-height: 270px;

    overflow: hidden;

    margin-bottom: 14px;

    border: 1px solid var(--l);
    border-radius: 16px;

    background:
        radial-gradient(
            circle at 82% 26%,
            rgba(255, 79, 154, 0.19),
            transparent 27%
        ),
        radial-gradient(
            circle at 62% 75%,
            rgba(67, 228, 255, 0.1),
            transparent 30%
        ),
        linear-gradient(
            120deg,
            #0e141a,
            #111116 54%,
            #190d17
        );
}


.secrets-copy {
    position: relative;
    z-index: 2;

    max-width: 740px;

    padding: 36px;
}


.secrets-kicker,
.secret-panel label {
    color: var(--c);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1px;
}


.secrets-hero h1 {
    margin: 14px 0 10px;

    font-family: "Space Grotesk";
    font-size: clamp(34px, 5vw, 59px);

    line-height: 0.95;
}


.secrets-hero h1 em {
    color: var(--p);

    font-style: normal;
}


.secrets-hero p,
.secret-head p {
    max-width: 650px;

    color: #a6afbb;

    font-size: 12px;
    line-height: 1.7;
}


.secrets-meta {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;

    margin-top: 20px;
}


.secrets-meta span,
.secret-tags span,
.secret-tags b {
    padding: 6px 9px;

    border: 1px solid var(--l);
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.025);

    font-size: 10px;
}


.secrets-q {
    position: absolute;

    right: 5%;
    bottom: -60px;

    color: rgba(255, 255, 255, 0.03);

    font-family: "Space Grotesk";
    font-size: 245px;
}


/* =========================================================
   COMMON PANELS
   ========================================================= */

.secrets-progress,
.secrets-toolbar,
.secrets-policy,
.secret-panel {
    padding: 14px 16px;

    border: 1px solid var(--l);
    border-radius: 12px;

    background: #10141a;
}


/* =========================================================
   PROGRESS
   ========================================================= */

.secrets-progress {
    margin-bottom: 14px;
}


.secrets-progress > div {
    display: flex;

    gap: 12px;
}


.secrets-progress span {
    color: #788391;

    font-size: 10px;
}


.secrets-progress b {
    margin-left: auto;

    color: var(--c);
}


.secrets-progress i {
    display: block;

    height: 7px;

    overflow: hidden;

    margin-top: 10px;

    border-radius: 99px;

    background: rgba(255, 255, 255, 0.055);
}


.secrets-progress u {
    display: block;

    height: 100%;

    background:
        linear-gradient(
            90deg,
            var(--c),
            var(--p)
        );

    text-decoration: none;
}


/* =========================================================
   TOOLBAR
   ========================================================= */

.secrets-toolbar {
    display: flex;

    justify-content: space-between;

    gap: 12px;

    margin-bottom: 14px;
}


.secrets-toolbar > div {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;
}


.secrets-toolbar button,
.secret-back,
.secret-actions button,
.secrets-state button {
    min-height: 32px;

    padding: 0 11px;

    border: 1px solid var(--l);
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.025);

    color: #87919f;

    font-size: 10px;
    font-weight: 800;

    cursor: pointer;
}


.secrets-toolbar button.active,
.secrets-toolbar button:hover {
    color: var(--c);

    border-color: rgba(67, 228, 255, 0.3);

    background: rgba(67, 228, 255, 0.07);
}


/* =========================================================
   SECRETS GRID
   ========================================================= */

.secrets-list {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 12px;
}


.secret-card {
    overflow: hidden;

    border: 1px solid var(--l);
    border-radius: 14px;

    background: #10141a;
}


.secret-card.found {
    opacity: 0.76;
}


/* =========================================================
   SECRET IMAGE
   ========================================================= */

.secret-img {
    position: relative;

    height: 190px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #111923,
            #1a1119
        );
}


.secret-img img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.secret-img span,
.secret-img b,
.secret-big-img span {
    position: absolute;

    top: 10px;

    padding: 5px 8px;

    border-radius: 99px;

    background: rgba(7, 10, 14, 0.78);

    font-size: 10px;
}


.secret-img span {
    left: 10px;

    color: var(--c);
}


.secret-img b {
    right: 10px;

    color: #f6c879;
}


/* =========================================================
   SECRET CARD BODY
   ========================================================= */

.secret-body {
    position: relative;

    padding: 14px;
}


.secret-tags {
    display: flex;

    justify-content: space-between;
}


.secret-tags span {
    color: #ff9bc7;
}


.secret-tags b {
    color: #7d8794;
}


.secret-body h3 {
    margin: 11px 0 7px;

    font-family: "Space Grotesk";
    font-size: 19px;
}


.secret-body p,
.secret-panel p {
    margin: 0;

    color: #87919f;

    font-size: 11px;
    line-height: 1.6;
}


.secret-body footer {
    display: flex;

    gap: 12px;

    margin-top: 12px;
    padding-top: 10px;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.055);
}


.secret-body footer span,
.secret-body footer strong {
    font-size: 10px;
}


.secret-body footer strong {
    margin-left: auto;

    color: var(--c);
}


.secret-hit {
    position: absolute;

    inset: 0;

    border: 0;

    background: transparent;

    cursor: pointer;
}


/* =========================================================
   POLICY
   ========================================================= */

.secrets-policy {
    display: flex;

    gap: 12px;

    margin-top: 14px;

    font-size: 10px;
}


.secrets-policy strong {
    color: var(--c);
}


.secrets-policy span {
    color: #8993a3;
}


/* =========================================================
   DETAIL PAGE - BACK BUTTON
   ========================================================= */

.secret-back {
    margin-bottom: 12px;

    border-radius: 9px;

    color: #cbd3dd;
}


/* =========================================================
   DETAIL HEADER
   ========================================================= */

.secret-head {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 14px;
    padding: 24px;

    border: 1px solid var(--l);
    border-radius: 14px;

    background: #101319;
}


.secret-head h1 {
    margin: 8px 0;

    font-family: "Space Grotesk";
    font-size: clamp(27px, 4vw, 44px);
}


.secret-head > b {
    align-self: flex-start;

    padding: 6px 9px;

    border: 1px solid var(--l);
    border-radius: 99px;

    color: #ff9bc7;

    font-size: 10px;
}


/* =========================================================
   DETAIL LAYOUT
   ========================================================= */

.secret-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        330px;

    gap: 14px;
}


.secret-layout main,
.secret-layout aside {
    display: grid;

    align-content: start;

    gap: 12px;
}


/* =========================================================
   DETAIL IMAGE
   ========================================================= */

.secret-big-img {
    position: relative;

    min-height: 340px;

    overflow: hidden;

    border: 1px solid var(--l);
    border-radius: 14px;

    background: #111820;
}


.secret-big-img img {
    width: 100%;
    height: 340px;

    object-fit: cover;
}


.secret-big-img span {
    top: auto;
    left: 14px;
    bottom: 14px;

    color: #f6c879;
}


/* =========================================================
   DETAIL PANELS
   ========================================================= */

.secret-panel p {
    margin-top: 9px;
}


.secret-row {
    display: flex;

    justify-content: space-between;

    gap: 15px;

    padding: 10px 0;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.055);
}


.secret-row:first-of-type {
    margin-top: 11px;
}


.secret-row span,
.secret-row strong {
    font-size: 10px;
}


.secret-row span {
    color: #697482;
}


.secret-row strong {
    max-width: 170px;

    text-align: right;
}


/* =========================================================
   DETAIL ACTIONS
   ========================================================= */

.secret-actions {
    display: grid;

    gap: 8px;
}


.secret-actions button {
    min-height: 41px;

    border-radius: 9px;

    color: var(--c);
}


.secret-actions button:disabled {
    opacity: 0.45;
}


/* =========================================================
   EMPTY / LOADING STATES
   ========================================================= */

.secrets-state,
.secrets-empty {
    min-height: 260px;

    display: grid;

    place-items: center;
    align-content: center;

    gap: 8px;

    padding: 24px;

    border: 1px solid var(--l);
    border-radius: 14px;

    background: #10141a;
}


.secrets-state p {
    color: #7f8996;

    font-size: 11px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .secret-layout {
        grid-template-columns: 1fr;
    }


    .secrets-list {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 680px) {

    .secrets-copy {
        padding: 27px 20px;
    }


    .secrets-q {
        font-size: 150px;
    }


    .secrets-toolbar,
    .secret-head {
        flex-direction: column;
    }


    .secrets-toolbar > div {
    width: 100%;

    flex-wrap: nowrap;

    overflow-x: auto;

    scrollbar-width: none;
    -ms-overflow-style: none;
}

.secrets-toolbar > div::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}


    .secrets-toolbar button {
        flex: 0 0 auto;
    }


    .secrets-policy {
        flex-direction: column;

        gap: 5px;
    }

}