/* ==========================================================
   WORLDBEACON — UNIFIED PREMIUM DARK DESIGN
   Scope: Homepage, hero, community feed, composer, posts,
          events, GIF picker, interactions and pagination.
   Palette: Midnight Navy / Facebook Blue / Cyan / Violet
========================================================== */

:root {
    color-scheme: dark;

    --wb-bg: #070b16;
    --wb-bg-deep: #050914;
    --wb-panel: #0d1425;
    --wb-panel-2: #101b30;
    --wb-panel-3: #14213a;
    --wb-input-bg: #080f1e;

    --wb-border: rgba(130, 158, 202, 0.17);
    --wb-border-strong: rgba(96, 165, 250, 0.32);

    --wb-text: #edf4ff;
    --wb-text-soft: #c3d0e5;
    --wb-muted: #91a3bf;

    --wb-blue: #1877f2;
    --wb-blue-light: #60a5fa;
    --wb-cyan: #22d3ee;
    --wb-violet: #818cf8;

    --wb-success: #34d399;
    --wb-danger: #fb7185;
    --wb-warning: #fbbf24;

    --wb-gradient: linear-gradient(
        115deg,
        #60a5fa 0%,
        #22d3ee 48%,
        #a78bfa 100%
    );

    --wb-gradient-blue: linear-gradient(
        135deg,
        #1877f2,
        #2563eb 55%,
        #6366f1
    );

    --wb-radius-sm: 10px;
    --wb-radius-md: 15px;
    --wb-radius-lg: 21px;
    --wb-radius-xl: 27px;

    --wb-shadow:
        0 12px 35px rgba(0, 0, 0, 0.19);

    --wb-shadow-blue:
        0 8px 26px rgba(24, 119, 242, 0.17);

    --wb-transition:
        180ms ease;
}

/* =========================
   BASE
========================= */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    background: var(--wb-bg);
}

body {
    background:
        radial-gradient(
            ellipse at 50% -15%,
            rgba(24, 119, 242, 0.09),
            transparent 48%
        ),
        var(--wb-bg);
    color: var(--wb-text);
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    -webkit-font-smoothing: antialiased;
}

body,
button,
input,
textarea,
select {
    color: var(--wb-text);
}

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
}

a {
    color: var(--wb-blue-light);
    text-decoration: none;
    transition:
        color var(--wb-transition),
        border-color var(--wb-transition),
        background var(--wb-transition);
}

a:hover {
    color: var(--wb-cyan);
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--wb-cyan);
    outline-offset: 3px;
}

::selection {
    color: #ffffff;
    background: rgba(24, 119, 242, 0.55);
}

/* =========================
   HOMEPAGE LAYOUT
========================= */

.wb-home {
    width: 100%;
    min-height: 100vh;
    color: var(--wb-text);
}

.wb-shell {
    width: min(100% - 36px, 1600px);
    margin-inline: auto;
}

.wb-home-layout {
    display: grid;
    grid-template-columns:
        minmax(210px, 250px)
        minmax(0, 1fr)
        minmax(230px, 290px);
    align-items: start;
    gap: 24px;
    padding-top: 24px;
    padding-bottom: 48px;
}

.wb-center {
    min-width: 0;
    width: 100%;
}

/* Protect the main content from long URLs and oversized media. */

.wb-center > *,
.wb-home-layout > * {
    min-width: 0;
}

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

.wb-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin-bottom: 30px;
    padding: clamp(25px, 4vw, 46px);
    border: 1px solid rgba(96, 165, 250, 0.22);
    border-radius: var(--wb-radius-xl);
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(34, 211, 238, 0.13),
            transparent 35%
        ),
        radial-gradient(
            circle at 15% 100%,
            rgba(99, 102, 241, 0.15),
            transparent 45%
        ),
        linear-gradient(
            135deg,
            #101b32,
            #0a1223 70%,
            #0c172b
        );
    box-shadow: var(--wb-shadow);
}

.wb-hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background-image:
        linear-gradient(
            rgba(148, 163, 184, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(148, 163, 184, 0.035) 1px,
            transparent 1px
        );
    background-size: 36px 36px;
    content: "";
    pointer-events: none;
    mask-image: linear-gradient(
        120deg,
        black,
        transparent 80%
    );
}

.wb-hero-topline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 23px;
    color: var(--wb-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.wb-hero-status-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: var(--wb-success);
    box-shadow: 0 0 13px rgba(52, 211, 153, 0.55);
}

.wb-hero-topline-divider {
    width: 25px;
    height: 1px;
    background: var(--wb-border-strong);
}

.wb-hero-topline-label {
    color: var(--wb-cyan);
}

.wb-hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(150px, 0.72fr);
    align-items: center;
    gap: 22px;
}

.wb-hero-main {
    min-width: 0;
}

.wb-hero h1 {
    max-width: 750px;
    margin: 0 0 19px;
    color: var(--wb-text);
    font-size: clamp(32px, 4vw, 54px);
    font-weight: 850;
    line-height: 1.09;
    letter-spacing: -1.8px;
    overflow-wrap: anywhere;
}

.wb-gradient-text {
    color: var(--wb-cyan);
    background: var(--wb-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.wb-hero-description {
    max-width: 620px;
    margin: 0;
    color: var(--wb-text-soft);
    font-size: 15px;
    line-height: 1.85;
}

.wb-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 25px;
}

.wb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 45px;
    padding: 12px 19px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
    cursor: pointer;
    transition:
        transform var(--wb-transition),
        background var(--wb-transition),
        border-color var(--wb-transition),
        box-shadow var(--wb-transition);
}

.wb-btn:hover {
    transform: translateY(-2px);
}

.wb-btn-primary {
    color: #ffffff;
    border-color: rgba(96, 165, 250, 0.45);
    background: var(--wb-gradient-blue);
    box-shadow: var(--wb-shadow-blue);
}

.wb-btn-primary:hover {
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(24, 119, 242, 0.28);
}

.wb-btn-secondary {
    color: var(--wb-text);
    border-color: var(--wb-border-strong);
    background: rgba(15, 29, 52, 0.8);
}

.wb-btn-secondary:hover {
    color: var(--wb-cyan);
    border-color: var(--wb-cyan);
    background: rgba(34, 211, 238, 0.07);
}

.wb-hero-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.wb-hero-quick-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 39px;
    padding: 9px 12px;
    border: 1px solid var(--wb-border);
    border-radius: 11px;
    background: rgba(8, 15, 30, 0.52);
    color: var(--wb-text-soft);
    font-size: 12px;
    font-weight: 700;
}

.wb-hero-quick-link:hover {
    color: var(--wb-cyan);
    border-color: var(--wb-border-strong);
    background: rgba(34, 211, 238, 0.06);
}

.wb-hero-quick-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--wb-cyan);
}

.wb-quick-post-icon {
    color: var(--wb-blue-light);
}

.wb-register-region-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wb-register-region-text {
    min-width: 0;
}

.wb-hero-quick-arrow {
    color: var(--wb-muted);
}

.wb-hero-visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 220px;
    overflow: hidden;
}

.wb-hero-orbit {
    position: absolute;
    width: 190px;
    height: 190px;
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 50%;
}

.wb-hero-orbit-one {
    transform: rotateX(65deg) rotate(-25deg);
}

.wb-hero-orbit-two {
    width: 150px;
    height: 220px;
    transform: rotate(45deg);
    border-color: rgba(34, 211, 238, 0.22);
}

