* {  user-select:none;   }
img {  pointer-events:none;   }


#loader {  position: fixed; top:0;left:0;bottom:0;right:0;  width:100%;height:100%;    }
#loader .loader {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 120px;
  height: 120px;
  margin: -76px 0 0 -76px;
}

.loader{
  border:30px solid #E4E4ED;
  border-radius: 50%;
  transform:rotate(45deg);
}
.loader::before {
  content: "";
  position: absolute;
  inset:-30px;
  border-radius: 50%;
  border:30px solid #2D77FF;
  animation: p8 1s infinite linear;
}

@keyframes p8 {
    0%   {clip-path:polygon(50% 50%,0 0,0    0,0    0   ,0    0   ,0    0   )}
    25%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 0   ,100% 0   ,100% 0   )}
    50%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,100% 100%,100% 100%)}
    75%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0    100%,0    100%)}
    100% {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0    100%,0    0   )}
}


.animate-bottom {
  position: relative;
  -webkit-animation-name: animatebottom;
  -webkit-animation-duration: 1s;
  animation-name: animatebottom;
  animation-duration: 1s
}

@-webkit-keyframes animatebottom {
  from { bottom:-100px; opacity:0; } 
  to { bottom:0px; opacity:1; }
}

@keyframes animatebottom { 
  from{ bottom:-100px; opacity:0; } 
  to{ bottom:0; opacity:1; }
}

#myDiv {  display: none;  text-align: center;   }



.gbutton {
  width: 50%;  height: 48px;  
  text-align:center;  
  background: #0d1b2a;
  color: #ffffff;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 6px;
  padding: 14px 32px;
  box-shadow: 0px 8px 24px 0px rgba(13,27,42,0.4);
  transition: all 0.25s ease-out;
  cursor: pointer;
  display: inline-flex;
  user-select: none;
  position: relative;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-decoration:none;   margin: 0 auto;
}

.gbutton:hover {  transform: translateY(-3px);  background: #1e3a5f;  color: #ffffff;   }
.gbutton:active {  transform: scale(0.96);   }



  
/* Chrome, Edge and Safari */
body::-webkit-scrollbar,.modal::-webkit-scrollbar {
  height: 12px;
  width: 12px;
}
body::-webkit-scrollbar-track,.modal::-webkit-scrollbar-track {
  border-radius: 3px;
  background-color: #DFE9EB;
  border: 1px solid #FFFFFF;
}

body::-webkit-scrollbar-track:hover,.modal::-webkit-scrollbar-track:hover {
  background-color: #B8C0C2;
}

body::-webkit-scrollbar-track:active,.modal::-webkit-scrollbar-track:active {
  background-color: #B8C0C2;
}

body::-webkit-scrollbar-thumb,.modal::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background-color: #170C75;
  border: 1px solid #FFFFFF;
}

body::-webkit-scrollbar-thumb:hover,.modal::-webkit-scrollbar-thumb:hover {
  background-color: #4747A3;
}

body::-webkit-scrollbar-thumb:active,.modal::-webkit-scrollbar-thumb:active {
  background-color: #065FA3;
}


