/* =========================================================
   RADIO PARTY MIX - HITS REQUEST PAGE
   NIGHT PULSE OUTER LAYOUT
   Presentation only
   ========================================================= */

.np-request-page {
    --rq-bg: #08070b;
    --rq-panel: #100c12;
    --rq-panel-2: #151017;
    --rq-border: rgba(255, 36, 138, .18);
    --rq-border-strong: rgba(255, 36, 138, .46);
    --rq-pink: #ff248a;
    --rq-pink-light: #ff72b5;
    --rq-text: #ffffff;
    --rq-soft: #d6ced9;
    --rq-muted: #9b929f;

    width: 100%;
    margin: 0 auto;
    color: var(--rq-text);
}

.np-request-page,
.np-request-page p,
.np-request-page h1,
.np-request-page h2,
.np-request-page h3,
.np-request-page strong,
.np-request-page span,
.np-request-page a {
    color: inherit;
}

.np-request-page h1,
.np-request-page h2,
.np-request-page h3,
.np-request-page p {
    margin-top: 0;
}

.np-request-hero {
    height: auto !important;
    min-height: 155px !important;
    max-height: none !important;
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin: 72px 0 18px;
    padding: 32px 34px;
    overflow: hidden;
    border: 1px solid var(--rq-border);
    border-radius: 22px;
    background:
        radial-gradient(circle at 8% 0%, rgba(255,36,138,.16), transparent 34%),
        radial-gradient(circle at 92% 100%, rgba(111,0,67,.16), transparent 35%),
        linear-gradient(145deg, rgba(22,15,23,.98), rgba(8,7,11,.99));
    box-shadow:
        0 24px 60px rgba(0,0,0,.24),
        inset 0 1px 0 rgba(255,255,255,.025);
}

.np-request-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -110px;
    right: -70px;
    width: 310px;
    height: 310px;
    border: 1px solid rgba(255,36,138,.12);
    border-radius: 50%;
    box-shadow:
        0 0 0 34px rgba(255,36,138,.025),
        0 0 0 68px rgba(255,36,138,.018);
}

.np-request-hero-copy {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 760px;
}

.np-request-kicker,
.np-request-mini-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--rq-pink-light) !important;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.np-request-kicker {
    margin-bottom: 10px;
}

.np-request-kicker i {
    color: var(--rq-pink);
    filter: drop-shadow(0 0 8px rgba(255,36,138,.50));
}

.np-request-hero h1 {
    margin-bottom: 10px;
    color: #fff !important;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: clamp(30px, 4vw, 50px);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -.035em;
}

.np-request-hero p {
    max-width: 720px;
    margin-bottom: 0;
    color: var(--rq-soft) !important;
    font-size: 14px;
    line-height: 1.7;
}

.np-request-hero-badges {
    flex: 0 0 auto;
    align-self: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    width: 300px;
    max-width: 300px;
}

.np-request-hero-badges span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    padding: 8px 11px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 999px;
    background: rgba(255,255,255,.03);
    color: #ddd5e0 !important;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.np-request-hero-badges i {
    color: var(--rq-pink);
}

.np-request-main-card,
.np-request-rules-card,
.np-request-history-card,
.np-request-community {
    border: 1px solid var(--rq-border);
    border-radius: 20px;
    background:
        radial-gradient(circle at 100% 0%, rgba(255,36,138,.07), transparent 34%),
        linear-gradient(145deg, rgba(18,13,19,.98), rgba(9,8,11,.99));
    box-shadow:
        0 20px 50px rgba(0,0,0,.18),
        inset 0 1px 0 rgba(255,255,255,.022);
}

.np-request-main-card {
    padding: 22px;
}

.np-request-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.np-request-section-head-compact {
    align-items: flex-start;
}

.np-request-section-head h2 {
    margin: 5px 0 0;
    color: #fff !important;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: clamp(20px, 2.2vw, 27px);
    font-weight: 760;
    line-height: 1.15;
}

.np-request-system-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 7px 11px;
    border: 1px solid rgba(255,36,138,.24);
    border-radius: 999px;
    background: rgba(255,36,138,.055);
    color: #e8e1eb !important;
    font-size: 10px;
    font-weight: 780;
    letter-spacing: .04em;
    white-space: nowrap;
}

.np-request-system-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--rq-pink);
    box-shadow: 0 0 12px rgba(255,36,138,.8);
    animation: npRequestSystemPulse 1.7s ease-in-out infinite;
}

@keyframes npRequestSystemPulse {
    0%, 100% { opacity: .55; transform: scale(.9); }
    50% { opacity: 1; transform: scale(1.15); }
}

.np-request-frame-shell {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.055);
    border-radius: 16px;
    background: #08070b;
}

.np-request-frame-shell::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 150px;
    height: 2px;
    pointer-events: none;
    background: linear-gradient(90deg, var(--rq-pink), rgba(255,36,138,0));
    box-shadow: 0 0 14px rgba(255,36,138,.4);
}

