* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(124, 58, 237, 0.25), transparent 30%),
        radial-gradient(circle at top right, rgba(236, 72, 153, 0.22), transparent 28%),
        linear-gradient(180deg, #081120 0%, #0b1324 48%, #111827 100%);
    color: #f8fafc;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

.bg-orb {
    position: fixed;
    border-radius: 999px;
    filter: blur(70px);
    opacity: 0.22;
    z-index: -1;
}

.orb-1 {
    width: 280px;
    height: 280px;
    background: #7c3aed;
    top: 60px;
    left: -60px;
}

.orb-2 {
    width: 240px;
    height: 240px;
    background: #ec4899;
    right: -40px;
    top: 220px;
}

.orb-3 {
    width: 280px;
    height: 280px;
    background: #38bdf8;
    left: 30%;
    bottom: 40px;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 18px 22px;
    backdrop-filter: blur(14px);
    background: rgba(6, 11, 24, 0.68);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-wrap {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}

.logo-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    font-size: 22px;
    font-weight: 700;
    box-shadow: 0 12px 28px rgba(124, 58, 237, 0.38);
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
}

.logo-sub {
    font-size: 12px;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-links a {
    color: #dbe4f0;
    font-weight: 600;
    font-size: 14px;
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 700;
    transition: 0.25s ease;
}

.btn-main {
    color: white;
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    box-shadow: 0 14px 30px rgba(124, 58, 237, 0.35);
}

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

.btn-dark {
    color: white;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
}

.btn-glass {
    color: white;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.14);
    backdrop-filter: blur(14px);
}

.hero {
    padding: 70px 22px 40px;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 34px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    color: #f8fafc;
    font-size: 13px;
    margin-bottom: 18px;
}

.hero-text h1 {
    font-size: 58px;
    line-height: 1.05;
    margin: 0 0 18px;
    max-width: 700px;
}

.hero-text p {
    font-size: 18px;
    line-height: 1.7;
    color: #d6deeb;
    max-width: 650px;
    margin: 0 0 28px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.hero-stats {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.stat-box {
    min-width: 145px;
    padding: 18px 18px;
    border-radius: 18px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(14px);
}

.stat-box strong {
    display: block;
    font-size: 24px;
    margin-bottom: 6px;
}

.stat-box span {
    color: #cbd5e1;
    font-size: 14px;
}

.hero-panel {
    display: flex;
    justify-content: center;
}

.phone-card {
    width: 100%;
    max-width: 400px;
    padding: 16px;
    border-radius: 30px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.10);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}

.phone-top {
    display: flex;
    gap: 6px;
    margin-bottom: 14px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255,255,255,0.5);
}

.reel-preview {
    height: 430px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.55)),
        linear-gradient(135deg, #7c3aed, #ec4899 50%, #38bdf8);
    box-shadow: inset 0 -40px 120px rgba(0,0,0,0.3);
}

.reel-overlay {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 22px;
}

.live-pill {
    display: inline-block;
    padding: 7px 12px;
    border-radius: 999px;
    background: #ef4444;
    color: white;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
}

.reel-overlay h3 {
    margin: 0 0 8px;
    font-size: 22px;
}

.reel-overlay p {
    margin: 0;
    color: #e2e8f0;
    line-height: 1.5;
}

.mini-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 14px;
}

.mini-card {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.08);
}

.mini-card strong {
    display: block;
    margin-bottom: 4px;
}

.mini-card span {
    color: #cbd5e1;
    font-size: 14px;
}

.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 22px 72px;
}

.section-soft {
    padding-top: 14px;
}

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

.section-tag {
    display: inline-block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: #cbd5e1;
    margin-bottom: 10px;
}

.section-head h2,
.section h2 {
    margin: 0;
    font-size: 34px;
}

