html,body {
        font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', sans-serif;
        background-color: #181818; 
        color: #e0e0e0;
        padding: 0;
        margin: 0;
		overflow-x: hidden;
}

a {
	text-decoration: none;
	color: #fff;
}

a:focus {
	outline: 0;
}
h1,
h2,
h3,
h4 {
  display: block;
  font-weight: 600;
  letter-spacing: -0.5px;
  padding: 0;
  line-height: 1.3;
}

h1 {
  font-size: 1.5rem;
  margin: 0 0 12px;
}

h2 {
  font-size: 1.25rem;
  margin: 15px 0 10px;
}

h3 {
  font-size: 16px;
  margin: 0;
}

.video-main-title {
  color: #fff;
}

input:focus {
	outline: none;
}

.margin {
	margin: 0px 0;
}

.color {
	color: #fff;
}

.clear {
	clear: both;
}

header {
	width: 100%;
	height: 60px;
	background: #141414;
	display: flex;
	border-top: 0px solid #333;
	border-bottom: 0px solid #333;
}

.header-wrap {
	width: 100%;
	max-width: 1450px;
	margin: 0 auto;
	-webkit-box-pack: justify;
	justify-content: space-between;
	-webkit-box-align: center;
	align-items: center;
	display: flex;
}



.top::before {
  content: "";
  width: 100%;
  height: 6px;
  display: block;
  background: #FA8072;
}

.top {
  background: #0000;
}

.container-inner {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 3px 0; 
}

.logo {
  font-weight: 900;
  font-size: 40px;
  text-decoration: none;
  display: inline-block;
  margin-left: 0; 
}

.logo-word-a,
.logo-word-b {
  margin-right: 2px;
}

.logo-word-a {
  color: #FA8072;
}

.logo:hover > .logo-word-b {
  color: #FA8072;
}

.logo:hover > .logo-word-a {
  color: #fff;
}

@media (max-width: 768px) {
  .logo {
    font-size: 24px;
  }
}

main {
	width: 96%;
	margin: 10px auto 20px;
	max-width: 1450px;
	min-height: 765px;
}

main::after {
	content: "";
	display: table;
	width: 100%;
}

.similar {
	margin: 15px 0;
}

.more-videos {
	text-align: center;
	margin: 20px 0;
	width: 100%;
	display: inline-block;
}

.more-videos a {
	width: 260px;
	background-color: #222;
	padding: 10px 0;
	border-radius: 2px;
	display: inline-block;
	border: 1px solid #FA8072;
}


article {
	position: relative;
	float: left;
	margin: 0 0.5% 11px;
	width: 24%;
	height: auto;
}

article .video-item {
    width: 100%;
    display: block;
    margin: auto;
    position: relative;
    overflow: hidden;
}

article img {
	width: 100%;
	height: 100%;
	border-radius: 5px;
	position: absolute;
	top: 0;
	bottom: 0;
	object-fit: cover;
	min-height: 130px;
}

article .videothumb {
	width: 100%;
	position: relative;
	padding-top: 55%;
	display: block;
}

