:root {
    --bg: #08090b;
    --surface: #111318;
    --surface-2: #191d24;
    --line: rgba(255, 255, 255, 0.12);
    --text: #f7f2ea;
    --muted: #aaa49a;
    --orange: #ff4d18;
    --orange-2: #ff8a3d;
    --green: #40c27a;
}

* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 16% 0%, rgba(255, 77, 24, 0.18), transparent 30rem),
        radial-gradient(circle at 84% 12%, rgba(255, 138, 61, 0.14), transparent 22rem),
        linear-gradient(145deg, #050506 0%, #11141a 46%, #07080a 100%);
    -webkit-tap-highlight-color: transparent;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

a {
    color: inherit;
}

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

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
    background: rgba(5, 6, 8, 0.78);
}

.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: min(1180px, calc(100% - 32px));
    min-height: 76px;
    margin: 0 auto;
}

.brand,
.desktop-nav,
.header-actions,
.profile-pill {
    display: flex;
    align-items: center;
}

.brand {
    gap: 10px;
    text-decoration: none;
    font-weight: 900;
    flex-shrink: 0;
}

.brand-logo {
    display: block;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 10px;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    color: #08090b;
    background: linear-gradient(135deg, var(--orange), var(--orange-2));
    font-family: "Bebas Neue", sans-serif;
    font-size: 24px;
    letter-spacing: 0.03em;
}

.company-name,
.brand-wordmark,
.company-name strong {
    font-family: "Bebas Neue", "Inter", system-ui, sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: 0.075em;
    text-transform: uppercase;
    color: var(--text);
    text-shadow: 0 8px 22px rgba(255, 77, 24, 0.18);
}

.desktop-nav {
    gap: 22px;
}

.approval-badge {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    margin: 0 0 12px;
    padding: 0 12px;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.approval-badge.is-pending {
    color: #1a1208;
    background: #ffb020;
}

.approval-badge.is-approved {
    color: #062114;
    background: #40c27a;
}

.approval-badge.is-live {
    color: #fff;
    background: #ff4d18;
}

.next-stream-line,
.watch-hint {
    color: var(--muted);
}

.watch-party {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.watch-party-head,
.watch-form {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.watch-messages {
    max-height: 240px;
    overflow: auto;
    margin: 12px 0;
    display: grid;
    gap: 8px;
}

.watch-messages p { margin: 0; }

.watch-form input {
    flex: 1;
    min-width: 180px;
    min-height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.14);
    background: #111318;
    color: var(--text);
    padding: 0 12px;
}

.help-tip {
    position: relative;
    display: inline-flex;
    vertical-align: middle;
}

.help-tip > button {
    width: 1.3rem;
    height: 1.3rem;
    margin-left: 0.35rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.help-tip-body {
    display: none;
    position: absolute;
    z-index: 6;
    left: 0;
    top: 1.7rem;
    width: min(280px, 70vw);
    padding: 0.75rem 0.85rem;
    border-radius: 12px;
    background: #1b1e24;
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.4;
}

.help-tip.is-open .help-tip-body,
.help-tip:focus-within .help-tip-body {
    display: block;
}

.need-help { color: var(--muted); }

.guide h2 { margin-top: 2rem; }
.guide-grid, .install-form .form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}
.guide label, .install-form label { display: grid; gap: 6px; margin: 10px 0; }
.guide input, .guide textarea, .guide select,
.install-form input, .install-form textarea, .install-form select {
    width: 100%;
    min-height: 42px;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: #111318;
    color: var(--text);
}
.faq dt { font-weight: 800; margin-top: 1rem; }
.faq dd { margin: 0.25rem 0 0; color: var(--muted); }
.profile-stream-links { display: flex; flex-wrap: wrap; gap: 10px; }
.golive-progress { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.golive-progress button { background: transparent; color: inherit; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 6px 10px; cursor: pointer; }
.golive-progress .is-current button { background: #ff4d18; color: #140700; border-color: #ff4d18; }
.golive-progress .is-done button { border-color: #40c27a; }
.tier-choice { display: flex; gap: 8px; align-items: flex-start; margin: 8px 0; }
.gear-list { padding-left: 1.1rem; }
#linkPreview, .golive-shell video { width: 100%; max-height: 320px; background: #000; border-radius: 12px; margin-top: 12px; }

.site-root-link {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: lowercase;
    white-space: nowrap;
}

.site-root-link:hover { color: var(--orange-2); }

.page-home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 900;
}

.page-home-button:hover {
    border-color: rgba(255, 138, 61, 0.65);
    color: var(--orange-2);
}

.desktop-nav a,
.dropdown-menu a {
    color: #dcd6cd;
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 800;
}

.desktop-nav a:hover,
.dropdown-menu a:hover {
    color: var(--orange-2);
}

.header-actions {
    gap: 12px;
}

.login-btn,
.menu-btn,
.primary-link,
.secondary-link,
.filter-section button,
.profile-form button,
.profile-image-card button,
#generateStreamKeyBtn,
.home-btn,
.logout-btn {
    min-height: 44px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 900;
}

.login-btn,
.primary-link,
.filter-section button,
.profile-form button,
.profile-image-card button,
#generateStreamKeyBtn,
.home-btn,
.logout-btn {
    padding: 0 18px;
    color: #08090b;
    background: linear-gradient(135deg, var(--orange), var(--orange-2));
    box-shadow: 0 12px 24px rgba(255, 77, 24, 0.2);
    text-decoration: none;
}

.secondary-link,
.menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line);
    text-decoration: none;
}

.menu-button {
    position: relative;
}

.menu-btn {
    display: none;
    width: 46px;
    padding: 0;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 210px;
    display: none;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(17, 19, 24, 0.98);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
}

.dropdown-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px;
}

.profile-pill {
    gap: 8px;
    max-width: 220px;
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #f4eee6;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    font-weight: 800;
}

.profile-pill img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    gap: clamp(24px, 5vw, 64px);
    align-items: end;
    width: min(1180px, calc(100% - 32px));
    min-height: calc(100vh - 76px);
    margin: 0 auto;
    padding: 72px 0;
}