.wb-hero-globe {
    position: relative;
    display: grid;
    place-items: center;
    width: 125px;
    height: 125px;
    border: 1px solid rgba(34, 211, 238, 0.55);
    border-radius: 50%;
    background:
        radial-gradient(
            circle at 35% 30%,
            rgba(34, 211, 238, 0.25),
            transparent 65%
        ),
        #0d1b33;
    box-shadow:
        0 0 45px rgba(34, 211, 238, 0.15),
        inset 0 0 30px rgba(96, 165, 250, 0.08);
}

.wb-hero-globe-symbol {
    color: var(--wb-cyan);
    font-size: 59px;
    line-height: 1;
}

.wb-hero-floating-icon {
    position: absolute;
    display: grid;
    place-items: center;
    width: 39px;
    height: 39px;
    border: 1px solid var(--wb-border-strong);
    border-radius: 12px;
    background: #101d34;
    box-shadow: var(--wb-shadow);
    font-size: 17px;
}

.wb-hero-float-one {
    top: 17%;
    right: 15%;
}

.wb-hero-float-two {
    bottom: 16%;
    right: 20%;
}

.wb-hero-float-three {
    bottom: 25%;
    left: 9%;
}

.wb-hero-footer {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 28px;
    padding-top: 19px;
    border-top: 1px solid var(--wb-border);
    color: var(--wb-muted);
    font-size: 12px;
}

.wb-hero-footer-icon {
    color: var(--wb-cyan);
}

/* =========================
   FEED SECTION HEADING
========================= */

.wb-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    margin: 0 0 19px;
}

.wb-social-feed-title {
    min-width: 0;
}

.wb-eyebrow {
    display: inline-block;
    margin-bottom: 7px;
    color: var(--wb-cyan);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 1.7px;
}

.wb-social-feed-title h2 {
    margin: 0;
    color: var(--wb-text);
    font-size: clamp(23px, 2.4vw, 30px);
    font-weight: 850;
    line-height: 1.25;
    letter-spacing: -0.7px;
}

.wb-feed-subtitle {
    margin: 8px 0 0;
    color: var(--wb-muted);
    font-size: 13px;
    line-height: 1.65;
}

.wb-feed-create-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.wb-view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 39px;
    padding: 9px 13px;
    border: 1px solid var(--wb-border);
    border-radius: 11px;
    background: var(--wb-panel);
    color: var(--wb-text-soft);
    font-size: 12px;
    font-weight: 750;
}

.wb-view-all span {
    color: var(--wb-cyan);
}

.wb-view-posts:hover {
    border-color: var(--wb-blue);
    color: var(--wb-blue-light);
}

.wb-view-events:hover {
    border-color: var(--wb-violet);
    color: var(--wb-violet);
}

/* =========================
   FLASH / ERROR MESSAGES
========================= */

.wb-feed-flash,
.wb-feed-error {
    margin-bottom: 16px;
    padding: 13px 16px;
    border: 1px solid var(--wb-border);
    border-radius: 13px;
    background: var(--wb-panel);
    font-size: 13px;
    line-height: 1.65;
}

.wb-feed-flash-success {
    border-color: rgba(52, 211, 153, 0.3);
    background: rgba(16, 185, 129, 0.08);
    color: #6ee7b7;
}

.wb-feed-flash-error,
.wb-feed-error {
    border-color: rgba(251, 113, 133, 0.32);
    background: rgba(244, 63, 94, 0.08);
    color: #fda4af;
}

/* =========================
   COMPOSER
========================= */

.wb-feed-composer {
    min-width: 0;
    margin-bottom: 24px;
    padding: clamp(17px, 2.5vw, 24px);
    border: 1px solid var(--wb-border);
    border-radius: var(--wb-radius-lg);
    background:
        linear-gradient(
            145deg,
            rgba(17, 29, 51, 0.96),
            rgba(10, 17, 32, 0.98)
        );
    box-shadow: var(--wb-shadow);
}

.wb-feed-composer-top {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    margin-bottom: 18px;
}

.wb-feed-composer-avatar {
    display: block;
    flex: 0 0 49px;
    width: 49px;
    height: 49px;
    border: 2px solid rgba(96, 165, 250, 0.55);
    border-radius: 50%;
    background: var(--wb-panel-3);
    object-fit: cover;
}

.wb-feed-composer-content {
    min-width: 0;
}

.wb-feed-composer-username {
    display: block;
    color: var(--wb-text);
    font-size: 14px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.wb-feed-composer-prompt {
    margin: 5px 0 0;
    color: var(--wb-muted);
    font-size: 12px;
    line-height: 1.6;
}

.wb-feed-composer-content > a {
    display: inline-block;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 750;
}

.wb-inline-post-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 0;
}

.wb-inline-post-main,
.wb-inline-post-optional {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.wb-inline-post-label,
.wb-inline-post-optional > label,
.wb-feed-gif-panel > label {
    color: var(--wb-text-soft);
    font-size: 12px;
    font-weight: 800;
}

.wb-inline-post-optional label span {
    color: var(--wb-muted);
    font-weight: 500;
}

.wb-inline-post-form textarea,
.wb-inline-post-form input[type="text"],
.wb-inline-post-form input[type="url"],
.wb-inline-post-form input[type="search"],
.wb-inline-post-form input[type="file"],
.wb-inline-post-form select,
.wb-comment-form textarea,
.wb-feed-gif-search-row input {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--wb-border);
    border-radius: 12px;
    outline: none;
    background: var(--wb-input-bg);
    color: var(--wb-text);
    font-size: 13px;
    line-height: 1.65;
    transition:
        border-color var(--wb-transition),
        box-shadow var(--wb-transition),
        background var(--wb-transition);
}

.wb-inline-post-form textarea {
    min-height: 125px;
    resize: vertical;
}

.wb-inline-post-form textarea::placeholder,
.wb-inline-post-form input::placeholder,
.wb-comment-form textarea::placeholder,
.wb-feed-gif-search-row input::placeholder {
    color: #71839e;
    opacity: 1;
}

.wb-inline-post-form textarea:focus,
.wb-inline-post-form input:focus,
.wb-inline-post-form select:focus,
.wb-comment-form textarea:focus,
.wb-feed-gif-search-row input:focus {
    border-color: var(--wb-blue-light);
    background: #0b1629;
    box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.13);
}

.wb-inline-post-form select {
    cursor: pointer;
}

.wb-inline-post-form select option {
    background: #101b30;
    color: var(--wb-text);
}

.wb-inline-post-form input[type="file"] {
    padding: 10px;
}

.wb-inline-post-form input[type="file"]::file-selector-button {
    margin-right: 10px;
    padding: 8px 11px;
    border: 0;
    border-radius: 8px;
    background: #1b3154;
    color: var(--wb-text);
    font-size: 12px;
    font-weight: 750;
    cursor: pointer;
}

.wb-inline-post-optional small {
    color: var(--wb-muted);
    font-size: 11px;
    line-height: 1.6;
}

.wb-inline-post-attachments {
    overflow: hidden;
    border: 1px solid var(--wb-border);
    border-radius: 13px;
    background: rgba(7, 13, 25, 0.45);
}

.wb-inline-post-attachments > summary {
    padding: 13px 15px;
    color: var(--wb-text-soft);
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition:
        background var(--wb-transition),
        color var(--wb-transition);
}

.wb-inline-post-attachments > summary:hover {
    color: var(--wb-cyan);
    background: rgba(34, 211, 238, 0.045);
}

.wb-inline-post-attachment-fields {
    display: grid;
    gap: 15px;
    padding: 0 15px 16px;
}

.wb-inline-post-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 13px;
    padding-top: 5px;
}