article .video-thumbnail {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

article .video-thumbnail:hover {
    transform: scale(1.02);
}


article .video-duration {
    position: absolute;
    font-size: 14px;
    color: #fff; 
    background-color: rgba(0, 0, 0, 0.5); 
    padding: 5px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

article .video-duration {
    bottom: 10px;
    right: 10px;
}

article .video-item:hover .video-duration {
    color: #000;
    background-color: rgba(255, 255, 255, 0.8);
}

article .video-item:hover img {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

article .video-item:hover .video-calitate {
    opacity: 0.7;
}

article .video-calitate {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: bold;
    color: #fff;
    border-radius: 5px;
    transition: all 0.3s ease;
}

article .video-calitate.hd {
    background-color: #cc0000;
    border: 1px solid #800000;
}

article .video-calitate.lq {
    background-color: #4B5A5E; 
    border: 1px solid #2d3739;
}

article .video-title {
    font-size: 16px;
    font-weight: 700;
    margin: 5px 0 0;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

article .video-title a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

article .video-title a:hover {
    color: #FA8072;
}

.site-description {
	font-size: 14px;
	margin: 20px 0 20px;
	display: inline-block;
}

.site-description p {
	margin: 3px 0 5px;
	color: #f4f4f4;
	text-align: justify;
	text-transform: none;
}

footer {
    width: 100%;
    text-align: left; 
    background: #141414;
    border-top: 0px solid #333;
    color: #d0d0d0;
    font-size: 12px;
    padding: 5px 0; 
    line-height: 30px; 
}

footer a {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin: 0 10px; 
}

footer a:first-child {
    margin-left: 0; 
}

footer p {
    margin: 10px 0;
    line-height: 15px;
    margin-left: 0; 
}


@media (max-width: 480px) {
	header {
		position: sticky;
	}
}

@media (max-width: 1025px) {

    h1 {
		font-size: 22px;
	}

	h2 {
		font-size: 18px;
	}

	h3,
	h4 {
		font-size: 16px;
	}

	.header-wrap {
		width: 98%;
		margin: 0 1%;
	}

	main {
		width: 98%;
		margin: 10px 1% 15px;
	}

	article {
		width: 32%;
		margin: 0 0.66% 5px;
	}

	.logo {
		margin: 0 auto;
		float: unset;
	}
}

@media (max-width: 768px) {

	article {
		width: 48%;
		margin: 0 1% 5px;
	}
	

}

@media (max-width: 480px) {
	
    h1 {
		font-size: 20px;
	}

	h2 {
		font-size: 17px;
	}

	h3,
	h4 {
		font-size: 16px;
	}

	p {
		font-size: 14px;
	}

	.header-wrap {
		width: 97%;
		margin: 0 1.5%;
	}

	main {
		width: 96%;
		margin: 10px auto 15px;
	}

	article {
		width: 100%;
		margin: 0 0 5px;
	}
}

p {
	margin-block-start: 0px;
	margin-block-end: 0px;
	margin-inline-start: 0px;
	margin-inline-end: 0px;
}

@media (max-width: 480px) {
	header {
		height: 62px;
		top: 0;
		z-index: 1;
	}
}

@media (max-width: 480px) {
	header {
		z-index: 99999;
	}
}

.more-videos {
	z-index: 90016;
	position: relative;
}

.emoji-icon {
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
}

@media (max-width: 480px) {
    body header {
        position: sticky;
    }
}

.more-videos {
	z-index: 90016;
}

header {
	z-index: 90020;
	position: relative;
}

@media (max-width: 360px) {

	.more-videos a {
		width: 98%;
	}
}

.yarpp {
	display: inline-block;
	position: relative;
	width: 100%;
	height: 100%;
}

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


        .container {
            display: flex;
            align-items: center;
            background: #333;
            padding: 7px;
            border-radius: 0px;
            width: 100%;
            max-width: 100%;
        }

        .menu {
            display: flex;
            gap: 10px;
        }

        .menu button {
            background: #555;
            color: white;
            border: none;
            padding: 10px 15px;
            border-radius: 5px;
            cursor: pointer;
            transition: 0.3s;
            white-space: nowrap;
        }

        .menu button:hover {
            background: #FA8072;
        }

.search-bar {
    display: flex;
    align-items: center;
    margin-left: auto;
    background: #444;
    border-radius: 5px;
    padding: 5px;
    transition: width 0.3s ease; 
    width: 300px; 
}



.search-bar input {
    width: 100%; 
    padding: 8px;
    border: none;
    border-radius: 5px;
    outline: none;
    background: #555;
    color: white;
}

.search-bar button {
    background: transparent;
    border: none;
    cursor: pointer;
    color: white;
    font-size: 18px;
    margin-left: 5px;
}

.search-popup {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.search-popup-content {
    background: #444;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 300px;
    text-align: center;
}

.search-popup-content input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    border-radius: 5px;
    outline: none;
    background: #555;
    color: white;
}

.search-popup-content button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background: #666;
    color: white;
    margin: 5px;
}

.search-popup-content button:hover {
    background: #FA8072;
}

@media (min-width: 481px) {
    .search-bar {
        width: 400px; 
    }
    .search-bar .search-icon {
        display: none;
    }
}

@media (max-width: 480px) {
    .search-bar {
        background: transparent; 
        padding: 0; 
        width: auto; 
    }

    .search-bar input {
        width: 0;
        padding: 0;
    }
	
    .search-bar .search-icon {
        display: block;
        font-size: 20px;
        background: transparent;
        border: none;
        cursor: pointer;
        color: white; 
    }

    .search-bar button {
        display: none;
    }
}


article h3 {
	margin-block-start: 0;
	margin-block-end: 0;
	font-size: 16px;
	font-weight: normal;
	margin: 0;
}

iframe {
	border: 0;
}

.pagination {
    text-align: center;
    margin-top: 20px;
}

.pagination a {
    text-decoration: none;
    padding: 8px 12px;
    margin: 2px;
    background: #222; 
    color: white;
    border-radius: 5px;
    border: 2px solid white; 
    transition: background 0.3s, color 0.3s;
}

.pagination a.active {
    background: #444; 
    font-weight: bold;
    border-color: #FA8072; 
}

.pagination a:hover {
    background: #333;
    color: #fff;
}

.video-info {
    width: 100%;
    background: transparent;
    color: white;
    padding: 10px 0;
    font-size: 16px;
    font-weight: 500;
}

.video-category-label {
    display: inline-block;
    margin-top: 5px;
    font-weight: 600;
}

.row-flex {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 10px;
}

.description {
    margin-bottom: 10px;
}

.embed {
    position: relative;
    padding-bottom: 56.25%; 
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.embed iframe,
.embed video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal {
    background: #222; 
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.2);
    width: 90%;
    max-width: 400px;
    opacity: 0; 
    transform: scale(0.8);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.overlay.show {
    display: flex;
}

.overlay.show .modal {
    opacity: 1;
    transform: scale(1);
}

.modal h2 {
    color: #ffffff; 
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.modal p {
    color: #e0e0e0; 
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.5; 
}

.modal button {
    background: #D32F2F; 
    border: none;
    color: white;
    padding: 12px 24px;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    margin: 10px;
    font-weight: bold; 
}

.modal button:hover {
    background: #C2185B; 
}

.modal .continue {
    background: #2C6B2F; 
}

.modal .continue:hover {
    background: #1B5E20; 
}

.video-tags {
	display: flex;
	flex-wrap: nowrap;
	overflow-x: auto;
	overflow-y: hidden;

	padding: 5px 0 10px;
	margin: 0 0 5px;

	scrollbar-width: thin;
	scrollbar-color: #666 #222;
	-webkit-overflow-scrolling: touch;
}

.video-tags::-webkit-scrollbar {
	height: 5px;
}

.video-tags::-webkit-scrollbar-track {
	background: #222;
	border-radius: 10px;
}

.video-tags::-webkit-scrollbar-thumb {
	background: #666;
	border-radius: 10px;
}

.video-tags::-webkit-scrollbar-thumb:hover {
	background: #888;
}

.video-tags a {
	flex: 0 0 auto;

	color: #fff;
	text-decoration: none;

	border: 1px solid #555;
	border-radius: 5px;

	padding: 0 10px;
	margin-right: 8px;

	white-space: nowrap;

	font-size: 14px;
	font-weight: 500;

	height: 30px;
	line-height: 30px;

	transition: border-color .2s ease, box-shadow .2s ease;
}

.video-tags a:hover {
	border-color: #FA8072;
	box-shadow: 0 0 8px rgba(255, 43, 43, .35);
}

.video-tags i {
	position: relative;
	top: 1px;
	margin-right: 3px;
}

@media (max-width: 768px) {
	.video-tags {
		padding-bottom: 8px;
	}

	.video-tags a {
		font-size: 13px;
		height: 28px;
		line-height: 28px;
		padding: 0 9px;
	}
}



.language-switcher {
  display: inline-block;
  margin: 10px;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  background-color: #202020;
  color: white;
  padding: 6px 10px; 
  font-size: 14px; 
  border: 1px solid white; 
  cursor: pointer;
  border-radius: 4px;
  width: 100%;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #202020;
  min-width: 140px; 
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content a {
  color: white;
  padding: 10px 14px; 
  font-size: 14px;     
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #ddd;
  color: black;
}

.dropdown:hover .dropbtn {
  background-color: #2C6B2F;
}


/* Poziționarea meniului popup */
.menu {
    position: relative; /* Asigură că meniul se va poziționa în raport cu acest container */
}

.menu-popup {
    display: none;
    position: absolute;
    top: 128%; /* Meniul va fi poziționat 10px mai jos decât înainte */
    left: 0; /* Aliniere la stânga butonului */
    width: 250px;
    background-color: #222;
    color: white;
    padding: 5px;
    border-radius: 2px;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}
/* Restul stilizărilor pentru linkuri și butoane */
.menu-popup-content a {
    display: block;
    color: white;
    padding: 10px 0;
    text-decoration: none;
    border-bottom: 1px solid #444;
    font-size: 16px;
}

.menu-popup-content a:hover {
    background-color: #FA8072;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.tags-box {
    max-height: 720px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid #333;
    background: #141414;
    padding: 12px;
    border-radius: 6px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.tags-box a {
    display: block;
    color: #fff;
    background: #222;
    border: 1px solid #444;
    border-radius: 5px;
    padding: 8px 10px;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tags-box a:hover {
    border-color: #FA8072;
    color: #FA8072;
}

.tags-box::-webkit-scrollbar {
    width: 6px;
}

.tags-box::-webkit-scrollbar-track {
    background: #222;
}

.tags-box::-webkit-scrollbar-thumb {
    background: #666;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .tags-box {
        grid-template-columns: repeat(2, 1fr);
        max-height: 80vh;
    }
}

@media (max-width: 480px) {
    .tags-box {
        grid-template-columns: 1fr;
        max-height: 80vh;
    }
}

.all-tags-link {
    margin-top: 12px;
    text-align: center;
}

.all-tags-link a {
    display: inline-block;
    padding: 10px 16px;
    border: 1px solid #444;
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
    transition: .2s;
}

.all-tags-link a:hover {
    border-color: #FA8072;
    color: #FA8072;
}

@media (max-width: 768px) {
    .all-tags-link a {
        width: 100%;
        max-width: 320px;
        box-sizing: border-box;
        text-align: center;
        padding: 12px;
    }
}