/* ============================================
   PÁGINA DE VÍDEO
   ============================================ */

/* Importar fonte DM Sans */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

/* Body da página de vídeo */
.video-page-body {
    background-color: #161616;
    min-height: 100vh;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Botão Voltar no Header */
.back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.3s ease;
    margin-right: 10px;
}

.back-btn:hover {
    background: #f0f0f0;
}

/* Player de Vídeo (centralizado, não full width) */
.video-page-player {
    width: 100%;
    background: #161616;
    margin-top: 80px; /* Mesma altura do header */
    padding: 40px 20px 0;
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 1148px;
    margin: 0 auto;
    padding-bottom: 56.5%; /* Proporção 1148x649 */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
}

@media (min-width: 1149px) {
    .video-wrapper {
        padding-bottom: 0;
        height: 649px; /* Altura fixa */
    }
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

/* Conteúdo da Página de Vídeo - Layout 2 Colunas */
.video-page-content {
    background-color: #161616;
    padding: 30px 20px 40px;
}

.video-info-wrapper {
    max-width: 1148px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 25px;
    align-items: start;
}

.video-page-info {
    color: #ffffff;
}

.video-page-category {
    display: none; /* Não mostra categoria na página do vídeo */
}

.video-page-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.25;
    color: #ffffff;
}

.video-page-pastor {
    font-family: 'DM Sans', sans-serif;
    font-size: 1em;
    color: #999999;
    margin-bottom: 4px;
    font-weight: 400;
}

.video-page-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9em;
    color: #666666;
    margin-bottom: 20px;
}

.video-page-date svg {
    opacity: 0.6;
    width: 14px;
    height: 14px;
}

/* Botões Give e Subscribe inline */
.video-page-buttons-inline {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
}

.video-page-description {
    font-family: 'DM Sans', sans-serif;
    font-size: 1em;
    color: #aaaaaa;
    line-height: 1.75;
    max-width: 700px;
}

/* Card Discussão do Sermão - Lado Direito (Retangular) */
.sermon-discussion-card {
    background: #242424;
    border-radius: 12px;
    padding: 30px 28px 35px;
    text-align: center;
    border: none;
    height: fit-content;
}

.sermon-discussion-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 16px;
}

.sermon-discussion-icon svg {
    width: 100%;
    height: 100%;
    color: #ffffff;
}

.sermon-discussion-card h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.25em;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.sermon-discussion-card p {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9em;
    color: #888888;
    line-height: 1.6;
    margin-bottom: 20px;
}

.sermon-discussion-btn {
    font-family: 'DM Sans', sans-serif;
    display: inline-block;
    width: 100%;
    padding: 14px 20px;
    background: transparent;
    color: #ffffff;
    border: 1.5px solid rgba(255,255,255,0.25);
    border-radius: 8px;
    font-size: 0.9em;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sermon-discussion-btn:hover {
    background: #ffffff;
    color: #1a1a1a;
    border-color: #ffffff;
}

/* Botões da Página de Vídeo */
.video-page-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.video-page-btn {
    font-family: 'DM Sans', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.video-page-btn-primary {
    background: #ffffff;
    color: #1a1a1a;
}

.video-page-btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.video-page-btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.video-page-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Seção Próximo Passo */
.video-page-nextstep {
    background-color: #161616;
    padding: 60px 20px 70px;
    border-top: 1px solid #2a2a2a;
}

.video-page-nextstep-content {
    max-width: 1148px;
    margin: 0 auto;
    text-align: center;
}

.nextstep-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 2em;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
}

.nextstep-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.1em;
    color: #999999;
    max-width: 650px;
    margin: 0 auto 50px;
    line-height: 1.7;
}

.nextstep-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.nextstep-card {
    background: #1e1e1e;
    border-radius: 16px;
    padding: 35px 25px 30px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #2a2a2a;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nextstep-card:hover {
    background: #262626;
    border-color: #3a3a3a;
    transform: translateY(-5px);
}

/* Ícone do Card */
.nextstep-card-icon {
    width: 56px;
    height: 56px;
    background: #292929;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.nextstep-card-icon svg {
    width: 28px;
    height: 28px;
    color: #ffffff;
}

