* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #0d0d14;
    color: white;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    padding: 18px 7%;
    background: #0d0d14;
    border-bottom: 1px solid #323247;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.logo span {
    color: #a855f7;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: #bbbbc8;
}

.nav-links a:hover {
    color: white;
}

.nav-buttons {
    display: flex;
    gap: 10px;
}

.main-button,
.outline-button {
    display: inline-block;
    padding: 11px 18px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-weight: bold;
    text-align: center;
}

.main-button {
    background: #a855f7;
    color: white;
}

.main-button:hover {
    background: #7e22ce;
}

.outline-button {
    background: transparent;
    color: white;
    border-color: #44445b;
}

.outline-button:hover {
    background: #222234;
}

.hero {
    min-height: 80vh;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    align-items: center;
    gap: 50px;
    padding: 80px 7%;
    background:
        radial-gradient(
            circle at top left,
            rgba(168, 85, 247, 0.22),
            transparent 35%
        );
}

.hero h1 {
    max-width: 750px;
    margin: 12px 0 20px;
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1.05;
}

.hero-text > p:not(.small-heading) {
    max-width: 650px;
    margin-bottom: 28px;
    color: #bbbbc8;
    font-size: 1.1rem;
}

.small-heading {
    color: #d8b4fe;
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 2px;
}

.featured-card {
    padding: 32px;
    text-align: center;
    background: #171724;
    border: 1px solid #323247;
    border-radius: 20px;
}

.featured-card p {
    margin: 10px 0;
    color: #bbbbc8;
}

.profile-picture,
.small-profile {
    display: grid;
    place-items: center;
    background: linear-gradient(
        135deg,
        #a855f7,
        #3b82f6
    );
    border-radius: 50%;
    font-weight: bold;
}

.profile-picture {
    width: 90px;
    height: 90px;
    margin: 0 auto 18px;
    font-size: 1.5rem;
}

.small-profile {
    width: 55px;
    height: 55px;
    margin-top: -50px;
    margin-bottom: 12px;
    border: 4px solid #171724;
}

.full-button {
    width: 100%;
    margin-top: 18px;
}

.section {
    padding: 80px 7%;
}

.section-title {
    max-width: 700px;
    margin-bottom: 35px;
}

.section-title h2 {
    margin: 8px 0 10px;
    font-size: clamp(2rem, 4vw, 3rem);
}

.section-title > p:not(.small-heading) {
    color: #bbbbc8;
}

.creator-grid,
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.creator-card,
.post-card,
.pricing-card {
    overflow: hidden;
    background: #171724;
    border: 1px solid #323247;
    border-radius: 18px;
}

.creator-cover {
    height: 160px;
}

.purple-cover {
    background: linear-gradient(
        135deg,
        #7c3aed,
        #ec4899
    );
}

.orange-cover {
    background: linear-gradient(
        135deg,
        #f59e0b,
        #ef4444
    );
}

.blue-cover {
    background: linear-gradient(
        135deg,
        #2563eb,
        #06b6d4
    );
}

.creator-information {
    padding: 22px;
}

.creator-information p {
    margin: 8px 0 18px;
    color: #bbbbc8;
}

.creator-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.creator-bottom button {
    padding: 9px 13px;
    color: white;
    background: #a855f7;
    border: none;
    border-radius: 9px;
    font-weight: bold;
}

.dark-section {
    background: #11111b;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.post-image {
    min-height: 230px;
    display: grid;
    place-items: center;
    padding: 20px;
    background: linear-gradient(
        135deg,
        #3b82f6,
        #9333ea
    );
    font-size: 1.4rem;
    font-weight: bold;
}

.post-information {
    padding: 22px;
}

.post-information h3 {
    margin-top: 10px;
}

.post-information p {
    margin: 8px 0 18px;
    color: #bbbbc8;
}

.locked-label,
.free-label {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: bold;
}

.locked-label {
    color: #d8b4fe;
    background: rgba(168, 85, 247, 0.18);
}

.free-label {
    color: #86efac;
    background: rgba(34, 197, 94, 0.18);
}

.pricing-card {
    padding: 28px;
}

.price {
    margin: 12px 0;
    color: white;
    font-size: 2rem;
    font-weight: bold;
}

.pricing-card > p:not(.price) {
    color: #bbbbc8;
}

.featured-price {
    border-color: #a855f7;
    transform: translateY(-10px);
}

footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 28px 7%;
    color: #bbbbc8;
    border-top: 1px solid #323247;
}

footer div {
    display: flex;
    gap: 20px;
}

.popup {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.8);
}

.hidden {
    display: none;
}

.popup-box {
    position: relative;
    width: min(450px, 100%);
    padding: 32px;
    background: #171724;
    border: 1px solid #323247;
    border-radius: 18px;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 16px;
    color: white;
    background: transparent;
    border: none;
    font-size: 2rem;
}

.popup-box form {
    display: grid;
    gap: 8px;
    margin-top: 20px;
}

.popup-box input {
    width: 100%;
    margin-bottom: 10px;
    padding: 12px;
    color: white;
    background: #222234;
    border: 1px solid #44445b;
    border-radius: 9px;
}

.popup-box input:focus {
    outline: 2px solid #a855f7;
    border-color: transparent;
}

#form-message {
    margin-top: 15px;
    color: #d8b4fe;
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
    }

    .creator-grid,
    .pricing-grid,
    .post-grid {
        grid-template-columns: 1fr;
    }

    .featured-price {
        transform: none;
    }
}

@media (max-width: 600px) {
    .navbar {
        align-items: flex-start;
        flex-direction: column;
    }

    footer {
        flex-direction: column;
    }
}

.dashboard-body {
    min-height: 100vh;
    background: #0d0d14;
}

.dashboard-navbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 18px 6%;
    background: #0d0d14;
    border-bottom: 1px solid #323247;
}

.dashboard-links {
    display: flex;
    gap: 25px;
}

.dashboard-links a {
    color: #bbbbc8;
}

.dashboard-links a:hover {
    color: white;
}

.dashboard-main {
    width: min(1200px, 88%);
    margin: 0 auto;
    padding: 60px 0;
}

.dashboard-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 35px;
}

.dashboard-welcome h1 {
    margin: 8px 0;
    font-size: clamp(2rem, 5vw, 3.8rem);
}

.dashboard-welcome h1 span {
    color: #c084fc;
}

.dashboard-welcome > div > p:last-child {
    color: #bbbbc8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 35px;
}

.stat-card {
    padding: 25px;
    background: #171724;
    border: 1px solid #323247;
    border-radius: 16px;
}

.stat-card p {
    color: #bbbbc8;
}

.stat-card h2 {
    margin-top: 8px;
    font-size: 2rem;
}

.dashboard-panel {
    padding: 30px;
    background: #171724;
    border: 1px solid #323247;
    border-radius: 18px;
}

.panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 30px;
}

.panel-heading h2 {
    margin-top: 5px;
    font-size: 2rem;
}

.empty-state {
    padding: 55px 25px;
    text-align: center;
    background: #11111b;
    border: 1px dashed #44445b;
    border-radius: 14px;
}

.empty-state p {
    margin: 8px 0 22px;
    color: #bbbbc8;
}

@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-links {
        display: none;
    }
}

@media (max-width: 600px) {
    .dashboard-navbar,
    .dashboard-welcome,
    .panel-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-main {
        width: min(92%, 1200px);
        padding-top: 35px;
    }
}
/* Upload page form */

#upload-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    max-width: 700px;
    margin-top: 28px;
}

#upload-form label {
    display: block;
    color: white;
    font-weight: 700;
}

#upload-form input[type="text"],
#upload-form textarea,
#upload-form input[type="file"] {
    width: 100%;
    padding: 14px;
    color: white;
    background: #222234;
    border: 1px solid #44445b;
    border-radius: 10px;
    font-size: 1rem;
}

#upload-form input[type="file"] {
    cursor: pointer;
}

#upload-form textarea {
    min-height: 150px;
    resize: vertical;
}

#upload-form .checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

#upload-form .checkbox-row input {
    width: auto;
    margin: 0;
}

#upload-form .main-button {
    width: fit-content;
    min-width: 180px;
    margin-top: 8px;
}

#upload-message {
    margin-top: 18px;
    color: #d8b4fe;
    font-weight: 700;
}
.dashboard-post-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.dashboard-post-card {
    overflow: hidden;
    background: #11111b;
    border: 1px solid #323247;
    border-radius: 14px;
}

.dashboard-post-card {
    overflow: hidden;
    background: #11111b;
    border: 1px solid #323247;
    border-radius: 14px;
    max-width: 650px;
}

.dashboard-post-image {
    width: 100%;
    max-height: 420px;
    display: block;
    object-fit: cover;
}

.dashboard-post-content {
    padding: 22px;
}


.dashboard-post-content {
    padding: 22px;
}

.dashboard-post-content h3 {
    margin: 12px 0 8px;
    font-size: 1.35rem;
}

.dashboard-post-content p {
    margin-bottom: 15px;
    color: #bbbbc8;
}

.dashboard-post-content small {
    color: #8f8fa1;
}

@media (max-width: 700px) {
    .dashboard-post-grid {
        grid-template-columns: 1fr;
    }
}
.delete-post-button {
    margin-top: 16px;
    padding: 10px 14px;
    border: 1px solid #ef4444;
    border-radius: 9px;
    background: transparent;
    color: #fca5a5;
    font-weight: bold;
}

.delete-post-button:hover {
    background: rgba(239, 68, 68, 0.15);
}
.post-buttons{
    display:flex;
    gap:12px;
    margin-top:20px;
}

.edit-post-button{
    background:#6d4aff;
    color:white;
    border:none;
    padding:12px 22px;
    border-radius:8px;
    cursor:pointer;
    font-weight:600;
    transition:.2s;
}

.edit-post-button:hover{
    background:#875eff;
}

