:root{

    --bg:#0f172a;
    --panel:#1e293b;
    --panel-2:#273449;

    --primary:#2563eb;
    --primary-hover:#1d4ed8;

    --success:#22c55e;
    --danger:#ef4444;

    --text:#ffffff;
    --muted:#94a3b8;

    --radius:18px;

    --shadow:0 10px 30px rgba(0,0,0,.30);

    --transition:.25s;

}

*{
    box-sizing:border-box;
}

body{

    margin:0;

    background:var(--bg);

    color:var(--text);

    font-family:
    Inter,
    Segoe UI,
    Arial,
    sans-serif;

}

/* Layout */
.rt-layout{
    display:flex;
    min-height:100vh;
}

.rt-sidebar{
    width:260px;
    background:#0b1220;
    padding:32px 24px;
    position:fixed;
    inset:0 auto 0 0;
}

.rt-main{
    margin-left:260px;
    width:calc(100% - 260px);
    padding:40px;
}

/* Components */
.rt-card{
    background:var(--panel);
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    padding:28px;
}

.rt-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:12px 18px;
    border-radius:12px;
    border:0;
    font-weight:700;
    text-decoration:none;
    cursor:pointer;
}

.rt-btn-primary{
    background:var(--primary);
    color:white;
}

.rt-btn-secondary{
    background:var(--panel-2);
    color:white;
}

.rt-badge{
    display:inline-flex;
    padding:6px 10px;
    border-radius:999px;
    background:var(--panel-2);
    color:var(--text);
    font-size:13px;
}

.rt-tabs{
    display:flex;
    gap:12px;
    margin:24px 0;
}

.rt-tab{
    padding:12px 18px;
    border-radius:14px;
    background:white;
    color:#0f172a;
    font-weight:800;
}

.rt-tab.active{
    background:#0f172a;
    color:white;
}

.rt-brand{
    font-size:30px;
    font-weight:900;
    margin-bottom:36px;
}

.rt-nav{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.rt-nav a{
    color:white;
    text-decoration:none;
    padding:12px 14px;
    border-radius:12px;
    font-weight:700;
}

.rt-nav a:hover{
    background:var(--panel-2);
}

/* Creator Hero Premium */
.rt-creator-hero{
    margin-bottom:32px;
}

.rt-creator-cover{
    height:280px;
    border-radius:26px 26px 0 0;
    background:
        linear-gradient(135deg, rgba(37,99,235,.95), rgba(15,23,42,.95)),
        radial-gradient(circle at top right, rgba(255,255,255,.20), transparent 35%);
    position:relative;
    overflow:hidden;
}

.rt-cover-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(to bottom, transparent, rgba(15,23,42,.75));
}

.rt-creator-card{
    background:var(--panel);
    border-radius:0 0 26px 26px;
    padding:0 36px 36px;
    box-shadow:var(--shadow);
    display:flex;
    gap:28px;
}

.rt-avatar-xl{
    width:132px;
    height:132px;
    border-radius:50%;
    background:#0f172a;
    border:6px solid var(--panel);
    margin-top:-66px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:58px;
    font-weight:900;
    color:white;
    flex-shrink:0;
}

.rt-creator-content{
    padding-top:24px;
    flex:1;
}

.rt-creator-title-row{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:10px;
}

.rt-creator-title-row h1{
    margin:0;
    font-size:38px;
}

.rt-badge-success{
    color:#22c55e;
}

.rt-creator-subtitle{
    color:var(--muted);
    font-size:17px;
    max-width:850px;
}

.rt-rating{
    color:#facc15;
    font-weight:900;
    margin:14px 0;
}

.rt-rating span{
    color:white;
    margin-left:8px;
}

.rt-creator-stats{
    display:grid;
    grid-template-columns:repeat(4, minmax(120px, 1fr));
    gap:14px;
    margin:24px 0;
}

.rt-creator-stats div{
    background:var(--panel-2);
    border-radius:16px;
    padding:16px;
}

.rt-creator-stats strong{
    display:block;
    font-size:24px;
}

.rt-creator-stats span{
    color:var(--muted);
}

.rt-creator-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}

/* Creator Hero Premium v2 */
.rt-creator-cover{
    height:430px;
}

.rt-avatar-xl{
    width:180px;
    height:180px;
    margin-top:-90px;
    font-size:78px;
    border:8px solid #ffffff;
    box-shadow:0 18px 45px rgba(0,0,0,.45);
}

.rt-creator-card{
    padding:0 46px 46px;
    gap:36px;
}

.rt-creator-title-row h1{
    font-size:56px;
    letter-spacing:-1px;
}

.rt-creator-subtitle{
    font-size:19px;
    line-height:1.55;
}

.rt-creator-stats{
    gap:18px;
}

.rt-creator-stats div{
    padding:22px;
}

.rt-creator-stats strong{
    font-size:34px;
    margin-bottom:6px;
}

.rt-btn-primary{
    min-width:190px;
    min-height:52px;
    font-size:17px;
}

/* Creator Card Component */
.rt-creator-card-mini{
    background:var(--panel);
    border-radius:24px;
    overflow:hidden;
    box-shadow:var(--shadow);
    max-width:420px;
}

.rt-creator-card-cover{
    height:120px;
    background:
        linear-gradient(135deg, rgba(37,99,235,.95), rgba(15,23,42,.95)),
        radial-gradient(circle at top right, rgba(255,255,255,.18), transparent 35%);
}

