*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial,Helvetica,sans-serif;
}

:root{
    --bg:#f7f8fa;
    --card:#ffffff;
    --text:#171717;
    --muted:#71717a;
    --line:#e7e7e7;

    --primary:#f97316;
    --primary-dark:#ea580c;
    --primary-soft:#fff3e8;

    --dark:#111827;
    --soft:#f9fafb;

    --radius-card:16px;
    --radius-small:10px;

   --shadow:0 6px 24px rgba(15,23,42,.07);
   --shadow-hover:0 12px 36px rgba(15,23,42,.12);
}

body{
    
    background: #fafafa;

}

a{
    text-decoration:none;
    color:inherit;
}

button,
textarea,
input{
    font-family:inherit;
}

button{
    cursor:pointer;
    border:none;
}

/* HEADER */

.tekplay-header{
    position:sticky;
    top:0;
    z-index:100;

    height:76px;
    padding:0 34px;

    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:24px;

    background:rgba(255,255,255,.88);
    backdrop-filter:blur(16px);

    border-bottom:1px solid rgba(231,231,231,.9);
    box-shadow:0 6px 22px rgba(15,23,42,.04);
}

.tekplay-header h1{
    font-size:32px;
    letter-spacing:-1px;
    color:var(--dark);
    font-weight:900;
}

.tekplay-header h1::first-letter{
    color:var(--primary);
}

.tekplay-header p{
    font-size:13px;
    color:var(--muted);
    margin-top:2px;
}

.tekplay-back{
    padding:10px 15px;
    border-radius:10px;

    background:var(--dark);
    color:#fff;

    font-size:13px;
    font-weight:800;

    transition:.2s;
}

.tekplay-back:hover{
    background:var(--primary);
    transform:translateY(-1px);
}

/* PAGE */

.tekplay-page{
    width:100%;
    max-width:1480px;
    margin:auto;
    padding:26px;
}

.tekplay-layout{
    display:grid;
    grid-template-columns:230px minmax(0,1fr) 300px;
    gap:24px;
    align-items:start;
}

/* CARDS */

.tekplay-create-post,
.tekplay-post,
.sidebar-card{
    background:#ffffff;
    border:1px solid #f1f5f9;
    border-radius:16px;
    box-shadow:var(--shadow);
}

/* LEFT BAR */

.tekplay-leftbar{
    position:sticky;
    top:100px;
}

.sidebar-card{
    padding:18px;
}

.sidebar-card h3{
    font-size:15px;
    color:var(--dark);
    margin-bottom:14px;
}

.tekplay-leftbar a{
    display:flex;
    align-items:center;
    gap:8px;

    padding:10px 11px;
    border-radius:10px;

    color:#3f3f46;
    font-size:14px;
    font-weight:800;

    transition:.2s;
}

.tekplay-leftbar a:hover{
    background:var(--primary-soft);
    color:var(--primary-dark);
}

/* FEED */

.tekplay-feed{
    display:flex;
    flex-direction:column;
    gap:18px;
}

/* CREATE POST */

.tekplay-create-post{
    padding:18px;
}

.create-post-user{
    display:flex;
    gap:13px;
    align-items:flex-start;
}



.user-avatar{
    width:42px;
    height:42px;

    border-radius:12px;

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

    background:linear-gradient(
        180deg,
        #fb923c,
        #f97316
    );

    color:#fff;

    font-size:16px;
    font-weight:900;

    box-shadow:
        0 8px 18px rgba(249,115,22,.22);

    flex-shrink:0;
}

.create-post-user textarea{
    width:100%;
    min-height:86px;

    resize:none;
    outline:none;

    background:#fafafa;
    border:1px solid var(--line);
    border-radius:12px;

    padding:14px;

    color:var(--text);
    font-size:14px;
    line-height:1.6;

    transition:.2s;
}

.create-post-user textarea:focus{
    background:#fff;
    border-color:rgba(249,115,22,.55);
    box-shadow:0 0 0 4px rgba(249,115,22,.10);
}

.create-post-actions{
    display:flex;
    justify-content:flex-end;
    gap:8px;
    flex-wrap:wrap;
    margin-top:13px;
}

.create-post-actions button,
.post-actions button{
    padding:8px 12px;

    border-radius:10px;
    border:1px solid var(--line);

    background:#fff;
    color:#3f3f46;

    font-size:12px;
    font-weight:800;

    transition:.2s;
}

.create-post-actions button:hover,
.post-actions button:hover{
    border-color:rgba(249,115,22,.35);
    background:var(--primary-soft);
    color:var(--primary-dark);
}

.create-post-actions .primary{
    background:var(--primary);
    color:#fff;
    border-color:var(--primary);
}

.create-post-actions .primary:hover{
    background:var(--primary-dark);
    color:#fff;
}

/* POSTS */

.tekplay-post{
    overflow:hidden;
    transition:.2s;
}