.delete-post-button{
    background:transparent;
    color:#ff6b6b;
    border:1px solid #ff6b6b;
    padding:12px 22px;
    border-radius:8px;
    cursor:pointer;
}

.delete-post-button:hover{
    background:#ff6b6b;
    color:white;
}
#edit-post-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    max-width: 700px;
    margin-top: 28px;
}

#edit-post-form label {
    font-weight: 700;
}

#edit-post-form input[type="text"],
#edit-post-form textarea {
    width: 100%;
    padding: 14px;
    color: white;
    background: #222234;
    border: 1px solid #44445b;
    border-radius: 10px;
    font-size: 1rem;
}

#edit-post-form textarea {
    min-height: 150px;
    resize: vertical;
}

#edit-post-form .checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

#edit-post-form .checkbox-row input {
    width: auto;
    margin: 0;
}

#edit-message {
    margin-top: 18px;
    color: #d8b4fe;
    font-weight: 700;
}
/* Public creator profile */

.creator-page {
    width: min(1200px, 90%);
    margin: 0 auto;
    padding: 45px 0 80px;
}

.creator-banner {
    height: 260px;
    border: 1px solid #323247;
    border-radius: 20px;
    background:
        linear-gradient(
            135deg,
            rgba(168, 85, 247, 0.8),
            rgba(59, 130, 246, 0.75)
        );
}

.creator-profile-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 25px;
    margin: -65px 35px 45px;
    padding: 30px;
    background: #171724;
    border: 1px solid #323247;
    border-radius: 18px;
}

.creator-avatar {
    flex-shrink: 0;
    width: 130px;
    height: 130px;
    display: grid;
    place-items: center;
    border: 5px solid #171724;
    border-radius: 50%;
    background:
        linear-gradient(
            135deg,
            #a855f7,
            #3b82f6
        );
    font-size: 2.5rem;
    font-weight: bold;
}

.creator-profile-info {
    flex: 1;
}

.creator-profile-info h1 {
    margin: 5px 0 8px;
    font-size: clamp(2rem, 5vw, 3.2rem);
}

.creator-profile-info > p:not(.small-heading) {
    max-width: 650px;
    margin-bottom: 20px;
    color: #bbbbc8;
}

.creator-posts-section {
    padding: 10px 0;
}

.creator-public-post-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

@media (max-width: 700px) {
    .creator-banner {
        height: 180px;
    }

    .creator-profile-card {
        align-items: flex-start;
        flex-direction: column;
        margin: -45px 15px 35px;
    }

    .creator-avatar {
        width: 100px;
        height: 100px;
    }

    .creator-public-post-grid {
        grid-template-columns: 1fr;
    }
}
/* ---------- Profile Settings ---------- */

#profile-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 700px;
}

#profile-form label {
    font-size: 1rem;
    font-weight: 600;
    color: white;
}

#profile-form input,
#profile-form textarea {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #3a3455;
    background: #232236;
    color: white;
    font-size: 1rem;
}

#profile-form textarea {
    resize: vertical;
    min-height: 140px;
}

#profile-message {
    color: #7cff95;
    font-weight: 600;
}
/* ===========================
   Locked Subscriber Posts
=========================== */

.locked-post-preview{
    position:relative;
    height:320px;
    border-radius:18px;
    overflow:hidden;

    background:
        linear-gradient(
            135deg,
            #8b5cf6,
            #4f7cff
        );

    display:flex;
    justify-content:center;
    align-items:center;
}

.locked-post-overlay{

    width:100%;
    height:100%;

    backdrop-filter:blur(14px);

    background:rgba(13,13,20,.55);

    display:flex;
    flex-direction:column;

    justify-content:center;
    align-items:center;

    text-align:center;

    padding:40px;
}

.locked-post-overlay h3{

    margin-top:20px;
    margin-bottom:12px;

    font-size:2rem;
}

.locked-post-overlay p{

    color:#bdbdd3;

    margin-bottom:25px;
}

.unlock-post-button{

    min-width:220px;
}

.locked-post-overlay::before{

    content:"🔒";

    font-size:64px;

    margin-bottom:15px;
}
.notification-card{
    display:flex;
    gap:20px;
    align-items:flex-start;
    padding:20px;
    margin-bottom:15px;
    border:1px solid #34324d;
    border-radius:14px;
    background:#171724;
}

.notification-icon{
    font-size:28px;
}

.notification-content p{
    margin:0;
    font-size:17px;
}

.notification-content small{
    color:#9b9bb3;
}
/* ===========================
   Like Button
=========================== */

.like-button {
    margin-top: 18px;
    padding: 9px 14px;

    background: transparent;
    color: #ffffff;

    border: 1px solid #3b3b50;
    border-radius: 10px;

    font-size: 1rem;
    cursor: pointer;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.like-button:hover {
    transform: translateY(-2px);
    border-color: #a855f7;
    background: rgba(168, 85, 247, 0.12);
}

.like-button.liked {
    border-color: #a855f7;
    background: rgba(168, 85, 247, 0.16);
}

.like-button:disabled {
    opacity: 0.6;
    cursor: wait;
}

.like-count {
    margin-left: 5px;
}
/* ===========================
   Comments
=========================== */

.comment-section {
    margin-top: 16px;
}

.comment-count {
    margin-bottom: 12px;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 14px;
}

.comment-item {
    padding: 12px;
    border: 1px solid #343448;
    border-radius: 10px;
    background: #13131d;
}

.comment-author {
    display: block;
    margin-bottom: 4px;
}

.comment-item p {
    margin: 4px 0 6px;
}

.comment-item small {
    opacity: 0.7;
}

.delete-comment-button {
    margin-left: 10px;
    padding: 5px 9px;
    border: 1px solid #ef4444;
    border-radius: 7px;
    background: transparent;
    color: #ff6b6b;
    cursor: pointer;
}

.delete-comment-button:hover {
    background: rgba(239, 68, 68, 0.12);
}

.comment-form {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.comment-input {
    flex: 1;
    padding: 12px;
    border: 1px solid #3b3b50;
    border-radius: 9px;
    background: #202034;
    color: white;
}
.messages-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 24px;
}

.messages-card {
    background: #171724;
    border: 1px solid #303047;
    border-radius: 24px;
    padding: 32px;
}

.messages-header {
    margin-bottom: 30px;
}

.messages-header h1 {
    font-size: 42px;
    margin: 8px 0 10px;
}

.messages-header p {
    color: #c8c8dd;
}

.message-list {
    min-height: 250px;
    max-height: 450px;
    overflow-y: auto;
    border: 1px solid #303047;
    border-radius: 18px;
    padding: 20px;
    margin-bottom: 24px;
    background: #10101a;
}

.message-list > div {
    background: #202033;
    border: 1px solid #34344d;
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 12px;
}

.message-form {
    display: grid;
    gap: 18px;
}

.message-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.message-field label {
    font-weight: 700;
}

.message-field input,
.message-field textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #3a3a50;
    background: #11111c;
    color: white;
    font-size: 16px;
}

.message-field input:focus,
.message-field textarea:focus {
    outline: 2px solid #a64df4;
    border-color: transparent;
}

.message-status {
    margin-top: 16px;
    color: #c7b8ff;
}
/* =======================
   Chat Messages
======================= */

#message-list{

    height:450px;

    overflow-y:auto;

    padding:25px;

    border:1px solid rgba(255,255,255,.08);

    border-radius:20px;

    margin-bottom:30px;

    background:#111018;

}

.my-message{

    margin-left:auto;

    max-width:70%;

    background:linear-gradient(
        135deg,
        #a855f7,
        #7c3aed
    );

    padding:15px;

    border-radius:18px;

    margin-bottom:18px;

    color:white;

}

.their-message{

    margin-right:auto;

    max-width:70%;

    background:#242236;

    padding:15px;

    border-radius:18px;

    margin-bottom:18px;

    color:white;

}

.message-name{

    font-size:.8rem;

    font-weight:bold;

    color:#d8b4fe;

    margin-bottom:6px;

}

.message-body{

    font-size:1rem;

    line-height:1.5;

}
/* ==========================
   Messages Layout
========================== */

.messages-layout{
    max-width:1400px;
    margin:40px auto;
    display:grid;
    grid-template-columns:320px 1fr;
    gap:25px;
}

.conversation-list{
    background:#1a1a2d;
    border:1px solid #343454;
    border-radius:20px;
    padding:25px;
}

.conversation-list h2{
    color:white;
    margin-bottom:20px;
}

.conversation-item{
    padding:15px;
    border-radius:12px;
    cursor:pointer;
    transition:.25s;
    margin-bottom:10px;
}

.conversation-item:hover{
    background:#2d2d48;
}

.conversation-item.active{
    background:linear-gradient(90deg,#9d4dff,#a855f7);
}

.chat-window{
    background:#1a1a2d;
    border:1px solid #343454;
    border-radius:20px;
    display:flex;
    flex-direction:column;
    overflow:hidden;
}

#chat-header{
    padding:20px;
    border-bottom:1px solid #343454;
}

.message-list{
    flex:1;
    overflow-y:auto;
    padding:20px;
    display:flex;
    flex-direction:column;
    gap:15px;
    min-height:500px;
}

.message-bubble{
    max-width:70%;
    padding:14px 18px;
    border-radius:18px;
    word-wrap:break-word;
}

.sent {
    align-self: flex-end;
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    color: white;
}

.received {
    align-self: flex-start;
    background: #2f3b52;
    color: white;
}
.message-form{
    padding:20px;
    border-top:1px solid #343454;
}

.message-form textarea{
    width:100%;
    resize:none;
}
.unread-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 22px;
    height: 22px;

    padding: 0 6px;

    margin-left: 8px;

    border-radius: 999px;

    background: #a855f7;
    color: white;

    font-size: 12px;
    font-weight: 700;
}
.conversation-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.conversation-info {
    width: 100%;
}

