/* =====================================================
   FEAR SCREEN HELP CENTRE - GLASSMORPHISM THEME
   ===================================================== */

/* Modern glassmorphism variables */
:root {
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-bg-hover: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-border-hover: rgba(255, 255, 255, 0.25);
    --glass-blur: blur(12px);
    --brand-red: #e50914;
    --brand-red-glow: rgba(229, 9, 20, 0.3);
    --text-primary: #ffffff;
    --text-secondary: #aaaaaa;
    --text-muted: #888888;
}

/* Text Color Overrides */
.text-secondary {
    color: var(--text-secondary) !important;
}

.small.text-secondary, p.text-secondary {
    color: var(--text-muted) !important;
}

/* =====================================================
   SEARCH BAR - Premium Styling
   ===================================================== */
.help-search-form {
    max-width: 600px;
    margin: 0 auto;
}

.help-search-form .input-group {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 6px;
    transition: all 0.3s ease;
}

.help-search-form .input-group:focus-within {
    background: var(--glass-bg-hover);
    border-color: var(--brand-red);
    box-shadow: 0 0 0 4px var(--brand-red-glow), 0 8px 30px rgba(0, 0, 0, 0.3);
}

.help-search-form .input-group-text {
    background: transparent !important;
    border: none !important;
    padding-left: 20px;
}

.help-search-form .input-group-text i {
    color: var(--text-secondary);
    font-size: 20px;
}

.help-search-form .form-control {
    background: transparent !important;
    border: none !important;
    color: var(--text-primary);
    font-size: 16px;
    padding: 12px 16px;
    box-shadow: none !important;
}

.help-search-form .form-control::placeholder {
    color: var(--text-muted);
}

.help-search-form .form-control:focus {
    outline: none;
    box-shadow: none !important;
}

.help-search-form .btn {
    border-radius: 50px !important;
    padding: 12px 28px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
    background: var(--brand-red);
    border: none;
    transition: all 0.3s ease;
}

.help-search-form .btn:hover {
    background: #ff1a25;
    transform: scale(1.02);
    box-shadow: 0 4px 15px var(--brand-red-glow);
}

/* =====================================================
   CATEGORY CARDS - Glassmorphism
   ===================================================== */
.help-category-card .card {
    background: var(--glass-bg) !important;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border) !important;
    border-radius: 16px !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
}