.nextstep-card h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.15em;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.nextstep-card p {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9em;
    color: #888888;
    line-height: 1.65;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Link com seta (Cards 1, 2, 3) */
.nextstep-card .card-link {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9em;
    color: #ffffff;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease;
}

.nextstep-card .card-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.nextstep-card:hover .card-link {
    gap: 10px;
}

.nextstep-card:hover .card-link::after {
    transform: translateX(3px);
}

.nextstep-card:hover .card-link::after {
    transform: translateX(4px);
}

/* Seção Mais Vídeos */
.video-page-more {
    background-color: #292929;
    padding: 30px 20px 50px;
    border-top: 1px solid #3a3a3a;
}

.video-page-more-content {
    max-width: 1148px;
    margin: 0 auto;
}

.more-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.more-header h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.2em;
    font-weight: 600;
    color: #ffffff;
}

.see-all-link {
    font-family: 'DM Sans', sans-serif;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.see-all-link:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Grid de Mais Vídeos */
.more-videos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.more-video-card {
    display: block;
    text-decoration: none;
    background: #1e1e1e;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #2a2a2a;
}

.more-video-card:hover {
    background: #242424;
    border-color: #333333;
    transform: translateY(-4px);
}

.more-video-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
    background: #000;
}

.more-video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.more-video-card:hover .more-video-thumbnail img {
    transform: scale(1.05);
}

.more-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.more-video-card:hover .more-play-icon {
    opacity: 1;
}

.more-play-icon::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 14px solid #ffffff;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    margin-left: 4px;
}

.more-video-info {
    padding: 16px;
}

.more-video-info h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95em;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.more-video-pastor {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8em;
    color: #888888;
    margin-bottom: 4px;
}

.more-video-date {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75em;
    color: #666666;
}

/* Share Dropdown na Página de Vídeo */
.video-page-buttons .share-dropdown-container {
    position: relative;
}

.video-page-buttons .share-dropdown {
    position: absolute;
    bottom: 100%;
    left: 0;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    min-width: 200px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    margin-bottom: 10px;
}

.video-page-buttons .share-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.video-page-buttons .share-dropdown::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 35px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #ffffff;
}

.video-page-buttons .share-option {
    font-family: 'DM Sans', sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.2s ease;
}

.video-page-buttons .share-option:hover {
    background: #f5f5f5;
}

/* ============================================
   RESPONSIVO - PÁGINA DE VÍDEO
   ============================================ */

@media (max-width: 1000px) {
    .video-info-wrapper {
        grid-template-columns: 1fr;
    }
    
    .sermon-discussion-card {
        max-width: 500px;
    }
}

@media (max-width: 900px) {
    .nextstep-cards {
        grid-template-columns: 1fr;
    }
    
    .more-videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .video-page-player {
        margin-top: 70px;
        padding: 20px 15px 0;
    }
    
    .video-wrapper {
        border-radius: 8px;
    }
    
    .video-wrapper iframe {
        border-radius: 8px;
    }
    
    .video-page-content {
        padding: 25px 15px 35px;
    }
    
    .video-page-title {
        font-size: 1.25em;
    }
    
    .video-page-pastor {
        font-size: 0.9em;
    }
    
    .video-page-description {
        font-size: 0.9em;
    }
    
    .video-page-buttons {
        flex-direction: column;
    }
    
    .video-page-btn {
        width: 100%;
        justify-content: center;
    }
    
    .video-page-nextstep {
        padding: 35px 15px 45px;
    }
    
    .nextstep-title {
        font-size: 1.2em;
    }
    
    .nextstep-subtitle {
        font-size: 0.9em;
    }
    
    .more-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .more-header h3 {
        font-size: 1.1em;
    }
    
    .more-videos-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .more-video-card {
        display: flex;
        flex-direction: row;
    }
    
    .more-video-thumbnail {
        width: 140px;
        min-width: 140px;
        padding-bottom: 0;
        height: 80px;
    }
    
    .more-video-info {
        padding: 12px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .more-video-info h4 {
        font-size: 0.9em;
        margin-bottom: 4px;
    }
    
    .more-play-icon {
        width: 36px;
        height: 36px;
    }
    
    .more-play-icon::after {
        border-left-width: 10px;
        border-top-width: 6px;
        border-bottom-width: 6px;
        margin-left: 3px;
    }
    
    /* Share dropdown no mobile */
    .video-page-buttons .share-dropdown {
        position: fixed;
        bottom: auto;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0.9);
        min-width: 260px;
        margin-bottom: 0;
    }
    
    .video-page-buttons .share-dropdown.show {
        transform: translate(-50%, -50%) scale(1);
    }
    
    .video-page-buttons .share-dropdown::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .video-page-player {
        padding: 15px 10px 0;
    }
    
    .video-page-content {
        padding: 20px 15px 30px;
    }
    
    .video-page-title {
        font-size: 1.15em;
    }
    
    .video-page-btn {
        padding: 11px 20px;
        font-size: 13px;
    }
    
    .nextstep-card {
        padding: 22px 18px;
    }
    
    .nextstep-card h4 {
        font-size: 0.95em;
    }
    
    .nextstep-card p {
        font-size: 0.8em;
    }
}

