/* Extracted from page_panels/film.php block 1 */
:root {
    --ww-bg: #000;
    --ww-card: rgba(8, 13, 22, 0.76);
    --ww-card-2: rgba(2, 8, 16, 0.62);
    --ww-border: rgba(148, 163, 184, 0.16);
    --ww-border-2: rgba(148, 163, 184, 0.12);
    --ww-shadow: 0 24px 90px rgba(0,0,0,0.64);
    --ww-text: rgba(255,255,255,0.92);
    --ww-muted: rgba(255,255,255,0.72);
    --ww-dim: rgba(255,255,255,0.62);
    --ww-blue: #60a5fa;
    --ww-green: #22c55e;
}

.profile5-page {
    position: relative;
    background: var(--ww-bg);
    min-height: calc(100vh - 80px);
    overflow: hidden;
    color: var(--ww-text);
}

.profile5-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.profile5-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translateZ(0);
}

.profile5-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 560px at 16% 8%, rgba(34,197,94,0.13), rgba(34,197,94,0) 58%),
        radial-gradient(900px 560px at 86% 18%, rgba(96,165,250,0.15), rgba(96,165,250,0) 60%),
        linear-gradient(180deg, rgba(2,6,23,0.48), rgba(2,6,23,0.92) 62%, rgba(0,0,0,0.96));
}

.profile5-noise {
    position: absolute;
    inset: 0;
    opacity: 0.10;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
    background-size: 220px 220px;
}

.profile5-wrap {
    position: relative;
    z-index: 2;
    padding: 3.35rem 1.25rem 4.35rem;
}

.profile5-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.profile5-panel {
    border-radius: 2px;
    background:
        linear-gradient(145deg, rgba(15,23,42,0.82), rgba(2,6,23,0.68)),
        var(--ww-card);
    border: 1px solid var(--ww-border);
    backdrop-filter: blur(12px);
    box-shadow: var(--ww-shadow);
    position: relative;
    overflow: hidden;
}

.profile5-panel::before {
    content: "";
    position: absolute;
    inset: -2px;
    background: radial-gradient(680px 340px at var(--mx, 28%) var(--my, 18%), rgba(96,165,250,0.16), rgba(34,197,94,0.08) 28%, rgba(255,255,255,0) 58%);
    opacity: 0.82;
    pointer-events: none;
}

.profile5-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255,255,255,0.10), rgba(255,255,255,0) 30%, rgba(96,165,250,0.08) 68%, rgba(255,255,255,0));
    opacity: 0.22;
    pointer-events: none;
}

.profile5-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.74rem;
    color: rgba(191,219,254,0.88);
}

.profile5-kicker::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--ww-green);
    box-shadow: 0 0 18px rgba(34,197,94,0.52);
}

.profile5-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: clamp(1.15rem, 2vw, 1.6rem);
    margin-bottom: 1.15rem;
}

.profile5-title {
    margin: 0.5rem 0 0.45rem 0;
    color: var(--ww-text);
    font-weight: 900;
    letter-spacing: 0;
    font-size: clamp(1.85rem, 3vw, 2.45rem);
    line-height: 1.05;
    position: relative;
    z-index: 2;
}

.profile5-subtitle {
    margin: 0;
    color: var(--ww-muted);
    font-size: 0.95rem;
    line-height: 1.55;
    position: relative;
    z-index: 2;
}

.profile5-header-stat {
    position: relative;
    z-index: 2;
    min-width: 138px;
    padding: 0.85rem 1rem;
    border-radius: 2px;
    border: 1px solid rgba(96,165,250,0.24);
    background: rgba(15,23,42,0.64);
    text-align: right;
}

.profile5-header-stat strong,
.profile5-header-stat span {
    display: block;
}

.profile5-header-stat strong {
    font-size: 2rem;
    line-height: 1;
    color: #fff;
}

.profile5-header-stat span {
    margin-top: 0.22rem;
    color: rgba(255,255,255,0.58);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.profile5-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.profile5-card {
    display: flex;
    flex-direction: column;
    isolation: isolate;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.profile5-card:hover {
    transform: translateY(-3px);
    border-color: rgba(96,165,250,0.24);
}

.profile5-photo {
    position: relative;
    aspect-ratio: 4 / 5;
    background: rgba(2,6,23,0.74);
    overflow: hidden;
    border-bottom: 1px solid var(--ww-border-2);
}

.profile5-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform 220ms ease, filter 220ms ease;
}

.profile5-card:hover .profile5-photo img {
    filter: saturate(1.08) contrast(1.03);
    transform: scale(1.045);
}

.profile5-photo-gradient {
    position: absolute;
    inset: auto 0 0;
    height: 55%;
    width: 100%;
    pointer-events: none;
    background:
        linear-gradient(to top, rgba(2,6,23,0.96), rgba(2,6,23,0.58) 46%, rgba(2,6,23,0));
}

.profile5-photo-label {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    z-index: 3;
}

.profile5-label-name {
    font-size: 1.06rem;
    font-weight: 900;
    color: rgba(255,255,255,0.92);
    line-height: 1.15;
}

.profile5-label-handle {
    font-size: 0.82rem;
    color: rgba(226,232,240,0.76);
}

.profile5-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1rem;
    position: relative;
    z-index: 2;
}