.conversation-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.last-message {
    margin-top: 4px;
    font-size: 14px;
    opacity: 0.75;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.last-message-time {
    font-size: 12px;
    opacity: 0.65;
    white-space: nowrap;
}
/* =========================
   CHAT BUBBLE COLORS
========================= */

/* YOUR messages - right side */
.message-bubble.sent {
    background: linear-gradient(135deg, #9333ea, #c084fc);
    color: white;
    margin-left: auto;
    margin-right: 20px;
    border-radius: 18px 18px 4px 18px;
}

/* OTHER PERSON'S messages - left side */
.message-bubble.received {
    background: #2d3748;
    color: white;
    margin-right: auto;
    margin-left: 20px;
    border-radius: 18px 18px 18px 4px;
}

/* Time underneath message */
.message-bubble small {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    opacity: 0.8;
}
/* =========================
   DELIVERED / SEEN STATUS
========================= */

.message-status-text {
    font-size: 11px;
    margin-top: 4px;
    opacity: 0.75;
    text-align: right;
    font-weight: 400;
}

.message-bubble.sent .message-status-text {
    color: white;
}
/* =========================
   MESSAGE WRAPPERS
========================= */

.message-wrapper {
    display: flex;
    flex-direction: column;
    margin-bottom: 14px;
}

.sent-wrapper {
    align-items: flex-end;
}

.received-wrapper {
    align-items: flex-start;
}

.sent-wrapper .message-status-text {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 4px;
    margin-right: 22px;
    opacity: 0.9;
}

.message-bubble.sent {
    margin-left: auto;
    margin-right: 20px;
}

.message-bubble.received {
    margin-right: auto;
    margin-left: 20px;
}
/* =========================
   TYPING INDICATOR
========================= */

.typing-indicator {
    min-height: 22px;
    padding: 4px 20px 8px;
    font-size: 13px;
    color: #a855f7;
    font-style: italic;
}
/* =========================
   ONLINE STATUS
========================= */

.online-status {
    margin-top: 4px;
    font-size: 13px;
    color: #9ca3af;
}

.online-status.online {
    color: #22c55e;
}

.online-status.offline {
    color: #9ca3af;
}
/* =========================
   CONINK LIVE PAGE
========================= */

.live-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 45px 25px;
}

.live-card {
    background: #19192d;
    border: 1px solid #343451;
    border-radius: 24px;
    overflow: hidden;
}

.live-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 30px;
}

.live-header h1 {
    font-size: 34px;
    margin: 5px 0 8px;
}

.live-header p {
    margin: 0;
    color: #aaaabd;
}

.section-label {
    color: #a855f7 !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.live-badge {
    background: #29293d;
    color: #aaaabd;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
}

/* VIDEO AREA */

.live-video-container {
    margin: 0 30px;
    min-height: 500px;
    background: #0e0e16;
    border: 1px solid #303047;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.live-placeholder {
    text-align: center;
    padding: 30px;
}

.live-placeholder h2 {
    margin-bottom: 10px;
}

.live-placeholder p {
    color: #9292a5;
}

/* LIVE SETTINGS */

.live-settings {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.live-settings label {
    font-weight: 600;
}

.live-settings input[type="text"] {
    width: 100%;
    box-sizing: border-box;
    padding: 15px 16px;
    border-radius: 10px;
    border: 1px solid #3a3a52;
    background: #101019;
    color: white;
    font-size: 16px;
    outline: none;
}

.live-settings input[type="text"]:focus {
    border-color: #a855f7;
}

.live-checkbox {
    display: flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
}

.live-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: #a855f7;
}

.live-settings .main-button {
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 15px;
    background: linear-gradient(
        90deg,
        #9333ea,
        #a855f7
    );
    color: white;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
}

.live-settings .main-button:hover {
    opacity: 0.9;
}

.live-settings .secondary-button {
    width: 100%;
    border: 1px solid #ef4444;
    border-radius: 12px;
    padding: 15px;
    background: transparent;
    color: #ef4444;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
}

#live-status {
    text-align: center;
    color: #aaaabd;
    margin: 0;
}

/* PHONE */

@media (max-width: 700px) {

    .live-page {
        padding: 20px 12px;
    }

    .live-header {
        padding: 22px;
        align-items: flex-start;
    }

    .live-header h1 {
        font-size: 28px;
    }

    .live-video-container {
        margin: 0 15px;
        min-height: 300px;
    }

    .live-settings {
        padding: 20px;
    }
}
/* =========================
   LIVE VIDEO PREVIEW
========================= */

#live-preview {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    background: black;
}

.live-badge.preview-live {
    background: #7c3aed;
    color: white;
}
[hidden] {
    display: none !important;
}
/* =========================
   LIVE CHAT
========================= */

.live-chat-box {
    margin-top: 20px;
    padding: 18px;
    background: #11111c;
    border: 1px solid #343451;
    border-radius: 14px;
}

.live-chat-box h3 {
    margin-top: 0;
    margin-bottom: 15px;
}

#live-chat-messages {
    min-height: 100px;
    max-height: 220px;
    overflow-y: auto;
    padding: 12px;
    margin-bottom: 12px;
    background: #0d0d16;
    border-radius: 10px;
}

#live-chat-form {
    display: flex;
    gap: 10px;
}

#live-chat-input {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #343451;
    background: #0d0d16;
    color: white;
}

#live-chat-form button {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    background: #a855f7;
    color: white;
    font-weight: 700;
    cursor: pointer;
}
.live-chat-box {
    margin-top: 20px;
    padding: 20px;
    background: #11111c;
    border: 1px solid #343451;
    border-radius: 14px;
    width: 100%;
    box-sizing: border-box;
}

.live-chat-box input {
    padding: 12px;
    background: #0d0d16;
    color: white;
    border: 1px solid #343451;
    border-radius: 8px;
}

.live-chat-box button {
    padding: 12px 20px;
    background: #a855f7;
    color: white;
    border: none;
    border-radius: 8px;
}#viewer-creator-name {
    margin-top: 6px;
    margin-bottom: 4px;
    font-weight: 700;
    color: #c7b8ff;
}
/* ========================================
   CONINK MOBILE RESPONSIVE FIX
======================================== */

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Prevent images and videos from
   becoming wider than the phone */
img,
video {
    max-width: 100%;
    height: auto;
}

/* Prevent forms from going off screen */
input,
textarea,
select,
button {
    max-width: 100%;
}


/* ========================================
   TABLET / PHONE
======================================== */

@media (max-width: 768px) {

    /* NAVIGATION */

    .navbar,
    .dashboard-navbar {
        width: 100%;
        padding: 15px 20px;
        flex-wrap: wrap;
        gap: 15px;
    }

    .nav-links,
    .dashboard-links {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }


    /* MAIN PAGE AREAS */

    main,
    .dashboard-main,
    .account-page {
        width: 100%;
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }


    /* CARDS */

    .dashboard-panel,
    .account-card,
    .dashboard-post-card {
        width: 100%;
        max-width: 100%;
    }


    /* CREATOR GRID */

    .creator-grid {
        grid-template-columns: 1fr;
        width: 100%;
    }


    /* CREATOR SEARCH */

    .creator-search {
        width: 100%;
    }

    .creator-search input {
        width: 100%;
        max-width: 100%;
    }


    /* FORMS */

    form {
        width: 100%;
        max-width: 100%;
    }

    input,
    textarea,
    select {
        width: 100%;
    }


    /* POSTS */

    .dashboard-post-image {
        width: 100%;
        height: auto;
        object-fit: cover;
    }


    /* HEADINGS */

    h1 {
        font-size: 2rem;
        line-height: 1.15;
    }

    h2 {
        font-size: 1.5rem;
    }

}


/* ========================================
   SMALL PHONES
======================================== */

@media (max-width: 480px) {

    .navbar,
    .dashboard-navbar {
        padding: 12px 15px;
    }

    .logo {
        font-size: 1.5rem;
    }

    .nav-links,
    .dashboard-links {
        width: 100%;
        justify-content: flex-start;
        gap: 10px;
    }

    .nav-links a,
    .dashboard-links a {
        font-size: 0.9rem;
    }

    main,
    .dashboard-main {
        padding-left: 12px;
        padding-right: 12px;
    }

    h1 {
        font-size: 1.7rem;
    }

    button,
    .main-button {
        width: 100%;
        max-width: 100%;
    }

}


/* =========================================================
   CONINK NEW HOME PAGE
   SAFE HOMEPAGE OVERRIDES
========================================================= */


/* =========================================================
   HOME BASE
========================================================= */

.home-body {
    background:
        #0b0b12;
    color:
        #ffffff;
}


.home-body main {
    width: 100%;
    padding: 0;
}


.home-navbar {
    min-height: 76px;
    padding:
        16px
        clamp(22px, 6vw, 95px);

    background:
        rgba(11, 11, 18, 0.94);

    backdrop-filter:
        blur(18px);

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.08);
}


.home-navbar .logo {
    font-size:
        1.65rem;
}


.home-navbar .nav-links {
    gap:
        32px;
}


.home-navbar .nav-links a {
    position:
        relative;

    font-size:
        0.95rem;
}


.home-navbar .nav-links a::after {
    content:
        "";

    position:
        absolute;

    left:
        0;

    bottom:
        -8px;

    width:
        0;

    height:
        2px;

    border-radius:
        999px;

    background:
        linear-gradient(
            90deg,
            #a855f7,
            #6366f1
        );

    transition:
        width
        0.2s
        ease;
}


.home-navbar .nav-links a:hover::after {
    width:
        100%;
}



/* =========================================================
   HERO
========================================================= */

.home-hero {
    position:
        relative;

    overflow:
        hidden;

    min-height:
        calc(100vh - 76px);

    padding:
        85px
        clamp(22px, 7vw, 120px)
        90px;

    display:
        flex;

    align-items:
        center;

    background:

        radial-gradient(
            circle
            at 15% 15%,
            rgba(147, 51, 234, 0.28),
            transparent 34%
        ),

        radial-gradient(
            circle
            at 90% 25%,
            rgba(59, 130, 246, 0.17),
            transparent 30%
        ),

        #0b0b12;
}