.section-link {
    color: #ffffff;
    font-weight: 700;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.feature-card {
    min-height: 220px;
    padding: 28px;
    border-radius: 24px;
    color: white;
    box-shadow: 0 20px 40px rgba(0,0,0,0.18);
}

.feature-card h3 {
    margin-top: 0;
    font-size: 24px;
}

.feature-card p {
    color: rgba(255,255,255,0.92);
    line-height: 1.7;
}

.feature-purple {
    background: linear-gradient(135deg, #6d28d9, #a855f7);
}

.feature-pink {
    background: linear-gradient(135deg, #db2777, #f472b6);
}

.feature-blue {
    background: linear-gradient(135deg, #0369a1, #38bdf8);
}

.feature-dark {
    background: linear-gradient(135deg, #0f172a, #334155);
}

.feed-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    gap: 18px;
}

.post-card,
.side-card,
.why-card,
.cta-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(14px);
    border-radius: 24px;
}

.large-post {
    padding: 24px;
}

.post-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.avatar {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    background: linear-gradient(135deg, #7c3aed, #ec4899);
}

.avatar.pink {
    background: linear-gradient(135deg, #ec4899, #fb7185);
}

.avatar.blue {
    background: linear-gradient(135deg, #0ea5e9, #38bdf8);
}

.avatar.purple {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
}

.post-top h4 {
    margin: 0 0 4px;
}

.post-top span {
    color: #cbd5e1;
    font-size: 13px;
}

.large-post h3 {
    margin: 0 0 10px;
    font-size: 28px;
}

.large-post p {
    color: #dbe4f0;
    line-height: 1.7;
}

.post-image {
    height: 270px;
    border-radius: 20px;
    margin: 18px 0;
}

.gradient-one {
    background: linear-gradient(135deg, #7c3aed, #ec4899, #38bdf8);
}

.post-actions {
    display: flex;
    gap: 22px;
    color: #e2e8f0;
    font-weight: 600;
    flex-wrap: wrap;
}

.side-card {
    padding: 22px;
}

.side-card h3 {
    margin-top: 0;
    margin-bottom: 18px;
}

.profile-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.profile-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-item div:last-child {
    display: flex;
    flex-direction: column;
}

.profile-item span {
    color: #cbd5e1;
    font-size: 13px;
    margin-top: 3px;
}

.live-room {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255,255,255,0.05);
    margin-bottom: 14px;
}

.live-room strong {
    display: block;
    margin: 6px 0 8px;
}

.live-room p {
    margin: 0;
    color: #cbd5e1;
    line-height: 1.6;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.why-card {
    padding: 26px;
}

.why-card h3 {
    margin-top: 0;
    font-size: 24px;
}

.why-card p {
    margin-bottom: 0;
    color: #dbe4f0;
    line-height: 1.7;
}

.cta-section {
    padding-bottom: 80px;
}

.cta-card {
    padding: 32px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    background: linear-gradient(135deg, rgba(124,58,237,0.22), rgba(236,72,153,0.18));
}

.cta-card h2 {
    margin: 0 0 12px;
    font-size: 36px;
}

.cta-card p {
    margin: 0;
    color: #dbe4f0;
    max-width: 760px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer {
    border-top: 1px solid rgba(255,255,255,0.08);
    background: rgba(3, 7, 18, 0.65);
    padding: 40px 22px 18px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.7fr 0.7fr;
    gap: 30px;
}

.footer h3,
.footer h4 {
    margin-top: 0;
    color: white;
}

.footer p {
    color: #cbd5e1;
    line-height: 1.7;
}

.footer a {
    display: block;
    color: #dbe4f0;
    margin-bottom: 10px;
}

.footer-copy {
    max-width: 1200px;
    margin: 24px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.06);
    color: #94a3b8;
    font-size: 14px;
}

@media (max-width: 1100px) {
    .hero-inner,
    .feed-grid,
    .feature-grid,
    .apps-grid,
    .why-grid,
    .footer-grid,
    .cta-card {
        grid-template-columns: 1fr;
    }

    .hero-inner {
        display: grid;
    }

    .feed-grid,
    .feature-grid,
    .apps-grid,
    .why-grid {
        display: grid;
    }

    .footer-grid {
        display: grid;
    }

    .cta-card {
        display: block;
    }
}

@media (max-width: 900px) {
    .nav-wrap {
        flex-wrap: wrap;
    }

    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-text h1 {
        font-size: 42px;
    }

    .section-head h2,
    .section h2,
    .cta-card h2 {
        font-size: 28px;
    }
}

@media (max-width: 640px) {
    .navbar {
        padding: 14px;
    }

    .hero {
        padding-top: 40px;
    }

    .hero-text h1 {
        font-size: 34px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .btn {
        width: 100%;
    }

    .hero-buttons,
    .cta-buttons,
    .nav-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .stat-box {
        width: 100%;
    }

    .phone-card {
        max-width: 100%;
    }

    .reel-preview {
        height: 320px;
    }
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.app-card {
    padding: 24px;
    border-radius: 22px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(14px);
    transition: 0.25s ease;
    box-shadow: 0 14px 30px rgba(0,0,0,0.16);
}

.app-card:hover {
    transform: translateY(-6px);
    background: rgba(255,255,255,0.12);
}

.app-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    box-shadow: 0 12px 28px rgba(124, 58, 237, 0.30);
}

.app-card h3 {
    margin: 0 0 10px;
    font-size: 22px;
}

.app-card p {
    margin: 0;
    color: #dbe4f0;
    line-height: 1.7;
}

.auth-shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 22px 90px;
}

.auth-card {
    max-width: 560px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 28px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(16px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.28);
}

.premium-auth-card {
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.06)),
        rgba(8, 15, 35, 0.88);
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: 0 28px 80px rgba(0,0,0,0.36);
}

.auth-wide {
    max-width: 980px;
}

.auth-top h1,
.auth-card h1 {
    margin: 10px 0 12px;
    font-size: 38px;
}

.auth-top p,
.auth-card p {
    margin: 0 0 20px;
    color: #dbe4f0;
    line-height: 1.7;
}

.auth-badge {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: #e2e8f0;
}

.auth-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-block.full {
    grid-column: 1 / -1;
}

.form-block label {
    font-weight: 700;
    color: #f8fafc;
}

.form-block input,
.form-block textarea,
.form-block select {
    width: 100%;
    padding: 14px 15px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.08);
    color: white;
    outline: none;
}

.form-block input::placeholder,
.form-block textarea::placeholder {
    color: #cbd5e1;
}

.form-block small {
    color: #cbd5e1;
    font-size: 12px;
}

.auth-submit {
    width: 100%;
    border: 0;
    cursor: pointer;
    font-size: 16px;
    min-height: 48px;
}

.auth-bottom-links {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.auth-bottom-links a {
    color: #e9d5ff;
    font-weight: 600;
}

.field-error {
    color: #fecaca;
    font-size: 13px;
}

.flash-message {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    color: #fff7ed;
}

.profile-summary {
    display: grid;
    gap: 12px;
    margin: 24px 0;
}

.profile-summary div {
    padding: 14px;
    border-radius: 8px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.10);
}

.profile-summary span {
    display: block;
    margin-bottom: 5px;
    color: #cbd5e1;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.profile-summary strong {
    color: #fff;
    word-break: break-word;
}

.profile-actions {
    align-items: center;
}

@media (max-width: 700px) {
    .auth-form-grid {
        grid-template-columns: 1fr;
    }

    .auth-card {
        padding: 22px;
    }

    .auth-top h1,
    .auth-card h1 {
        font-size: 30px;
    }

    .auth-bottom-links {
        flex-direction: column;
    }
}

.password-wrap {
    display: flex;
    gap: 10px;
    align-items: center;
}

.password-wrap input {
    flex: 1;
}

.show-pass-btn {
    min-width: 74px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.10);
    color: white;
    font-weight: 700;
    cursor: pointer;
}

.dash-box {
    margin: 20px 0 28px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
}

.dash-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.dash-row:last-child {
    border-bottom: 0;
}

/* DASHBOARD */
.dash-shell {
    padding: 30px;
}

.dash-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 20px;
}

.dash-sidebar {
    background: rgba(255,255,255,0.06);
    padding: 20px;
    border-radius: 20px;
    backdrop-filter: blur(12px);
}

.dash-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.dash-brand h2 {
    margin: 0;
}

.dash-brand span {
    font-size: 12px;
    color: #aaa;
}

.dash-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dash-menu a {
    padding: 10px;
    border-radius: 10px;
    color: white;
    text-decoration: none;
    background: rgba(255,255,255,0.05);
}

.dash-menu a.active,
.dash-menu a:hover {
    background: #7c3aed;
}

.dash-main {
    padding: 10px;
}

.dash-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dash-cards {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.dash-card {
    background: rgba(255,255,255,0.07);
    padding: 20px;
    border-radius: 16px;
}

.profile-card p {
    margin: 6px 0;
}

.dash-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dash-buttons button {
    padding: 10px 14px;
    border-radius: 8px;
    border: none;
    background: #ec4899;
    color: white;
    cursor: pointer;
}

@media (max-width: 900px) {
    .dash-grid {
        grid-template-columns: 1fr;
    }
}


/* PREMIUM USER DASHBOARD START */
.premium-dash {
    padding: 26px 18px 70px;
}

.pd-wrap {
    max-width: 1380px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 22px;
}

.pd-wrap.pd-single {
    grid-template-columns: 1fr;
}

.drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(2,6,23,0.72);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}

.drawer-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.menu-drawer {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: min(340px, calc(100vw - 32px));
    height: 100vh;
    padding: 18px;
    border-radius: 0 8px 8px 0;
    background: rgba(15,23,42,0.96);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(16px);
    transform: translateX(-105%);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s ease;
    overflow: auto;
    box-shadow: 0 28px 80px rgba(0,0,0,0.46);
    will-change: transform;
}

.menu-drawer.open {
    transform: translateX(0);
}

.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.drawer-title {
    font-weight: 900;
    font-size: 1rem;
}

.drawer-close {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.08);
    color: white;
    cursor: pointer;
    font-size: 20px;
}

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

.menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    background: rgba(255,255,255,0.055);
    border: 1px solid rgba(255,255,255,0.08);
    transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
    color: #f8fafc;
    cursor: pointer;
    text-align: left;
    font: inherit;
}