.wb-inline-post-hint {
    color: var(--wb-muted);
    font-size: 11px;
    line-height: 1.6;
}

.wb-inline-post-submit,
.wb-comment-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 43px;
    padding: 11px 18px;
    border: 1px solid rgba(96, 165, 250, 0.4);
    border-radius: 11px;
    background: var(--wb-gradient-blue);
    color: #ffffff;
    font-size: 12px;
    font-weight: 850;
    cursor: pointer;
    box-shadow: 0 5px 17px rgba(24, 119, 242, 0.14);
    transition:
        transform var(--wb-transition),
        box-shadow var(--wb-transition),
        opacity var(--wb-transition);
}

.wb-inline-post-submit:hover,
.wb-comment-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 9px 23px rgba(24, 119, 242, 0.23);
}

.wb-inline-post-submit:disabled,
.wb-comment-submit:disabled,
#wb-feed-gif-search-button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.wb-feed-composer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 17px;
    padding-top: 15px;
    border-top: 1px solid var(--wb-border);
}

.wb-feed-composer-actions a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 11px;
    border: 1px solid var(--wb-border);
    border-radius: 10px;
    background: rgba(17, 29, 51, 0.7);
    color: var(--wb-text-soft);
    font-size: 12px;
    font-weight: 750;
}

.wb-feed-composer-actions a:hover {
    border-color: var(--wb-violet);
    color: var(--wb-violet);
}

/* =========================
   GIF PICKER
========================= */

.wb-feed-gif-picker {
    position: relative;
    min-width: 0;
    margin: 0;
}

.wb-feed-gif-toggle,
#wb-feed-gif-search-button,
#wb-feed-gif-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 37px;
    padding: 9px 13px;
    border: 1px solid var(--wb-border-strong);
    border-radius: 10px;
    background: rgba(24, 119, 242, 0.1);
    color: var(--wb-blue-light);
    font-size: 12px;
    font-weight: 850;
    cursor: pointer;
    transition:
        background var(--wb-transition),
        border-color var(--wb-transition),
        color var(--wb-transition);
}

.wb-feed-gif-toggle:hover,
#wb-feed-gif-search-button:hover {
    border-color: var(--wb-cyan);
    background: rgba(34, 211, 238, 0.1);
    color: var(--wb-cyan);
}

#wb-feed-gif-remove {
    border-color: rgba(251, 113, 133, 0.3);
    background: rgba(244, 63, 94, 0.08);
    color: #fda4af;
}

#wb-feed-gif-remove:hover {
    border-color: var(--wb-danger);
    background: rgba(244, 63, 94, 0.15);
}

.wb-feed-gif-panel {
    min-width: 0;
    margin-top: 12px;
    padding: 15px;
    border: 1px solid var(--wb-border-strong);
    border-radius: 15px;
    background: #0b1425;
    box-shadow: var(--wb-shadow);
}

.wb-feed-gif-panel[hidden],
.wb-feed-gif-selected[hidden] {
    display: none !important;
}

.wb-feed-gif-panel > label {
    display: block;
    margin-bottom: 9px;
}

.wb-feed-gif-search-row {
    display: flex;
    gap: 9px;
    min-width: 0;
}

.wb-feed-gif-search-row input {
    flex: 1;
}

#wb-feed-gif-status {
    min-height: 1.3em;
    margin: 11px 0;
    color: var(--wb-muted);
    font-size: 11px;
    line-height: 1.6;
}

.wb-feed-gif-results {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.wb-feed-gif-result {
    display: block;
    min-width: 0;
    overflow: hidden;
    padding: 5px;
    border: 2px solid transparent;
    border-radius: 11px;
    background: #111d32;
    color: var(--wb-text-soft);
    text-align: left;
    cursor: pointer;
    transition:
        border-color var(--wb-transition),
        background var(--wb-transition),
        transform var(--wb-transition);
}

.wb-feed-gif-result:hover,
.wb-feed-gif-result:focus-visible,
.wb-feed-gif-result[aria-pressed="true"] {
    border-color: var(--wb-cyan);
    background: #142541;
    outline: none;
}

.wb-feed-gif-result:hover {
    transform: translateY(-2px);
}

.wb-feed-gif-result img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 7px;
    background: var(--wb-panel);
    object-fit: cover;
}

.wb-feed-gif-result span {
    display: block;
    margin-top: 7px;
    overflow: hidden;
    color: var(--wb-text-soft);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wb-feed-gif-selected {
    min-width: 0;
    margin-top: 13px;
    padding: 13px;
    border: 1px solid rgba(34, 211, 238, 0.45);
    border-radius: 12px;
    background: rgba(34, 211, 238, 0.055);
}

.wb-feed-gif-selected p {
    margin: 0 0 10px;
    color: var(--wb-cyan);
    font-size: 11px;
    font-weight: 850;
    line-height: 1.5;
    letter-spacing: 0.35px;
}

#wb-feed-gif-selected::before {
    content: none;
}

#wb-feed-gif-preview {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 260px;
    margin: 0 auto 10px;
    border-radius: 9px;
    object-fit: contain;
}

.wb-feed-gif-image-wrap {
    margin-top: 15px;
}

.wb-feed-post-gif {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 480px;
    margin-inline: auto;
    border-radius: 13px;
    background: #080f1e;
    object-fit: contain;
}

/* =========================
   FEED EMPTY STATE
========================= */

.wb-feed-empty {
    margin-bottom: 23px;
    padding: clamp(24px, 4vw, 38px);
    border: 1px dashed rgba(96, 165, 250, 0.32);
    border-radius: var(--wb-radius-lg);
    background:
        radial-gradient(
            circle at 50% 0,
            rgba(24, 119, 242, 0.1),
            transparent 70%
        ),
        var(--wb-panel);
    text-align: center;
}

.wb-feed-empty h3 {
    margin: 0 0 12px;
    color: var(--wb-text);
    font-size: 21px;
    font-weight: 850;
}

.wb-feed-empty p {
    max-width: 510px;
    margin: 0 auto 20px;
    color: var(--wb-muted);
    font-size: 13px;
    line-height: 1.8;
}

.wb-feed-read-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--wb-blue-light);
    font-size: 12px;
    font-weight: 800;
}

.wb-feed-read-more:hover {
    color: var(--wb-cyan);
}

/* =========================
   POST / EVENT CARD
========================= */

.wb-feed-card {
    position: relative;
    min-width: 0;
    margin-bottom: 22px;
    overflow: hidden;
    border: 1px solid var(--wb-border);
    border-radius: var(--wb-radius-lg);
    background:
        linear-gradient(
            145deg,
            rgba(17, 28, 48, 0.98),
            rgba(10, 17, 31, 0.99)
        );
    box-shadow: var(--wb-shadow);
    transition:
        border-color var(--wb-transition),
        box-shadow var(--wb-transition);
}

.wb-feed-card:hover {
    border-color: rgba(96, 165, 250, 0.3);
    box-shadow: 0 15px 38px rgba(0, 0, 0, 0.24);
}

.wb-feed-card-event {
    border-top: 2px solid rgba(129, 140, 248, 0.7);
}

.wb-feed-card-post {
    border-top: 2px solid rgba(96, 165, 250, 0.6);
}

.wb-feed-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 19px 20px 15px;
}

.wb-feed-author-profile {
    display: block;
    flex: 0 0 47px;
    width: 47px;
    height: 47px;
    border-radius: 50%;
}

.wb-feed-avatar {
    display: block;
    width: 47px;
    height: 47px;
    border: 2px solid rgba(96, 165, 250, 0.45);
    border-radius: 50%;
    background: #14213a;
    object-fit: cover;
}