.tekplay-post:hover{
    transform:translateY(-2px);
    box-shadow:var(--shadow-hover);
}

.featured{
    border-color:rgba(249,115,22,.28);
}

.post-header{
    padding:16px 20px;

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

.post-user{
    display:flex;
    align-items:center;
    gap:12px;
}

.post-user strong{
    display:block;
    color:var(--dark);
    font-size:14px;
}

.post-user span{
    display:block;
    margin-top:2px;
    color:var(--muted);
    font-size:12px;
}

/* VIDEO */

.post-video{
    position:relative;
    width:100%;

    background:#020617;
    overflow:hidden;

    border-top:1px solid rgba(249,115,22,.18);
    border-bottom:1px solid rgba(249,115,22,.18);
}

.post-video video{
    display:block;
    width:100%;
    max-height:620px;
    object-fit:cover;
    background:#020617;
}

.controls{
    position:absolute;
    left:50%;
    bottom:14px;
    transform:translateX(-50%);

    width:calc(100% - 36px);
    max-width:590px;

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

    padding:7px 9px;

    background:rgba(17,24,39,.76);
    backdrop-filter:blur(14px);

    border:1px solid rgba(255,255,255,.12);
    border-radius:12px;

    box-shadow:0 12px 28px rgba(0,0,0,.24);
}

.play-btn,
#fullscreenBtn{
    width:28px;
    height:28px;
    min-width:28px;

    border-radius:8px;

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

    background:#fff;
    color:var(--dark);

    font-size:11px;
    font-weight:900;

    transition:.2s;
}

.play-btn:hover,
#fullscreenBtn:hover{
    background:var(--primary);
    color:#fff;
}

#progress{
    flex:1;
    height:4px;
    cursor:pointer;
    accent-color:var(--primary);
}

#tempo{
    min-width:40px;
    color:#fff;
    font-size:11px;
    font-weight:700;
}

.post-video:fullscreen{
    width:100vw;
    height:100vh;

    background:#020617;

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

.post-video:fullscreen video{
    width:100%;
    height:100%;
    max-height:none;
    object-fit:contain;
}

.post-video:fullscreen .controls{
    bottom:26px;
    max-width:720px;
}

/* BODY */

.post-body{
    padding:20px;
}

.post-body h2{
    color:var(--dark);
    font-size:26px;
    line-height:1.2;
    letter-spacing:-.4px;
    margin-bottom:8px;
}

.post-body h3{
    color:var(--dark);
    font-size:20px;
    margin-bottom:8px;
}

.post-body p{
    color:var(--muted);
    font-size:14px;
    line-height:1.7;
}

/* ACTIONS */

.post-actions{
    padding:11px 18px;
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
}

.post-actions-left{
    display:flex;
    gap:7px;
    flex-wrap:wrap;
}

/* COMMENTS */

.post-comments{
    padding:15px 18px 18px;
}

.post-comments input{
    width:100%;

    padding:11px 14px;

    background:#fafafa;
    border:1px solid var(--line);
    border-radius:12px;

    outline:none;

    font-size:14px;

    transition:.2s;
}

.post-comments input:focus{
    background:#fff;
    border-color:rgba(249,115,22,.55);
    box-shadow:0 0 0 4px rgba(249,115,22,.10);
}

/* RIGHT SIDEBAR */

.tekplay-sidebar{
    position:sticky;
    top:100px;

    display:flex;
    flex-direction:column;
    gap:18px;
}

.sidebar-card ul{
    list-style:none;

    display:flex;
    flex-direction:column;
    gap:9px;
}

.sidebar-card li{
    padding:11px 12px;

    background:#fafafa;
    border:1px solid var(--line);
    border-radius:10px;

    color:#3f3f46;

    font-size:13px;
    font-weight:700;
    line-height:1.5;

    transition:.2s;
}

.sidebar-card li:hover{
    background:var(--primary-soft);
    border-color:rgba(249,115,22,.28);
    color:var(--primary-dark);
}

.channel-item{
    display:flex;
    align-items:center;
    gap:11px;

    padding:11px 0;
    border-bottom:1px solid var(--line);
}

.channel-item:last-child{
    border-bottom:none;
}

.channel-item span{
    color:#3f3f46;
    font-size:14px;
    font-weight:800;
}

/* RESPONSIVO */

@media(max-width:1150px){
    .tekplay-layout{
        grid-template-columns:210px minmax(0,1fr);
    }

    .tekplay-sidebar{
        display:none;
    }
}

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

    .tekplay-leftbar{
        position:relative;
        top:auto;
    }
}

@media(max-width:700px){
    .tekplay-header{
        height:auto;
        padding:18px;
        flex-direction:column;
        align-items:flex-start;
    }

    .tekplay-header h1{
        font-size:30px;
    }

    .tekplay-page{
        padding:15px;
    }

    .controls{
        bottom:10px;
        width:calc(100% - 24px);
    }

    .post-body h2{
        font-size:22px;
    }
}