.home-hero::before {
    content:
        "";

    position:
        absolute;

    inset:
        0;

    pointer-events:
        none;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.022)
            1px,
            transparent
            1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.022)
            1px,
            transparent
            1px
        );

    background-size:
        60px
        60px;

    mask-image:
        linear-gradient(
            to bottom,
            rgba(0,0,0,0.8),
            transparent
        );
}


.home-hero-content {
    position:
        relative;

    z-index:
        2;

    width:
        min(
            1420px,
            100%
        );

    margin:
        0
        auto;

    display:
        grid;

    grid-template-columns:
        minmax(0, 1.1fr)
        minmax(380px, 0.9fr);

    align-items:
        center;

    gap:
        clamp(
            50px,
            7vw,
            110px
        );
}


.home-eyebrow {
    display:
        inline-flex;

    align-items:
        center;

    gap:
        8px;

    padding:
        7px
        12px;

    margin-bottom:
        22px;

    border:
        1px solid
        rgba(192, 132, 252, 0.25);

    border-radius:
        999px;

    background:
        rgba(168, 85, 247, 0.08);

    color:
        #d8b4fe;

    font-size:
        0.72rem;

    font-weight:
        800;

    letter-spacing:
        1.8px;
}


.hero-copy h1 {
    max-width:
        760px;

    margin:
        0;

    font-size:
        clamp(
            3.6rem,
            7vw,
            7rem
        );

    line-height:
        0.94;

    letter-spacing:
        -4px;
}


.hero-copy h1 span {
    background:
        linear-gradient(
            90deg,
            #c084fc,
            #a855f7,
            #6d8cff
        );

    -webkit-background-clip:
        text;

    background-clip:
        text;

    color:
        transparent;
}


.hero-description {
    max-width:
        690px;

    margin:
        30px
        0;

    color:
        #b8b8c9;

    font-size:
        clamp(
            1rem,
            1.5vw,
            1.2rem
        );

    line-height:
        1.75;
}


.hero-actions {
    display:
        flex;

    align-items:
        center;

    flex-wrap:
        wrap;

    gap:
        14px;
}


.hero-primary-button,
.hero-secondary-button {
    min-width:
        175px;

    padding:
        14px
        22px;
}


.hero-features {
    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        12px
        20px;

    margin-top:
        34px;

    color:
        #a9a9bc;

    font-size:
        0.9rem;
}


.hero-feature {
    display:
        flex;

    align-items:
        center;

    gap:
        8px;
}


.hero-feature span {
    display:
        grid;

    place-items:
        center;

    width:
        20px;

    height:
        20px;

    border-radius:
        50%;

    background:
        rgba(168, 85, 247, 0.14);

    color:
        #c084fc;

    font-size:
        0.7rem;

    font-weight:
        bold;
}



/* =========================================================
   HERO SHOWCASE CARD
========================================================= */

.hero-showcase {
    position:
        relative;

    display:
        flex;

    justify-content:
        center;
}


.showcase-glow {
    position:
        absolute;

    width:
        80%;

    height:
        80%;

    top:
        10%;

    left:
        10%;

    border-radius:
        50%;

    background:
        rgba(147, 51, 234, 0.25);

    filter:
        blur(80px);

    pointer-events:
        none;
}


.showcase-card {
    position:
        relative;

    z-index:
        2;

    width:
        min(
            500px,
            100%
        );

    padding:
        clamp(
            28px,
            4vw,
            42px
        );

    border:
        1px solid
        rgba(255,255,255,0.12);

    border-radius:
        28px;

    background:
        linear-gradient(
            145deg,
            rgba(31,31,49,0.97),
            rgba(20,20,33,0.97)
        );

    box-shadow:
        0
        35px
        90px
        rgba(0,0,0,0.42);
}


.showcase-top {
    display:
        flex;

    justify-content:
        space-between;

    align-items:
        center;

    gap:
        20px;

    margin-bottom:
        30px;
}


.showcase-badge {
    color:
        #d8b4fe;

    font-size:
        0.75rem;

    font-weight:
        800;

    letter-spacing:
        2px;
}


.showcase-live {
    padding:
        6px
        10px;

    border-radius:
        999px;

    background:
        rgba(244, 63, 94, 0.12);

    color:
        #fb7185;

    font-size:
        0.72rem;

    font-weight:
        800;
}


.showcase-icon {
    width:
        82px;

    height:
        82px;

    margin-bottom:
        22px;

    display:
        grid;

    place-items:
        center;

    border-radius:
        22px;

    background:
        linear-gradient(
            135deg,
            #a855f7,
            #6366f1
        );

    box-shadow:
        0
        15px
        35px
        rgba(168, 85, 247, 0.3);

    font-size:
        2rem;

    font-weight:
        900;
}


.showcase-card h2 {
    max-width:
        390px;

    margin:
        0
        0
        12px;

    font-size:
        clamp(
            1.8rem,
            3vw,
            2.6rem
        );

    line-height:
        1.1;
}


.showcase-card > p {
    color:
        #adadbf;

    line-height:
        1.7;
}


.showcase-features {
    display:
        grid;

    gap:
        12px;

    margin:
        26px
        0;
}


.showcase-row {
    display:
        flex;

    align-items:
        center;

    gap:
        14px;

    padding:
        14px;

    border:
        1px solid
        rgba(255,255,255,0.06);

    border-radius:
        14px;

    background:
        rgba(255,255,255,0.025);
}


.showcase-row-icon {
    width:
        42px;

    height:
        42px;

    flex-shrink:
        0;

    display:
        grid;

    place-items:
        center;

    border-radius:
        12px;

    background:
        rgba(168, 85, 247, 0.12);
}


.showcase-row strong,
.showcase-row small {
    display:
        block;
}


.showcase-row small {
    margin-top:
        2px;

    color:
        #9090a5;
}


.showcase-button {
    margin-top:
        8px;
}



/* =========================================================
   SHARED HOME SECTION HEADINGS
========================================================= */

.home-section-heading {
    width:
        min(
            1400px,
            100%
        );

    margin:
        0
        auto
        42px;
}


.home-section-heading h2 {
    margin:
        8px
        0
        12px;

    font-size:
        clamp(
            2.1rem,
            4vw,
            3.6rem
        );

    line-height:
        1.08;

    letter-spacing:
        -1.5px;
}


.home-section-heading > div > p:not(.small-heading),
.home-section-heading > p:not(.small-heading) {
    max-width:
        650px;

    color:
        #a9a9bb;
}


.centered-heading {
    text-align:
        center;
}


.centered-heading > p:not(.small-heading) {
    margin:
        0
        auto;
}



/* =========================================================
   HOW IT WORKS
========================================================= */

.home-how-section {
    padding:
        95px
        clamp(22px, 7vw, 120px);

    background:
        #0f0f18;
}


.home-benefit-grid {
    width:
        min(
            1400px,
            100%
        );

    margin:
        0
        auto;

    display:
        grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap:
        18px;
}


.home-benefit-card {
    padding:
        28px;

    border:
        1px solid
        #2d2d41;

    border-radius:
        20px;

    background:
        #161621;

    transition:
        transform
        0.2s
        ease,
        border-color
        0.2s
        ease;
}


.home-benefit-card:hover {
    transform:
        translateY(-5px);

    border-color:
        rgba(168, 85, 247, 0.55);
}


.benefit-icon {
    width:
        52px;

    height:
        52px;

    display:
        grid;

    place-items:
        center;

    margin-bottom:
        20px;

    border-radius:
        14px;

    background:
        rgba(168, 85, 247, 0.13);

    font-size:
        1.3rem;
}


.home-benefit-card h3 {
    margin-bottom:
        8px;

    font-size:
        1.2rem;
}


.home-benefit-card p {
    color:
        #a3a3b5;

    line-height:
        1.65;
}



/* =========================================================
   CREATOR SECTION
========================================================= */

.home-creators-section {
    padding:
        100px
        clamp(22px, 7vw, 120px);

    background:
        #0b0b12;
}


.home-creator-search {
    position:
        relative;

    width:
        min(
            720px,
            100%
        );

    margin:
        0
        0
        40px;
}


.home-creator-search .search-icon {
    position:
        absolute;

    top:
        50%;

    left:
        18px;

    transform:
        translateY(-50%);

    pointer-events:
        none;
}


.home-creator-search input {
    width:
        100%;

    padding:
        17px
        20px
        17px
        52px;

    border:
        1px solid
        #34344a;

    border-radius:
        14px;

    outline:
        none;

    background:
        #151520;

    color:
        white;

    font-size:
        1rem;

    transition:
        border-color
        0.2s
        ease,
        box-shadow
        0.2s
        ease;
}


.home-creator-search input:focus {
    border-color:
        #a855f7;

    box-shadow:
        0
        0
        0
        3px
        rgba(168, 85, 247, 0.12);
}


.home-creator-search input::placeholder {
    color:
        #76768a;
}


.home-creator-grid {
    width:
        min(
            1400px,
            100%
        );
}


.home-creator-grid .creator-card {
    transition:
        transform
        0.2s
        ease,
        border-color
        0.2s
        ease,
        box-shadow
        0.2s
        ease;
}


.home-creator-grid .creator-card:hover {
    transform:
        translateY(-5px);

    border-color:
        rgba(168, 85, 247, 0.55);

    box-shadow:
        0
        20px
        50px
        rgba(0,0,0,0.25);
}


.creator-loading-state {
    grid-column:
        1
        /
        -1;

    min-height:
        180px;

    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    justify-content:
        center;

    gap:
        15px;

    color:
        #8f8fa2;
}


.loading-circle {
    width:
        32px;

    height:
        32px;

    border:
        3px solid
        #2f2f43;

    border-top-color:
        #a855f7;

    border-radius:
        50%;

    animation:
        coninkSpin
        0.8s
        linear
        infinite;
}


@keyframes coninkSpin {
    to {
        transform:
            rotate(360deg);
    }
}



