:root {
    --yt-brand: #ff0000;
    --yt-bg: #0f0f0f;
    --yt-text-primary: #ffffff;
    --yt-text-secondary: #aaaaaa;
    --yt-border: #3f3f3f;
    --yt-hover: #272727;
    --yt-blue: #3ea6ff;
    --font-main: 'Roboto', Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--yt-bg);
    color: var(--yt-text-primary);
    font-family: var(--font-main);
    line-height: 1.4;
}

/* Header */
header {
    height: 56px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    background: var(--yt-bg);
    z-index: 1000;
    border-bottom: 1px solid var(--yt-border);
}

.logo-section i {
    color: white;
}

.search-section {
    flex: 0 1 720px;
    display: flex;
    align-items: center;
}

.search-bar {
    width: 100%;
    display: flex;
    border: 1px solid var(--yt-border);
    background: #121212;
    border-radius: 40px 0 0 40px;
    padding: 0 16px;
    height: 40px;
    align-items: center;
}

.search-bar input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 16px;
    background: transparent;
    color: white;
}

.search-btn {
    width: 64px;
    height: 40px;
    background: var(--yt-hover);
    border: 1px solid var(--yt-border);
    border-left: none;
    border-radius: 0 40px 40px 0;
    cursor: pointer;
    color: white;
}

/* Main Layout */
main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0; /* Remove padding for mobile edge-to-edge video */
}

.left-column {
    width: 100%;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    header {
        padding: 0 8px;
    }

    .search-section {
        display: none; /* Hide search bar on mobile like YouTube app usually does in compact view */
    }

    main {
        padding: 0;
    }

    .video-container {
        border-radius: 0; /* Edge-to-edge video on mobile */
    }

    .video-info-wrapper {
        padding: 12px; /* Add padding back for text content */
    }

    .video-title {
        font-size: 18px;
        padding: 0 12px;
    }

    .video-stats {
        padding: 0 12px 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .video-actions {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .video-actions::-webkit-scrollbar {
        display: none;
    }

    .author-info {
        width: 100%;
        justify-content: space-between;
    }

    .subscribe-btn {
        margin-left: auto;
    }

    .description-box {
        margin: 12px;
    }

    .comments-section {
        padding: 0 12px;
    }
}

/* Video Player area */
.video-container {
    width: 100%;
    position: relative;
    background: #000;
}

vturb-smartplayer {
    width: 100% !important;
    max-width: 100% !important;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: linear-gradient(45deg, #1a1a1a, #333);
    cursor: pointer;
}

.play-btn {
    font-size: 48px; /* Slightly smaller for mobile */
    opacity: 0.8;
}

/* Video Info */
.video-title {
    font-size: 20px;
    font-weight: 700;
    margin: 12px 0 8px;
    color: var(--yt-text-primary);
    line-height: 1.2;
}

.video-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--yt-border);
}

.author-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 12px 0;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #444;
}

.author-details h4 {
    font-size: 14px;
    font-weight: 600;
}

.author-details p {
    font-size: 11px;
    color: var(--yt-text-secondary);
}

.subscribe-btn {
    background: white;
    color: black;
    padding: 0 12px;
    height: 32px;
    border-radius: 16px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-size: 13px;
}


/* Description Box */
.description-box {
    background: var(--yt-hover);
    padding: 12px;
    border-radius: 12px;
    margin: 16px 0;
    font-size: 14px;
    color: var(--yt-text-primary);
}

.description-box:hover {
    background: #333;
}

/* Comments Section */
.comments-header {
    font-size: 20px;
    font-weight: 700;
    margin: 24px 0;
}

.comment-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.comment-content {
    flex: 1;
}

.comment-author {
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 2px;
}

.comment-author span {
    font-weight: 400;
    color: var(--yt-text-secondary);
    margin-left: 8px;
}

.comment-text {
    font-size: 14px;
    margin-bottom: 8px;
}

.comment-actions {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--yt-text-secondary);
    align-items: center;
}

.like-count {
    margin-left: -12px;
}

/* Floating CTA (VSL style) */
#cta-button {
    display: none;
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff0000;
    color: white;
    padding: 18px 36px; /* Slightly larger padding */
    border-radius: 50px; /* Rounded pill style */
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(255, 0, 0, 0.4);
    animation: pulse 2s infinite;
    z-index: 10001;
    width: 90%; /* Wider on mobile */
    max-width: 400px;
    text-align: center;
}

@media (max-width: 768px) {
    #cta-button {
        font-size: 16px;
        padding: 16px 24px;
        bottom: 16px;
    }
}


@ k e y f r a m e s   p u l s e   {   0 %   {   t r a n s f o r m :   t r a n s l a t e X ( - 5 0 % )   s c a l e ( 1 ) ;   }   5 0 %   {   t r a n s f o r m :   t r a n s l a t e X ( - 5 0 % )   s c a l e ( 1 . 0 5 ) ;   }   1 0 0 %   {   t r a n s f o r m :   t r a n s l a t e X ( - 5 0 % )   s c a l e ( 1 ) ;   }   }  
 