* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #0b0b0b;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
}

/* Fe videos original at fevideos.com*/
* {
  scrollbar-width: thin;
  scrollbar-color: #2a0000 #0b0b0b;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(#2a0000, #120000);
  border-radius: 6px;
}


.mobile-header {
  display: none;
  height: 48px;
  background: #111;
  border-bottom: 1px solid #2a0000;
  align-items: center;
  padding: 0 0.75rem;
  gap: 0.75rem;
}

.mobile-header button {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.4rem;
}

.mobile-title {
  font-size: 0.9rem;
  font-weight: bold;
}


.layout {
  display: flex;
  height: 100vh;
}


.sidebar {
  width: 220px;
  background: #111;
  border-right: 1px solid #2a0000;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow-y: auto;
}

/* Fe videos original at fevideos.com*/
.logo {
  width: 36px;
  height: 36px;
}


.video-count {
  font-size: 0.75rem;
  color: #ff8080;
  margin-left: 6px;
}

.control {
  font-size: 0.9rem;
}

.control select {
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.45rem;
  background: #120000;
  color: #fff;
  border: 1px solid #2a0000;
  font-size: 0.95rem;
}


.checkbox {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.checkbox input {
  width: 18px;
  height: 18px;
  accent-color: #b00000;
}

/* Fe videos original at fevideos.com*/
.saved-toggle input {
  accent-color: gold;
  filter: drop-shadow(0 0 3px rgba(255,215,0,0.7));
  transform: scale(1.05);
}


.tag-button,
.clear-tags {
  background: #1a0000;
  border: 1px solid #2a0000;
  color: #fff;
  padding: 0.45rem;
  cursor: pointer;
}


.tag-menu {
  background: #120000;
  border: 1px solid #2a0000;
  padding: 0.6rem;
  max-height: 400px; /* tvoje zväčšenie */
  overflow-y: auto;
}

.hidden {
  display: none;
}

.tag-search {
  width: 100%;
  padding: 0.35rem;
  margin-bottom: 0.4rem;
  background: #0b0b0b;
  border: 1px solid #2a0000;
  color: #fff;
  font-size: 0.8rem;
}


.tag-item {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.95rem;
  padding: 0.4rem 0.3rem; 
  cursor: pointer;
}

.tag-item input {
  width: 18px;
  height: 18px;
}

.tag-item:hover {
  background: rgba(255, 255, 255, 0.05);
}


.feed {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}


.video-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}


.thumb-frame {
  aspect-ratio: 16 / 9;
  width: 95%;
  margin: 0 auto;
  border: 1px solid #2a0000;
  background: #120000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
}


.thumb-frame::after {
  content: "▶";
  position: absolute;
  font-size: 3rem;
  color: rgba(255,255,255,0.8);
  pointer-events: none;
  z-index: 2;
}

.thumb-frame.playing::after {
  display: none;
}

.thumb-frame img,
.thumb-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain; 
  background: #000;
}


.thumb-frame.new-video {
  box-shadow: 0 0 10px rgba(255, 80, 80, 0.25);
}

.new-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  font-size: 0.6rem;
  padding: 2px 6px;
  background: rgba(180, 0, 0, 0.75);
  color: #fff;
  border-radius: 4px;
  pointer-events: none;
  z-index: 3;
}


.video-title {
  font-size: 0.85rem;
}

.video-date {
  font-size: 0.7rem;
  color: #aaa;
}


.save-btn {
  background: none;
  border: none;
  color: #b00000;
  cursor: pointer;
  font-size: 0.9rem;
  align-self: flex-start;
}

.save-btn.saved {
  color: gold;
  text-shadow: 0 0 4px rgba(255,215,0,0.7);
}

/* Responsive */
@media (max-width: 1100px) {
  .feed {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 800px) {
  .feed {
    grid-template-columns: 1fr;
  }

  .mobile-header {
    display: flex;
  }

  .sidebar {
    position: fixed;
    top: 48px;
    left: 0;
    height: calc(100vh - 48px);
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    z-index: 10;
  }

  .sidebar.open {
    transform: translateX(0);
  }
}
/* Fe videos original at fevideos.com*/

@media (max-width: 800px) {

  .mobile-header {
    position: sticky;
    top: 0;
    z-index: 20;
    height: 56px; /* trochu väčšia */
    padding: 0 1rem;
  }

  .mobile-title {
    font-size: 1rem;
  }

  .sidebar {
    top: 56px;
    height: calc(100vh - 56px);
  }
}


.like-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  color: #555;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s ease, transform 0.15s ease;
}

.like-btn:hover {
  color: #ff8080;
}

.like-btn.liked {
  color: #ff3b3b;
}


.tag-count {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  font-size: 0.65rem;
  background: #b00000;
  color: #fff;
  border-radius: 999px;
  vertical-align: middle;
}

.tag-count.hidden {
  display: none;
}

body:not(.locked) #patreon-lock {
  display: none;
}

#patreon-lock {
  position: fixed;
  inset: 0;
  background: radial-gradient(
    ellipse at top,
    rgba(120, 0, 0, 0.15),
    rgba(0, 0, 0, 0.95)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.patreon-card {
  background: #0f0f0f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 30px 24px 32px;
  max-width: 380px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}


.patreon-site-logo {
  width: 64px;
  height: auto;
  margin-bottom: 14px;
}
/* Fe videos original at fevideos.com*/
.patreon-card h2 {
  margin: 0 0 6px;
  font-size: 1.25rem;
  font-weight: 600;
}

.patreon-card p {
  margin: 0 0 18px;
  font-size: 0.9rem;
  opacity: 0.75;
}



.patreon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  background: rgb(191, 5, 5);
  color: white;
  text-decoration: none;

  padding: 14px 18px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;

  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background 0.15s ease;

  box-shadow: 0 10px 30px rgba(255, 66, 77, 0.35);
}

.patreon-btn img {
  height: 22px;
  width: auto;
}

.patreon-btn:hover {
  background: #ff5b64;
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(255, 66, 77, 0.45);
}

.patreon-btn:active {
  transform: translateY(0);
}
.patreon-logo {
  height: 22px;
  width: auto;
  margin-left: 10px;
  display: block;
}
#patreon-lock {
  display: none;
}
body:not(.locked) #patreon-lock {
  display: none !important;
}
body.locked #patreon-lock {
  display: flex;
}
.patreon-profile-link {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 10px 14px;
  border-radius: 10px;

  font-size: 0.9rem;
  font-weight: 500;

  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.06);

  transition: background 0.15s ease, transform 0.15s ease;
}

.patreon-profile-link img {
  height: 18px;
  width: auto;
}

.patreon-profile-link:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.patreon-card h2 {
  margin: 10px 0 8px;
}

.patreon-card p {
  margin: 0 0 22px;
  line-height: 1.5;
}

video::-webkit-media-controls-overlay-play-button {
  opacity: 0.35;
}


video::-webkit-media-controls-overlay-play-button:hover {
  opacity: 0.6;
}
/* PERFECTED 2026 by Bokul */