.menu-item:hover {
    transform: translateY(-1px);
    background: rgba(255,255,255,0.10);
}

.menu-item.active {
    background: linear-gradient(135deg, rgba(124,58,237,0.35), rgba(236,72,153,0.18));
    border-color: rgba(236,72,153,0.52);
    box-shadow: inset 3px 0 0 #ec4899, 0 12px 28px rgba(124,58,237,0.12);
}

.menu-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.08);
}

.pd-sidebar {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(16px);
    border-radius: 28px;
    padding: 22px;
    position: sticky;
    top: 95px;
    height: fit-content;
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

.pd-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.pd-brand-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    color: white;
    font-weight: 800;
    font-size: 24px;
    box-shadow: 0 14px 32px rgba(124, 58, 237, 0.34);
}

.pd-brand h2 {
    margin: 0;
    color: #fff;
    font-size: 24px;
}

.pd-brand span {
    color: #cbd5e1;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.3px;
}

.pd-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pd-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 15px;
    border-radius: 16px;
    color: #e2e8f0;
    text-decoration: none;
    background: rgba(255,255,255,0.04);
    transition: 0.22s ease;
    font-weight: 700;
}

.pd-nav-link:hover,
.pd-nav-link.active {
    color: white;
    background: linear-gradient(135deg, rgba(124,58,237,0.82), rgba(236,72,153,0.78));
    transform: translateX(3px);
}

.pd-icon {
    width: 24px;
    text-align: center;
}

.pd-main {
    min-width: 0;
}

.pd-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
    padding: 6px 4px;
}

.pd-top-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pd-top-left h1 {
    margin: 0 0 6px;
    font-size: 34px;
    color: #fff;
}

.pd-top-left p {
    margin: 0;
    color: #cbd5e1;
}

.pd-top-right {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.pd-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.08);
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.pd-panel {
    display: none;
}

.pd-panel.active {
    display: block;
}

.pd-hero-card,
.pd-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(16px);
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

.pd-hero-card {
    margin-bottom: 20px;
    background:
        linear-gradient(135deg, rgba(124,58,237,0.22), rgba(236,72,153,0.12)),
        rgba(255,255,255,0.07);
}

.pd-user-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}

.pd-avatar {
    width: 82px;
    height: 82px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    color: white;
    font-size: 34px;
    font-weight: 800;
    box-shadow: 0 16px 34px rgba(124,58,237,0.32);
}

.pd-user-row h3 {
    margin: 0 0 6px;
    font-size: 28px;
    color: white;
}

.pd-user-row span {
    display: block;
    color: #e9d5ff;
    font-weight: 700;
    margin-bottom: 4px;
}

.pd-user-row p {
    margin: 0;
    color: #cbd5e1;
}