/* ============================================
   MOBILE-SPECIFIC FIXES - VIDEO PAGE
   ============================================ */

/* 1. DISABLE HORIZONTAL SCROLL/SWIPE - CRITICAL */
@media (max-width: 768px) {
    html,
    body.video-page-body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        position: relative;
    }
    
    body.video-page-body {
        touch-action: pan-y pinch-zoom;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: none;
    }
    
    /* Prevent ANY element from causing horizontal overflow */
    body.video-page-body * {
        max-width: 100vw;
    }
    
    /* Fix main containers */
    .video-page-player,
    .video-page-content,
    .video-page-nextstep,
    .video-page-more,
    .video-info-wrapper,
    .video-page-nextstep-content,
    .video-page-more-content {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        box-sizing: border-box;
    }
}

/* 2. VIDEO PLAYER FULLY RESPONSIVE - NO CROPPING */
@media (max-width: 768px) {
    .video-page-player {
        padding: 15px 0 0 0 !important;
        margin-top: 70px;
        width: 100%;
        max-width: 100vw;
        overflow: hidden;
    }
    
    .video-wrapper {
        width: 100% !important;
        max-width: 100vw !important;
        padding-bottom: 56.25% !important; /* 16:9 aspect ratio */
        height: 0 !important;
        border-radius: 0 !important;
        margin: 0;
        position: relative;
        overflow: hidden;
    }
    
    .video-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
        border: none;
        border-radius: 0 !important;
        max-width: 100vw;
    }
}

/* 3. HIDE EMBED BUTTON ON MOBILE - COMPLETELY REMOVED */
@media (max-width: 768px) {
    #embedBtn,
    .video-page-btn#embedBtn,
    button#embedBtn {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        opacity: 0 !important;
        pointer-events: none !important;
        position: absolute !important;
        overflow: hidden !important;
    }
    
    /* Also hide the embed modal on mobile */
    .embed-modal {
        display: none !important;
    }
}

/* 4. CUSTOM ICONS FOR SHARE AND COPY LINK BUTTONS */
/* Button icons base styles */
.btn-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.share-icon {
    background-image: url('../images/share-icon-white.png');
}

.copylink-icon {
    background-image: url('../images/copylink-icon-white.png');
}

/* Desktop styles for new button class */
.video-page-btn-outline {
    background: transparent;
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.video-page-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   MOBILE: SHARE & COPY LINK BUTTONS - EXACT MATCH
   ============================================ */
@media (max-width: 768px) {
    /* Container - buttons side by side, responsive */
    .video-page-buttons-inline {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 10px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Share dropdown container - same flex as button */
    .video-page-buttons-inline .share-dropdown-container {
        flex: 1 1 0;
        min-width: 0;
        display: flex;
    }
    
    /* BOTH BUTTONS - EXACTLY THE SAME SIZE */
    #shareVideoBtn,
    #copyLinkBtn {
        /* Identical dimensions */
        flex: 1 1 0;
        min-width: 0;
        width: 100%;
        
        /* Identical sizing */
        height: 44px;
        padding: 0 16px !important;
        
        /* Identical appearance */
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        
        /* Identical styling */
        font-family: 'DM Sans', sans-serif;
        font-size: 14px !important;
        font-weight: 500;
        
        /* Identical colors */
        background: transparent !important;
        color: #ffffff !important;
        border: 1.5px solid rgba(255, 255, 255, 0.5) !important;
        border-radius: 50px !important;
        
        /* Text handling */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        
        /* Reset any other styles */
        box-sizing: border-box;
    }
    
    /* Hover/active states - identical for both */
    #shareVideoBtn:hover,
    #shareVideoBtn:active,
    #copyLinkBtn:hover,
    #copyLinkBtn:active {
        background: rgba(255, 255, 255, 0.1) !important;
        border-color: rgba(255, 255, 255, 0.7) !important;
    }
    
    /* Icons - identical size for both */
    .btn-icon {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }
    
    /* Hide embed button on mobile */
    #embedBtn {
        display: none !important;
    }
}

/* Smaller screens - maintain equal sizing */
@media (max-width: 480px) {
    .video-page-buttons-inline {
        gap: 8px;
    }
    
    #shareVideoBtn,
    #copyLinkBtn {
        height: 40px;
        padding: 0 12px !important;
        font-size: 13px !important;
        gap: 6px;
    }
    
    .btn-icon {
        width: 14px;
        height: 14px;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    #shareVideoBtn,
    #copyLinkBtn {
        height: 38px;
        padding: 0 10px !important;
        font-size: 12px !important;
    }
    
    .btn-icon {
        width: 12px;
        height: 12px;
    }
}