/* =========================================================
   CONTENT SECTION
========================================================= */

.home-content-section {
    padding:
        100px
        clamp(22px, 7vw, 120px);

    background:
        #101019;
}


.content-feature-grid {
    width:
        min(
            1400px,
            100%
        );

    margin:
        0
        auto;

    display:
        grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap:
        22px;
}


.content-feature-card {
    overflow:
        hidden;

    border:
        1px solid
        #303044;

    border-radius:
        22px;

    background:
        #171722;
}


.content-feature-top {
    min-height:
        210px;

    padding:
        25px;

    display:
        flex;

    flex-direction:
        column;

    justify-content:
        space-between;

    font-size:
        0.72rem;

    font-weight:
        800;

    letter-spacing:
        1.5px;
}


.purple-feature {
    background:
        linear-gradient(
            135deg,
            #7c3aed,
            #a855f7
        );
}


.blue-feature {
    background:
        linear-gradient(
            135deg,
            #2563eb,
            #7c3aed
        );
}


.live-feature {
    background:
        linear-gradient(
            135deg,
            #be123c,
            #7c3aed
        );
}


.content-big-icon {
    align-self:
        flex-end;

    font-size:
        4rem;

    line-height:
        1;

    opacity:
        0.9;
}


.content-feature-info {
    padding:
        25px;
}


.content-feature-info h3 {
    margin:
        12px
        0
        8px;

    font-size:
        1.3rem;
}


.content-feature-info p {
    color:
        #a9a9ba;

    line-height:
        1.65;
}


.content-tag {
    display:
        inline-flex;

    padding:
        5px
        9px;

    border-radius:
        999px;

    font-size:
        0.68rem;

    font-weight:
        800;

    letter-spacing:
        1px;
}


.public-tag {
    color:
        #86efac;

    background:
        rgba(34, 197, 94, 0.13);
}


.subscriber-tag {
    color:
        #d8b4fe;

    background:
        rgba(168, 85, 247, 0.13);
}


.live-tag {
    color:
        #fda4af;

    background:
        rgba(244, 63, 94, 0.12);
}



/* =========================================================
   MEMBERSHIP
========================================================= */

.home-membership-section {
    padding:
        105px
        clamp(22px, 7vw, 120px);

    background:
        #0b0b12;
}


.home-pricing-grid {
    width:
        min(
            1400px,
            100%
        );

    margin:
        0
        auto;

    display:
        grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    align-items:
        stretch;

    gap:
        22px;
}


.home-pricing-card {
    position:
        relative;

    display:
        flex;

    flex-direction:
        column;

    min-height:
        520px;

    padding:
        34px;

    border:
        1px solid
        #303045;

    border-radius:
        24px;

    background:
        linear-gradient(
            145deg,
            #181824,
            #14141e
        );

    transition:
        transform
        0.2s
        ease,
        border-color
        0.2s
        ease;
}


.home-pricing-card:hover {
    transform:
        translateY(-5px);

    border-color:
        #52526c;
}


.home-pricing-featured {
    border-color:
        #a855f7;

    box-shadow:
        0
        25px
        60px
        rgba(126, 34, 206, 0.16);
}


.recommended-badge {
    position:
        absolute;

    top:
        0;

    left:
        50%;

    transform:
        translate(
            -50%,
            -50%
        );

    padding:
        7px
        14px;

    border-radius:
        999px;

    background:
        linear-gradient(
            90deg,
            #9333ea,
            #a855f7
        );

    font-size:
        0.68rem;

    font-weight:
        900;

    letter-spacing:
        1px;

    white-space:
        nowrap;
}


.pricing-icon {
    width:
        54px;

    height:
        54px;

    display:
        grid;

    place-items:
        center;

    margin-bottom:
        25px;

    border-radius:
        15px;

    background:
        rgba(168, 85, 247, 0.12);

    color:
        #d8b4fe;

    font-size:
        1.25rem;
}


.pricing-type {
    margin-bottom:
        8px;

    color:
        #c084fc;

    font-size:
        0.74rem;

    font-weight:
        800;

    letter-spacing:
        1.4px;
}


.home-pricing-card h3 {
    font-size:
        1.65rem;

    line-height:
        1.2;
}


.home-price {
    display:
        flex;

    flex-direction:
        column;

    gap:
        2px;

    margin:
        22px
        0;
}


.home-price strong {
    font-size:
        clamp(
            2rem,
            3vw,
            2.7rem
        );

    line-height:
        1.05;
}


.home-price span {
    color:
        #8d8da1;

    font-size:
        0.88rem;
}


.pricing-description {
    min-height:
        55px;

    color:
        #aaaabc;

    line-height:
        1.6;
}


.pricing-features {
    display:
        grid;

    gap:
        12px;

    margin:
        25px
        0
        30px;

    padding:
        0;

    list-style:
        none;

    color:
        #c1c1ce;
}


.pricing-features li {
    padding-bottom:
        12px;

    border-bottom:
        1px solid
        rgba(255,255,255,0.05);
}


.pricing-action {
    margin-top:
        auto;
}



/* =========================================================
   CTA
========================================================= */

.home-cta-section {
    padding:
        30px
        clamp(22px, 7vw, 120px)
        100px;

    background:
        #0b0b12;
}


.home-cta-card {
    width:
        min(
            1400px,
            100%
        );

    margin:
        0
        auto;

    padding:
        clamp(
            35px,
            6vw,
            65px
        );

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        40px;

    overflow:
        hidden;

    position:
        relative;

    border:
        1px solid
        rgba(168, 85, 247, 0.35);

    border-radius:
        28px;

    background:
        linear-gradient(
            135deg,
            rgba(126,34,206,0.22),
            rgba(37,99,235,0.12)
        );
}


.home-cta-card h2 {
    margin:
        7px
        0
        8px;

    font-size:
        clamp(
            2rem,
            4vw,
            3.5rem
        );
}


.home-cta-card > div > p:not(.small-heading) {
    color:
        #b7b7c8;
}


.cta-buttons {
    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        12px;
}



/* =========================================================
   FOOTER
========================================================= */

.home-footer {
    padding:
        48px
        clamp(22px, 7vw, 120px);

    display:
        grid;

    grid-template-columns:
        1fr
        auto;

    align-items:
        start;

    gap:
        35px;

    background:
        #09090f;

    border-top:
        1px solid
        #262638;
}


.footer-brand {
    max-width:
        390px;
}


.footer-brand p {
    margin-top:
        12px;

    color:
        #858599;
}


.footer-links {
    display:
        flex;

    flex-wrap:
        wrap;

    justify-content:
        flex-end;

    gap:
        18px
        25px;
}


.footer-links a {
    color:
        #a6a6b7;
}


.footer-links a:hover {
    color:
        white;
}


.home-footer .copyright {
    grid-column:
        1
        /
        -1;

    margin-top:
        18px;

    padding-top:
        22px;

    border-top:
        1px solid
        #222231;

    color:
        #707083;

    font-size:
        0.88rem;
}



/* =========================================================
   HOME TABLET
========================================================= */

@media (max-width: 1000px) {

    .home-hero {
        min-height:
            auto;
    }


    .home-hero-content {
        grid-template-columns:
            1fr;

        gap:
            60px;
    }


    .hero-copy {
        max-width:
            780px;
    }


    .hero-copy h1 {
        letter-spacing:
            -2px;
    }


    .hero-showcase {
        justify-content:
            flex-start;
    }


    .showcase-card {
        width:
            min(
                650px,
                100%
            );
    }


    .home-benefit-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0,1fr)
            );
    }


    .content-feature-grid {
        grid-template-columns:
            1fr;
    }


    .home-pricing-grid {
        grid-template-columns:
            1fr;
    }


    .home-pricing-card {
        min-height:
            auto;
    }


    .home-pricing-featured {
        order:
            -1;
    }
}



/* =========================================================
   HOME MOBILE
========================================================= */

@media (max-width: 700px) {

    .home-navbar {
        padding:
            13px
            16px;

        flex-direction:
            row;

        align-items:
            center;
    }


    .home-navbar .logo {
        font-size:
            1.4rem;
    }


    .home-navbar .nav-links {
        display:
            none;
    }


    .home-navbar .nav-buttons {
        margin-left:
            auto;
    }


    .home-navbar .nav-buttons a {
        padding:
            9px
            12px;

        font-size:
            0.86rem;
    }


    .home-hero {
        padding:
            60px
            18px
            70px;
    }


    .hero-copy h1 {
        font-size:
            clamp(
                3rem,
                17vw,
                4.6rem
            );

        letter-spacing:
            -2px;
    }


    .hero-description {
        margin:
            24px
            0;
    }


    .hero-actions {
        align-items:
            stretch;

        flex-direction:
            column;
    }


    .hero-actions a {
        width:
            100%;
    }


    .hero-features {
        display:
            grid;

        grid-template-columns:
            1fr
            1fr;
    }


    .showcase-card {
        padding:
            25px;

        border-radius:
            20px;
    }


    .home-how-section,
    .home-creators-section,
    .home-content-section,
    .home-membership-section {
        padding:
            70px
            18px;
    }


    .home-benefit-grid {
        grid-template-columns:
            1fr;
    }


    .home-section-heading {
        margin-bottom:
            30px;
    }


    .home-section-heading h2 {
        font-size:
            2.3rem;
    }


    .home-pricing-card {
        padding:
            28px
            22px;
    }


    .home-cta-section {
        padding:
            15px
            18px
            70px;
    }


    .home-cta-card {
        align-items:
            stretch;

        flex-direction:
            column;

        padding:
            32px
            24px;
    }


    .cta-buttons {
        flex-direction:
            column;
    }


    .cta-buttons a {
        width:
            100%;
    }


    .home-footer {
        grid-template-columns:
            1fr;

        padding:
            38px
            18px;
    }


    .footer-links {
        justify-content:
            flex-start;
    }
}



/* =========================================================
   EXTRA SMALL PHONE
========================================================= */