.wb-feed-author-profile:hover .wb-feed-avatar {
    border-color: var(--wb-cyan);
}

.wb-feed-author-info {
    flex: 1;
    min-width: 0;
}

.wb-feed-author-name {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    color: var(--wb-text);
    font-size: 13px;
    font-weight: 850;
    text-overflow: ellipsis;
    vertical-align: middle;
    white-space: nowrap;
}

a.wb-feed-author-name:hover {
    color: var(--wb-cyan);
}

.wb-feed-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 7px;
    margin-top: 6px;
    color: var(--wb-muted);
    font-size: 10px;
    line-height: 1.6;
}

.wb-feed-type-badge {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 25px;
    padding: 5px 9px;
    border: 1px solid var(--wb-border);
    border-radius: 8px;
    background: rgba(96, 165, 250, 0.07);
    color: var(--wb-blue-light);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.8px;
}

.wb-feed-type-badge.is-event {
    border-color: rgba(129, 140, 248, 0.3);
    background: rgba(129, 140, 248, 0.09);
    color: #a5b4fc;
}

.wb-feed-type-badge.is-post {
    border-color: rgba(34, 211, 238, 0.23);
    color: var(--wb-cyan);
}

.wb-feed-card-body {
    min-width: 0;
    padding: 0 20px 20px;
}

.wb-feed-category {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    margin: 2px 0 12px;
    padding: 6px 10px;
    overflow-wrap: anywhere;
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 8px;
    background: rgba(34, 211, 238, 0.055);
    color: var(--wb-cyan);
    font-size: 10px;
    font-weight: 800;
}

.wb-feed-card-event .wb-feed-category {
    border-color: rgba(129, 140, 248, 0.25);
    background: rgba(129, 140, 248, 0.08);
    color: #a5b4fc;
}

.wb-feed-title {
    margin: 0 0 12px;
    color: var(--wb-text);
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 850;
    line-height: 1.4;
    letter-spacing: -0.4px;
    overflow-wrap: anywhere;
}

.wb-feed-detail-link {
    color: var(--wb-text);
}

.wb-feed-detail-link:hover {
    color: var(--wb-blue-light);
}

.wb-feed-description {
    margin: 0 0 16px;
    color: var(--wb-text-soft);
    font-size: 13px;
    line-height: 1.85;
    overflow-wrap: anywhere;
    word-break: normal;
}

.wb-feed-description a {
    overflow-wrap: anywhere;
}

.wb-feed-event-details {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 14px 0;
}

.wb-feed-event-details span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--wb-border);
    border-radius: 9px;
    background: rgba(7, 13, 25, 0.5);
    color: var(--wb-text-soft);
    font-size: 11px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

/* =========================
   IMAGES / VIDEO
========================= */

.wb-feed-image-wrap {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 15px 0;
    overflow: hidden;
    border: 1px solid var(--wb-border);
    border-radius: 14px;
    background: #080f1e;
}

.wb-feed-image-link {
    color: inherit;
}

.wb-feed-image {
    display: block;
    width: 100%;
    max-width: 100%;
    max-height: 650px;
    margin-inline: auto;
    object-fit: contain;
}

.wb-feed-image-link:hover {
    border-color: var(--wb-border-strong);
}

.wb-feed-youtube {
    position: relative;
    width: 100%;
    margin: 17px 0;
    overflow: hidden;
    border: 1px solid var(--wb-border);
    border-radius: 14px;
    background: #000000;
    aspect-ratio: 16 / 9;
}

.wb-feed-youtube iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.wb-feed-post-gif {
    max-width: 100%;
}

/* =========================
   EXTERNAL LINK PREVIEW
========================= */

.wb-external-preview {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 16px 0;
    overflow: hidden;
    border: 1px solid var(--wb-border);
    border-radius: 14px;
    background: rgba(7, 13, 25, 0.68);
    color: var(--wb-text);
}

.wb-external-preview:hover {
    border-color: var(--wb-border-strong);
    background: rgba(17, 29, 51, 0.8);
}

.wb-external-preview-image-wrap {
    width: 100%;
    max-height: 300px;
    overflow: hidden;
    background: #080f1e;
}

.wb-external-preview-image {
    display: block;
    width: 100%;
    max-height: 300px;
    object-fit: cover;
}

.wb-external-preview-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
    padding: 15px;
}

.wb-external-preview-domain {
    max-width: 100%;
    color: var(--wb-cyan);
    font-size: 10px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.wb-external-preview-title {
    margin: 0;
    color: var(--wb-text);
    font-size: 15px;
    font-weight: 850;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.wb-external-preview-description {
    margin: 0;
    color: var(--wb-muted);
    font-size: 12px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.wb-external-preview-link-label {
    margin-top: 3px;
    color: var(--wb-blue-light);
    font-size: 11px;
    font-weight: 800;
}

/* =========================
   OWNER ACTIONS
========================= */

.wb-feed-owner-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0 20px 17px;
    padding-top: 14px;
    border-top: 1px solid var(--wb-border);
}

.wb-feed-edit-btn,
.wb-feed-delete-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 35px;
    padding: 8px 11px;
    border: 1px solid var(--wb-border);
    border-radius: 9px;
    background: rgba(96, 165, 250, 0.06);
    color: var(--wb-text-soft);
    font-size: 11px;
    font-weight: 750;
    cursor: pointer;
}

.wb-feed-edit-btn:hover {
    border-color: var(--wb-blue-light);
    color: var(--wb-blue-light);
}

.wb-feed-delete-form {
    display: inline-flex;
    margin: 0;
}

.wb-feed-delete-btn {
    border-color: rgba(251, 113, 133, 0.25);
    background: rgba(244, 63, 94, 0.06);
    color: #fda4af;
}

.wb-feed-delete-btn:hover {
    border-color: var(--wb-danger);
    background: rgba(244, 63, 94, 0.12);
}

/* =========================
   REACTIONS / COMMENTS
========================= */

.wb-post-interactions {
    position: relative;
    min-width: 0;
    padding: 0 20px 18px;
}

.wb-reaction-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid var(--wb-border);
}

.wb-like-main,
.wb-comment-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 37px;
    padding: 8px 11px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: rgba(148, 163, 184, 0.055);
    color: var(--wb-text-soft);
    font-size: 11px;
    font-weight: 750;
    cursor: pointer;
    transition:
        background var(--wb-transition),
        color var(--wb-transition),
        border-color var(--wb-transition);
}

.wb-like-main:hover,
.wb-comment-toggle:hover {
    border-color: var(--wb-border-strong);
    background: rgba(96, 165, 250, 0.09);
    color: var(--wb-blue-light);
}

.wb-like-main.is-selected {
    border-color: rgba(24, 119, 242, 0.3);
    background: rgba(24, 119, 242, 0.12);
    color: #60a5fa;
}

.wb-comment-toggle[aria-expanded="true"] {
    border-color: rgba(34, 211, 238, 0.28);
    background: rgba(34, 211, 238, 0.08);
    color: var(--wb-cyan);
}

.wb-reaction-total {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
    color: var(--wb-muted);
    font-size: 10px;
}

.wb-total-count,
.wb-comment-count {
    color: var(--wb-text-soft);
    font-weight: 850;
}

.wb-emoji-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 12px;
}

.wb-emoji-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 42px;
    min-height: 34px;
    padding: 6px 9px;
    border: 1px solid var(--wb-border);
    border-radius: 10px;
    background: rgba(7, 13, 25, 0.55);
    font-size: 15px;
    cursor: pointer;
    transition:
        transform var(--wb-transition),
        border-color var(--wb-transition),
        background var(--wb-transition);
}