body.darkmode::-webkit-scrollbar-track{
  border: 1px solid #333;
}
body.darkmode::-webkit-scrollbar-thumb{
    border: 1px solid #000;
}





        ::-webkit-scrollbar {
            width: 8px;
        }

        ::-webkit-scrollbar-track {
            background: #1e293b;
        }

        ::-webkit-scrollbar-thumb {
            background: #475569;
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: #64748b;
        }



       * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {            background-color: #0f172a;            color: #f1f5f9;            line-height: 1.6;        }

        .container {            width: 95%;            margin: 0 auto;            padding: 20px;        }

        header {
            text-align: center;
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 1px solid #334155;
        }

        .logo {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            margin-bottom: 10px;
        }

        .logo i {            color: #3b82f6;            font-size: 2.5rem;        }

.logo img {  object-fit: cover;   }

        .logo h1 {
            font-size: 2.2rem;
            background: linear-gradient(90deg, #3b82f6, #8b5cf6);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        .tagline {            color: #94a3b8;            font-size: 1.1rem;        }

        .main-content {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }

        @media (min-width: 800px) {
            .main-content {                flex-direction: row;            }
        }

        .video-section {            flex: 3;        }

        .video-container {
            position: relative;
            width: 100%;
            padding-bottom: 56.25%; /* Proporção 16:9 */
            background-color: #1e293b;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
            margin-bottom: 20px;
        }

        .video-container .iframe, .video-container iframe {
            position: absolute;
            top: 0;
            left: 0;  
            bottom:0;  right:0;
            width: 100%;
            height: 100%;
            border: none;  overflow: hidden;
        }
       .video-container iframe {   overflow: hidden;    }

        .video-info {   overflow:auto; 
            background-color: #1e293b;
            padding: 25px;
            border-radius: 12px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }


#main-video {  width:100%; height:100%;   }


.md-info {  position:relative; display:block;top:0;left:0;right:0;bottom:0; text-transform: uppercase;  overflow:auto; height: 100%;width:100%; padding:5px;text-align:center;color:#fff;background:#000;   }
.video-container .iframe #main-video .md-info img, .video-container .iframe .md-info img, .md-info img, #main-video .md-info img {  pointer-events:none; text-align:center;margin:0 auto;display: block;  background:#000;   width: 64px !important;   height: 64px !important;   object-fit: contain !important;  }


        .video-title {
            font-size: 1.8rem;
            margin-bottom: 15px;
            color: #f8fafc;
        }

        .video-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin-bottom: 20px;
            color: #94a3b8;
            font-size: 0.95rem;
        }

        .video-meta span {
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .video-description {              color: #cbd5e1;             line-height: 1.7;        }

        .playlist-section {            flex: 1;        }

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

        .playlist-header h2 {            font-size: 1.5rem;            color: #f8fafc;        }

        .playlist-count {
            background-color: #3b82f6;
            color: white;
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.9rem;
        }

        .playlist-container {  
            background-color: #1e293b;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 00 5px 15px rgba(0, 0, 0, 0.2);
            max-height: 600px;
            overflow-y: auto;
        }

        .playlist-item {  overflow:auto; 
            display: flex;
            padding: 15px;
            border-bottom: 1px solid #334155;
            cursor: pointer;
            transition: background-color 0.2s;
        }

        .playlist-item:hover {            background-color: #2d3748;        }

        .playlist-item.active {            background-color: #3b82f6;     pointer-events: none;  opacity:0.7;  }

        .playlist-item.active .playlist-item-title {            color: white;        }

        .playlist-item.active .playlist-item-duration {            color: #e2e8f0;        }

        .playlist-item-thumb {
            width: 80px;
            height: 50px;
            border-radius: 6px;
            overflow: hidden;
            margin-right: 15px;
            flex-shrink: 0;
        }

        .playlist-item-thumb img, .video-container .iframe img {            width: 100%;            height: 100%;            object-fit: cover;        }

        .playlist-item-info {            flex: 1;        }

        .playlist-item-title {            font-size: 1rem;            margin-bottom: 5px;            color: #f1f5f9;        }

        .playlist-item-duration {            font-size: 0.85rem;            color: #94a3b8;        }

        .playlist-item i {            color: #3b82f6;            align-self: center;            margin-left: 10px;        }

        .playlist-item.active i {            color: white;        }


        .video-controls {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 20px;
            background-color: #1e293b;
            border-radius: 0 0 12px 12px;
        }

        .control-btn {
            background-color: #3b82f6;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 6px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            font-weight: 500;
            transition: background-color 0.3s;
        }

        .control-btn:hover {            background-color: #2563eb;        }

        .control-btn.secondary {            background-color: #475569;        }

        .control-btn.secondary:hover {            background-color: #334155;        }


        footer {
            text text-align: center;
            margin-top: 50px;
            padding-top: 20px;
            border-top: 1px solid #334155;
            color: #94a3b8;
            font-size: 0.9rem;
        }

        .playlist-container::-webkit-scrollbar {            width: 8px;        }

        .playlist-container::-webkit-scrollbar-track {            background: #1e293b;        }

        .playlist-container::-webkit-scrollbar-thumb {            background: #3b82f6;            border-radius: 4px;        }

        @media (max-width: 768px) {
            .video-title {                font-size: 1.5rem;            }
            
            .video-meta {                flex-direction: column;                gap: 8px;            }
            
            .playlist-item {                padding: 12px;            }
            
            .playlist-item-thumb {                width: 70px;                height: 45px;            }

          .video-controls {                flex-direction: column;                gap:  15px;                align-items: stretch;            }

          .control-btn {                justify-content: center;            }
          
        }

        @media (max-width: 480px) {
          
          
        }

       @media (max-width: 576px) {
            .container {                padding: 15px;            }
            
            .logo h1 {                font-size: 1.8rem;            }
            
            .video-info {                padding: 20px;            }
        }