.header-bg {
    position: absolute;
    inset: 24px -6vw auto auto;
    width: min(54vw, 680px);
    height: min(54vw, 680px);
    z-index: -1;
    border-radius: 44px;
    background:
        linear-gradient(135deg, rgba(255, 77, 24, 0.36), rgba(255, 138, 61, 0.08)),
        radial-gradient(circle at 50% 45%, rgba(255,255,255,0.18), transparent 14rem);
    transform: rotate(-7deg);
    filter: saturate(1.2);
}

.hero-content h1,
.section-heading h2,
.contact h2,
.about-description h2,
.course-stream-container h1,
.profile-main-container h1 {
    margin: 0;
    font-family: "Bebas Neue", sans-serif;
    letter-spacing: 0.02em;
}

.hero-content h1 {
    max-width: 820px;
    font-size: clamp(4rem, 12vw, 9.5rem);
    line-height: 0.82;
}

.hero-content p,
.section-heading p,
.about-description p,
.contact p,
.empty-state span,
.operator-panel li {
    color: var(--muted);
    line-height: 1.7;
}

.hero-content > p {
    max-width: 660px;
    font-size: clamp(1rem, 2vw, 1.22rem);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--orange-2);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.primary-link,
.secondary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
}

.hero-card,
.operator-panel,
.card,
.profile-main-container,
.course-stream-container,
.stream-info-card,
.profile-image-card {
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(28, 31, 37, 0.92), rgba(13, 14, 17, 0.96));
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

.hero-card {
    padding: 26px;
    border-radius: 28px;
}

.hero-logo {
    display: block;
    width: min(320px, 72vw);
    height: auto;
    margin-bottom: 22px;
    border-radius: 18px;
    filter: drop-shadow(0 20px 40px rgba(255, 77, 24, 0.28));
}

.hero-card span,
.live-badge {
    color: var(--orange-2);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-card strong {
    display: block;
    margin-top: 14px;
    font-size: 1.55rem;
    line-height: 1.25;
}

.stream-section,
.about-us,
.contact {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 72px 0;
}

.section-heading {
    display: grid;
    gap: 8px;
    max-width: 700px;
    margin-bottom: 24px;
}

.section-heading h2,
.contact h2,
.about-description h2 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 0.9;
}

