/*
Theme Name: DarkTube Theme V2
Author: Your Name
Description: Minimal dark-style WordPress theme (structure + design only).
Version: 1.7.8
*/


	  .thumb-watermark {
  position: absolute;
  top: 5px;
  right: 2px;
  color: rgba(255,255,255,0.85);
  font-size: clamp(8px, 2vw, 10px); /* se micsorează/adaptează automat */
    background: rgba(0,0,0,0.99);  /* puțin mai transparent */
  padding: 0em 0.15em;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  
    white-space: nowrap;
    border-radius: 3px;
  pointer-events: none;
  user-select: none;
  z-index: 2;
}
	  
.fancybox-video-watermark {
    position: absolute;
    z-index: 9999;
    color: rgba(255,255,255,0.85);
    background: rgba(0,0,0,0.99);  /* puțin mai transparent */
    padding: 0em 0.15em;
    border-radius: 3px;
    pointer-events: none;
    white-space: nowrap;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}



/* Basic reset */
* { box-sizing: border-box; }
html, body { height:100%; margin:0; padding:0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #0d0d0f;
  color: #e8e8e8;
  line-height:1.45;
}

 

/* Container */
.container {
  width: 96%;
  max-width: 1200px;
  margin: 0 auto;
}

  

/* Main content grid */
.main-content { padding:28px 0; }

/* Posts grid – 2 până la 6 coloane */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

/* Individual post card */
.post-card {
	max-width: 180px;
  display: flex;
  flex-direction: column;
  background-color: #111;
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.2s ease;
}
.post-card:hover {
  transform: scale(1.03);
}

/* Thumbnail – păstrează proporția completă */
/* Thumbnail păstrează proporția verticală (aprox. 2:3) */
.post-card .thumb {
  width: 100%;
  padding-top: 150%; /* vertical, aprox 2:3 */
  background-size: contain;  
  background-repeat: no-repeat;
  background-position: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}


/* Content under thumbnail */
.post-card .content {
  padding: 8px;
  text-align: center;
}
.post-card .content h2 {
  font-size: 14px;
  margin: 6px 0 0 0;
}
.post-card .content h2 a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}
.post-card .content h2 a:hover {
  color: #ff3366;
}
.post-card .content p {
  display: none; /* ascunde excerpt */
}

/* Post meta */
.post-meta {
  font-size:12px; 
  /*color:#999; */
  color: e8e8e8;
  margin-top:8px;
}
 

/* Responsive tweaks */
@media(max-width:600px){ 
  .posts-grid { gap: 12px; }
}



/* Pagination wrapper */
.pagination-wrap {
  text-align: center;
  margin-top: 24px;
}

/* Lista de linkuri */
.pagination-wrap ul {
  display: inline-flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 8px;
}

/* Fiecare link (li) */
.pagination-wrap ul li {
  display: inline-block;
}

/* Linkurile din paginare */
.pagination-wrap ul li a,
.pagination-wrap ul li span {
  display: block;
  padding: 6px 12px;
  background-color: #111;
  color: #e8e8e8;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  transition: all 0.2s ease;
}

/* Hover */
.pagination-wrap ul li a:hover {
  background-color: #222;
  color: #ff3366;
}

/* Current page */
.pagination-wrap ul li .current {
  background-color: #ff3366;
  color: #fff;
  font-weight: bold;
}

/* Disable prev/next */
.pagination-wrap ul li .disabled {
  opacity: 0.4;
  cursor: default;
}




.single-hero {
  width: 100%;
  padding: 40px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 6px;
  margin-bottom: 30px;
  position: relative;
  color: #fff;
}
 

/* Overlay semi-transparent optional */
.single-hero::before {
  content: '';
  position: absolute;
  top:0; left:0; right:0; bottom:0;
  background: rgba(0,0,0,0.6);
  border-radius: 6px;
  z-index:1;
}

/* Container intern pentru coloane */
.single-hero-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;
  position: relative;
  z-index:2;
  flex-wrap: wrap;
}

/* Coloana stânga – thumbnail mic */
.hero-thumb img {
  width: 220px;
  border-radius: 6px;
  object-fit: cover;
}

/* Coloana dreapta – titlu + meta */
.hero-info {
  flex:1;
  min-width: 200px;
}

.hero-info .entry-title {
  font-size: 28px;
  color: #fff;
  margin-bottom: 12px;
  line-height:1.2;
}

.hero-info .post-meta {
  font-size: 14px;
  color: #bbb;
}

.hero-info .post-meta span {
  display: inline-block;
  margin-right: 12px;
}

/* Content full width */
.single-card .entry-content {
  width: 100%;          /* ocupă toată lățimea paginii */
  max-width: none;      /* eliminăm orice limitare */
  margin: 20px 0;       /* spațiu sus/jos */
  padding: 0 16px;      /* padding intern pe laterale */
  line-height: 1.6;
  font-size: 16px;
  color: #e8e8e8;
}