.np-request-search-frame,
.np-request-history-frame {
    display: block;
    width: 100%;
    min-height: 180px;
    border: 0;
    background: transparent;
}

.np-request-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, .75fr);
    gap: 18px;
    margin-top: 18px;
}

.np-request-rules-card,
.np-request-history-card {
    padding: 22px;
}

.np-request-rules-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.np-request-rule {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-height: 116px;
    padding: 15px;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 14px;
    background: rgba(255,255,255,.018);
    transition:
        transform .16s ease,
        border-color .16s ease,
        background .16s ease;
}

.np-request-rule:hover {
    transform: translateY(-2px);
    border-color: rgba(255,36,138,.22);
    background: rgba(255,36,138,.035);
}

.np-request-rule-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border: 1px solid rgba(255,36,138,.22);
    border-radius: 11px;
    background: rgba(255,36,138,.08);
    color: var(--rq-pink) !important;
    box-shadow: inset 0 0 18px rgba(255,36,138,.035);
}

.np-request-rule strong {
    display: block;
    margin: 1px 0 6px;
    color: #fff !important;
    font-size: 13px;
    font-weight: 780;
}

.np-request-rule p {
    margin: 0;
    color: #aca3b0 !important;
    font-size: 12px;
    line-height: 1.55;
}

.np-request-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 10px;
    padding: 12px 14px;
    border: 1px solid rgba(255,36,138,.13);
    border-radius: 12px;
    background: rgba(255,36,138,.035);
}

.np-request-note i {
    margin-top: 3px;
    color: var(--rq-pink);
}

.np-request-note p {
    margin: 0;
    color: #bcb4c0 !important;
    font-size: 11px;
    line-height: 1.55;
}

.np-request-history-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border: 1px solid rgba(255,36,138,.20);
    border-radius: 11px;
    background: rgba(255,36,138,.07);
    color: var(--rq-pink) !important;
}

.np-request-history-copy {
    margin: -3px 0 13px;
    color: #a79eab !important;
    font-size: 12px;
    line-height: 1.55;
}

.np-request-history-frame-shell {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.055);
    border-radius: 14px;
    background: #0a080c;
}

.np-request-community {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 18px;
    padding: 22px 24px;
}

.np-request-community-copy {
    max-width: 720px;
}

.np-request-community h2 {
    margin: 5px 0 7px;
    color: #fff !important;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: clamp(19px, 2.2vw, 25px);
    font-weight: 760;
}

.np-request-community p {
    margin: 0;
    color: #a9a0ad !important;
    font-size: 12px;
    line-height: 1.6;
}

.np-request-social-actions {
    display: flex;
    gap: 9px;
    flex: 0 0 auto;
}

.np-request-social-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 9px 15px;
    border: 1px solid rgba(255,36,138,.25);
    border-radius: 11px;
    background: rgba(255,36,138,.06);
    color: #fff !important;
    font-size: 12px;
    font-weight: 760;
    text-decoration: none;
    transition:
        transform .16s ease,
        border-color .16s ease,
        background .16s ease,
        box-shadow .16s ease;
}

.np-request-social-actions a:hover {
    transform: translateY(-1px);
    border-color: rgba(255,36,138,.55);
    background: rgba(255,36,138,.11);
    box-shadow: 0 8px 24px rgba(255,36,138,.09);
}

.np-request-social-actions i {
    color: var(--rq-pink);
}

/* Prevent legacy inner-page title/content rules from forcing dark text */
.np-request-page .title,
.np-request-page .content,
.np-request-page .grid-item,
.np-request-page .lasted-item,
.np-request-page .nested-item {
    color: #fff !important;
}

/* Narrow screens */
@media (max-width: 980px) {
    .np-request-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .np-request-hero-badges {
        justify-content: flex-start;
        max-width: none;
    }

    .np-request-content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .np-request-hero {
        padding: 24px 18px;
        border-radius: 18px;
    }

    .np-request-hero h1 {
        font-size: clamp(28px, 10vw, 38px);
    }

    .np-request-hero-badges {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .np-request-hero-badges span {
        justify-content: flex-start;
    }

    .np-request-main-card,
    .np-request-rules-card,
    .np-request-history-card {
        padding: 16px;
        border-radius: 17px;
    }

    .np-request-section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .np-request-rules-grid {
        grid-template-columns: 1fr;
    }

    .np-request-community {
        align-items: flex-start;
        flex-direction: column;
        padding: 18px;
        border-radius: 17px;
    }

    .np-request-social-actions {
        width: 100%;
    }

    .np-request-social-actions a {
        flex: 1 1 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .np-request-system-dot {
        animation: none;
    }

    .np-request-rule,
    .np-request-social-actions a {
        transition: none;
    }
}