.filter-section {
    display: grid;
    grid-template-columns: 1fr minmax(160px, 220px) auto;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.05);
}

.filter-section input,
.filter-section select,
.profile-form input[type="text"],
.profile-form textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    outline: none;
    color: var(--text);
    background: rgba(0, 0, 0, 0.24);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 28px;
}

.card {
    overflow: hidden;
    border-radius: 26px;
    transition: transform 0.18s ease, border-color 0.18s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 138, 61, 0.45);
}

.card-link {
    display: grid;
    color: var(--text);
    text-decoration: none;
}

.card-media {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 220px;
    background: linear-gradient(135deg, rgba(255, 77, 24, 0.28), rgba(255, 255, 255, 0.08));
}

.card-media img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-media:not(.card-media-fallback)::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 9, 11, 0.05) 20%, rgba(8, 9, 11, 0.72) 100%);
    pointer-events: none;
    z-index: 1;
}

.card-media .play-button {
    z-index: 2;
}

.card-media-fallback span {
    font-family: "Bebas Neue", sans-serif;
    font-size: 5rem;
    color: rgba(255,255,255,0.86);
}

.play-button {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    color: #08090b;
    background: linear-gradient(135deg, var(--orange), var(--orange-2));
    box-shadow: 0 12px 28px rgba(255, 77, 24, 0.3);
}

.card-content {
    display: grid;
    gap: 8px;
    padding: 20px;
}

.card-content h2 {
    margin: 0;
    font-size: 1.3rem;
}

.card-content p {
    margin: 0;
    color: var(--muted);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.tags span {
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #d9d3ca;
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.82rem;
    font-weight: 800;
}

.empty-state {
    grid-column: 1 / -1;
    display: grid;
    gap: 8px;
    min-height: 180px;
    place-items: center;
    text-align: center;
    border: 1px dashed var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.04);
}

.about-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 28px;
    align-items: stretch;
}

.operator-panel {
    padding: 28px;
    border-radius: 28px;
}

.operator-panel h3 {
    margin: 0 0 12px;
    font-size: 1.5rem;
}

.operator-panel ul {
    display: grid;
    gap: 10px;
    margin: 0 0 22px;
    padding-left: 20px;
}

.contact {
    margin-bottom: 42px;
    padding: 54px;
    border: 1px solid rgba(255, 138, 61, 0.28);
    border-radius: 34px;
    background:
        linear-gradient(135deg, rgba(255, 77, 24, 0.26), rgba(255, 255, 255, 0.04)),
        rgba(255, 255, 255, 0.04);
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.social-links a {
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text);
    text-decoration: none;
    background: rgba(0, 0, 0, 0.2);
    font-weight: 800;
}

.profile-main-container,
.course-stream-container {
    color: var(--text);
}

.profile-form label {
    display: grid;
    gap: 8px;
    color: #d9d3ca;
    font-weight: 800;
}

.profile-form textarea {
    resize: vertical;
}

.profile-images-row,
.profile-fields-row {
    display: flex;
    gap: 20px;
}

.profile-image-card,
.stream-info-card {
    border-radius: 22px;
}

.consumer-dashboard {
    display: grid;
    gap: 20px;
    margin-top: 24px;
}

.mini-list {
    display: grid;
    gap: 10px;
}

.mini-list-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
}

.mini-list-item a {
    color: var(--text);
    text-decoration: none;
    font-weight: 900;
}

.mini-list-item span {
    color: var(--muted);
    font-size: 0.9rem;
}

.mini-list-empty {
    color: var(--muted);
}

.setup-checklist {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
    text-align: left;
}

.setup-check {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    color: #d9d3ca;
    font-weight: 800;
}

.setup-check.done {
    border-color: rgba(64, 194, 122, 0.45);
}

.hardware-guide {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.22);
}

.hardware-guide li,
.hardware-guide p {
    color: var(--muted);
    line-height: 1.6;
}