.wb-emoji-button span {
    color: var(--wb-muted);
    font-size: 10px;
}

.wb-emoji-button:hover {
    transform: translateY(-2px);
    border-color: var(--wb-border-strong);
    background: rgba(96, 165, 250, 0.09);
}

.wb-emoji-button.is-selected {
    border-color: var(--wb-cyan);
    background: rgba(34, 211, 238, 0.1);
    box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.055);
}

.wb-emoji-button.is-selected span {
    color: var(--wb-cyan);
}

.wb-comments-panel {
    min-width: 0;
    margin-top: 14px;
    padding: 14px;
    border: 1px solid var(--wb-border);
    border-radius: 13px;
    background: rgba(7, 13, 25, 0.55);
}

.wb-comments-panel[hidden] {
    display: none !important;
}

.wb-comments-list {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.wb-comment-form {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    min-width: 0;
    margin-top: 12px;
}

.wb-comment-form textarea {
    min-height: 72px;
    resize: vertical;
}

.wb-comment-submit {
    min-height: 37px;
    padding: 9px 13px;
}

.wb-login-prompt {
    margin: 12px 0 0;
    color: var(--wb-muted);
    font-size: 12px;
    line-height: 1.7;
}

.wb-login-prompt a {
    color: var(--wb-blue-light);
    font-weight: 800;
}

.wb-interaction-message {
    margin: 10px 0 0;
    color: var(--wb-muted);
    font-size: 11px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

/* =========================
   PAGINATION
========================= */

.wb-feed-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
    margin: 27px 0 12px;
    padding: 16px;
    border: 1px solid var(--wb-border);
    border-radius: 15px;
    background: var(--wb-panel);
}

.wb-page-btn,
.wb-page-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 37px;
    min-height: 37px;
    padding: 8px 11px;
    border: 1px solid var(--wb-border);
    border-radius: 9px;
    background: rgba(7, 13, 25, 0.65);
    color: var(--wb-text-soft);
    font-size: 11px;
    font-weight: 750;
}

.wb-page-btn:not(.is-disabled):hover,
.wb-page-number:not(.is-active):hover {
    border-color: var(--wb-blue-light);
    background: rgba(24, 119, 242, 0.1);
    color: var(--wb-blue-light);
}

.wb-page-number.is-active {
    border-color: rgba(96, 165, 250, 0.55);
    background: var(--wb-gradient-blue);
    color: #ffffff;
    box-shadow: var(--wb-shadow-blue);
}

.wb-page-btn.is-disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.wb-page-dots {
    padding: 0 3px;
    color: var(--wb-muted);
}

.wb-page-numbers {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.wb-feed-page-info {
    margin: 10px 0 25px;
    color: var(--wb-muted);
    font-size: 11px;
    text-align: center;
}

/* =========================
   BOTTOM BANNER
========================= */

.wb-bottom-banner {
    margin: 25px 0;
    padding: 22px;
    border: 1px solid var(--wb-border-strong);
    border-radius: var(--wb-radius-lg);
    background:
        radial-gradient(
            circle at 100% 0,
            rgba(34, 211, 238, 0.09),
            transparent 45%
        ),
        var(--wb-panel);
    color: var(--wb-text);
}

/* =========================
   SCROLL TO TOP
========================= */

.wb-scroll-top {
    position: fixed;
    z-index: 999;
    right: 22px;
    bottom: 22px;
    display: grid;
    place-items: center;
    width: 45px;
    height: 45px;
    border: 1px solid rgba(96, 165, 250, 0.42);
    border-radius: 14px;
    background: var(--wb-gradient-blue);
    color: #ffffff;
    box-shadow: var(--wb-shadow-blue);
    cursor: pointer;
    transition:
        transform var(--wb-transition),
        opacity var(--wb-transition);
}

.wb-scroll-top:hover {
    transform: translateY(-3px);
}

/* =========================
   COMMON DARK CONTROLS
========================= */

.wb-home input,
.wb-home textarea,
.wb-home select {
    color-scheme: dark;
}

.wb-home input[type="checkbox"],
.wb-home input[type="radio"] {
    accent-color: var(--wb-blue);
}

.wb-home hr {
    border: 0;
    border-top: 1px solid var(--wb-border);
}

.wb-home :disabled {
    cursor: not-allowed;
}

/* Keep hidden UI hidden even when other stylesheets define display. */

[hidden] {
    display: none !important;
}

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

@media (max-width: 1200px) {
    .wb-shell {
        width: min(100% - 28px, 1100px);
    }

    .wb-home-layout {
        grid-template-columns:
            minmax(185px, 220px)
            minmax(0, 1fr);
        gap: 19px;
    }

    .wb-home-layout > :last-child {
        display: none;
    }

    .wb-hero-content {
        grid-template-columns: minmax(0, 1fr) minmax(125px, 0.55fr);
        gap: 12px;
    }

    .wb-hero-visual {
        min-height: 185px;
    }

    .wb-hero-globe {
        width: 105px;
        height: 105px;
    }

    .wb-hero-globe-symbol {
        font-size: 49px;
    }

    .wb-hero-orbit {
        width: 155px;
        height: 155px;
    }

    .wb-hero-orbit-two {
        width: 130px;
        height: 185px;
    }
}

/* =========================
   MOBILE / STACKED LAYOUT
========================= */

@media (max-width: 800px) {
    .wb-shell {
        width: min(100% - 24px, 700px);
    }

    .wb-home-layout {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding-top: 15px;
    }

    .wb-home-layout > * {
        width: 100%;
        max-width: 100%;
    }

    .wb-home-layout > :last-child {
        display: block;
    }

    .wb-hero {
        padding: 25px 22px;
        border-radius: 21px;
    }

    .wb-hero-content {
        grid-template-columns: minmax(0, 1fr) 125px;
        gap: 10px;
    }

    .wb-hero h1 {
        font-size: clamp(29px, 6vw, 42px);
        letter-spacing: -1.1px;
    }

    .wb-hero-description {
        font-size: 13px;
    }

    .wb-hero-visual {
        min-height: 150px;
    }

    .wb-hero-globe {
        width: 85px;
        height: 85px;
    }

    .wb-hero-globe-symbol {
        font-size: 39px;
    }

    .wb-hero-orbit {
        width: 125px;
        height: 125px;
    }

    .wb-hero-orbit-two {
        width: 100px;
        height: 145px;
    }

    .wb-hero-floating-icon {
        width: 31px;
        height: 31px;
        border-radius: 9px;
        font-size: 14px;
    }

    .wb-hero-float-one {
        right: 4%;
    }

    .wb-hero-float-two {
        right: 8%;
    }

    .wb-hero-float-three {
        left: 0;
    }

    .wb-hero-quick-links {
        gap: 8px;
    }

    .wb-section-heading {
        align-items: flex-start;
    }

    .wb-social-feed-title h2 {
        font-size: 25px;
    }

    .wb-feed-create-actions {
        width: 100%;
    }

    .wb-view-all {
        flex: 1;
        justify-content: center;
    }

    .wb-feed-composer,
    .wb-feed-card {
        border-radius: 16px;
    }

    .wb-feed-card-header {
        padding: 16px 15px 13px;
    }

    .wb-feed-card-body {
        padding: 0 15px 17px;
    }

    .wb-feed-owner-actions {
        margin-inline: 15px;
    }

    .wb-post-interactions {
        padding-inline: 15px;
    }

    .wb-feed-meta {
        font-size: 10px;
    }

    .wb-feed-pagination {
        gap: 6px;
        padding: 12px 8px;
    }

    .wb-page-btn,
    .wb-page-number {
        min-width: 34px;
        min-height: 34px;
        padding: 7px 9px;
    }
}

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

@media (max-width: 520px) {
    .wb-shell {
        width: calc(100% - 20px);
    }

    .wb-home-layout {
        gap: 15px;
        padding-top: 10px;
    }

    .wb-hero {
        margin-bottom: 23px;
        padding: 22px 17px;
        border-radius: 17px;
    }

    .wb-hero-topline {
        gap: 7px;
        margin-bottom: 18px;
        font-size: 9px;
        letter-spacing: 1.2px;
    }

    .wb-hero-topline-divider {
        width: 15px;
    }

    .wb-hero-content {
        grid-template-columns: minmax(0, 1fr);
    }

    .wb-hero h1 {
        font-size: clamp(30px, 8vw, 39px);
    }

    .wb-hero-description {
        font-size: 13px;
        line-height: 1.75;
    }

    .wb-hero-visual {
        min-height: 155px;
        margin-top: 6px;
    }

    .wb-hero-globe {
        width: 94px;
        height: 94px;
    }

    .wb-hero-globe-symbol {
        font-size: 44px;
    }

    .wb-hero-orbit {
        width: 145px;
        height: 145px;
    }

    .wb-hero-orbit-two {
        width: 115px;
        height: 170px;
    }

    .wb-hero-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 9px;
    }

    .wb-btn {
        width: 100%;
    }

    .wb-hero-quick-links {
        flex-direction: column;
    }

    .wb-hero-quick-link {
        width: 100%;
    }

    .wb-hero-footer {
        align-items: flex-start;
        font-size: 11px;
        line-height: 1.6;
    }

    .wb-section-heading {
        gap: 13px;
    }

    .wb-social-feed-title h2 {
        font-size: 23px;
    }

    .wb-feed-subtitle {
        font-size: 12px;
    }

    .wb-feed-create-actions {
        gap: 7px;
    }

    .wb-view-all {
        min-width: 0;
        padding: 9px 10px;
        font-size: 11px;
    }

    .wb-feed-composer {
        padding: 15px;
    }

    .wb-feed-composer-avatar {
        flex-basis: 43px;
        width: 43px;
        height: 43px;
    }

    .wb-inline-post-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .wb-inline-post-submit {
        width: 100%;
    }

    .wb-feed-gif-search-row {
        flex-direction: column;
    }

    #wb-feed-gif-search-button {
        width: 100%;
    }

    .wb-feed-gif-results {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wb-feed-card-header {
        gap: 9px;
        padding: 14px 12px 12px;
    }

    .wb-feed-author-profile,
    .wb-feed-avatar {
        flex-basis: 41px;
        width: 41px;
        height: 41px;
    }

    .wb-feed-type-badge {
        min-height: 22px;
        padding: 4px 6px;
        font-size: 8px;
    }

    .wb-feed-meta {
        gap: 3px 5px;
        font-size: 9px;
    }

    .wb-feed-card-body {
        padding: 0 12px 15px;
    }

    .wb-feed-title {
        font-size: 18px;
    }

    .wb-feed-description {
        font-size: 12px;
        line-height: 1.8;
    }

    .wb-feed-owner-actions {
        gap: 7px;
        margin-inline: 12px;
    }

    .wb-post-interactions {
        padding-inline: 12px;
    }

    .wb-reaction-bar {
        gap: 5px;
    }

    .wb-like-main,
    .wb-comment-toggle {
        gap: 5px;
        padding-inline: 8px;
        font-size: 10px;
    }

    .wb-reaction-total {
        width: 100%;
        margin: 3px 0 0;
    }

    .wb-emoji-picker {
        gap: 6px;
    }

    .wb-emoji-button {
        min-width: 38px;
        padding: 6px;
    }

    .wb-comments-panel {
        padding: 10px;
    }

    .wb-feed-pagination {
        flex-direction: column;
        align-items: stretch;
    }

    .wb-feed-pagination > .wb-page-btn {
        width: 100%;
    }

    .wb-page-numbers {
        gap: 5px;
    }

    .wb-page-number {
        min-width: 31px;
        padding-inline: 7px;
    }

    .wb-scroll-top {
        right: 13px;
        bottom: 13px;
        width: 41px;
        height: 41px;
    }
}

