﻿/* ============================================================
   Custom styles — Prudential MDRT ELEVATE 2026
   KV palette: deep navy-purple #080012 / crimson #5c0025 /
               magenta accent #cc0050 / purple accent #7700cc
   ============================================================ */

/* ── Fonts ─────────────────────────────────────────────────── */

@font-face {
    font-family: 'FSAlbertPro';
    src: url('../fonts/FSAlbertPro.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'FSAlbertPro';
    src: url('../fonts/FSAlbertPro-Italic.woff') format('woff');
    font-weight: 400;
    font-style: italic;
}
@font-face {
    font-family: 'FSAlbertPro';
    src: url('../fonts/FSAlbertPro-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'FSAlbertPro';
    src: url('../fonts/FSAlbertPro-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'FSAlbertPro';
    src: url('../fonts/FSAlbertPro-ExtraBold.woff') format('woff');
    font-weight: 800;
    font-style: normal;
}

/* ── Base ───────────────────────────────────────────────────── */

html, body {
    height: 100%;
}

body {
    background-color: #080012;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.42)),
        url('../images/kv-wave-bg.png');
    background-size: cover;
    background-position: center bottom;
    background-attachment: fixed;
    color: #ffffff;
    font-family: 'FSAlbertPro', 'Segoe UI', Arial, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
}

/* ── Stream page — fixed viewport, no scroll ────────────────── */

.bg-stream {
    background-color: #080012;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.42)),
        url('../images/kv-wave-bg.png');
    background-size: cover;
    background-position: center bottom;
    background-attachment: fixed;
    min-height: 100vh;
}

/* Applied only on the LiveStream page via ViewBag.BodyClass */
.bg-stream.page-livestream {
    height: 100vh;
    overflow: hidden;
}

/* ── Login page body ────────────────────────────────────────── */

body.bg-login {
    background-color: #080012;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.52)),
        url('../images/kv-wave-bg.png');
    background-size: cover;
    background-position: center bottom;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ── Stream container width cap ─────────────────────────────── */

.stream-container {
    max-width: min(1500px, calc((100vh - 190px) * 1.8));
}

/* ══ HEADER — ELEVATE brand bar ══════════════════════════════ */

.stream-header {
    background: rgba(6, 0, 18, 0.88);
    border-bottom: 1px solid rgba(120, 0, 180, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.nav-logo { display: block; }
.nav-logo-mdrt      { height: 56px; width: auto; }
.nav-logo-prudential { height: 52px; width: auto; }

@media (max-width: 575.98px) {
    .nav-logo-mdrt      { height: 32px; }
    .nav-logo-prudential { height: 30px; }
}

/* ELEVATE logo image — center of header, replaces the text wordmark */
.header-logo-elevate {
    height: 68px;
    width: auto;
    display: block;
    mix-blend-mode: screen;
}

@media (max-width: 575.98px) {
    .header-logo-elevate { height: 42px; }
}

/* ELEVATE wordmark centre group */
.elevate-brand {
    flex: 1;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.elevate-brand-line {
    display: block;
    width: 100%;
    max-width: 340px;
    height: 1px;
    margin-bottom: 5px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(160, 140, 220, 0.25) 15%,
        rgba(255, 255, 255, 0.85) 50%,
        rgba(160, 140, 220, 0.25) 85%,
        transparent 100%
    );
    box-shadow: 0 0 8px rgba(220, 200, 255, 0.5), 0 0 22px rgba(255, 255, 255, 0.15);
}

.elevate-brand-title {
    font-family: 'FSAlbertPro', 'Segoe UI', sans-serif;
    font-weight: 800;
    font-size: clamp(1.3rem, 3.2vw, 2.1rem);
    letter-spacing: 0.28em;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 3px;
    /* Chrome / metallic gradient text */
    background: linear-gradient(180deg,
        #dcdcff 0%,
        #ffffff 35%,
        #c8c0f0 65%,
        #ffffff 80%,
        #a0a8d8 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.elevate-brand-series {
    font-family: 'FSAlbertPro', 'Segoe UI', sans-serif;
    font-weight: 400;
    font-size: clamp(0.5rem, 1.1vw, 0.7rem);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(200, 185, 235, 0.8);
}

@media (max-width: 575.98px) {
    .elevate-brand { padding: 0 0.5rem; }
    .elevate-brand-series { display: none; }
}

/* ══ FOOTER ══════════════════════════════════════════════════ */

.elevate-footer {
    background: rgba(6, 0, 18, 0.92);
    border-top: 1px solid rgba(120, 0, 180, 0.3);
    color: #b39cc7;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    flex-shrink: 0;
}

.elevate-footer a {
    color: #cc0050;
    text-decoration: none;
}

/* ══ LOGIN PAGE ══════════════════════════════════════════════ */

.login-banner {
    width: 100%;
    max-width: 760px;
    border-radius: 12px 12px 0 0;
    display: block;
}

.login-card {
    background: rgba(10, 2, 24, 0.88);
    border: 1px solid rgba(140, 0, 200, 0.4);
    border-top: none;
    border-radius: 0 0 12px 12px;
    max-width: 760px;
    width: 100%;
    box-shadow: 0 8px 40px rgba(180, 0, 100, 0.2), 0 0 0 1px rgba(120, 0, 180, 0.15);
}

.login-card .form-label {
    color: #d0bcea;
    letter-spacing: 0.06em;
    font-size: 0.85rem;
}

.login-card .form-control {
    background-color: #120230;
    border: 1px solid rgba(140, 0, 200, 0.45);
    color: #ffffff;
    font-family: 'FSAlbertPro', sans-serif;
}

.login-card .form-control:focus {
    background-color: #180340;
    border-color: #cc0050;
    box-shadow: 0 0 0 0.2rem rgba(204, 0, 80, 0.2);
    color: #ffffff;
}

.login-card .form-control::placeholder { color: #6a4d82; }

/* card heading */
.login-card h1 {
    font-family: 'FSAlbertPro', sans-serif;
    font-weight: 800;
    letter-spacing: 0.18em;
    font-size: 1rem;
    color: #ffffff;
}

/* ══ BUTTON ══════════════════════════════════════════════════ */

.btn-elevate {
    background: linear-gradient(90deg, #cc0050 0%, #7700cc 100%);
    color: #ffffff;
    border: none;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-family: 'FSAlbertPro', sans-serif;
    font-weight: 700;
    transition: background 0.25s, box-shadow 0.25s;
}

.btn-elevate:hover {
    background: linear-gradient(90deg, #e8005a 0%, #9900ff 100%);
    color: #ffffff;
    box-shadow: 0 0 22px rgba(204, 0, 80, 0.5);
}

/* ══ LIVESTREAM page ════════════════════════════════════════ */

/* Thin session info bar below the header on the stream page */
.session-strip {
    background: rgba(4, 0, 14, 0.75);
    border-bottom: 1px solid rgba(100, 0, 150, 0.25);
    padding: 0.3rem 0;
}

.session-strip-title {
    font-family: 'FSAlbertPro', sans-serif;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffffff;
}

.session-strip-desc {
    font-size: 0.7rem;
    color: rgba(200, 180, 235, 0.7);
    letter-spacing: 0.04em;
}

.session-strip-speaker {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(200, 180, 235, 0.75);
}

.session-strip-speaker strong {
    color: #cc0050;
    font-weight: 700;
}

/* Stream panels */
.stream-panel {
    background: rgba(12, 2, 28, 0.88);
    border: 1px solid rgba(110, 0, 160, 0.45);
    border-radius: 10px;
    overflow: hidden;
}

.embed-placeholder {
    background: #08011a;
    color: #5a3d78;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.85rem;
    width: 100%;
    height: 100%;
}

.embed-placeholder .placeholder-icon {
    font-size: 2.5rem;
    color: #cc0050;
    margin-bottom: 0.5rem;
}

.chat-panel { height: 100%; }

.chat-panel iframe,
.chat-panel .embed-placeholder {
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 991.98px) {
    .chat-panel { height: 420px; }
}

.translation-widget {
    background: rgba(12, 2, 28, 0.88);
    border: 1px solid rgba(110, 0, 160, 0.45);
    border-radius: 10px;
    color: #d0bcea;
    overflow: hidden;
}

.translation-widget iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 991.98px) {
    .translation-widget { min-height: 160px; }
}

/* Logo shimmer panel */
.logo-panel { text-align: center; }

.logo-shimmer {
    position: relative;
    display: inline-block;
    border-radius: 10px;
    overflow: hidden;
    animation: borderPulse 4s ease-in-out infinite;
}

.logo-panel img {
    max-width: 100%;
    max-height: 20vh;
    width: auto;
    display: block;
    border-radius: 10px;
}

.logo-shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 50%;
    height: 100%;
    background: linear-gradient(105deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.18) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-20deg);
    animation: shimmerSweep 5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shimmerSweep {
    0%   { left: -80%; }
    60%  { left: 130%; }
    100% { left: 130%; }
}

@keyframes borderPulse {
    0%,100% { box-shadow: 0 0 0 1px rgba(204,0,80,0.3), 0 0 10px rgba(204,0,80,0.12); }
    50%      { box-shadow: 0 0 0 1px rgba(204,0,80,0.8), 0 0 22px rgba(204,0,80,0.4); }
}

@media (max-width: 991.98px) {
    .bg-stream.page-livestream {
        height: auto;
        min-height: 100vh;
        overflow: auto;
    }
}

/* ══ WELCOME PAGE ════════════════════════════════════════════ */

.welcome-page {
    overflow-y: auto;
    min-height: calc(100vh - 121px);
    padding-bottom: 2rem;
}

@media (max-width: 991.98px) {
    .welcome-page { max-height: none; overflow-y: visible; }
}

/* Section headings shared across welcome page */
.section-heading {
    font-family: 'FSAlbertPro', sans-serif;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(210, 190, 240, 0.75);
    position: relative;
    display: inline-block;
    padding-bottom: 0.6rem;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #cc0050, transparent);
}

/* Session select buttons */
.btn-session {
    display: block;
    width: 100%;
    padding: 0.9rem 1.25rem;
    border: 1px solid rgba(180, 0, 100, 0.45);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(180,0,80,0.12), rgba(110,0,180,0.12));
    color: #ffffff;
    font-family: 'FSAlbertPro', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    transition: background 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.btn-session:hover {
    background: linear-gradient(90deg, #cc0050 0%, #7700cc 100%);
    border-color: #cc0050;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 0 24px rgba(204, 0, 80, 0.45);
}

/* Speaker grid */
.speaker-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
    padding: 0 0.5rem;
}

@media (max-width: 1199.98px) { .speaker-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575.98px)  { .speaker-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; } }

.speaker-card {
    text-align: center;
}

.speaker-photo-wrap {
    width: 96px;
    height: 96px;
    margin: 0 auto 0.65rem;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(204, 0, 80, 0.5);
    box-shadow: 0 0 18px rgba(204, 0, 80, 0.2);
    transition: box-shadow 0.25s, border-color 0.25s;
}

.speaker-card:hover .speaker-photo-wrap {
    border-color: #cc0050;
    box-shadow: 0 0 28px rgba(204, 0, 80, 0.45);
}

.speaker-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.speaker-name {
    font-family: 'FSAlbertPro', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 0.2rem;
}

.speaker-role {
    font-family: 'FSAlbertPro', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    color: rgba(196, 175, 228, 0.7);
    text-transform: uppercase;
}

/* Divider used between welcome sections */
.kv-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(180,0,100,0.4) 30%, rgba(110,0,180,0.4) 70%, transparent 100%);
    margin: 0;
}