.profile-img {
    border-radius: 18px;
    border: 1px solid var(--line);
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    padding: 60px 20px;
    background: rgba(0, 0, 0, 0.86);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

#modalVideoPlayer,
#courseStreamPlayer,
#liveStreamPreview {
    width: 100%;
    max-width: 900px;
    border-radius: 20px;
    background: #000;
}

@media (max-width: 920px) {
    .desktop-nav {
        display: none;
    }

    .menu-btn {
        display: inline-flex;
    }

    .hero,
    .about-content {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .filter-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .top-bar,
    .stream-section,
    .about-us,
    .contact,
    .hero {
        width: min(100% - 24px, 560px);
    }

    .profile-pill span,
    .company-name {
        display: none;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .contact {
        padding: 30px 22px;
    }

    .profile-images-row,
    .profile-fields-row {
        flex-direction: column;
    }
}
/* Global Styles */
body {
    margin: 0;
    font-family: "Teko", sans-serif;
    background-color: #121212;
    color: #ffffff;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
    -webkit-tap-highlight-color: transparent;
}

.new-amsterdam-regular {
    font-family: "New Amsterdam", sans-serif;
    font-weight: 400;
    font-style: normal;
  }

  .bebas-neue-regular {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 500;
    font-style: normal;
  }
  
  .teko-newFont {
    font-family: "Teko", sans-serif;
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: normal;
  }
/* Sticky Header */
header {
    background-color: #1e1e1e;
    padding: 10px 0;
}

.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #1e1e1e;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    padding-top: max(10px, env(safe-area-inset-top));
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Top Bar Styling */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Company Name Styling */
.company-name {
    flex-grow: 1;
    text-align: center;
}

/* Login Button Styling */
.login-btn {
    background-color: #f4511e;
    color: white;
    border: none;
    padding: 10px 15px;
    min-height: 44px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 5px;
    margin-right: 40px;
}

.login-btn:hover {
    background-color: #e1401a;
}

/* Menu Button Styling */
.menu-button {
    position: relative;
}

.menu-btn {
    background-color: #f4511e;
    color: white;
    border: none;
    padding: 10px 15px;
    min-width: 44px;
    min-height: 44px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 5px;
}

.menu-btn:hover {
    background-color: #e1401a;
}

/* Dropdown Menu Styling */
.dropdown-menu {
    position: absolute;
    top: 40px;
    left: 0;
    background-color: #1e1e1e;
    border-radius: 5px;
    overflow: hidden;
    display: none;
}

.dropdown-menu ul {
    list-style-type: none;
    margin: 0;
    padding: 10px 0;
}

.dropdown-menu ul li {
    margin: 0;
}

.dropdown-menu ul li a {
    display: block;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
}

.dropdown-menu ul li a:hover {
    background-color: #444;
}

/* Header Content Styling */
.header-content {
    position: relative;
    text-align: center;
    color: white;
    margin-bottom: 40px; /* Add margin to push the content down */
    padding-top: 60px; /* Adjust padding to account for the sticky header */
}


.company-description h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.company-description p {
    font-size: 18px;
    margin: 0;
}

.header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 300px;
    z-index: -1;
    background-size: cover;
    background-position: center;
    transition: background-image 1s ease-in-out, opacity 1s ease-in-out;
    opacity: 1;
}

.fade-in {
    opacity: 1;
}

.fade-out {
    opacity: 1;
}

.header-overlay {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 200px;
    z-index: 1;
    padding: 0px;
}

.company-description {
    width: 50%;
    color: white;
    padding-left: 20px;
}

.company-logo {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.company-logo img {
    max-width: 50%;
    height: auto;
}

/* Divider Styling */
.divider {
    width: 80%;
    margin: 0 auto;
    border-bottom: 2px solid #444;
    margin-bottom: 40px;
}

/* Streams and Filter Section */
.streams-filter-section {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.streams-title {
    font-size: 28px;
    color: white;
    background-color: #f4511e; /* Orange background for the ribbon */
    padding: 10px 20px;
    margin: 0;
    border-radius: 0 10px 10px 0;
    white-space: nowrap;
    position: absolute;
    left: 0;
}

.filter-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background-color: #2a2a2a;
    margin-left: auto;
    width: 100%;
}
.filter-section input,
.filter-section select {
    padding: 10px;
    margin-right: 10px;
    border-radius: 5px;
    border: 1px solid #444;
    background-color: #333;
    color: white;
}

.filter-section button {
    background-color: #f4511e;
    color: white;
    border: none;
    padding: 10px 15px;
    min-height: 44px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 5px;
}

.filter-section button:hover {
    background-color: #e1401a;
}

/* Card Section */
.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 90%;
    margin: 40px auto;
}

@media (max-width: 900px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .card-grid {
        grid-template-columns: 1fr;
        width: 95%;
    }
}

.card {
    position: relative; /* Required for positioning the play button */
    background-color: #1e1e1e;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.2);
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card-content {
    padding: 15px;
}

.card-content h2,
.card-content p {
    color: white; /* Keep the text white */
    text-decoration: none;
    
}

.card-content a {
    text-decoration: none;
}
.card a {
    text-decoration: none !important;
}

.tags {
    display: flex;
    gap: 20px;
}

.tags span {
    background-color: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 16px;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -150%);
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 10px;
    color: white;
    font-size: 24px;
    cursor: pointer;
    width: 56px;
    height: 56px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s ease;
}

.play-button:hover {
    background: rgba(0, 0, 0, 0.7); /* Darker on hover */
}

/* About Us Section */
.about-us {
    display: flex;
    padding: 40px;
    background-color: #2a2a2a;
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: 0 auto;
}

.about-description {
    width: 60%;
    padding-right: 20px;
}

.about-description h2 {
    font-size: 30px;
    margin-bottom: 20px;
}

.about-description p {
    font-size: 20px;
}

/* Contact Section */
.contact {
    padding: 40px;
    text-align: center;
    background: linear-gradient(135deg, #f4511e, #290f08); /* Gradient from orange to darker orange */
    color: white;
}

.contact h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.contact p {
    font-size: 18px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-links a {
    color: white;
    text-decoration: none;
    font-size: 24px;
}

.social-links a img {
    width: 90px;
    height: 40px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.social-links a img:hover {
    transform: scale(1.1);
}


.team-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.team-card {
    display: flex;
    align-items: center;
    background-color: #585858;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 500px;
}

.team-card img {
    border-radius: 20%;
    width: 120px;
    height: 120px;
    object-fit: cover;
    margin-right: 20px;
}

.team-card-content {
    display: flex;
    flex-direction: column;
    color: white;
}

.team-card-content h3 {
    margin: 0;
    font-size: 24px;
}

.team-card-content p {
    margin: 5px 0 0;
    font-size: 18px;
    color: #cccccc;
}

.menu-button {
    position: relative;
}

.menu-btn {
    background-color: #f4511e;
    color: white;
    border: none;
    padding: 10px 15px;
    min-width: 44px;
    min-height: 44px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 5px;
}

.dropdown-menu {
    position: absolute;
    top: 40px;
    left: 0;
    background-color: #1e1e1e;
    border-radius: 5px;
    overflow: hidden;
    display: none; /* Hidden by default */
}

.dropdown-menu ul {
    list-style-type: none;
    margin: 0;
    padding: 10px 0;
}

.dropdown-menu ul li a {
    display: block;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
}

.dropdown-menu ul li a:hover {
    background-color: #444;
}

.profile-main-container {
  max-width: 900px;
  margin: 60px auto 0 auto;
  background: #222;
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}
.profile-images-row {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
}
.profile-image-card {
  flex: 1;
  background: #181818;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}
.profile-img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
  cursor: pointer;
  border: 2px solid #444;
}
.profile-fields-row {
  display: flex;
  gap: 32px;
}
.profile-fields-row > div {
  flex: 1;
}
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
}
.modal-content {
  margin: auto; display: block; max-width: 80vw; max-height: 80vh;
}
.modal-close {
  position: absolute; top: 20px; right: 35px; color: #fff; font-size: 40px; font-weight: bold; cursor: pointer;
}
@media (max-width: 900px) {
  .profile-images-row, .profile-fields-row { flex-direction: column; gap: 16px; }
  .profile-img { width: 100%; height: auto; }
}

.stream-info-card {
    background: #181818;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 32px;
    text-align: center;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* --- For you (homepage) --- */
.for-you-section {
    max-width: 1200px;
    margin: 0 auto 48px;
    padding: 32px 24px;
    background: rgba(17, 19, 24, 0.85);
    border: 1px solid var(--line);
    border-radius: 20px;
}

.for-you-label {
    font-size: 1rem;
    color: var(--orange-2);
    margin: 24px 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.for-you-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.for-you-people {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
}

.for-you-card {
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.for-you-card strong { font-size: 1rem; }
.for-you-card span { color: var(--muted); font-size: 0.88rem; }

.for-you-card-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto;
}

.for-you-invite {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.for-you-invite-row {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 10px;
    margin-top: 10px;
}

.for-you-invite-row input {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: rgba(0,0,0,0.35);
    color: var(--text);
    font: inherit;
}

.for-you-status {
    min-height: 1.2em;
    margin-top: 8px;
    font-size: 0.9rem;
    color: var(--green);
}

@media (max-width: 720px) {
    .for-you-invite-row { grid-template-columns: 1fr; }
}

/* --- Site tour (no dim layer — outline on target only) --- */
body.site-tour-active {
    scroll-behavior: smooth;
}

body.site-tour-active .sticky-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(5, 6, 8, 0.94);
}

.site-tour-focus {
    position: relative;
    z-index: 10001 !important;
    scroll-margin: 120px 24px;
    outline: 3px solid var(--orange);
    outline-offset: 5px;
    border-radius: 12px;
    box-shadow: 0 0 0 1px rgba(255, 138, 61, 0.5), 0 10px 28px rgba(255, 77, 24, 0.2);
}

.site-tour-card {
    position: fixed;
    width: min(360px, calc(100vw - 32px));
    background: #f6f3ee;
    color: #12151b;
    border: 2px solid var(--orange);
    border-radius: 16px;
    padding: 18px 20px;
    z-index: 10002;
    pointer-events: auto;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
}

.site-tour-step {
    margin: 0 0 6px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--orange);
}

.site-tour-card h3 {
    margin: 0 0 8px;
    font-size: 1.25rem;
    color: #12151b;
}

.site-tour-card p {
    margin: 0 0 16px;
    color: #4a4640;
    line-height: 1.5;
}

.site-tour-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.btn-tour-primary,
.btn-tour-ghost {
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    font: inherit;
}

.btn-tour-primary {
    background: linear-gradient(135deg, var(--orange), var(--orange-2));
    color: #fff;
}

.btn-tour-ghost {
    background: transparent;
    color: #6a655c;
}

.onboarding-resume-banner {
    background: rgba(255, 77, 24, 0.12);
    border: 1px solid var(--orange);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.onboarding-resume-banner a {
    color: var(--orange-2);
    font-weight: 700;
}

/* Phases 2–5: directory, social, mobile */
body {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
    padding-bottom: env(safe-area-inset-bottom);
}

.sticky-header .top-bar {
    padding-top: max(12px, env(safe-area-inset-top));
}

.header-icon-link {
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 1.1rem;
    cursor: pointer;
    text-decoration: none;
    padding: 6px 8px;
    position: relative;
}

.notif-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--orange);
    color: #fff;
    font-size: 0.65rem;
    padding: 2px 5px;
    border-radius: 999px;
}

.directory-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 20px;
}

.view-toggle {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-chip {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    cursor: pointer;
    font: inherit;
}

.filter-chip.active {
    border-color: var(--orange);
    background: rgba(255, 77, 24, 0.15);
    color: var(--orange-2);
}

.live-now-lane {
    margin-bottom: 28px;
}

.live-now-track {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.section-heading.compact h3 {
    margin: 0;
    font-size: 1.5rem;
}

.card-skeleton {
    min-height: 280px;
    background: linear-gradient(90deg, rgba(255,255,255,0.04), rgba(255,255,255,0.08), rgba(255,255,255,0.04));
    background-size: 200% 100%;
    animation: skeleton-shine 1.2s ease-in-out infinite;
}

@keyframes skeleton-shine {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

.card-live {
    box-shadow: 0 0 0 1px rgba(255, 77, 24, 0.35);
}

.card-preview-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    pointer-events: none;
}

.card-media {
    position: relative;
    overflow: hidden;
}

.load-more-btn {
    display: block;
    margin: 24px auto 0;
    padding: 12px 28px;
    border-radius: 10px;
    border: 1px solid var(--orange);
    background: transparent;
    color: var(--orange-2);
    font-weight: 700;
    cursor: pointer;
}

.map-view {
    margin-bottom: 24px;
}

.course-map {
    height: 420px;
    border-radius: 16px;
    border: 1px solid var(--line);
    z-index: 1;
}

.activity-section {
    margin-bottom: 40px;
}

.activity-list {
    display: grid;
    gap: 12px;
    margin-bottom: 16px;
}

.activity-item {
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
}

.activity-item time {
    display: block;
    margin-top: 6px;
    font-size: 0.8rem;
    color: var(--muted);
}

.notif-panel {
    position: fixed;
    top: 72px;
    right: 16px;
    width: min(360px, calc(100vw - 32px));
    max-height: 70vh;
    overflow: auto;
    background: #1a1d24;
    border: 1px solid var(--orange);
    border-radius: 14px;
    z-index: 10050;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.notif-panel-header {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
}

.notif-panel-list {
    padding: 12px;
}

.notif-item {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}

.notif-item.unread strong {
    color: var(--orange-2);
}

.page-shell {
    max-width: 1100px;
    margin: 100px auto 48px;
    padding: 0 24px;
}

.messages-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 20px;
    min-height: 480px;
}

.conversation-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.conversation-item {
    text-align: left;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    cursor: pointer;
}

.message-thread {
    border: 1px solid var(--line);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.thread-header {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    font-weight: 700;
}

.message-list {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message-bubble {
    max-width: 75%;
    padding: 10px 14px;
    border-radius: 12px;
    line-height: 1.4;
}

.message-bubble.mine {
    align-self: flex-end;
    background: rgba(255, 77, 24, 0.2);
    border: 1px solid var(--orange);
}

.message-bubble.theirs {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.06);
}

.message-form {
    display: flex;
    gap: 10px;
    padding: 12px;
    border-top: 1px solid var(--line);
}

.message-form input {
    flex: 1;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: #0d0f12;
    color: var(--text);
}

.highlights-section h2 {
    margin-bottom: 8px;
}

@media (max-width: 800px) {
    .messages-layout {
        grid-template-columns: 1fr;
    }
    .directory-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
}

.lv-map-cluster-wrap {
    background: transparent;
    border: none;
}

.lv-map-cluster {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 77, 24, 0.88);
    border: 2px solid #fff;
    color: #fff;
    font-weight: 800;
    font-size: 0.85rem;
    box-shadow: 0 4px 16px rgba(255, 77, 24, 0.45);
}

.bio-shell,
.explore-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 104px 0 64px;
}

.explore-hero {
    padding: 28px 32px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 24px;
}

.explore-hero h1 {
    margin: 8px 0 10px;
    font-size: clamp(2rem, 4vw, 2.8rem);
}

.explore-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.explore-search {
    flex: 1 1 260px;
    max-width: 420px;
}

.explore-search input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
}

.explore-count {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 0.92rem;
}

.explore-grid {
    margin-bottom: 32px;
}

.explore-grid .empty-state,
.explore-empty {
    grid-column: 1 / -1;
}

.explore-golfer-media {
    aspect-ratio: 1;
}

.explore-golfer-media img {
    border-radius: 50%;
    object-fit: cover;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.bio-hero {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 24px;
    align-items: center;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 24px;
}

.bio-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--orange);
}

.bio-avatar.placeholder {
    display: grid;
    place-items: center;
    background: rgba(255, 77, 24, 0.15);
    color: var(--orange-2);
    font-size: 2rem;
    font-weight: 800;
}

.bio-story {
    padding: 24px 28px;
    border: 1px solid var(--line);
    border-radius: 16px;
    line-height: 1.7;
    color: var(--muted);
}

.bio-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin: 20px 0;
}