/* =========================
   REDUCED MOTION
========================= */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}



/* ==========================================
   WORLDBEACON — DARK SOCIAL COMMUNITY
   Facebook-inspired dark interface
========================================== */

.wb-community-section {
    --wb-dark-bg: #18191a;
    --wb-dark-card: #242526;
    --wb-dark-card-hover: #2b2d2f;
    --wb-dark-border: #393a3b;
    --wb-dark-text: #e4e6eb;
    --wb-dark-muted: #b0b3b8;
    --wb-dark-blue: #4599ff;
    --wb-dark-violet: #8b7bff;

    width: 100%;
    margin-top: 30px;
    color: var(--wb-dark-text);
}

/* SECTION HEADER */

.wb-community-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
    padding: 22px 24px;
    border: 1px solid var(--wb-dark-border);
    border-radius: 18px;
    background:
        radial-gradient(
            ellipse at 100% 0%,
            rgba(69, 153, 255, 0.09),
            transparent 48%
        ),
        var(--wb-dark-card);
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.14);
}

.wb-community-heading-copy {
    min-width: 0;
}

.wb-community-eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 11px;
    color: var(--wb-dark-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    line-height: 1.5;
}

.wb-community-live-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: #31c48d;
    box-shadow: 0 0 0 4px rgba(49, 196, 141, 0.12);
}

.wb-community-heading h2 {
    margin: 0;
    color: var(--wb-dark-text);
    font-size: clamp(23px, 3vw, 30px);
    font-weight: 800;
    letter-spacing: -0.7px;
    line-height: 1.3;
}

.wb-community-heading p {
    max-width: 540px;
    margin: 9px 0 0;
    color: var(--wb-dark-muted);
    font-size: 13px;
    line-height: 1.8;
}

/* ALL POSTS BUTTON */