/* 5. ADDITIONAL OVERFLOW PREVENTION */
@media (max-width: 768px) {
    /* Fix images that might cause overflow */
    .video-page-body img,
    .more-video-thumbnail img {
        max-width: 100%;
        height: auto;
    }
    
    /* Fix iframes */
    .video-page-body iframe {
        max-width: 100vw;
    }
    
    /* Nextstep cards - prevent overflow */
    .nextstep-cards {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    
    .nextstep-card {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* More videos section - prevent overflow */
    .more-videos-grid {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    
    .more-video-card {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Header and navigation - prevent overflow */
    .site-header,
    .header-container {
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    /* Video info wrapper - prevent overflow */
    .video-page-info {
        max-width: 100%;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
    
    .video-page-title,
    .video-page-description {
        max-width: 100%;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
}

/* ============================================
   MOBILE: SHARE MENU - VERTICAL DROPDOWN PANEL
   ============================================ */
@media (max-width: 768px) {
    /* Ensure video player stays in place */
    .video-page-player {
        position: relative;
        z-index: 1;
    }
    
    .video-wrapper {
        position: relative;
        z-index: 1;
    }
    
    /* Content area - higher z-index for dropdown */
    .video-page-content {
        position: relative;
        z-index: 100;
    }
    
    /* Share dropdown container */
    .share-dropdown-container {
        position: relative;
        z-index: 200;
    }
    
    /* SHARE DROPDOWN - CLEAN VERTICAL PANEL */
    .share-dropdown,
    #shareDropdown {
        position: absolute !important;
        top: calc(100% + 8px) !important;
        bottom: auto !important;
        left: 0 !important;
        right: auto !important;
        
        /* Size */
        width: 220px !important;
        min-width: 220px !important;
        max-width: 90vw !important;
        
        /* Appearance */
        background: #ffffff !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
        border: 1px solid rgba(0, 0, 0, 0.08) !important;
        
        /* Spacing */
        padding: 8px 0 !important;
        margin: 0 !important;
        
        /* Layering */
        z-index: 9999 !important;
        
        /* Hidden state */
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(-10px) !important;
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease !important;
        
        /* Display */
        display: block !important;
    }
    
    /* Share dropdown OPEN state */
    .share-dropdown.show,
    #shareDropdown.show {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }
    
    /* Remove any arrows */
    .share-dropdown::after,
    #shareDropdown::after,
    .share-dropdown::before,
    #shareDropdown::before {
        display: none !important;
    }
    
    /* SHARE OPTIONS - VERTICAL STACK */
    .share-dropdown .share-option,
    #shareDropdown .share-option {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 12px !important;
        padding: 12px 16px !important;
        margin: 0 !important;
        
        /* Text */
        color: #1a1a1a !important;
        font-family: 'DM Sans', sans-serif !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        text-decoration: none !important;
        
        /* Interaction */
        transition: background 0.15s ease !important;
        cursor: pointer !important;
    }
    
    .share-dropdown .share-option:hover,
    .share-dropdown .share-option:active,
    #shareDropdown .share-option:hover,
    #shareDropdown .share-option:active {
        background: #f5f5f5 !important;
    }
    
    /* Share option icons */
    .share-dropdown .share-option svg,
    #shareDropdown .share-option svg {
        width: 20px !important;
        height: 20px !important;
        flex-shrink: 0 !important;
    }
}

/* Ensure dropdown doesn't get cut off on smaller screens */
@media (max-width: 480px) {
    .share-dropdown,
    #shareDropdown {
        width: 200px !important;
        min-width: 200px !important;
    }
    
    .share-dropdown .share-option,
    #shareDropdown .share-option {
        padding: 11px 14px !important;
        font-size: 13px !important;
        gap: 10px !important;
    }
    
    .share-dropdown .share-option svg,
    #shareDropdown .share-option svg {
        width: 18px !important;
        height: 18px !important;
    }
}

/* 7. TOUCH ACTION RESTRICTIONS */
@media (max-width: 768px) {
    .video-page-player,
    .video-wrapper,
    .video-page-content,
    .video-info-wrapper {
        touch-action: pan-y pinch-zoom;
    }
    
    /* Allow normal touch on interactive elements */
    .video-page-btn,
    .share-dropdown-container,
    .share-dropdown,
    a,
    button {
        touch-action: manipulation;
    }
}