@media (max-width: 430px) {

    .home-navbar .nav-buttons {
        gap:
            6px;
    }


    .home-navbar .nav-buttons a {
        padding:
            8px
            9px;

        font-size:
            0.78rem;
    }


    .hero-copy h1 {
        font-size:
            3.1rem;
    }


    .hero-features {
        grid-template-columns:
            1fr;
    }


    .showcase-top {
        align-items:
            flex-start;

        flex-direction:
            column;
    }
}
.subscription-plan-box {
    margin: 18px 0;
}

.subscription-plan-box label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.subscription-plan-box select {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #44445b;
    border-radius: 10px;
    background: #222234;
    color: white;
    font-size: 1rem;
}

.subscription-plan-box select:focus {
    outline: 2px solid #a855f7;
    border-color: transparent;
}
.creator-dashboard-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}
/* =========================================================
   CONINK LIVE CHAT - POLISHED FINAL OVERRIDE
   Safe to place at very bottom of style.css
========================================================= */


/* Main live chat card */

.live-chat-box {
    width: 100%;
    margin-top: 20px;
    padding: 22px;

    background: #11111c;

    border: 1px solid #343451;
    border-radius: 16px;

    box-sizing: border-box;
}


/* Live Chat heading */

.live-chat-box h3 {
    margin: 0 0 18px;

    color: #ffffff;

    font-size: 1.15rem;
    font-weight: 700;
}


/* =========================================================
   MESSAGE AREA
========================================================= */

#live-chat-messages,
#creator-live-chat-messages {
    display: flex;
    flex-direction: column;

    gap: 10px;

    min-height: 120px;
    max-height: 320px;

    overflow-y: auto;

    padding: 16px;
    margin-bottom: 16px;

    background: #0d0d16;

    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;

    scroll-behavior: smooth;
}


/* Scroll bar */

#live-chat-messages::-webkit-scrollbar,
#creator-live-chat-messages::-webkit-scrollbar {
    width: 8px;
}


#live-chat-messages::-webkit-scrollbar-track,
#creator-live-chat-messages::-webkit-scrollbar-track {
    background: transparent;
}


#live-chat-messages::-webkit-scrollbar-thumb,
#creator-live-chat-messages::-webkit-scrollbar-thumb {
    background: #343451;
    border-radius: 999px;
}


/* =========================================================
   MESSAGE BUBBLE
========================================================= */

.live-chat-message {
    width: fit-content;
    max-width: 78%;

    padding: 10px 13px;

    background: #242438;

    border: 1px solid #343451;
    border-radius: 14px 14px 14px 4px;

    color: white;

    word-break: break-word;
}


/* Creator's own message */

.live-chat-message.own-message {
    align-self: flex-end;

    background: linear-gradient(
        135deg,
        #9333ea,
        #a855f7
    );

    border-color: transparent;

    border-radius: 14px 14px 4px 14px;
}


/* =========================================================
   USERNAME
========================================================= */

.live-chat-name {
    display: block;

    margin-bottom: 3px;

    color: #d8b4fe;

    font-size: 0.78rem;
    font-weight: 700;
}


.live-chat-message.own-message .live-chat-name {
    color: #ffffff;
}


/* =========================================================
   MESSAGE TEXT
========================================================= */

.live-chat-text {
    margin: 0;

    color: #ffffff;

    font-size: 0.95rem;
    line-height: 1.4;
}


/* =========================================================
   TIMESTAMP
========================================================= */

.live-chat-time {
    display: block;

    margin-top: 5px;

    color: #9999ad;

    font-size: 0.68rem;
}


.live-chat-message.own-message .live-chat-time {
    color: rgba(255, 255, 255, 0.75);
    text-align: right;
}


/* =========================================================
   CHAT FORM
========================================================= */

#live-chat-form,
#creator-live-chat-form {
    display: flex;

    align-items: center;

    gap: 10px;
}


/* Chat text boxes */

#live-chat-input,
#creator-live-chat-input {
    flex: 1;

    width: 100%;

    padding: 13px 15px;

    background: #0d0d16;

    color: white;

    border: 1px solid #343451;
    border-radius: 10px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


#live-chat-input:focus,
#creator-live-chat-input:focus {
    border-color: #a855f7;

    box-shadow:
        0 0 0 3px
        rgba(168, 85, 247, 0.12);
}


/* Placeholder */

#live-chat-input::placeholder,
#creator-live-chat-input::placeholder {
    color: #77778b;
}


/* Send buttons */

#live-chat-form button,
#creator-live-chat-form button {
    flex-shrink: 0;

    padding: 13px 22px;

    background: linear-gradient(
        135deg,
        #9333ea,
        #a855f7
    );

    color: white;

    border: none;
    border-radius: 10px;

    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.15s ease,
        opacity 0.15s ease;
}


#live-chat-form button:hover,
#creator-live-chat-form button:hover {
    transform: translateY(-1px);
}


#live-chat-form button:disabled,
#creator-live-chat-form button:disabled {
    opacity: 0.6;
    cursor: wait;
    transform: none;
}


/* =========================================================
   PHONE
========================================================= */

@media (max-width: 600px) {

    .live-chat-box {
        padding: 15px;
    }


    #live-chat-messages,
    #creator-live-chat-messages {
        max-height: 260px;
        padding: 12px;
    }


    .live-chat-message {
        max-width: 88%;
    }


    #live-chat-form,
    #creator-live-chat-form {
        align-items: stretch;
        flex-direction: column;
    }


    #live-chat-form button,
    #creator-live-chat-form button {
        width: 100%;
    }
}
/* =========================================================
   CONINK FEED - RESPONSIVE LAYOUT
   Desktop + Tablet + Mobile
========================================================= */

/* Main feed page */
.dashboard-main {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 24px;
    box-sizing: border-box;
}

.dashboard-panel {
    width: 100%;
    box-sizing: border-box;
}


/* =========================================================
   FEED HEADER
========================================================= */

.panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.panel-heading h1 {
    margin-top: 5px;
}


/* =========================================================
   POST GRID
========================================================= */

.dashboard-post-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    width: 100%;
}


/* =========================================================
   POST CARDS
========================================================= */

.dashboard-post-card {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.dashboard-post-content {
    padding: 22px;
    box-sizing: border-box;
}

.dashboard-post-content h3 {
    overflow-wrap: anywhere;
}

.dashboard-post-content p {
    overflow-wrap: anywhere;
}


/* =========================================================
   POST IMAGES / VIDEOS
========================================================= */

.dashboard-post-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}


/* =========================================================
   LIVE NOW
========================================================= */

#live-feed-section {
    width: 100%;
    margin-bottom: 35px;
}

#live-feed-list {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.live-feed-card {
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

.live-feed-info {
    padding: 22px;
}


/* =========================================================
   CREATOR BROWSE SECTION
========================================================= */

.member-creators-section {
    width: 100%;
    margin-top: 50px;
}

.creator-public-post-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    width: 100%;
}

.creator-discovery-card {
    width: 100%;
    min-width: 0;
}

.creator-discovery-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.creator-avatar {
    flex-shrink: 0;
}


/* =========================================================
   BUTTONS
========================================================= */

.dashboard-post-card .main-button,
.live-feed-card .main-button {
    max-width: 100%;
    box-sizing: border-box;
}


/* =========================================================
   COMMENTS
========================================================= */

.comment-section {
    width: 100%;
    box-sizing: border-box;
}

.comment-form {
    display: flex;
    gap: 10px;
    width: 100%;
}

.comment-form input {
    flex: 1;
    min-width: 0;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .dashboard-main {
        padding: 30px 18px;
    }

    .dashboard-post-grid,
    .creator-public-post-grid,
    #live-feed-list {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .dashboard-main {
        padding: 20px 12px;
    }

    .dashboard-panel {
        padding: 18px 14px;
        border-radius: 16px;
    }


    /* HEADER */

    .panel-heading {
        display: block;
        margin-bottom: 22px;
    }

    .panel-heading h1 {
        font-size: 1.8rem;
    }


    /* ONE CARD PER ROW */

    .dashboard-post-grid,
    .creator-public-post-grid,
    #live-feed-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }


    /* CARDS */

    .dashboard-post-content,
    .live-feed-info {
        padding: 18px;
    }


    /* MEDIA */

    .dashboard-post-image {
        width: 100%;
        height: auto;
        max-height: 400px;
        object-fit: cover;
    }


    /* CREATOR */

    .member-creators-section {
        margin-top: 35px;
    }

    .creator-discovery-header {
        gap: 12px;
    }


    /* BUTTONS */

    .dashboard-post-card .main-button,
    .live-feed-card .main-button {
        display: block;
        width: 100%;
        text-align: center;
    }


    /* COMMENTS */

    .comment-form {
        flex-direction: column;
    }

    .comment-form input,
    .comment-form button {
        width: 100%;
        box-sizing: border-box;
    }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 400px) {

    .dashboard-main {
        padding: 14px 8px;
    }

    .dashboard-panel {
        padding: 15px 10px;
    }

    .panel-heading h1 {
        font-size: 1.55rem;
    }

    .dashboard-post-content,
    .live-feed-info {
        padding: 15px;
    }

    .creator-discovery-header {
        flex-direction: column;
    }

}
/* =========================================================
   FINAL CONINK MOBILE NAVIGATION FIX
========================================================= */

/* DESKTOP */
.dashboard-navbar {
    width: 100%;
}

.dashboard-navbar .logo {
    flex-shrink: 0;
}

.dashboard-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .dashboard-navbar {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 16px 18px;
    }

    .dashboard-navbar .logo {
        text-align: center;
        font-size: 1.5rem;
    }

    .dashboard-links {
        display: flex !important;
        width: 100%;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .dashboard-links a {
        padding: 8px 10px;
        font-size: 0.9rem;
        text-align: center;
        border-radius: 8px;
    }

    .dashboard-navbar .outline-button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

}


/* =========================================================
   MOBILE PHONE
========================================================= */