/* Responsive – mobil */
@media (max-width: 768px) {
  .single-hero-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .hero-thumb img {
    width: 180px;
    margin: 0 auto;
  }

  .hero-info {
    flex: unset;
    min-width: unset;
  }
}


  
  
  

/* Hero overlay */
.single-hero::before {
  position: absolute;
  top:0; left:0; right:0; bottom:0;
  background: rgba(0,0,0,0.6);
  border-radius:6px;
  z-index:1;
  pointer-events: none; /* nu afectează scroll */
}

/* Hero container intern */
.single-hero-inner {
  position: relative; /* pentru overlay */
  z-index:2;
  max-width: 100%;
  box-sizing: border-box;
}

/* Hero thumb responsive */
.hero-thumb img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Posts grid – nu depășește viewport */
.posts-grid {
  max-width: 100%;
  box-sizing: border-box;
  
}



/* Butoane filtrare */
.filter-buttons {
    margin-bottom: 20px;
    text-align: center;
}
.filter-buttons a {
    color: #ccc;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 4px;
    background: #111;
    margin: 0 4px;
    transition: 0.2s;
}
.filter-buttons a.active,
.filter-buttons a:hover {
    background: #ff3366;
    color: #fff;
}
 

/* Titlu film */
.movie-title {
    font-size: 20px;
    margin: 20px 0 12px;
    color: #fff;
}



.movie-grid {
    display: grid;
    gap: 8px; /* mai mic, mai compact */
    margin-bottom: 40px;
    justify-items: stretch; /* umple spațiul coloanei */
    grid-template-columns: repeat(2, 1fr); /* default minim 2 coloane */
}

/* Tablet / desktop: până la 5 coloane */
@media (min-width: 768px) {
    .movie-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .movie-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1400px) {
    .movie-grid {
        grid-template-columns: repeat(5, 1fr); /* maxim 5 coloane */
    }
}

/* Grid item */
.grid-item {
    width: 100%; /* ocupă întreaga coloană */
    background: #111;
    padding: 4px;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Imagini și video */
.grid-item img,
.grid-item video {
    width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}


/* Linkuri în entry-content, container și main-content, excluzând filter-buttons */
.entry-content a:not(.filter-buttons a),
.content a:not(.filter-buttons a) {
    color: #ff3366;           /* culoare vizibilă pe dark */
    text-decoration: none;    /* fără underline */
    transition: color 0.2s ease;
}

.entry-content a:not(.filter-buttons a):hover,
.entry-content a:not(.filter-buttons a):focus,
.content a:not(.filter-buttons a):hover,
.content a:not(.filter-buttons a):focus {
    color: #ff6699;           /* hover mai deschis */
}

/* Linkuri vizitate */
.entry-content a:not(.filter-buttons a):visited {
    color: #cc6699;
}


 

/* Container thumbnail video */
.video-thumb-wrapper {
    position: relative;
    display: block;
    overflow: hidden; /* păstrează butonul în container */
}

/* Thumbnail video */
.video-thumb-img {
    width: 100%;
    display: block;
    object-fit: cover;
    transition: none; /* fără zoom pe thumbnail */
    border-radius: 0; /* fără margini rotunde */
}

/* Overlay buton play */
.play-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none; /* click-ul trece prin overlay */
}

/* Cerc static vizibil în jurul butonului */
.play-circle {
    position: absolute;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255,51,102,0.9);
    border-radius: 50%;
    z-index: 1;
	transition: transform 0.3s ease, opacity 0.3s ease; /* animăm scale și opacity */
}

/* Butonul de play */
.play-icon {
    width: 50px;
    height: 50px;
    background: #ff3366;
    mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><polygon points="35,25 75,50 35,75" fill="white"/></svg>') center/contain no-repeat;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><polygon points="35,25 75,50 35,75" fill="white"/></svg>') center/contain no-repeat;
    position: relative;
    z-index: 2; 
	transition: transform 0.3s ease, background 0.3s ease;
}

/* Hover: poți să-l faci mai mare sau să-l lași static */
.video-thumb-wrapper:hover .play-circle {
    transform: scale(1.2); /* fără zoom pe hover */
    opacity: 1;
}
/* Hover – iconul crește ușor */
.video-thumb-wrapper:hover .play-icon {
    transform: scale(1.2);
} 

 
 
/* ===== HEADER IMPUNĂTOR ===== */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;           /* mai mult padding pentru aer */
  background: linear-gradient(180deg, #0a0a0a, #111); /* fundal mai închis, elegant */
  box-shadow: 0 4px 12px rgba(0,0,0,0.6); /* efect de profunzime */
  border-bottom: 2px solid #ff3366; /* accente roz */
  z-index: 999;
}

