/* assets/css/style.css */
:root {
    --bg-color: #121212;
    --card-bg: #1e1e1e;
    --primary: #bb86fc;
    --secondary: #03dac6;
    --text-main: #ffffff;
    --text-muted: #b0b0b0;
    --border: #333;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
}

.navbar {
    background: rgba(30, 30, 30, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    text-decoration: none;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 1.5rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary);
}

.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.btn {
    background: var(--primary);
    color: #000;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    opacity: 0.9;
}

.btn-secondary {
    background: var(--secondary);
}

/* Auth Forms */
.auth-box {
    max-width: 400px;
    margin: 4rem auto;
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    padding: 0.5rem;
    background: #2c2c2c;
    border: 1px solid var(--border);
    color: white;
    border-radius: 4px;
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.video-card {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-thumbnail {
    width: 100%;
    height: 180px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.video-thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-info {
    padding: 1rem;
}

.video-title {
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
}

.tag {
    background: #333;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
}

/* Player Controls */
.player-container {
    max-width: 900px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    background: #000;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.controls-bar {
    background: var(--card-bg);
    padding: 1rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 1rem;
    border-radius: 8px;
}

 / *     F a v o r i t e s   H e a r t     * / 
 . f a v - h e a r t   { 
         p o s i t i o n :   a b s o l u t e ; 
         t o p :   1 0 p x ; 
         r i g h t :   1 0 p x ; 
         f o n t - s i z e :   1 . 5 r e m ; 
         c o l o r :   v a r ( - - p r i m a r y ) ; 
         c u r s o r :   p o i n t e r ; 
         z - i n d e x :   1 0 ; 
         t e x t - s h a d o w :   0   2 p x   4 p x   r g b a ( 0 , 0 , 0 , 0 . 5 ) ; 
         t r a n s i t i o n :   t r a n s f o r m   0 . 2 s   e a s e ; 
 } 
 . f a v - h e a r t : h o v e r   { 
         t r a n s f o r m :   s c a l e ( 1 . 2 ) ; 
 } 
 . v i d e o - c a r d   { 
         p o s i t i o n :   r e l a t i v e ;   / *   e n s u r e   h e a r t   i s   p o s i t i o n e d   c o r r e c t l y   i n s i d e   t h e   c a r d   * / 
 }  
 