.pd-hero-actions,
.pd-section-actions,
.pd-app-grid {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.pd-hero-actions button,
.pd-section-actions button,
.pd-app-grid button,
.pd-wallet-box button {
    border: 0;
    padding: 12px 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    color: white;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(124,58,237,0.24);
}

.pd-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.pd-stat-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 22px;
    padding: 22px;
}

.pd-stat-card span {
    display: block;
    color: #cbd5e1;
    margin-bottom: 10px;
    font-size: 14px;
}

.pd-stat-card strong {
    font-size: 28px;
    color: white;
}

.pd-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 20px;
}

.pd-card h3 {
    margin-top: 0;
    margin-bottom: 18px;
    color: white;
    font-size: 24px;
}

.pd-app-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.pd-app-grid button {
    padding: 16px 12px;
    min-height: 72px;
    text-align: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: none;
}

.pd-app-grid button:hover {
    background: linear-gradient(135deg, #7c3aed, #ec4899);
}

.pd-list-item,
.pd-empty-box {
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.06);
    color: #dbe4f0;
    margin-bottom: 12px;
}

.pd-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}

.pd-info-grid div {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255,255,255,0.05);
}

.pd-info-grid span {
    display: block;
    color: #cbd5e1;
    font-size: 13px;
    margin-bottom: 8px;
}

.pd-info-grid strong {
    color: white;
    font-size: 18px;
}

.pd-wallet-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 20px;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    margin-bottom: 18px;
}

.pd-wallet-box span {
    display: block;
    color: #cbd5e1;
    margin-bottom: 8px;
}

.pd-wallet-box strong {
    font-size: 30px;
    color: white;
}

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

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

    .pd-app-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 920px) {
    .pd-wrap {
        grid-template-columns: 1fr;
    }

    .pd-sidebar {
        position: fixed;
        left: 14px;
        right: 14px;
        top: 84px;
        z-index: 80;
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: 0.22s ease;
    }

    .pd-sidebar.show {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .pd-topbar {
        flex-direction: column;
        align-items: stretch;
    }

    .pd-top-left {
        align-items: flex-start;
    }

    .pd-top-right {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .premium-dash {
        padding: 18px 12px 60px;
    }

    .pd-top-left h1 {
        font-size: 26px;
    }

    .pd-user-row {
        align-items: flex-start;
    }

    .pd-avatar {
        width: 68px;
        height: 68px;
        font-size: 28px;
    }

    .pd-user-row h3 {
        font-size: 24px;
    }

    .pd-stats,
    .pd-info-grid,
    .pd-app-grid {
        grid-template-columns: 1fr;
    }

    .pd-wallet-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .pd-hero-actions,
    .pd-section-actions,
    .pd-top-right {
        flex-direction: column;
    }

    .pd-hero-actions button,
    .pd-section-actions button,
    .pd-wallet-box button,
    .pd-top-right .btn {
        width: 100%;
    }
}
/* PREMIUM USER DASHBOARD END */


.saved-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.saved-post-card {
    padding: 18px;
    border-radius: 20px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
}

.saved-post-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 10px;
}

.saved-post-head strong {
    color: white;
}

.saved-post-head span {
    color: #e9d5ff;
    font-size: 12px;
    font-weight: 700;
}

.saved-post-card p {
    color: #dbe4f0;
    line-height: 1.6;
}

.saved-post-media {
    width: 100%;
    border-radius: 16px;
    margin-top: 12px;
    background: #0f172a;
}

.saved-post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.saved-post-tags span {
    padding: 8px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: rgba(255,255,255,0.08);
    color: white;
}

@media (max-width: 960px) {
    .saved-posts-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .saved-posts-grid {
        grid-template-columns: 1fr;
    }
}


/* PREMIUM POST STUDIO */
.studio-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
    gap: 20px;
    align-items: start;
}

.studio-hero,
.studio-panel,
.studio-preview-panel .pd-card {
    border-radius: 8px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

.studio-hero {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 22px;
    background:
        linear-gradient(135deg, rgba(124,58,237,0.20), rgba(236,72,153,0.12)),
        rgba(255,255,255,0.07);
}

.studio-kicker,
.studio-status-pill,
.studio-section-head span {
    color: #e9d5ff;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.studio-hero h3,
.studio-panel h4,
.studio-analytics h4 {
    margin: 0;
    color: white;
}

.studio-hero p {
    margin: 8px 0 0;
    color: #cbd5e1;
    line-height: 1.55;
}

.studio-status-pill {
    align-self: flex-start;
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.10);
}

.studio-grid {
    display: grid;
    gap: 16px;
}

.studio-panel {
    padding: 18px;
}

.studio-panel-focus {
    border-color: rgba(236,72,153,0.45);
    box-shadow: inset 3px 0 0 #ec4899, 0 18px 40px rgba(0,0,0,0.18);
}

.studio-section-head,
.pd-preview-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.post-type-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.post-type-card,
.audience-grid label {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    background: rgba(255,255,255,0.055);
    color: white;
}

.post-type-card {
    padding: 14px;
    text-align: left;
    cursor: pointer;
    min-height: 94px;
}

.post-type-card strong,
.post-type-card span {
    display: block;
}

.post-type-card strong {
    font-size: 16px;
    margin-bottom: 7px;
}

.post-type-card span {
    color: #cbd5e1;
    font-size: 12px;
    line-height: 1.35;
}

.post-type-card.active,
.post-type-card:hover,
.audience-grid label:has(input:checked) {
    background: linear-gradient(135deg, rgba(124,58,237,0.44), rgba(236,72,153,0.24));
    border-color: rgba(236,72,153,0.52);
}

.studio-fields {
    margin-top: 14px;
}

.pd-form-group.full {
    grid-column: 1 / -1;
}

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

.audience-grid label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    cursor: pointer;
    font-weight: 800;
}