.profile5-name {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: 0;
    color: rgba(255,255,255,0.92);
}

.profile5-tagline {
    margin: 0.25rem 0 0.85rem;
    font-size: 0.90rem;
    color: rgba(203,213,225,0.70);
}

.profile5-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 0.95rem 0;
    font-size: 0.85rem;
    background: rgba(2,6,23,0.48);
    border-radius: 2px;
    border: 1px solid rgba(148,163,184,0.12);
    overflow: hidden;
}

.profile5-specs li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    min-height: 38px;
    padding: 0.52rem 0.7rem;
    gap: 0.75rem;
}

.profile5-specs li + li {
    border-top: 1px solid rgba(148,163,184,0.10);
}

.spec-label {
    color: rgba(148,163,184,0.82);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.68rem;
    font-weight: 900;
    flex: 0 0 auto;
}

.spec-value {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    color: rgba(255,255,255,0.86);
    text-align: right;
    overflow-wrap: anywhere;
}

.profile5-status {
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr);
    gap: 0.62rem;
    margin: 0 0 0.95rem;
    padding: 0.72rem;
    border-radius: 2px;
    background: rgba(2,6,23,0.48);
    border: 1px solid rgba(148,163,184,0.12);
}

.profile5-status-dot {
    width: 10px;
    height: 10px;
    margin-top: 0.25rem;
    border-radius: 2px;
    background: rgba(255,255,255,0.32);
}

.profile5-status.is-online .profile5-status-dot {
    background: rgba(63, 220, 132, 0.95);
    box-shadow: 0 0 20px rgba(63, 220, 132, 0.42);
}

.profile5-status-title {
    color: rgba(255,255,255,0.92);
    font-size: 0.84rem;
    font-weight: 900;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.profile5-status-meta {
    margin-top: 0.22rem;
    color: rgba(203,213,225,0.62);
    font-size: 0.78rem;
    line-height: 1.3;
}

.profile5-status-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.55rem;
}

.profile5-status-actions .profile5-btn {
    height: 32px;
    padding: 0 0.8rem;
    font-size: 0.78rem;
    box-shadow: none;
}

.profile5-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-top: auto;
}

.profile5-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 1rem;
    border-radius: 2px;
    font-size: 0.86rem;
    font-weight: 900;
    text-decoration: none;
    border: 1px solid rgba(148,163,184,0.18);
    background: rgba(15,23,42,0.72);
    color: rgba(255,255,255,0.92);
    box-shadow: 0 16px 36px rgba(0,0,0,0.38);
    transition: transform 0.10s ease, background 0.10s ease, border-color 0.10s ease;
    white-space: nowrap;
}

.profile5-btn:hover {
    background: rgba(30,41,59,0.82);
    border-color: rgba(96,165,250,0.32);
    transform: translateY(-1px);
}

.profile5-btn:active { transform: translateY(0); }

.profile5-btn-ghost {
    background: rgba(15,23,42,0.44);
    border-color: rgba(148,163,184,0.14);
    color: rgba(255,255,255,0.90);
}

.profile5-btn-strong {
    background: linear-gradient(135deg, rgba(37,99,235,0.92), rgba(22,163,74,0.82));
    border-color: rgba(125,211,252,0.28);
    color: #fff;
}

.profile5-bot-hero {
    margin-top: 1.15rem;
    padding: clamp(1.15rem, 2vw, 1.55rem);
}

.profile5-bot-hero-header {
    margin-bottom: 1.0rem;
    position: relative;
    z-index: 2;
}

.profile5-bot-title {
    margin: 0.55rem 0 0.35rem 0;
    font-size: clamp(1.35rem, 2.3vw, 1.85rem);
    font-weight: 900;
    letter-spacing: 0;
    color: rgba(255,255,255,0.92);
}

.profile5-bot-subtitle {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(203,213,225,0.74);
    line-height: 1.55;
    max-width: 72ch;
}

.profile5-bot-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    position: relative;
    z-index: 2;
}

.profile5-bot-card {
    position: relative;
    padding: 1rem 1rem 1rem 1.15rem;
    border-radius: 2px;
    background: rgba(2,6,23,0.48);
    border: 1px solid rgba(148,163,184,0.12);
    overflow: hidden;
}

.profile5-bot-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1rem;
    bottom: 1rem;
    width: 3px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--ww-blue), var(--ww-green));
}

.profile5-bot-name {
    margin: 0 0 0.35rem 0;
    font-size: 1.0rem;
    font-weight: 900;
    color: rgba(255,255,255,0.92);
    line-height: 1.25;
}

.profile5-bot-text {
    margin: 0;
    font-size: 0.92rem;
    color: rgba(203,213,225,0.72);
    line-height: 1.55;
}

@media (max-width: 1280px) {
    .profile5-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
    .profile5-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .profile5-bot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
    .profile5-header {
        align-items: flex-start;
    }

    .profile5-bot-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .profile5-header {
        display: grid;
    }

    .profile5-header-stat {
        width: 100%;
        text-align: left;
    }
}

@media (max-width: 520px) {
    .profile5-wrap { padding: 2.75rem 1rem 3.5rem; }
    .profile5-grid { grid-template-columns: 1fr; }
    .profile5-actions { grid-template-columns: 1fr; }
    .profile5-photo { aspect-ratio: 16 / 13; }
}