.rt-creator-card-body{
    padding:0 24px 24px;
}

.rt-creator-card-avatar{
    width:86px;
    height:86px;
    border-radius:50%;
    background:#0f172a;
    border:5px solid var(--panel);
    margin-top:-43px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:38px;
    font-weight:900;
    color:white;
}

.rt-creator-card-info h3{
    margin:16px 0 4px;
    font-size:26px;
}

.rt-creator-card-info p{
    margin:0;
    color:var(--muted);
}

.rt-creator-card-rating{
    color:#facc15;
    font-weight:900;
    margin-top:12px;
}

.rt-creator-card-rating strong{
    color:white;
    margin-left:8px;
}

.rt-creator-card-stats{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin:18px 0;
    color:var(--muted);
}

.rt-creator-card-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.rt-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill, minmax(320px, 1fr));
    gap:24px;
}

.page-header{
    margin-bottom:24px;
}

.page-header h1{
    font-size:42px;
    margin:0 0 8px;
}

.page-header p{
    color:var(--muted);
    font-size:18px;
}
.rt-wallet-balance{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.rt-wallet-label{
    color:var(--muted);
    font-size:15px;
}

.rt-wallet-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}

/* Rooctruc responsive navigation consolidated v3 */

.rt-mobile-header{
    display:none;
}

.rt-mobile-menu-button{
    border:0;
    background:var(--panel);
    color:#fff;
    width:44px;
    height:44px;
    border-radius:12px;
    font-size:24px;
    cursor:pointer;
}

.rt-mobile-overlay{
    display:none;
}

@media (max-width:1200px){

    html,
    body{
        width:100%;
        max-width:100%;
        overflow-x:hidden;
    }

    body{
        margin:0;
    }

    .rt-layout{
        display:block !important;
        width:100% !important;
        max-width:100% !important;
        min-height:100vh;
    }

    .rt-mobile-header{
        position:sticky;
        top:0;
        z-index:1200;

        display:flex !important;
        align-items:center;
        justify-content:space-between;

        width:100%;
        min-height:64px;
        padding:10px 16px;

        background:rgba(11,18,32,.97);
        border-bottom:1px solid rgba(148,163,184,.16);
        backdrop-filter:blur(16px);
    }

    .rt-mobile-brand{
        color:#fff;
        font-size:22px;
        line-height:1;
        font-weight:900;
        text-decoration:none;
    }

    .rt-mobile-menu-button{
        display:flex;
        align-items:center;
        justify-content:center;
        flex:0 0 44px;
    }

    .rt-sidebar{
        position:fixed !important;

        top:0 !important;
        bottom:0 !important;
        left:0 !important;

        z-index:1300;

        width:min(82vw,300px) !important;
        max-width:300px !important;
        height:100dvh;

        margin:0 !important;
        padding:24px 20px;

        transform:translateX(-105%) !important;
        transition:transform .22s ease !important;

        overflow-y:auto;
        overscroll-behavior:contain;

        box-shadow:20px 0 55px rgba(0,0,0,.35);
    }

    body.rt-menu-open .rt-sidebar{
        transform:translateX(0) !important;
    }

    .rt-mobile-overlay{
        position:fixed;
        inset:0;

        z-index:1250;

        background:rgba(2,6,23,.68);
    }

    body.rt-menu-open .rt-mobile-overlay{
        display:block;
    }

    body.rt-menu-open{
        overflow:hidden;
    }

    .rt-main{
        display:block !important;

        margin:0 !important;
        margin-left:0 !important;

        width:100% !important;
        max-width:100% !important;
        min-width:0 !important;

        padding:18px 14px 28px !important;

        overflow-x:hidden;
    }

    .rt-main > *{
        min-width:0;
        max-width:100%;
    }

    .rt-card{
        width:100%;
        max-width:100%;
        padding:20px;
    }

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

    .feed-shell,
    .feed-main,
    .feed-list,
    .profile-posts,
    .profile-feed-list{
        width:100% !important;
        max-width:100% !important;
        min-width:0 !important;
    }

    .feed-shell{
        display:block !important;
        margin-left:auto !important;
        margin-right:auto !important;
    }

    .feed-rail{
        display:none !important;
    }

    .post-card{
        width:100% !important;
        max-width:100% !important;
    }

    .post-media,
    .post-media img,
    .post-media video{
        max-width:100% !important;
    }

    img,
    video{
        max-width:100%;
    }

    input,
    textarea,
    select,
    button{
        max-width:100%;
    }

    .page-header h1{
        font-size:32px;
    }
}

@media (max-width:600px){

    .rt-mobile-header{
        min-height:58px;
        padding:8px 12px;
    }

    .rt-mobile-brand{
        font-size:20px;
    }

    .rt-mobile-menu-button{
        width:42px;
        height:42px;
        flex-basis:42px;
        font-size:22px;
    }

    .rt-main{
        padding:12px 8px 24px !important;
    }

    .rt-card{
        padding:16px;
        border-radius:14px;
    }

    .rt-tabs{
        overflow-x:auto;
        padding-bottom:4px;
        -webkit-overflow-scrolling:touch;
    }
}

@media (max-width:480px){

    .rt-main{
        padding:10px 8px 22px !important;
    }
}