.studio-preview-panel {
    position: sticky;
    top: 96px;
}

.flyer-preview {
    --flyer-text: #ffffff;
    color: var(--flyer-text);
}

.flyer-preview.gradient-violet {
    background: linear-gradient(135deg, rgba(124,58,237,0.78), rgba(236,72,153,0.58));
}

.flyer-preview.gradient-sunset {
    background: linear-gradient(135deg, rgba(236,72,153,0.75), rgba(14,165,233,0.38));
}

.flyer-preview.solid-black {
    background: #020617;
}

.flyer-preview.solid-white {
    background: #f8fafc;
    color: #111827;
}

.flyer-copy {
    display: grid;
    gap: 8px;
    margin-top: 14px;
    padding: 14px;
    border-radius: 8px;
    background: rgba(0,0,0,0.18);
}

.flyer-copy strong {
    font-size: 22px;
}

.flyer-copy em {
    font-style: normal;
    font-weight: 900;
}

.flyer-preview.split .flyer-copy {
    text-align: left;
}

.flyer-preview.centered .flyer-copy {
    text-align: center;
}

.flyer-preview.banner .flyer-copy {
    border-top: 1px solid rgba(255,255,255,0.18);
}

.preview-overlay {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    color: white;
    font-weight: 900;
    text-shadow: 0 2px 12px rgba(0,0,0,0.45);
    pointer-events: none;
}

.pp-media {
    position: relative;
}

.studio-analytics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.studio-analytics h4,
.studio-analytics p {
    grid-column: 1 / -1;
}

.studio-analytics div {
    padding: 12px;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
}

.studio-analytics span {
    display: block;
    color: #cbd5e1;
    font-size: 12px;
}

.studio-analytics strong {
    color: white;
    font-size: 22px;
}

.studio-analytics p {
    margin: 0;
    color: #cbd5e1;
    line-height: 1.45;
}

@media (max-width: 1100px) {
    .studio-shell {
        grid-template-columns: 1fr;
    }

    .studio-preview-panel {
        position: static;
    }

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

@media (max-width: 640px) {
    .studio-hero,
    .studio-section-head,
    .pd-preview-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .post-type-grid,
    .audience-grid {
        grid-template-columns: 1fr;
    }
}


.home-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.home-post-card {
    padding: 20px;
    border-radius: 26px;
    color: white;
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
    border: 1px solid rgba(255,255,255,0.08);
}

.home-post-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.home-post-avatar {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.16);
    font-size: 20px;
    font-weight: 800;
}

.home-post-top strong {
    display: block;
    margin-bottom: 4px;
}

.home-post-top span {
    color: rgba(255,255,255,0.85);
    font-size: 13px;
}

.home-post-card h3 {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.15;
}

.home-post-card p {
    margin: 0 0 14px;
    line-height: 1.7;
    color: rgba(255,255,255,0.94);
}

.home-post-media-wrap {
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255,255,255,0.10);
    margin-bottom: 14px;
    border: 1px solid rgba(255,255,255,0.08);
}

.home-post-media-wrap.cover {
    aspect-ratio: 1 / 1;
}

.home-post-media-wrap.contain {
    aspect-ratio: 1 / 1;
}

.home-post-media-wrap.portrait {
    aspect-ratio: 4 / 5;
}

.home-post-media-wrap.landscape {
    aspect-ratio: 16 / 9;
}

.home-post-media {
    width: 100%;
    height: 100%;
    background: #0f172a;
}

.home-post-media-wrap.cover .home-post-media {
    object-fit: cover;
}

.home-post-media-wrap.contain .home-post-media {
    object-fit: contain;
}

.home-post-media-wrap.portrait .home-post-media,
.home-post-media-wrap.landscape .home-post-media {
    object-fit: cover;
}

.home-post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.home-post-tags span {
    padding: 8px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: rgba(255,255,255,0.16);
    color: white;
}

@media (max-width: 980px) {
    .home-posts-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .home-posts-grid {
        grid-template-columns: 1fr;
    }
}


.live-shell {
    padding: 28px 18px 70px;
}

.live-wrap {
    max-width: 1380px;
    margin: 0 auto;
}

.live-topbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 22px;
}

.live-topbar h1 {
    margin: 10px 0 10px;
    font-size: 40px;
    color: white;
}

.live-topbar p {
    margin: 0;
    color: #dbe4f0;
    line-height: 1.7;
}

.live-top-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.live-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 20px;
}

.live-left,
.live-right {
    min-width: 0;
}

.live-card {
    padding: 24px;
    border-radius: 28px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(16px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
    margin-bottom: 20px;
}

.live-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.live-card-head h3 {
    margin: 0;
    color: white;
    font-size: 24px;
}

.live-status {
    padding: 9px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    color: white;
}

.live-status.off {
    background: #475569;
}

.live-status.on {
    background: #ef4444;
}

.live-status.pause {
    background: #f59e0b;
}

.live-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.live-toggle-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.live-toggle-grid label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255,255,255,0.05);
    color: #e2e8f0;
    font-weight: 600;
}

.live-action-row,
.live-tools-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.live-action-row button,
.live-tools-grid button {
    border: 0;
    padding: 12px 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    color: white;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(124,58,237,0.24);
}

.live-tools-grid button {
    background: rgba(255,255,255,0.08);
    box-shadow: none;
}

.live-preview-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.live-preview-head h3 {
    margin: 0;
    color: white;
}

.live-preview-head span {
    color: #cbd5e1;
    font-size: 13px;
}

.live-preview-frame {
    min-height: 620px;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255,255,255,0.08);
}

.live-preview-overlay {
    min-height: 620px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(180deg, rgba(0,0,0,0.12), rgba(0,0,0,0.32));
}