.wb-community-view-all {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 42px;
    padding: 0 15px;
    border: 1px solid rgba(69, 153, 255, 0.3);
    border-radius: 12px;
    background: rgba(69, 153, 255, 0.1);
    color: var(--wb-dark-blue);
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.wb-community-view-all:hover {
    transform: translateY(-1px);
    border-color: rgba(69, 153, 255, 0.6);
    background: rgba(69, 153, 255, 0.17);
}

.wb-community-link-arrow {
    font-size: 17px;
    line-height: 1;
}

/* COMMUNITY NAVIGATION CARDS */

.wb-community-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.wb-community-nav-card {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 13px;
    padding: 16px;
    border: 1px solid var(--wb-dark-border);
    border-radius: 16px;
    background: var(--wb-dark-card);
    color: var(--wb-dark-text);
    text-decoration: none;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.wb-community-nav-card:hover {
    transform: translateY(-2px);
    border-color: #4b5d75;
    background: var(--wb-dark-card-hover);
}

.wb-community-nav-icon {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    border: 1px solid rgba(69, 153, 255, 0.16);
    border-radius: 13px;
    background: rgba(69, 153, 255, 0.12);
    font-size: 21px;
}

.wb-community-nav-events .wb-community-nav-icon {
    border-color: rgba(139, 123, 255, 0.2);
    background: rgba(139, 123, 255, 0.13);
}

.wb-community-nav-copy {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 5px;
}

.wb-community-nav-copy strong {
    color: var(--wb-dark-text);
    font-size: 13px;
    font-weight: 750;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.wb-community-nav-copy small {
    color: var(--wb-dark-muted);
    font-size: 11px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.wb-community-nav-arrow {
    flex: 0 0 auto;
    color: var(--wb-dark-blue);
    font-size: 19px;
    transition: transform 0.2s ease;
}

.wb-community-nav-card:hover .wb-community-nav-arrow {
    transform: translateX(3px);
}

/* FEED WRAPPER */

#community-feed {
    width: 100%;
    min-width: 0;
    color: var(--wb-dark-text);
}

/* MOBILE */

@media (max-width: 640px) {
    .wb-community-section {
        margin-top: 22px;
    }

    .wb-community-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 17px;
        padding: 19px 16px;
        border-radius: 15px;
    }

    .wb-community-heading h2 {
        font-size: 24px;
    }

    .wb-community-heading p {
        font-size: 12px;
    }

    .wb-community-desktop-break {
        display: none;
    }

    .wb-community-view-all {
        width: 100%;
        box-sizing: border-box;
    }

    .wb-community-nav {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        margin-bottom: 16px;
    }

    .wb-community-nav-card {
        padding: 14px;
        border-radius: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wb-community-view-all,
    .wb-community-nav-card,
    .wb-community-nav-arrow {
        transition: none;
    }
}

/* =========================================================
   WORLDBEACON — COMPACT SOCIAL HERO
   Dark / Facebook-style community layout
   ========================================================= */

.wb-hero.wb-hero-social {
    position: relative;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto 28px;
    padding: 24px 28px 18px;
    box-sizing: border-box;

    background:
        radial-gradient(circle at 78% 42%, rgba(70, 90, 255, 0.12), transparent 30%),
        linear-gradient(145deg, #101827 0%, #0d1522 55%, #0b1220 100%);

    border: 1px solid rgba(120, 150, 210, 0.16);
    border-radius: 18px;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.025);

    overflow: hidden;
}


/* ---------------------------------------------------------
   TOP LINE
   --------------------------------------------------------- */

.wb-hero-social .wb-hero-topline {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 18px;
    padding: 7px 13px;

    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(120, 150, 210, 0.12);
    border-radius: 999px;

    color: #9eb8df;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
}

.wb-hero-social .wb-hero-status-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;

    background: #27d69b;
    border-radius: 50%;

    box-shadow:
        0 0 0 3px rgba(39, 214, 155, 0.08),
        0 0 12px rgba(39, 214, 155, 0.4);
}

.wb-hero-social .wb-hero-topline-label {
    color: #b5cced;
}

.wb-hero-social .wb-hero-topline-divider {
    color: #526987;
}

.wb-hero-social .wb-hero-topline-muted {
    color: #7188aa;
}


/* ---------------------------------------------------------
   MAIN CONTENT
   --------------------------------------------------------- */

.wb-hero-social .wb-hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
    align-items: center;
    gap: 24px;

    min-height: 0;
}


/* ---------------------------------------------------------
   LEFT SIDE
   --------------------------------------------------------- */

.wb-hero-social .wb-hero-main {
    min-width: 0;
}

.wb-hero-social .wb-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin-bottom: 9px;

    color: #4da4ff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.wb-hero-social .wb-hero-eyebrow span {
    color: #6e7cff;
    font-size: 13px;
}


/* ---------------------------------------------------------
   HEADLINE
   --------------------------------------------------------- */

.wb-hero-social h1 {
    margin: 0;

    color: #f4f7ff;

    font-size: clamp(34px, 4vw, 54px);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 0.98;
}

.wb-hero-social .wb-gradient-text {
    display: inline-block;

    background: linear-gradient(
        90deg,
        #38a8ff 0%,
        #6677ff 50%,
        #b45cff 100%
    );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}


/* ---------------------------------------------------------
   DESCRIPTION
   --------------------------------------------------------- */

.wb-hero-social .wb-hero-description {
    max-width: 570px;

    margin: 13px 0 17px;

    color: #91a8c9;

    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;
}


/* ---------------------------------------------------------
   MAIN BUTTONS
   --------------------------------------------------------- */

.wb-hero-social .wb-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;

    margin: 0 0 18px;
}

.wb-hero-social .wb-btn {
    min-height: 42px;
    padding: 0 15px;

    border-radius: 10px;

    font-size: 13px;
    font-weight: 700;
    text-decoration: none;

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease;
}

.wb-hero-social .wb-btn:hover {
    transform: translateY(-1px);
}

.wb-hero-social .wb-btn-primary {
    background: linear-gradient(
        135deg,
        #287ff5,
        #386cf2
    );

    border: 1px solid rgba(100, 170, 255, 0.35);

    color: #fff;

    box-shadow:
        0 7px 20px rgba(40, 127, 245, 0.22);
}

.wb-hero-social .wb-btn-primary:hover {
    box-shadow:
        0 10px 26px rgba(40, 127, 245, 0.32);
}

.wb-hero-social .wb-btn-secondary {
    background: rgba(255, 255, 255, 0.025);

    border: 1px solid rgba(86, 143, 225, 0.42);

    color: #bdd1ef;
}

.wb-hero-social .wb-btn-secondary:hover {
    background: rgba(80, 130, 220, 0.08);
    border-color: rgba(100, 165, 255, 0.65);
}

.wb-hero-social .wb-hero-btn-icon {
    margin-right: 6px;
}

.wb-hero-social .wb-hero-btn-arrow {
    margin-left: 9px;
    opacity: 0.85;
}


/* ---------------------------------------------------------
   QUICK LINKS — 3 SOCIAL CARDS
   --------------------------------------------------------- */

.wb-hero-social .wb-hero-quick-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;

    max-width: 700px;
}

.wb-hero-social .wb-hero-quick-link {
    position: relative;

    display: flex;
    align-items: center;
    gap: 9px;

    min-width: 0;
    min-height: 58px;

    padding: 9px 10px;

    box-sizing: border-box;

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

    border: 1px solid rgba(110, 145, 200, 0.13);
    border-radius: 11px;

    color: #dbe7fa;
    text-decoration: none;

    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease;
}

.wb-hero-social .wb-hero-quick-link:hover {
    background: rgba(75, 120, 210, 0.08);
    border-color: rgba(95, 150, 235, 0.35);
    transform: translateY(-1px);
}

.wb-hero-social .wb-hero-quick-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;
    flex: 0 0 32px;

    border-radius: 9px;

    background: rgba(75, 130, 245, 0.13);

    font-size: 15px;
}

.wb-hero-social .wb-quick-region-icon {
    background: rgba(145, 83, 245, 0.14);
}

.wb-hero-social .wb-quick-dashboard-icon {
    background: rgba(30, 195, 170, 0.13);
}

.wb-hero-social .wb-quick-join-icon {
    background: rgba(190, 75, 235, 0.14);
}

.wb-hero-social .wb-hero-quick-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 2px;
}