@media (max-width: 600px) {

    .dashboard-navbar {
        padding: 14px 12px;
    }

    .dashboard-navbar .logo {
        width: 100%;
        text-align: center;
        font-size: 1.45rem;
    }

    .dashboard-links {
        display: grid !important;
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
    }

    .dashboard-links a {
        display: flex;
        align-items: center;
        justify-content: center;

        min-height: 42px;
        padding: 8px;

        background: #171724;
        border: 1px solid #323247;
        border-radius: 10px;

        font-size: 0.85rem;
        text-align: center;
    }

    .dashboard-links a:hover {
        background: #222234;
        border-color: #a855f7;
    }

    .dashboard-navbar .outline-button {
        width: 100%;
        max-width: none;
        margin: 0;
    }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 380px) {

    .dashboard-links {
        grid-template-columns: 1fr;
    }

}
/* =========================================================
   FINAL HOMEPAGE CREATOR DIRECTORY LAYOUT FIX
========================================================= */

/* Center the entire creator/discover section */
.creator-directory,
.creator-search-section,
.discover-section,
#creator-directory,
#creator-search-section {
    width: min(1180px, calc(100% - 40px));
    margin-left: auto !important;
    margin-right: auto !important;
}


/* Search bar */
.creator-search,
.creator-search-box,
#creator-search {
    width: 100% !important;
    max-width: 700px !important;
    margin: 25px auto 30px !important;
}


/* Search input */
.creator-search input,
.creator-search-box input,
#creator-search input,
input[type="search"] {
    width: 100% !important;
    box-sizing: border-box;
}


/* Creator cards container */
.creator-grid,
.creator-list,
#creator-list,
#creator-results,
.public-creator-grid {
    width: 100% !important;
    max-width: 1180px !important;

    margin-left: auto !important;
    margin-right: auto !important;

    display: grid !important;

    grid-template-columns:
        repeat(3, minmax(0, 1fr)) !important;

    gap: 20px !important;
}


/* Individual creator cards */
.creator-card,
.public-creator-card {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .creator-grid,
    .creator-list,
    #creator-list,
    #creator-results,
    .public-creator-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }

}


/* =========================================================
   PHONE
========================================================= */

@media (max-width: 600px) {

    .creator-directory,
    .creator-search-section,
    .discover-section,
    #creator-directory,
    #creator-search-section {
        width: calc(100% - 28px);
    }


    .creator-search,
    .creator-search-box,
    #creator-search {
        max-width: none !important;
        margin: 20px auto !important;
    }


    .creator-grid,
    .creator-list,
    #creator-list,
    #creator-results,
    .public-creator-grid {
        grid-template-columns:
            1fr !important;

        gap: 14px !important;
    }

}
/* ========================================
   CONINK NOTIFICATIONS
======================================== */

.notifications-list {
    width: 100%;
}

.notification-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;

    width: 100%;

    padding: 20px;
    margin-bottom: 14px;

    background: #11111b;

    border: 1px solid #34324d;
    border-radius: 14px;
}

.notification-card.notification-unread {
    border-color: #a855f7;

    background:
        rgba(
            168,
            85,
            247,
            0.08
        );
}

.notification-icon {
    flex-shrink: 0;

    font-size: 28px;
}

.notification-content p {
    margin: 0 0 6px;

    color: white;

    font-size: 1rem;
}

.notification-content small {
    color: #9b9bb3;
}

.mark-read-button {
    padding: 7px 12px;

    background: transparent;

    border: 1px solid #a855f7;
    border-radius: 8px;

    color: #d8b4fe;

    cursor: pointer;
}

.mark-read-button:hover {
    background:
        rgba(
            168,
            85,
            247,
            0.15
        );
}

@media (max-width: 600px) {

    .notification-card {
        padding: 16px;
        gap: 12px;
    }

    .notification-icon {
        font-size: 23px;
    }

}
/* =========================================================
   CONINK HOMEPAGE FINAL POLISH
   Paste at VERY BOTTOM of style.css
========================================================= */

@media (min-width: 1000px) {

    .home-hero {
        min-height: auto !important;
        padding: 90px 7% 100px !important;
    }

    .home-hero-content {
        width: min(1280px, 100%) !important;
        grid-template-columns: 1.15fr 0.85fr !important;
        gap: 70px !important;
    }

    .hero-copy h1 {
        font-size: clamp(4rem, 5.5vw, 6.4rem) !important;
        line-height: 0.95 !important;
        letter-spacing: -3px !important;
    }

    .hero-description {
        max-width: 620px !important;
        font-size: 1.1rem !important;
        margin: 28px 0 !important;
    }

    .hero-showcase {
        width: 100% !important;
        max-width: 460px !important;
        justify-self: center !important;
    }

    .showcase-card {
        width: 100% !important;
        padding: 30px !important;
    }
}


/* ---------- BUTTONS ---------- */

.hero-actions {
    gap: 12px !important;
}

.hero-primary-button,
.hero-secondary-button {
    min-width: 165px !important;
    padding: 13px 20px !important;
}


/* ---------- FEATURE ROW ---------- */

.hero-features {
    margin-top: 30px !important;
    gap: 12px 18px !important;
}


/* ---------- RIGHT CARD ---------- */

.showcase-card {
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.35),
        0 0 60px rgba(168, 85, 247, 0.08) !important;
}

.showcase-card h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem) !important;
    line-height: 1.08 !important;
}

.showcase-features {
    margin-top: 25px !important;
}


/* ---------- NAVIGATION ---------- */

.home-navbar {
    padding-left: 6% !important;
    padding-right: 6% !important;
}

.home-navbar .nav-buttons {
    gap: 10px !important;
}


/* ---------- TABLET ---------- */

@media (max-width: 999px) {

    .home-hero {
        min-height: auto !important;
        padding: 70px 30px !important;
    }

    .home-hero-content {
        grid-template-columns: 1fr !important;
        gap: 55px !important;
    }

    .hero-copy {
        text-align: center;
    }

    .hero-description {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .hero-actions,
    .hero-features {
        justify-content: center !important;
    }

    .hero-showcase {
        width: min(480px, 100%) !important;
        margin: 0 auto !important;
    }
}


/* ---------- PHONE ---------- */

@media (max-width: 600px) {

    .home-hero {
        padding: 50px 18px 65px !important;
    }

    .hero-copy h1 {
        font-size: 3.1rem !important;
        letter-spacing: -2px !important;
    }

    .hero-description {
        font-size: 1rem !important;
        line-height: 1.65 !important;
        margin: 22px 0 !important;
    }

    .hero-actions {
        flex-direction: column !important;
    }

    .hero-actions .main-button,
    .hero-actions .outline-button {
        width: 100% !important;
    }

    .hero-features {
        justify-content: flex-start !important;
    }

    .showcase-card {
        padding: 22px !important;
    }
}
/* =========================================================
   CONINK HOMEPAGE TABLET + PHONE POLISH
   Keeps desktop layout unchanged
========================================================= */


/* =========================
   TABLETS
========================= */

@media (max-width: 900px) {

    .home-navbar {
        padding: 14px 22px !important;
        flex-wrap: wrap;
    }

    .home-navbar .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 18px;
        margin-top: 6px;
    }

    .home-hero {
        padding: 65px 24px 75px !important;
    }

    .home-hero-content {
        grid-template-columns: 1fr !important;
        gap: 48px !important;
    }

    .hero-copy {
        max-width: 720px;
        margin: 0 auto;
        text-align: center;
    }

    .hero-copy h1 {
        font-size: clamp(3.4rem, 10vw, 5.4rem) !important;
        letter-spacing: -2px !important;
    }

    .hero-description {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-features {
        justify-content: center;
    }

    .hero-showcase {
        width: min(500px, 100%) !important;
        margin: 0 auto;
    }

    .content-feature-grid {
        grid-template-columns: 1fr !important;
        max-width: 650px;
        margin-left: auto;
        margin-right: auto;
    }

    .home-cta-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
}


/* =========================
   PHONES
========================= */

@media (max-width: 600px) {

    .home-navbar {
        padding: 12px 16px !important;
        gap: 12px;
    }

    .home-navbar .logo {
        font-size: 1.35rem;
    }

    .home-navbar .nav-links {
        display: none !important;
    }

    .home-navbar .nav-buttons {
        margin-left: auto;
    }

    .home-navbar .nav-buttons .main-button,
    .home-navbar .nav-buttons .outline-button {
        width: auto !important;
        padding: 9px 13px !important;
        font-size: 0.88rem;
    }

    .home-hero {
        padding: 48px 16px 60px !important;
    }

    .hero-copy h1 {
        font-size: clamp(3rem, 16vw, 4.2rem) !important;
        line-height: 0.95 !important;
        letter-spacing: -2px !important;
    }

    .home-eyebrow {
        font-size: 0.64rem;
        letter-spacing: 1.2px;
    }

    .hero-description {
        font-size: 1rem !important;
        line-height: 1.65 !important;
        margin: 22px 0 !important;
    }

    .hero-actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
        width: 100%;
    }

    .hero-actions .main-button,
    .hero-actions .outline-button {
        width: 100% !important;
    }

    .hero-features {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        text-align: left;
    }

    .showcase-card {
        padding: 22px !important;
    }

    .showcase-card h2 {
        font-size: 1.8rem !important;
    }

    .home-how-section,
    .home-creators-section,
    .home-content-section,
    .home-cta-section {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .home-section-heading h2 {
        font-size: 2rem !important;
        line-height: 1.15;
    }

    .content-feature-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    .home-creator-grid {
        grid-template-columns: 1fr !important;
    }

    .home-cta-card {
        padding: 28px 22px !important;
    }

    .home-cta-card h2 {
        font-size: 2rem !important;
    }

    .cta-buttons {
        width: 100%;
    }

    .cta-buttons .main-button,
    .cta-buttons .outline-button {
        width: 100% !important;
    }
}
/* =========================================================
   CONINK HOMEPAGE FINAL RESPONSIVE CLEANUP
   Desktop + Tablet + Phone
========================================================= */

.home-body {
    overflow-x: hidden;
}

/* Make homepage sections stay centered */
.home-hero-content,
.home-how-section,
.home-creators-section,
.home-content-section,
.home-cta-section {
    width: 100%;
}

/* Prevent homepage cards from overflowing */
.showcase-card,
.home-benefit-card,
.content-feature-card,
.home-cta-card,
.home-creator-grid > * {
    max-width: 100%;
}

/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

    .home-hero-content {
        grid-template-columns: 1fr !important;
    }

    .hero-copy {
        width: 100%;
        text-align: center;
    }

    .hero-actions,
    .hero-features {
        justify-content: center !important;
    }

    .hero-showcase {
        width: min(500px, 100%) !important;
        margin: 0 auto !important;
    }

    .home-benefit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .home-creator-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .content-feature-grid {
        grid-template-columns: 1fr !important;
    }
}


