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 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin: 20px 0 10px;
    text-align: left;
    line-height: 1.2;
    word-break: break-word;
}

/* Redimensionare pentru ecrane mici */
@media (max-width: 600px) {
    h1 {
        font-size: 22px;
    }
}
h2,
h3,
h4 {
  display: block;
  font-size: 1.25rem; 
  font-weight: 600;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
  padding: 0;
  line-height: 1.3;
}

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: #88B04B;
}

.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: #88B04B;
}

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

.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 #88B04B;
}


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

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

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

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

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

.content .thumbnail:hover {
    transform: scale(1.02);
}


.content .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;
}

.content .duration {
    bottom: 10px;
    right: 10px;
}

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

.content .item:hover img {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.content .item:hover .quality {
    opacity: 0.7;
}

.content .quality {
    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;
}

.content .quality.hd {
    background-color: #cc0000;
    border: 1px solid #800000;
}

.content .quality.lq {
    background-color: #4B5A5E; 
    border: 1px solid #2d3739;
}

.content .title {
    font-size: 16px;
    font-weight: bold;
    margin-top: 5px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.content .title a {
    font-size: 1rem; /* Dimensiune uniformă */
    line-height: 1.4; /* Mai compact pentru titluri */
}

.content .title a:hover {
    color: #88B04B;
}

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

.info 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) {

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

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

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

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

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

@media (max-width: 768px) {

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

}

@media (max-width: 480px) {

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

	p {
		font-size: 14px;
	}

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

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

	.content {
		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;
            justify-content: space-between; /* Asta împinge .menu la stânga și .search la dreapta */
            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: #88B04B;
        }

.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: #88B04B;
}

@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;
    }
}


.content h2 {
	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: #88B04B; 
}

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

.video-info {
    width: 100%;
    background: transparent;
    color: white; 
    padding: 10px;
}

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

.description {
    margin-bottom: 10px;
}

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

.player iframe,
.player 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; 
}

.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: #88B04B;
}

.latest-added-container {
    background-color: #88B04B;
    border-radius: 2px;
    padding: 5px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: nowrap; /* NU permite trecerea pe rând nou */
    overflow: hidden;
}

.latest-added-container h1 {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0;
    color: #000;
    padding: 0;
    white-space: nowrap; /* Previne ruperea pe mai multe linii */
    overflow: hidden;
    text-overflow: ellipsis; /* Taie frumos textul dacă nu încape */
}

.view-more-btn {
    background-color: #D32F2F;
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s, transform 0.2s ease-in-out;
    white-space: nowrap;
    font-size: 0.9rem;
}

/* Efect la hover */
.view-more-btn:hover {
    transform: scale(1.05);
}

/* Media query pentru mobil */
@media (max-width: 500px) {
    .latest-added-container h1 {
        font-size: 1rem;
    }

    .view-more-btn {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}


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

.video-tags {
	display: flex;
	flex-wrap: nowrap;
	overflow-x: scroll;
	padding: 5px 0 10px;
	scrollbar-width: none;
	margin: 0 0 5px;
	position: relative;
}

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

.video-tags a {
	color: #fff;
	border: 1px solid #555;
	padding: 0 10px;
	margin: 0 10px 0 0;
	white-space: nowrap;
	font-size: 14px;
	height: 30px;
	line-height: 30px;
	font-weight: 500;
	border-radius: 5px;
	text-decoration: none;
	display: inline-block;
	background: #222;
	flex-shrink: 0;
}

.video-tags a:hover {
	background: #444;
}

@media (max-width:918px) {
	.video-tags {
		scrollbar-width: thin;
		scrollbar-color: #666 #161616;
	}
}

.video-taguri {
	display: flex;
	flex-wrap: wrap; 
	overflow-x: visible; 
	padding: 5px 0 10px;
	scrollbar-width: none;
	margin: 0 0 5px;
	position: relative;
}

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

.video-taguri a {
	color: #fff;
	border: 1px solid #555;
	padding: 0 10px;
	margin: 5px 10px; 
	white-space: nowrap;
	font-size: 14px;
	height: 30px;
	line-height: 30px;
	font-weight: 500;
	border-radius: 5px;
}

.video-taguri i {
	position: relative;
	top: 1px;
	margin: 0 2px 0 0;
}

@media (max-width: 768px) {
	.video-taguri a {
		font-size: 12px;
		padding: 8px 10px;
		height: auto;
		line-height: normal;
		width: calc(33.333% - 10px); 
		box-sizing: border-box;
		margin: 5px 10px; 
	}
}