.bio-meta-card {
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.02);
}

.bio-meta-card strong {
    display: block;
    color: var(--orange-2);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.explore-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.explore-tab {
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--text);
    cursor: pointer;
    font-weight: 700;
}

.explore-tab.active {
    background: linear-gradient(135deg, var(--orange), var(--orange-2));
    border-color: transparent;
    color: #fff;
}

.explore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.explore-card {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
}

.explore-card h3 {
    margin: 0 0 6px;
}

.explore-card p {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 0.92rem;
}

@media (max-width: 640px) {
    .bio-hero {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .explore-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .explore-search {
        max-width: none;
    }
}

/* --- Unified nav active state --- */
.desktop-nav a.nav-active,
.dropdown-menu a.nav-active {
    color: var(--orange-2);
}

/* --- Profile page (modern) --- */
.page-profile {
    background: var(--bg);
}

.profile-shell {
    max-width: 1120px;
    margin: 0 auto;
    padding: 28px 20px 64px;
}

.profile-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
    padding: 28px 28px 24px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 77, 24, 0.12), rgba(17, 19, 24, 0.92));
}

.profile-hero h1 {
    margin: 6px 0 8px;
    font-size: clamp(2rem, 4vw, 2.8rem);
}

.profile-hero .lead {
    color: var(--muted);
    max-width: 540px;
}