/* =========================
   PHONE
========================= */

@media (max-width: 600px) {

    .home-navbar {
        flex-direction: row !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        padding: 12px 16px !important;
    }

    .home-navbar .nav-links {
        display: none !important;
    }

    .home-navbar .nav-buttons {
        display: flex !important;
        margin-left: auto;
        gap: 8px;
    }

    .home-navbar .nav-buttons a {
        width: auto !important;
        padding: 8px 11px !important;
        font-size: 0.82rem !important;
    }

    .home-hero {
        min-height: auto !important;
        padding: 50px 18px 60px !important;
    }

    .home-hero-content {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .hero-copy {
        text-align: center !important;
    }

    .hero-copy h1 {
        font-size: clamp(3rem, 15vw, 4rem) !important;
        line-height: 0.95 !important;
        letter-spacing: -2px !important;
    }

    .hero-description {
        margin: 22px auto !important;
    }

    .hero-actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
        width: 100%;
    }

    .hero-actions a {
        width: 100% !important;
    }

    .hero-features {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        text-align: left;
    }

    .hero-showcase {
        width: 100% !important;
    }

    .showcase-card {
        width: 100% !important;
        padding: 22px !important;
    }

    .home-how-section,
    .home-creators-section,
    .home-content-section,
    .home-cta-section {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .home-benefit-grid,
    .home-creator-grid,
    .content-feature-grid {
        grid-template-columns: 1fr !important;
    }

    .home-section-heading h2 {
        font-size: 2rem !important;
        line-height: 1.15 !important;
    }

    .creator-search,
    .home-creator-search {
        width: 100% !important;
        max-width: 100% !important;
    }

    .home-cta-card {
        width: 100% !important;
        padding: 26px 20px !important;
    }

    .home-footer {
        width: 100%;
        padding: 24px 18px !important;
    }

    .home-footer-inner {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        text-align: center;
    }
}
/* =========================================================
   HOMEPAGE CREATOR CARDS - FINAL GRID
========================================================= */

.home-creator-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
    width: 100% !important;
}

/* TABLET */
@media (max-width: 900px) {

    .home-creator-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

}

/* PHONE */
@media (max-width: 600px) {

    .home-creator-grid {
        grid-template-columns: 1fr !important;
    }

}
/* =========================================================
   CONINK MESSAGES - PHONE + TABLET FIX
========================================================= */

@media (max-width: 900px) {

    .messages-layout {
        width: 100% !important;
        max-width: 100% !important;
        margin: 20px auto !important;

        display: grid !important;
        grid-template-columns: 1fr !important;

        gap: 18px !important;

        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .conversation-list,
    .chat-window {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .conversation-list {
        padding: 18px !important;
    }

    .chat-window {
        overflow: hidden !important;
    }

    #message-list,
    .message-list {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        height: auto !important;
        min-height: 320px !important;
        max-height: 55vh !important;

        padding: 14px !important;
    }

    .message-bubble {
        max-width: 85% !important;
    }

    .message-bubble.sent,
    .message-bubble.received {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .message-form {
        width: 100% !important;
        padding: 14px !important;
    }

    .message-form textarea {
        width: 100% !important;
        max-width: 100% !important;
    }
}


/* SMALL PHONES */

@media (max-width: 600px) {

    .messages-layout {
        margin: 12px auto !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .conversation-list {
        padding: 14px !important;
    }

    .chat-window {
        border-radius: 14px !important;
    }

    #chat-header {
        padding: 14px !important;
    }

    #message-list,
    .message-list {
        min-height: 280px !important;
        max-height: 50vh !important;
        padding: 10px !important;
    }

    .message-bubble {
        max-width: 90% !important;
        padding: 12px 14px !important;
    }

    .message-form {
        padding: 10px !important;
    }
}
/* =========================================
   MESSAGE REACTIONS POLISH
========================================= */

.message-reaction-summary {
    margin-top: 8px !important;
    gap: 4px !important;
}

.message-reaction-count {
    font-size: 0.78rem !important;
    padding: 3px 7px !important;
    min-width: auto !important;
}

.message-react-button {
    font-size: 0.78rem !important;
    margin-top: 5px !important;
    opacity: 0.85;
}

.message-react-button:hover {
    opacity: 1;
}

.message-emoji-picker {
    max-width: 220px;
    gap: 4px !important;
}

.message-emoji-option {
    font-size: 1.15rem !important;
    padding: 3px !important;
}
/* =========================================
   CONINK 18+ AGE GATE
========================================= */

#conink-age-gate {
    position: fixed;
    inset: 0;
    z-index: 999999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background:
        radial-gradient(
            circle at top left,
            rgba(168, 85, 247, 0.22),
            transparent 40%
        ),
        radial-gradient(
            circle at bottom right,
            rgba(59, 130, 246, 0.15),
            transparent 40%
        ),
        #090910;
}

.age-gate-card {
    width: 100%;
    max-width: 480px;

    padding: 42px 35px;

    text-align: center;

    background: #171724;

    border: 1px solid #393951;
    border-radius: 22px;

    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.55);
}

.age-gate-logo {
    display: inline-block;

    margin-bottom: 25px;

    color: white;

    font-size: 1.35rem;
    font-weight: 800;

    text-decoration: none;
}

.age-gate-logo span {
    color: #a855f7;
}

.age-gate-icon {
    width: 85px;
    height: 85px;

    margin:
        0 auto
        22px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #a855f7,
            #4f6df5
        );

    color: white;

    font-size: 1.65rem;
    font-weight: 800;
}

.age-gate-card h1 {
    margin-bottom: 12px;

    color: white;

    font-size: 2rem;
}

.age-gate-card p {
    color: #d4d4df;

    line-height: 1.6;
}

.age-gate-small {
    margin:
        10px 0
        25px;

    color: #9999ad !important;

    font-size: 0.9rem;
}

.age-gate-enter,
.age-gate-leave {
    width: 100%;

    padding: 14px 18px;

    border-radius: 10px;

    font-weight: 700;
    font-size: 0.95rem;

    cursor: pointer;
}

.age-gate-enter {
    border: none;

    background:
        linear-gradient(
            135deg,
            #a855f7,
            #7c3aed
        );

    color: white;
}

.age-gate-enter:hover {
    transform: translateY(-1px);
}

.age-gate-leave {
    margin-top: 10px;

    border: 1px solid #44445d;

    background: transparent;

    color: #ccccd8;
}


/* =========================================
   UNDER 18 SCREEN
========================================= */

.age-denied-page {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: #090910;
}

.age-denied-card {
    width: 100%;
    max-width: 480px;

    padding: 40px;

    text-align: center;

    background: #171724;

    border: 1px solid #393951;
    border-radius: 20px;

    color: white;
}

.age-denied-card p {
    color: #bbbbc8;

    line-height: 1.6;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .age-gate-card {
        padding:
            32px
            22px;
    }

    .age-gate-card h1 {
        font-size: 1.65rem;
    }

    .age-gate-icon {
        width: 72px;
        height: 72px;

        font-size: 1.4rem;
    }
}
/* ========================================
   LIVE RECORDING MOBILE IMPROVEMENTS
======================================== */

#live-recording-controls {
    width: 100%;
    margin-top: 16px;
}

#live-recording-controls button {
    width: 100%;
    margin-bottom: 10px;
}

#live-recording-status {
    text-align: center;
    margin-top: 8px;
}

#live-recording-preview-area {
    width: 100%;
    margin-top: 24px;
}

#live-recording-preview {
    width: 100%;
    max-width: 700px;
    display: block;
    margin: 12px auto;
    border-radius: 14px;
    background: #000;
}

#live-recording-title,
#live-recording-description {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 14px;
}

#post-live-recording-button,
#discard-live-recording-button {
    width: 100%;
}

#creator-mute-button {
    width: 100%;
    margin-top: 12px;
}


/* ========================================
   PHONE SIZE
======================================== */

@media (max-width: 600px) {

    .live-page {
        padding-left: 12px;
        padding-right: 12px;
    }

    .live-card {
        width: 100%;
        box-sizing: border-box;
    }

    .live-header {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    #creator-viewer-count {
        text-align: left !important;
    }

    #live-video-container {
        width: 100%;
        min-height: 240px;
    }

    #live-preview {
        width: 100%;
        height: auto;
        max-height: 65vh;
        object-fit: contain;
        border-radius: 12px;
    }

    #live-recording-preview {
        width: 100%;
        max-height: 60vh;
        object-fit: contain;
    }

    #creator-mute-button,
    #start-live-recording-button,
    #stop-live-recording-button,
    #go-live-button,
    #end-live-button,
    #post-live-recording-button,
    #discard-live-recording-button {
        width: 100%;
        min-height: 48px;
        font-size: 16px;
    }

    #live-recording-controls {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    #live-recording-controls button {
        margin-bottom: 0;
    }

    #live-recording-title,
    #live-recording-description,
    #live-title {
        font-size: 16px;
    }

    #live-recording-preview-area {
        padding-top: 8px;
    }
}