.live-preview-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.live-room-tag {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.16);
    color: white;
    font-size: 12px;
    font-weight: 700;
}

.live-camera-box {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.live-camera-center {
    max-width: 520px;
}

.live-camera-avatar {
    width: 92px;
    height: 92px;
    margin: 0 auto 18px;
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.18);
    color: white;
    font-size: 38px;
    font-weight: 800;
    box-shadow: 0 16px 34px rgba(0,0,0,0.18);
}

.live-camera-center h3 {
    margin: 0 0 12px;
    font-size: 34px;
    line-height: 1.1;
    color: white;
}

.live-camera-center p {
    margin: 0;
    color: rgba(255,255,255,0.94);
    line-height: 1.7;
}

.live-preview-bottom {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.live-host-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.live-host-row strong {
    display: block;
    color: white;
    margin-bottom: 4px;
}

.live-host-row span {
    color: rgba(255,255,255,0.84);
    font-size: 13px;
}

@media (max-width: 1080px) {
    .live-grid {
        grid-template-columns: 1fr;
    }

    .sticky-preview {
        position: static;
    }
}

@media (max-width: 760px) {
    .live-topbar,
    .live-toggle-grid {
        display: grid;
        grid-template-columns: 1fr;
    }

    .live-top-actions,
    .live-action-row,
    .live-tools-grid {
        flex-direction: column;
    }

    .live-top-actions .btn,
    .live-action-row button,
    .live-tools-grid button {
        width: 100%;
    }

    .live-preview-frame,
    .live-preview-overlay {
        min-height: 480px;
    }

    .live-camera-center h3 {
        font-size: 28px;
    }
}


.live-real-shell {
    padding: 28px 18px 70px;
}

.live-real-wrap {
    max-width: 1380px;
    margin: 0 auto;
}

.live-real-topbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 22px;
}

.live-real-topbar h1 {
    margin: 10px 0 10px;
    font-size: 40px;
    color: white;
}

.live-real-topbar p {
    margin: 0;
    color: #dbe4f0;
    line-height: 1.7;
}

.live-real-top-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.live-real-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 20px;
}

.live-real-left,
.live-real-right {
    min-width: 0;
}

.live-real-card {
    padding: 24px;
    border-radius: 28px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(16px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
    margin-bottom: 20px;
}

.live-real-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.live-real-card-head h3 {
    margin: 0;
    color: white;
    font-size: 24px;
}

.live-real-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.live-real-action-row button,
.live-mini-actions button {
    border: 0;
    padding: 12px 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    color: white;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(124,58,237,0.24);
}

.live-music-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255,255,255,0.05);
}

.live-music-bar strong {
    display: block;
    color: white;
    margin-bottom: 4px;
}

.live-music-bar span {
    color: #cbd5e1;
    font-size: 13px;
}

.live-mini-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width: 1080px) {
    .live-real-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .live-real-topbar {
        flex-direction: column;
    }

    .live-real-top-actions,
    .live-real-action-row,
    .live-mini-actions {
        flex-direction: column;
    }

    .live-real-top-actions .btn,
    .live-real-action-row button,
    .live-mini-actions button {
        width: 100%;
    }

    .live-music-bar {
        flex-direction: column;
        align-items: stretch;
    }
}


.live-permission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}

.live-permission-box {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
}

.live-permission-box strong {
    display: block;
    color: white;
    margin-bottom: 8px;
}

.live-permission-box span {
    color: #cbd5e1;
    font-size: 14px;
}

.live-video-preview {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #020617;
}

.live-location-pill {
    display: inline-block;
    margin-top: 16px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.16);
    color: white;
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 760px) {
    .live-permission-grid {
        grid-template-columns: 1fr;
    }
}


.pd-form-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.live-video-preview {
    transition: transform 0.2s ease, filter 0.2s ease, border-radius 0.2s ease;
    transform-origin: center center;
}

.view360 .live-video-preview {
    border-radius: 999px;
}

.live-real-card .pd-form-group input[type="range"] {
    padding: 0;
    height: 42px;
    background: transparent;
    border: 0;
}

@media (max-width: 980px) {
    .pd-form-grid-4 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .pd-form-grid-4 {
        grid-template-columns: 1fr;
    }
}


.live-single-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 20px;
}

.live-main-stage,
.live-side-panel {
    min-width: 0;
}

.live-stage-frame {
    position: relative;
    min-height: 760px;
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    background: #020617;
    box-shadow: 0 18px 40px rgba(0,0,0,0.22);
}

.live-video-preview {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%) scale(1);
    transition: transform 0.2s ease, filter 0.2s ease;
    background: #020617;
}

.live-overlay-top {
    position: absolute;
    top: 18px;
    left: 18px;
    right: 18px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    z-index: 3;
}

.live-center-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
}

.live-center-card {
    text-align: center;
    max-width: 520px;
    padding: 24px;
    border-radius: 28px;
    background: rgba(0,0,0,0.18);
    backdrop-filter: blur(10px);
}

.live-comments-pop {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 110px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 4;
    pointer-events: none;
}

.comment-bubble {
    max-width: 320px;
    padding: 12px 14px;
    border-radius: 18px;
    font-weight: 700;
    font-size: 14px;
    color: white;
    background: rgba(15,23,42,0.82);
    border: 1px solid rgba(255,255,255,0.08);
    opacity: 0;
    transform: translateY(12px);
    transition: 0.35s ease;
}

.comment-bubble.show {
    opacity: 1;
    transform: translateY(0);
}

.comment-bubble.host {
    background: linear-gradient(135deg, rgba(124,58,237,0.92), rgba(236,72,153,0.88));
    align-self: flex-end;
}