.profile-layout {
    display: grid;
    gap: 20px;
}

.profile-panel {
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(17, 19, 24, 0.88);
    padding: 24px;
}

.profile-panel-title {
    margin: 0 0 18px;
    font-size: 1.15rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--orange-2);
}

.profile-media-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.profile-media-card {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.22);
}

.profile-media-label {
    margin: 0;
    font-weight: 800;
    color: #d9d3ca;
}

.profile-media-frame {
    display: block;
    width: 100%;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
    cursor: pointer;
}

.profile-media-frame--avatar {
    max-width: 220px;
    margin: 0 auto;
}

.profile-media-frame .profile-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
    border: none;
    border-radius: 0;
}

.profile-media-btn,
.profile-ghost-btn {
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-weight: 800;
    cursor: pointer;
}

.profile-media-btn {
    padding: 10px 14px;
}

.profile-ghost-btn {
    padding: 10px 16px;
}

.profile-form-modern input[type="text"],
.profile-form-modern input[type="email"],
.profile-form-modern input[type="tel"],
.profile-form-modern input[type="number"],
.profile-form-modern textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.28);
    color: var(--text);
}

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

.profile-span-2 {
    grid-column: 1 / -1;
}

.profile-form-actions,
.profile-stream-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

.profile-save-btn {
    border: none;
    cursor: pointer;
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 800;
}