.wb-hero-social .wb-hero-quick-copy strong {
    overflow: hidden;

    color: #e8f0ff;

    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.wb-hero-social .wb-hero-quick-copy small {
    overflow: hidden;

    color: #7187a8;

    font-size: 9px;
    line-height: 1.25;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.wb-hero-social .wb-hero-quick-arrow {
    margin-left: auto;

    color: #8eb7ef;
    font-size: 15px;
    opacity: 0.85;
}


/* ---------------------------------------------------------
   RIGHT VISUAL
   --------------------------------------------------------- */

.wb-hero-social .wb-hero-visual {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 250px;
    height: 100%;

    isolation: isolate;
}

.wb-hero-social .wb-hero-visual-glow {
    position: absolute;

    width: 230px;
    height: 230px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(48, 119, 255, 0.22) 0%,
            rgba(104, 70, 245, 0.12) 35%,
            transparent 70%
        );

    filter: blur(12px);

    z-index: -2;
}


/* ---------------------------------------------------------
   ORBITS
   --------------------------------------------------------- */

.wb-hero-social .wb-hero-orbit {
    position: absolute;

    width: 250px;
    height: 115px;

    border: 1px solid rgba(64, 129, 255, 0.35);
    border-radius: 50%;

    transform: rotate(-18deg);

    box-shadow:
        0 0 16px rgba(54, 116, 255, 0.08);
}

.wb-hero-social .wb-hero-orbit-one {
    width: 270px;
    height: 118px;
    transform: rotate(-18deg);
}

.wb-hero-social .wb-hero-orbit-two {
    width: 220px;
    height: 265px;
    transform: rotate(62deg);

    border-color: rgba(122, 91, 255, 0.25);
}


/* ---------------------------------------------------------
   GLOBE
   --------------------------------------------------------- */

.wb-hero-social .wb-hero-globe {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 148px;
    height: 148px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 35% 28%,
            rgba(91, 184, 255, 0.75),
            rgba(40, 100, 220, 0.38) 35%,
            rgba(28, 54, 135, 0.75) 68%,
            rgba(11, 20, 48, 0.95) 100%
        );

    border: 1px solid rgba(86, 174, 255, 0.55);

    box-shadow:
        0 0 28px rgba(38, 125, 255, 0.32),
        0 0 65px rgba(85, 83, 255, 0.15),
        inset -18px -15px 35px rgba(10, 18, 65, 0.6);

    z-index: 2;
}

.wb-hero-social .wb-hero-globe-symbol {
    font-size: 82px;
    line-height: 1;

    filter:
        drop-shadow(0 0 12px rgba(75, 165, 255, 0.45));
}


/* ---------------------------------------------------------
   FLOATING ICONS
   --------------------------------------------------------- */

.wb-hero-social .wb-hero-floating-icon {
    position: absolute;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 39px;
    height: 39px;

    border-radius: 50%;

    background: rgba(25, 37, 68, 0.9);

    border: 1px solid rgba(120, 130, 255, 0.45);

    box-shadow:
        0 7px 20px rgba(0, 0, 0, 0.25),
        0 0 18px rgba(88, 102, 255, 0.13);

    font-size: 17px;
    z-index: 4;
}

.wb-hero-social .wb-hero-float-one {
    top: 19%;
    right: 15%;
}

.wb-hero-social .wb-hero-float-two {
    top: 30%;
    right: 4%;
}

.wb-hero-social .wb-hero-float-three {
    bottom: 25%;
    left: 12%;
}


/* ---------------------------------------------------------
   VISUAL CAPTION
   --------------------------------------------------------- */

.wb-hero-social .wb-hero-visual-caption {
    position: absolute;
    bottom: 4px;
    left: 50%;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 6px 11px;

    transform: translateX(-50%);

    background: rgba(12, 23, 43, 0.85);

    border: 1px solid rgba(80, 143, 235, 0.28);
    border-radius: 999px;

    color: #789bd0;

    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.07em;
    white-space: nowrap;
}

.wb-hero-social .wb-hero-caption-dot {
    width: 5px;
    height: 5px;

    background: #3f9cff;
    border-radius: 50%;

    box-shadow: 0 0 8px rgba(63, 156, 255, 0.65);
}


/* ---------------------------------------------------------
   FOOTER TAGLINE
   --------------------------------------------------------- */

.wb-hero-social .wb-hero-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    margin-top: 18px;
    padding-top: 13px;

    border-top: 1px solid rgba(105, 135, 185, 0.12);

    color: #7289ab;

    font-size: 10px;
    font-weight: 600;
}

.wb-hero-social .wb-hero-footer-icon {
    color: #647cff;
    font-size: 12px;
}

.wb-hero-social .wb-hero-footer-divider {
    color: #3f516c;
}


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

@media (max-width: 900px) {

    .wb-hero.wb-hero-social {
        padding: 20px 20px 16px;
    }

    .wb-hero-social .wb-hero-content {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .wb-hero-social .wb-hero-visual {
        min-height: 190px;
        order: -1;
    }

    .wb-hero-social .wb-hero-globe {
        width: 125px;
        height: 125px;
    }

    .wb-hero-social .wb-hero-globe-symbol {
        font-size: 68px;
    }

    .wb-hero-social .wb-hero-orbit-one {
        width: 230px;
    }

    .wb-hero-social .wb-hero-orbit-two {
        height: 220px;
    }

    .wb-hero-social .wb-hero-quick-links {
        max-width: none;
    }
}


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

@media (max-width: 620px) {

    .wb-hero.wb-hero-social {
        margin-bottom: 18px;
        padding: 17px 15px 14px;
        border-radius: 15px;
    }

    .wb-hero-social .wb-hero-topline {
        margin-bottom: 13px;
        padding: 6px 10px;

        font-size: 8px;
    }

    .wb-hero-social .wb-hero-eyebrow {
        margin-bottom: 7px;
        font-size: 8px;
    }

    .wb-hero-social h1 {
        font-size: 32px;
        line-height: 1;
    }

    .wb-hero-social .wb-hero-description {
        margin: 10px 0 14px;

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

    .wb-hero-social .wb-hero-actions {
        gap: 7px;
        margin-bottom: 14px;
    }

    .wb-hero-social .wb-btn {
        min-height: 39px;
        padding: 0 12px;

        font-size: 11px;
    }

    .wb-hero-social .wb-hero-quick-links {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .wb-hero-social .wb-hero-quick-link {
        min-height: 50px;
        padding: 7px 9px;
    }

    .wb-hero-social .wb-hero-quick-icon {
        width: 29px;
        height: 29px;
        flex-basis: 29px;

        font-size: 13px;
    }

    .wb-hero-social .wb-hero-quick-copy strong {
        font-size: 10px;
    }

    .wb-hero-social .wb-hero-quick-copy small {
        font-size: 8px;
    }

    .wb-hero-social .wb-hero-visual {
        min-height: 155px;
    }

    .wb-hero-social .wb-hero-globe {
        width: 105px;
        height: 105px;
    }

    .wb-hero-social .wb-hero-globe-symbol {
        font-size: 57px;
    }

    .wb-hero-social .wb-hero-orbit-one {
        width: 195px;
        height: 90px;
    }

    .wb-hero-social .wb-hero-orbit-two {
        width: 175px;
        height: 190px;
    }

    .wb-hero-social .wb-hero-floating-icon {
        width: 31px;
        height: 31px;
        font-size: 13px;
    }

    .wb-hero-social .wb-hero-float-one {
        top: 8%;
        right: 16%;
    }

    .wb-hero-social .wb-hero-float-two {
        top: 25%;
        right: 3%;
    }

    .wb-hero-social .wb-hero-float-three {
        bottom: 21%;
        left: 9%;
    }

    .wb-hero-social .wb-hero-visual-caption {
        bottom: 0;

        padding: 5px 8px;

        font-size: 7px;
    }

    .wb-hero-social .wb-hero-footer {
        flex-wrap: wrap;
        gap: 6px;

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

        font-size: 8px;
    }
}