.comment-bubble.user {
    align-self: flex-start;
}

.live-overlay-bottom {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.live-chat-input-row {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border-radius: 18px;
    background: rgba(10,14,25,0.75);
    backdrop-filter: blur(12px);
}

.live-chat-input-row input {
    flex: 1;
    padding: 14px 15px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.08);
    color: white;
    outline: none;
}

.live-chat-input-row button {
    border: 0;
    padding: 12px 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    color: white;
    font-weight: 700;
    cursor: pointer;
}

.live-compact-menu {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.live-menu-box {
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
}

.live-menu-box summary {
    list-style: none;
    cursor: pointer;
    padding: 16px 18px;
    font-weight: 800;
    color: white;
    background: rgba(255,255,255,0.06);
}

.live-menu-box summary::-webkit-details-marker {
    display: none;
}

.live-menu-content {
    padding: 16px;
}

@media (max-width: 1180px) {
    .live-single-layout {
        grid-template-columns: 1fr;
    }

    .live-stage-frame {
        min-height: 640px;
    }
}

@media (max-width: 760px) {
    .live-stage-frame {
        min-height: 560px;
    }

    .live-chat-input-row {
        flex-direction: column;
    }

    .live-chat-input-row button {
        width: 100%;
    }

    .comment-bubble {
        max-width: 90%;
    }
}


.live-stage-frame {
    min-height: 760px;
}

.live-video-preview {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    object-fit: cover;
    object-position: center center;
    transform: translate(-50%, -50%) scale(1);
    background: #020617;
}

.live-inside-controls {
    position: absolute;
    top: 76px;
    right: 18px;
    z-index: 6;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.inside-live-btn {
    border: 0;
    padding: 12px 16px;
    border-radius: 14px;
    background: rgba(15,23,42,0.78);
    color: white;
    font-weight: 800;
    cursor: pointer;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.08);
}

.inside-live-btn.main {
    background: linear-gradient(135deg, #7c3aed, #ec4899);
}

.live-inside-panel {
    position: absolute;
    top: 126px;
    right: 18px;
    width: 360px;
    max-width: calc(100% - 36px);
    padding: 16px;
    border-radius: 22px;
    background: rgba(9,13,24,0.84);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.08);
    z-index: 7;
    display: none;
}

.live-inside-panel.show {
    display: block;
}

.live-inside-panel h4 {
    margin: 0 0 14px;
    color: white;
    font-size: 18px;
}

.live-center-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 3;
}

.live-center-card {
    text-align: center;
    max-width: 520px;
    padding: 24px;
    border-radius: 28px;
    background: rgba(0,0,0,0.18);
    backdrop-filter: blur(10px);
}

.live-comments-pop {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 120px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 5;
    pointer-events: none;
}

.comment-bubble {
    max-width: 320px;
    padding: 12px 14px;
    border-radius: 18px;
    font-weight: 700;
    font-size: 14px;
    color: white;
    background: rgba(15,23,42,0.82);
    border: 1px solid rgba(255,255,255,0.08);
    opacity: 0;
    transform: translateY(12px);
    transition: 0.35s ease;
}

.comment-bubble.show {
    opacity: 1;
    transform: translateY(0);
}

.comment-bubble.host {
    background: linear-gradient(135deg, rgba(124,58,237,0.92), rgba(236,72,153,0.88));
    align-self: flex-end;
}

.comment-bubble.user {
    align-self: flex-start;
}

@media (max-width: 900px) {
    .live-inside-controls {
        left: 18px;
        right: 18px;
    }

    .live-inside-panel {
        left: 18px;
        right: 18px;
        width: auto;
    }
}


.device-status-strip {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 14px;
}

.device-status-strip span,
.stat-chip {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.16);
    color: white;
    font-size: 12px;
    font-weight: 700;
}

.live-inline-btn {
    width: 100%;
}

.broadcast-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 20px;
}

.broadcast-stage,
.broadcast-side {
    min-width: 0;
}

.broadcast-top-right-stats {
    position: absolute;
    top: 76px;
    left: 18px;
    z-index: 6;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.broadcast-guest-grid {
    position: absolute;
    top: 130px;
    right: 18px;
    width: 260px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    z-index: 6;
}

.guest-box {
    min-height: 74px;
    border-radius: 16px;
    background: rgba(9,13,24,0.72);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.08);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

@media (max-width: 1180px) {
    .broadcast-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .broadcast-guest-grid {
        position: static;
        width: 100%;
        margin: 16px auto 0;
    }

    .broadcast-top-right-stats {
        top: auto;
        bottom: 190px;
    }
}

/* PREMIUM MESSAGING */
.messages-shell {
    display: grid;
    grid-template-columns: minmax(260px, 0.36fr) minmax(0, 1fr);
    gap: 18px;
    min-height: 680px;
}

.chat-list-panel,
.chat-thread-panel {
    border-radius: 8px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(16px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
    min-width: 0;
}

.chat-list-panel {
    padding: 16px;
}

.chat-list-head,
.chat-thread-head,
.compose-actions,
.message-meta,
.message-actions,
.compose-state {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-list-head {
    justify-content: space-between;
    margin-bottom: 14px;
}

.chat-list-head h3,
.chat-thread-head h3 {
    margin: 0;
    color: white;
}

.chat-list-head p,
.chat-thread-head p {
    margin: 4px 0 0;
    color: #cbd5e1;
    font-size: 13px;
}

.chat-count,
.unread-badge {
    min-width: 26px;
    height: 26px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    color: white;
    font-size: 12px;
    font-weight: 800;
}

.chat-start-box {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
}

.chat-start-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 10px;
}

.chat-start-title span,
.chat-list-title {
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.chat-start-title small {
    color: #94a3b8;
    font-size: 12px;
}

.chat-start-box select,
.message-compose textarea {
    width: 100%;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 8px;
    background: rgba(8,13,26,0.86);
    color: white;
    padding: 12px;
    outline: none;
}

.member-quick-list {
    display: grid;
    gap: 8px;
    max-height: 210px;
    overflow: auto;
    padding-right: 2px;
}

.member-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px;
    border-radius: 8px;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.07);
    color: white;
    font-weight: 800;
}

.member-chip:hover {
    background: rgba(255,255,255,0.09);
}

.chat-list-title {
    margin: 16px 0 10px;
}

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

.chat-list-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 8px;
    color: white;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.07);
}