.profile-status {
    margin: 0;
    color: var(--orange-2);
    font-weight: 700;
}

.profile-hub-panel {
    padding: 24px;
}

.profile-hub-header {
    margin-bottom: 18px;
}

.profile-hub-lead,
.profile-hub-note {
    color: var(--muted);
    margin: 0;
}

.profile-hub-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.profile-hub-card {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
    background: rgba(0, 0, 0, 0.18);
    text-align: left;
}

.profile-hub-card h3 {
    margin: 0 0 12px;
    color: var(--orange-2);
    font-size: 1rem;
}

.profile-hub-card--wide {
    grid-column: 1 / -1;
}

.profile-hub-card--invite .profile-save-btn {
    margin-top: 8px;
}

.profile-stream-meta {
    display: grid;
    gap: 8px;
    margin-bottom: 12px;
    text-align: left;
    color: #d9d3ca;
}

.profile-stream-warning {
    margin-top: 16px;
    color: #ff7a59;
    font-size: 0.92rem;
}

#consumerDashboard:not([hidden]) {
    display: block;
}

@media (max-width: 920px) {
    .profile-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .profile-media-grid,
    .profile-form-grid,
    .profile-hub-grid {
        grid-template-columns: 1fr;
    }

    .profile-span-2,
    .profile-hub-card--wide {
        grid-column: auto;
    }
}


.demo-banner {
  margin: 0 0 18px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 77, 24, 0.45);
  border-radius: 10px;
  color: #ffb199;
  background: rgba(255, 77, 24, 0.08);
}
.course-embed {
  width: 100%;
  max-width: 700px;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #000;
}