.help-category-card:hover .card {
    transform: translateY(-8px);
    background: var(--glass-bg-hover) !important;
    border-color: var(--glass-border-hover) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.help-category-icon {
    transition: all 0.3s ease;
}

.help-category-card:hover .help-category-icon {
    transform: scale(1.1);
}

/* =====================================================
   ARTICLE CARDS
   ===================================================== */
.help-article-card {
    background: var(--glass-bg) !important;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border) !important;
    border-radius: 16px !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.help-article-card:hover {
    transform: translateY(-4px);
    background: var(--glass-bg-hover) !important;
    border-color: var(--glass-border-hover) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

/* =====================================================
   ARTICLE LIST ROWS
   ===================================================== */
.help-article-row {
    background: transparent !important;
    border: 1px solid var(--glass-border) !important;
    border-left: 3px solid transparent !important;
    border-radius: 12px !important;
    transition: all 0.3s ease;
}

.help-article-row:hover {
    background: var(--glass-bg) !important;
    border-left-color: var(--brand-red) !important;
    transform: translateX(8px);
}

.help-article-row:hover .ph-caret-right {
    color: var(--brand-red) !important;
}

/* =====================================================
   ARTICLE CONTENT
   ===================================================== */
.article-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.article-body h2, .article-body h3, .article-body h4 {
    color: var(--text-primary);
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body a {
    color: var(--brand-red);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.article-body a:hover {
    border-bottom-color: var(--brand-red);
}

.article-body img {
    max-width: 100%;
    border-radius: 12px;
    margin: 1.5rem 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.article-body code {
    background: rgba(255, 255, 255, 0.15);
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.9em;
}

.article-body pre {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    padding: 1.25rem;
    border-radius: 12px;
    overflow-x: auto;
}

.article-body ul, .article-body ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

/* =====================================================
   SIDEBAR CARDS
   ===================================================== */
.help-sidebar .card {
    background: var(--glass-bg) !important;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border) !important;
    border-radius: 12px !important;
}

.help-sidebar .list-group-item {
    background: transparent !important;
    border-color: var(--glass-border) !important;
    transition: all 0.3s ease;
}

.help-sidebar .list-group-item:hover {
    background: var(--glass-bg) !important;
}

.help-related-link {
    transition: color 0.3s ease;
}

.help-related-link:hover {
    color: var(--brand-red) !important;
}

/* =====================================================
   FEEDBACK SECTION
   ===================================================== */
.help-feedback {
    background: var(--glass-bg) !important;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border) !important;
    border-radius: 12px !important;
}

/* =====================================================
   BREADCRUMB
   ===================================================== */
.help-breadcrumb {
    background: var(--glass-bg) !important;
}

.breadcrumb-item a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--brand-red);
}

.breadcrumb-item.active {
    color: var(--text-primary);
}

/* =====================================================
   BADGES
   ===================================================== */
.badge.bg-secondary {
    background: rgba(255, 255, 255, 0.1) !important;
    color: var(--text-secondary);
    font-weight: 500;
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.help-hero {
    position: relative;
}

.help-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse at center, var(--brand-red-glow) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0.5;
}

/* =====================================================
   PROFESSIONAL SUPPORT PORTAL
   ===================================================== */
.support-hero {
    background:
        linear-gradient(180deg, rgba(229, 9, 20, 0.12) 0%, rgba(9, 10, 14, 0) 72%),
        #08090d;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 88px 0 48px;
}

.support-hero--compact {
    padding: 56px 0 36px;
}

.support-hero__grid {
    align-items: stretch;
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
}

.support-hero__copy {
    max-width: 760px;
}

.support-eyebrow {
    color: #f1b84b;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.support-hero h1,
.support-section h2,
.support-callout h2,
.support-panel h2 {
    color: #fff;
    font-weight: 800;
    letter-spacing: 0;
}

.support-hero h1 {
    font-size: clamp(2.25rem, 5vw, 4.4rem);
    line-height: 1.02;
    margin: 0 0 20px;
}

.support-hero--compact h1 {
    font-size: clamp(2rem, 4vw, 3.1rem);
}

.support-hero p {
    color: #c9ced6;
    font-size: 1.12rem;
    line-height: 1.7;
    margin: 0 0 28px;
}

.support-search {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    display: flex;
    gap: 12px;
    max-width: 720px;
    padding: 8px;
}

.support-search > i {
    color: #6f7782;
    font-size: 22px;
    margin-left: 10px;
}

.support-search input {
    background: transparent;
    border: 0;
    color: #131720;
    flex: 1;
    font-size: 1rem;
    min-width: 0;
    outline: 0;
    padding: 12px 0;
}

.support-search input::placeholder {
    color: #6f7782;
}

.support-search button,
.support-btn {
    align-items: center;
    border-radius: 8px;
    display: inline-flex;
    font-weight: 800;
    gap: 8px;
    justify-content: center;
    line-height: 1;
    min-height: 44px;
    padding: 0 18px;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.support-search button,
.support-btn--primary {
    background: #e50914;
    border: 1px solid #e50914;
    color: #fff;
}

.support-search button:hover,
.support-btn--primary:hover {
    background: #ff2430;
    border-color: #ff2430;
    color: #fff;
    transform: translateY(-1px);
}

.support-btn--ghost {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #f5f7fb;
}

.support-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(255, 255, 255, 0.26);
    color: #fff;
    transform: translateY(-1px);
}

.support-actions,
.support-popular {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.support-popular {
    color: #9fa7b3;
    font-size: 0.95rem;
    margin-top: 18px;
}

.support-popular span {
    color: #f5f7fb;
    font-weight: 800;
}

.support-popular a,
.support-link {
    color: #f1b84b;
    font-weight: 800;
    text-decoration: none;
}

.support-popular a:hover,
.support-link:hover {
    color: #ffd37d;
}

.support-panel,
.support-callout,
.support-empty {
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 8px;
}

.support-panel {
    padding: 24px;
}

.support-panel h2 {
    font-size: 1.08rem;
    margin: 0 0 18px;
}

.support-panel--summary {
    display: grid;
    gap: 10px;
}

.support-panel--summary a {
    align-items: flex-start;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: #cbd2dc;
    display: flex;
    gap: 12px;
    padding: 14px;
    text-decoration: none;
}

.support-panel--summary a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.support-panel--summary i {
    color: #e50914;
    font-size: 24px;
    margin-top: 1px;
}

.support-panel--summary strong {
    color: #fff;
    display: block;
    margin-bottom: 3px;
}

.support-stats {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    gap: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 46px;
}

.support-stats div {
    padding: 22px 24px 0 0;
}

.support-stats strong {
    color: #fff;
    display: block;
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    line-height: 1.1;
}

.support-stats span {
    color: #9fa7b3;
    display: block;
    margin-top: 5px;
}

.support-breadcrumb {
    align-items: center;
    color: #9fa7b3;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.92rem;
    gap: 10px;
    margin-bottom: 24px;
}

.support-breadcrumb a {
    align-items: center;
    color: #d5d9e1;
    display: inline-flex;
    gap: 6px;
    text-decoration: none;
}

.support-breadcrumb a:hover {
    color: #fff;
}

.support-breadcrumb span::before,
.support-breadcrumb a + a::before {
    color: #596170;
    content: "/";
    margin-right: 10px;
}

.support-section {
    background: #090a0f;
    padding: 64px 0;
}

.support-section--muted {
    background: #0d1017;
}

.support-section--flush {
    padding-top: 36px;
}

.support-section__header {
    align-items: end;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 24px;
}

.support-section__header--stacked {
    align-items: start;
    display: block;
}

.support-section__header h2 {
    font-size: clamp(1.55rem, 3vw, 2.2rem);
    margin: 0;
}

.support-link {
    align-items: center;
    display: inline-flex;
    gap: 8px;
    white-space: nowrap;
}

.support-topic-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.support-topic-card,
.support-article-row {
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.support-topic-card {
    align-items: center;
    display: grid;
    gap: 16px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 18px;
}

.support-topic-card:hover,
.support-article-row:hover {
    background: rgba(255, 255, 255, 0.075);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: translateY(-2px);
}

.support-topic-card__icon {
    align-items: center;
    background: color-mix(in srgb, var(--topic-color, #e50914) 17%, transparent);
    border: 1px solid color-mix(in srgb, var(--topic-color, #e50914) 42%, transparent);
    border-radius: 8px;
    color: var(--topic-color, #e50914);
    display: inline-flex;
    height: 48px;
    justify-content: center;
    width: 48px;
}

.support-topic-card__icon i {
    font-size: 25px;
}

.support-topic-card__body strong,
.support-article-row strong {
    color: #fff;
    display: block;
    font-size: 1.02rem;
    margin-bottom: 5px;
}

.support-topic-card__body em,
.support-article-row em {
    color: #aab2bf;
    display: block;
    font-style: normal;
    line-height: 1.55;
}

.support-topic-card__meta {
    align-items: center;
    color: #c7ced9;
    display: inline-flex;
    font-size: 0.9rem;
    gap: 8px;
    white-space: nowrap;
}

.support-columns {
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 1fr) 340px;
}

.support-article-list {
    display: grid;
    gap: 12px;
}

.support-article-row {
    display: grid;
    gap: 8px;
    padding: 18px;
}

.support-article-row__category {
    align-items: center;
    color: var(--topic-color, #f1b84b);
    display: inline-flex;
    font-size: 0.86rem;
    font-weight: 800;
    gap: 6px;
}

.support-article-row__meta {
    color: #7f8794;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.88rem;
    gap: 16px;
}

.support-article-row__meta span {
    align-items: center;
    display: inline-flex;
    gap: 5px;
}

.support-ranked-list {
    display: grid;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.support-ranked-list a {
    align-items: start;
    color: #fff;
    display: grid;
    gap: 4px 12px;
    grid-template-columns: 30px minmax(0, 1fr);
    text-decoration: none;
}

.support-ranked-list a:hover strong {
    color: #f1b84b;
}

.support-ranked-list span {
    align-items: center;
    background: rgba(229, 9, 20, 0.15);
    border-radius: 8px;
    color: #ff6b73;
    display: inline-flex;
    font-weight: 800;
    height: 30px;
    justify-content: center;
    width: 30px;
}

.support-ranked-list strong {
    color: #fff;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.support-ranked-list em {
    color: #8b94a3;
    font-size: 0.84rem;
    font-style: normal;
    grid-column: 2;
}

.support-ranked-list__empty {
    color: #9fa7b3;
}

.support-empty {
    color: #aab2bf;
    grid-column: 1 / -1;
    padding: 32px;
    text-align: center;
}

.support-empty i {
    color: #f1b84b;
    font-size: 42px;
}

.support-empty h3 {
    color: #fff;
    font-size: 1.1rem;
    margin: 12px 0 6px;
}

.support-empty p {
    margin: 0;
}

.support-callout {
    align-items: center;
    display: flex;
    gap: 28px;
    justify-content: space-between;
    padding: 28px;
}

.support-callout p {
    color: #aab2bf;
    margin: 10px 0 0;
    max-width: 760px;
}

.forum-guidelines ul {
    color: #c2c9d4;
    line-height: 1.7;
    margin: 0;
    padding-left: 20px;
}

/* =====================================================
   WINTER FORUM PROFESSIONAL SKIN
   ===================================================== */
.forum-shell {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.forum-shell .winter-forum {
    color: #cbd2dc;
}

.winter-forum .forum-table {
    border-collapse: collapse;
    margin: 0;
    width: 100%;
}

.winter-forum .forum-table th {
    background: #151922;
    border: 0;
    color: #f5f7fb;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    padding: 14px 16px;
    text-transform: uppercase;
}

.winter-forum .forum-table td {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 16px;
    vertical-align: middle;
}

.winter-forum .root-channel th {
    background: #202633;
    color: #f1b84b;
}

.winter-forum .forum-channel,
.winter-forum .forum-topic {
    background: rgba(255, 255, 255, 0.02);
    transition: background 0.2s ease;
}

.winter-forum .forum-channel:hover,
.winter-forum .forum-topic:hover {
    background: rgba(255, 255, 255, 0.055);
}

.winter-forum h4,
.winter-forum h5 {
    color: #fff;
    font-weight: 800;
    letter-spacing: 0;
}

.winter-forum h5 {
    margin: 0 0 4px;
}

.winter-forum a {
    color: #f5f7fb;
    text-decoration: none;
}

.winter-forum a:hover {
    color: #f1b84b;
}

.winter-forum p {
    color: #9fa7b3;
    margin: 0;
}

.winter-forum small {
    color: #7f8794;
}

.winter-forum .counter-column,
.winter-forum .activity-column,
.winter-forum .channel-column {
    white-space: nowrap;
}

.winter-forum .counter-column {
    text-align: center;
    width: 92px;
}

.winter-forum .counter-column p {
    color: #fff;
    font-weight: 800;
}

.winter-forum .activity-column {
    min-width: 220px;
}

.winter-forum .indicator-column {
    width: 42px;
}

.winter-forum .topic-indicator {
    background: #49505f;
    border-radius: 999px;
    height: 10px;
    width: 10px;
}

.winter-forum .topic-indicator.has-new {
    background: #2bd47d;
    box-shadow: 0 0 0 5px rgba(43, 212, 125, 0.12);
}

.winter-forum .member-avatar,
.winter-forum .avatar img,
.winter-forum .member-area img,
.winter-forum .activity-column img,
.winter-forum p img {
    background: #202633;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    height: 34px;
    object-fit: cover;
    width: 34px;
}

.winter-forum .avatar img,
.winter-forum .member-area img {
    height: 52px;
    width: 52px;
}

.winter-forum .post-list {
    display: grid;
    gap: 16px;
}

.winter-forum .forum-post,
.winter-forum .reply-form,
.winter-forum #topicControlPanel,
.winter-forum .control-panel {
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 18px;
}

.winter-forum .avatar {
    float: left;
    margin: 0 16px 12px 0;
}

.winter-forum .content {
    overflow: hidden;
}

.winter-forum .author {
    color: #fff;
    font-weight: 800;
}

.winter-forum .metadata {
    color: #8d96a4;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.88rem;
    gap: 12px;
    margin: 4px 0 14px;
}

.winter-forum .text {
    color: #cbd2dc;
    line-height: 1.75;
}

.winter-forum .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.winter-forum .actions a {
    color: #f1b84b;
    font-weight: 800;
}

.winter-forum .post-divider {
    clear: both;
}

.winter-forum textarea,
.winter-forum input[type="text"],
.winter-forum .form-control {
    background: #111620 !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 8px !important;
    color: #fff !important;
}

.winter-forum textarea:focus,
.winter-forum input[type="text"]:focus,
.winter-forum .form-control:focus {
    border-color: #e50914 !important;
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.18) !important;
}

.winter-forum .help-block {
    color: #8d96a4;
    display: block;
    margin-top: 8px;
}

.winter-forum .post-buttons {
    margin-top: 14px;
}

.winter-forum .btn-primary {
    background: #e50914;
    border-color: #e50914;
    border-radius: 8px;
    font-weight: 800;
}

.winter-forum .btn-primary:hover {
    background: #ff2430;
    border-color: #ff2430;
}

@media (max-width: 991.98px) {
    .support-hero__grid,
    .support-columns {
        grid-template-columns: 1fr;
    }

    .support-topic-grid {
        grid-template-columns: 1fr;
    }

    .support-callout {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    .support-hero {
        padding: 58px 0 34px;
    }

    .support-search {
        align-items: stretch;
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
    }

    .support-search button {
        grid-column: 1 / -1;
    }

    .support-stats {
        grid-template-columns: 1fr;
    }

    .support-section__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .support-topic-card {
        align-items: start;
        grid-template-columns: auto minmax(0, 1fr);
    }

    .support-topic-card__meta {
        grid-column: 2;
    }

    .forum-shell {
        overflow-x: auto;
    }

    .winter-forum .forum-table {
        min-width: 760px;
    }
}