.chat-list-item.active,
.chat-list-item:hover {
    background: linear-gradient(135deg, rgba(124,58,237,0.30), rgba(236,72,153,0.16));
    border-color: rgba(236,72,153,0.36);
}

.chat-avatar {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    color: white;
    font-weight: 900;
}

.chat-avatar.large {
    width: 54px;
    height: 54px;
}

.chat-avatar.small {
    width: 30px;
    height: 30px;
    font-size: 12px;
}

.chat-list-copy {
    min-width: 0;
}

.chat-list-copy strong,
.chat-list-copy small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-list-copy small,
.chat-empty-list span {
    color: #cbd5e1;
    margin-top: 3px;
}

.chat-empty-list,
.chat-empty-thread {
    padding: 24px;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    color: #cbd5e1;
}

.chat-empty-list strong,
.chat-empty-thread h3 {
    display: block;
    margin: 0 0 8px;
    color: white;
}

.chat-thread-panel {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
}

.chat-thread-head {
    padding: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.chat-thread-title {
    min-width: 0;
}

.mobile-chat-back {
    display: none;
    color: #bfdbfe;
    font-weight: 900;
    white-space: nowrap;
}

.chat-thread {
    padding: 18px;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.message-bubble {
    max-width: min(680px, 84%);
    border-radius: 8px;
    padding: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.07);
}

.message-bubble.mine {
    align-self: flex-end;
    background: linear-gradient(135deg, rgba(124,58,237,0.72), rgba(236,72,153,0.62));
}

.message-bubble.theirs {
    align-self: flex-start;
}

.message-meta {
    flex-wrap: wrap;
    font-size: 12px;
    color: #dbeafe;
    margin-bottom: 8px;
}

.message-meta span,
.message-meta em {
    color: #cbd5e1;
    font-style: normal;
}

.message-bubble p {
    margin: 0;
    line-height: 1.5;
    color: white;
    word-break: break-word;
}

.deleted-message {
    color: #cbd5e1 !important;
    font-style: italic;
}

.reply-preview,
.compose-state {
    border-radius: 8px;
    background: rgba(8,13,26,0.45);
    border: 1px solid rgba(255,255,255,0.10);
    color: #e2e8f0;
    padding: 8px 10px;
    margin-bottom: 8px;
    font-size: 13px;
}

.attachment-preview {
    margin-top: 10px;
}

.attachment-preview img,
.attachment-preview video,
.compose-preview img,
.compose-preview video {
    display: block;
    max-width: 100%;
    max-height: 280px;
    border-radius: 8px;
    background: #020617;
}

.attachment-preview a {
    color: #bfdbfe;
    font-weight: 800;
}

.message-actions {
    margin-top: 10px;
    flex-wrap: wrap;
}

.message-actions form {
    margin: 0;
    display: inline-flex;
}

.message-actions button,
.emoji-row button,
.compose-state button,
.compose-actions button,
.attach-btn {
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    color: white;
    cursor: pointer;
    padding: 8px 10px;
    font-weight: 800;
}

.message-compose {
    display: grid;
    gap: 10px;
    padding: 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
    background: rgba(8,13,26,0.52);
}

.compose-state {
    justify-content: space-between;
    margin: 0;
}

.composer-bar {
    display: grid;
    grid-template-columns: auto auto auto auto auto minmax(0, 1fr) auto;
    align-items: end;
    gap: 8px;
    padding: 8px;
    border-radius: 8px;
    background: rgba(255,255,255,0.055);
    border: 1px solid rgba(255,255,255,0.08);
}

.composer-bar textarea {
    min-height: 42px;
    max-height: 140px;
    resize: none;
    border: 0;
    background: rgba(8,13,26,0.76);
}

.tool-btn,
.send-btn {
    min-height: 42px;
}

.tool-btn.muted {
    opacity: 0.58;
}

.emoji-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.compose-preview {
    padding: 10px;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    color: #cbd5e1;
}

.compose-preview-label {
    margin-bottom: 8px;
    color: white;
    font-weight: 800;
}

.compose-hint {
    color: #94a3b8;
}

.compose-actions {
    justify-content: space-between;
}

.compose-actions button[type="submit"] {
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    min-width: 120px;
}

.attach-btn input {
    display: none;
}

.chat-empty-thread.full {
    margin: 20px;
    align-self: center;
}

@media (max-width: 900px) {
    .messages-shell {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .messages-shell.has-active-chat .chat-list-panel {
        display: none;
    }

    .messages-shell.no-active-chat .chat-thread-panel {
        min-height: 280px;
    }

    .chat-thread-panel {
        min-height: 620px;
    }

    .mobile-chat-back {
        display: inline-flex;
    }

    .chat-thread-head {
        align-items: flex-start;
    }

    .composer-bar {
        grid-template-columns: repeat(5, auto);
    }

    .composer-bar textarea {
        grid-column: 1 / -1;
        order: -1;
    }

    .send-btn {
        min-width: 96px;
    }

    .message-bubble {
        max-width: 94%;
    }
}