/* Titlu mare */
.site-title a {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #ff3366; /* mai „wow” */
  text-decoration: none;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

/* Meniu mai vizibil */
.site-nav ul {

  display: inline-flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0; 
  margin-left:20px;
}
.site-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
}
.site-nav a:hover {
    background: #ff3366;
    color: #fff;
}

 
/* ===== MOBILE ===== */
@media (max-width: 768px) {
	.site-nav ul { 
  margin-left:0px;
}
  .header-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding: 12px 16px;
  }

  .site-title a {
    font-size: 24px;
  }

  .site-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

 
}



/* Search form unificat - desktop + mobil */
.search-form {
  width: 100%;
  max-width: 360px;       /* dimensiune fixă maximă */
  display: flex;
  justify-content: flex-end; /* desktop: dreapta */
  margin-left: auto;
}

.search-form form {
  display: flex;
  width: 100%;
}

.search-form input[type="text"],
.search-form input[type="search"] {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px 0 0 24px; /* colț stânga rotunjit */
  background: #1a1a1d;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  outline: none;
  transition: all 0.3s ease;
}

.search-form input[type="text"]:focus,
.search-form input[type="search"]:focus {
  border-color: #ff3366;
  box-shadow: 0 0 8px rgba(255,51,102,0.6);
}

.search-form button {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 0 24px 24px 0; /* colț dreapta rotunjit */
  border: none;
  background: #ff3366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  margin: 0;
  transition: all 0.3s ease;
}

.search-form button:hover {
  background: #ff6699;
}

/* MOBILE */
@media (max-width: 768px) {
  .search-form {
    justify-content: center; /* centru pe mobil */
    margin: 10px auto 0;     /* centru cu margini verticale */
  }

  .search-form form {
    width: 100%;
    max-width: 320px;        /* puțin mai mic pe mobil */
  }

  .search-form input[type="text"] {
    border-radius: 24px 0 0 24px;
  }

  .search-form button {
    border-radius: 0 24px 24px 0;
  }
}





.site-footer {
  background: #0a0a0a;
  padding: 28px 0;
  color: #e8e8e8;
  font-size: 14px;
}

/* Linia doar pe container */
.site-footer .container {
  border-top: 2px solid #ff3366;
  padding-top: 28px; /* dacă vrei spațiu între conținut și linie */
}
 
 
 /* ===== FOOTER DESKTOP ===== */
.footer-columns {
  display: flex;
  justify-content: space-between; /* primul meniu stânga, al doilea dreapta */
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;          /* linkuri pe orizontală */
  flex-direction: row;
  gap: 16px;
}

.footer-col ul li a {
  color: #ff3366;
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 500;
}

.footer-col ul li a:hover {
  color: #ff6699;
}

/* ===== MOBILE ===== */
@media(max-width:768px) {
  .footer-columns {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-col {
    width: 100%;
    margin-bottom: 16px;
  }

  .footer-col ul {
    flex-direction: row; /* păstrează linkurile pe orizontală */
    flex-wrap: wrap;     /* dacă nu încape, trece pe rândul următor */
    justify-content: center;
    gap: 12px;
  }
}



h1 {
font-size: 28px;
color: #fff;}
h2 {
font-size: 20px;
color: #fff;}

@media (max-width: 768px) {
	h1 {
font-size: 24px;}
h2 {
font-size: 18px;}
	.hero-info .entry-title {
  font-size: 24px;
}
.movie-title {
    font-size: 18px;
}
} 




#popup-box {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    max-width: 90%;
    background: #1c1c1c;
    color: #fff;
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    z-index: 9999; /* acum e peste tot */
    font-family: sans-serif;
    text-align: center;
}


/* Close button */
#popup-box .close-btn {
    position: absolute;
    top: 8px;
    right: 12px;
    cursor: pointer;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
}

#share-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
    font-family: sans-serif;
}

#share-links a {
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 5px;
    font-weight: 500;
    font-size: 14px;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

/* Culori vii */
#share-x { background: #1DA1F2; }        /* albastru X */
#share-telegram { background: #0088cc; } /* albastru Telegram */
#share-whatsapp { background: #25D366; } /* verde WhatsApp */
#share-reddit { background: #FF4500; }    /* portocaliu Reddit */
#share-tumblr { background: #34526f; }    /* albastru Tumblr */
#share-copy { background: #C4C4C4; }    /* albastru Tumblr */

/* Hover efect */
#share-links a:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    filter: brightness(1.2);
}
.center {
        justify-content: center; /* doar pe mobil centrăm linkurile */
    }

/* Responsive pe mobil */
@media (max-width: 768px) {
    #share-links a {
        font-size: 13px;
        padding: 6px 10px;
    }
	#share-links {
        justify-content: center; /* doar pe mobil centrăm linkurile */
    }
}



 