/* ========================================

MODERN VIDEO HUB - COMPLETE CSS

ICON NAVIGATION + CATEGORIES DROPDOWN + HAMBURGER MENU

16:9 Aspect Ratio | 4 Columns @ 1280px

======================================== */

/* ===== RESET & VARIABLES ===== */

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

:root {
  --primary-color: #ff6b6b;
  --secondary-color: #6a4bc6;
  --bg-dark: #16161a;
  --bg-card: #25254d;
  --bg-darker: #181836;
  --text-light: #e0e1dd;
  --text-gray: #b8b8b8;
  --text-white: #ffffff;
  --accent-blue: #a7c7e7;
  --accent-gold: #f5b041;
  --hover-link: #7cd2ff;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Roboto', Arial, sans-serif;
  background-color: var(--bg-dark);
  color: #fb6b71;
  /* font-size: x-large; */
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HEADER ===== */

header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 10px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  flex-wrap: nowrap;
}

.logo {
  font-weight: 800;
  font-size: 28px;
  color: var(--text-white);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
  order: 1;
}

.logo a {
  color: var(--text-white);
}

.logo-icon {
  margin-right: 8px;
  font-size: 24px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

/* ===== NAVIGATION (IKONOS MENÜ) ===== */

nav {
  order: 2;
  flex: 1;
  display: flex;
  justify-content: center;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  align-items: center;
}

nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-white);
  transition: all 0.3s ease;
  position: relative;
  padding: 5px 10px;
}

nav a svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

nav a span {
  display: block;
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
}

nav a:hover,
nav a:focus {
  color: var(--hover-link);
}

nav a:hover svg {
  transform: scale(1.15);
}

/* Underline animáció */
nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--text-white);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 80%;
}

/* ===== AKTÍV MENÜ ===== */

nav a.active {
  color: #FFC107;
}

nav a.active svg {
  fill: #FFC107;
}

nav a.active::after {
  width: 80%;
  height: 3px;
  background: var(--primary-color);
}

/* ===== CATEGORIES MEGA DROPDOWN MENU ===== */

.dropdown-nav {
  position: relative;
}

.dropdown-toggle {
  position: relative;
  padding-right: 20px !important;
}

.dropdown-arrow {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
  margin-top: -10px;
}

.dropdown-nav:hover .dropdown-arrow {
  transform: translateY(-50%) rotate(180deg);
  margin-top: -10px;
}

/* Mega dropdown container */
.mega-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 15px;
  background: var(--bg-card);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9999;
  min-width: 700px;
  max-width: 900px;
  padding: 0;
  border: 2px solid rgba(255, 107, 107, 0.3);
}

.dropdown-nav:hover .mega-dropdown {
  opacity: 1;
  visibility: visible;
  margin-top: 10px;
}

.mega-dropdown-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 25px 20px;
}

.mega-column {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mega-column a {
  padding: 4px 15px !important;
  font-size: 14px !important;
  color: var(--text-light) !important;
  transition: all 0.2s ease !important;
  border-radius: 6px;
  display: block !important;
  text-align: left !important;
  white-space: nowrap;
  font-weight: 500 !important;
  background: transparent !important;
}

.mega-column a::after {
  display: none !important;
}

.mega-column a svg {
  display: none !important;
}

.mega-column a:hover {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
  color: var(--text-white) !important;
  transform: translateX(5px);
  padding-left: 20px !important;
}

/* Footer with "View All" button */
.mega-footer {
  padding: 15px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0 0 12px 12px;
}

.view-all-btn {
  display: inline-block;
  padding: 10px 30px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-white) !important;
  border-radius: 25px;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.view-all-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(255, 107, 107, 0.5);
}

/* Arrow indicator */
.mega-dropdown::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 8px solid rgba(255, 107, 107, 0.3);
}

.mega-dropdown::after {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 7px solid var(--bg-card);
}

/* ===== SEARCH BOX ===== */

.search-box {
  order: 3;
  display: flex;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  overflow: visible;
  flex-shrink: 0;
  min-width: 250px;
}

.search-box form {
  display: flex;
  width: 100%;
  gap: 0;
}

.search-box input[type="text"] {
  flex: 1;
  padding: 10px 18px;
border-radius: 6px 0 0 6px;  /* ← ADD THIS */
  border: none;
  background-color: rgba(255, 255, 255, 0.95);
  color: #333;
  font-size: 15px;
  min-width: 180px;
}

.search-box input[type="text"]::placeholder {
  color: #999;
}

.search-box input[type="text"]:focus {
  outline: none;
  background-color: #fff;
}

.search-box button {
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.2);
  border: none;
  padding: 0 18px;
  color: var(--text-white);
  cursor: pointer;
 border-radius: 0 6px 6px 0;  /* ← ADD THIS */
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-box button:hover {
  background: rgba(0, 0, 0, 0.4);
}

.search-box button svg {
  width: 18px;
  height: 18px;
}

/* ===== HAMBURGER MENU (REJTVE DESKTOP-ON) ===== */

.hamburger-menu {
  display: none;
}

.menu-overlay {
  display: none;
}

/* ===== PAGE HEADER ===== */

.page-header {
  margin: 20px 0 12px 0;
}

.page-header h1 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 6px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.filter-bar,
.month-selector {
  display: flex;
  gap: 12px;
  margin: 12px 0;
  flex-wrap: wrap;
  align-items: center;
}

.month-selector label {
  font-weight: 600;
  color: var(--text-gray);
}

.filter-bar select,
.month-selector select {
  background: var(--bg-card);
  color: var(--text-white);
  border: 2px solid transparent;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-bar select:hover,
.month-selector select:hover {
  border-color: var(--primary-color);
  background: var(--bg-darker);
}

.total-count {
  margin: 6px 0 12px 0;
  color: var(--text-gray);
  font-size: 16px;
}

/* ===== GRID LAYOUTS ===== */

.channel-grid,
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin-bottom: 25px;
  margin-top: 12px;
}

/* ===== CHANNEL CARD ===== */

.channel-card {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
}

.channel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(255, 107, 107, 0.4);
}

.channel-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-darker);
  overflow: hidden;
}

.channel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.channel-card:hover .channel-thumb img {
  transform: scale(1.04);
}

.channel-overlay {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: linear-gradient(135deg, rgba(106, 75, 198, 0.95), rgba(255, 107, 107, 0.95));
  color: var(--text-white);
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
}

.channel-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 16px 12px;
}

.channel-avatar {
  flex-shrink: 0;
}

.channel-avatar img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid var(--primary-color);
  box-shadow: 0 3px 15px rgba(255, 107, 107, 0.4);
}

.channel-details {
  width: 100%;
}

.channel-details h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0px;
  line-height: 1.1;
}

.channel-details .subscribers {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.1;
  margin-top: 2px;
}

/* ===== VIDEO CARD ===== */

.video-card {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
}

.video-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(106, 75, 198, 0.4);
}

.video-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-darker);
  overflow: hidden;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.video-card:hover .video-thumb img {
  transform: scale(1.03);
}

.video-overlay {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 5;
}

.video-card:hover .video-overlay {
  opacity: 1;
}

.play-icon {
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

/* ===== VIDEO DURATION & QUALITY ===== */

.duration,
.quality {
  position: absolute;
  background: rgba(0, 0, 0, 0.85);
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  color: var(--text-white);
  font-weight: 700;
  z-index: 10;
  line-height: 1.2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

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

.quality {
  top: 10px;
  left: 10px;
  background: var(--primary-color);
}

.video-info {
  padding: 14px 16px;
}

.video-info h3 {
  font-size: 15px;
  color: var(--text-white);
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-meta {
  font-size: 13px;
  color: var(--text-gray);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.separator {
  color: #555;
  font-weight: 700;
}

.rating {
  color: var(--accent-gold);
  font-weight: 700;
}

.channel {
  color: var(--accent-blue);
  font-weight: 600;
}

/* ===== A-Z CATEGORIES SECTION ===== */

.az-categories-section {
  margin: 40px 0;
  padding: 10px;
  background: var(--bg-card);
  border-radius: 12px;
}

.az-categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.az-column {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.az-item {
  padding: 0;
}

.az-link {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 3px 10px;
  color: var(--text-light);
  transition: all 0.3s ease;
  border-radius: 6px;
  background: transparent;
}

.az-link:hover {
  background: var(--bg-darker);
  color: var(--text-white);
  transform: translateX(4px);
}

.az-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-white);
}

.az-count {
  font-size: 13px;
  color: var(--text-gray);
  font-weight: 500;
}

/* ===== SEARCH PILLS ===== */

.recent-searches-section,
.popular-searches-section {
  margin: 40px 0;
}

.search-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}

.search-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
  color: var(--text-white);
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  text-transform: capitalize;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.search-pill:hover {
  background: linear-gradient(135deg, #7c3aed 0%, #9333ea 100%);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
  transform: translateY(-3px) scale(1.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.search-pill:active {
  transform: translateY(-1px) scale(1.02);
}

/* ===== SEO TEXT SECTIONS ===== */

.seo-section {
  margin: 40px 0;
  padding: 30px;
  background: var(--bg-card);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.seo-section h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.seo-section h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-white);
  margin: 30px 0 15px 0;
}

.seo-section p {
  color: var(--text-light);
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 1.7;
}

.seo-section a {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s ease;
}

.seo-section a:hover {
  color: var(--hover-link);
  text-decoration: none;
}

/* ===== PAGINATION ===== */

.pagination {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 40px 0;
}

.page-link {
  padding: 12px 18px;
  background: var(--bg-card);
  border-radius: 8px;
  color: var(--text-light);
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}

.page-link:hover {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-white);
  transform: translateY(-2px);
}

.page-link.active {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-white);
}

.prev-next {
  background: var(--bg-darker);
}

.dots {
  pointer-events: none;
  background: transparent;
  box-shadow: none;
}

/* ===== VIDEO PAGE ===== */

.video-page {
  display: block !important;
  grid-template-columns: initial !important;
  margin-top: 20px;
}

.video-content-wrapper {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.video-main {
  flex: 1;
  min-width: 0;
  width: 100%;
}

.video-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  margin-bottom: 25px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.video-player iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-details h1 {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 15px;
  line-height: 1.3;
}

.video-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--text-gray);
  flex-wrap: wrap;
}

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

.video-stats .rating {
  color: var(--accent-gold);
  font-weight: 700;
}

.video-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.btn-action {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--bg-card);
  color: var(--text-light);
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-action:hover {
  border-color: var(--primary-color);
  background: var(--bg-darker);
  transform: translateY(-2px);
}

.btn-like:hover {
  background: var(--primary-color);
  color: var(--text-white);
  border-color: var(--primary-color);
}

.btn-favorite:hover {
  background: var(--accent-gold);
  color: var(--text-white);
  border-color: var(--accent-gold);
}

/* ===== CHANNEL BAR ===== */

.channel-bar {
  margin-bottom: 25px;
}

.channel-info-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  padding: 16px;
  border-radius: 10px;
}

.channel-info-bar .channel-avatar img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid var(--primary-color);
}

.channel-info-bar .channel-details {
  flex: 1;
}

.channel-info-bar .channel-details h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 4px;
}

.channel-info-bar .channel-details .subscribers {
  font-size: 13px;
  color: var(--text-gray);
}

.btn-subscribe {
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-white);
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-subscribe:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5);
}

/* ===== VIDEO DESCRIPTION ===== */

.video-description {
  background: var(--bg-card);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 25px;
}

.video-description h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
}

.video-description p {
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 15px;
}

.tags {
  display: flex;
  gap: 10px;
  margin: 15px 0;
  flex-wrap: wrap;
}

.tag {
  padding: 6px 14px;
  background: var(--bg-darker);
  border-radius: 20px;
  font-size: 12px;
  color: var(--accent-blue);
  font-weight: 600;
  transition: all 0.3s ease;
}

.tag:hover {
  background: var(--primary-color);
  color: var(--text-white);
}

.video-meta-info {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.video-meta-info p {
  margin-bottom: 8px;
  font-size: 14px;
}

.video-meta-info strong {
  color: var(--primary-color);
}

/* ===== COMMENTS ===== */

.comments-section {
  background: var(--bg-card);
  padding: 25px;
  border-radius: 10px;
}

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

.comments-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-white);
}

.sort-comments {
  background: var(--bg-darker);
  color: var(--text-light);
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
}

.comment-input {
  display: flex;
  gap: 12px;
  margin-bottom: 25px;
}

.comment-avatar img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--bg-darker);
}

.comment-input input {
  flex: 1;
  padding: 12px 16px;
  background: var(--bg-darker);
  border: 2px solid transparent;
  border-radius: 8px;
  color: var(--text-light);
  font-size: 14px;
}

.comment-input input:focus {
  border-color: var(--primary-color);
  outline: none;
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.comment {
  display: flex;
  gap: 12px;
}

.comment-content {
  flex: 1;
}

.comment-header {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 6px;
}

.comment-author {
  font-weight: 700;
  color: var(--text-white);
  font-size: 14px;
}

.comment-time {
  font-size: 12px;
  color: var(--text-gray);
}

.comment-text {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 8px;
  font-size: 14px;
}

.comment-actions {
  display: flex;
  gap: 15px;
}

.comment-like,
.comment-reply {
  background: none;
  border: none;
  color: var(--text-gray);
  font-size: 13px;
  cursor: pointer;
  font-weight: 600;
  transition: color 0.3s ease;
}

.comment-like:hover,
.comment-reply:hover {
  color: var(--primary-color);
}

.load-more-comments {
  width: 100%;
  padding: 12px;
  background: var(--bg-darker);
  color: var(--text-light);
  border: 2px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.load-more-comments:hover {
  border-color: var(--primary-color);
  background: var(--bg-card);
}

/* ===== SIDEBAR BANNERS ===== */

.video-sidebar {
  width: 300px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 20px;
}

.sidebar-banner {
  width: 300px;
  height: 250px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== RELATED VIDEOS ===== */

.related-videos {
  width: 100% !important;
  margin-top: 30px;
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
  gap: 18px !important;
  margin-bottom: 25px;
}

.related-videos > h3 {
  font-size: 32px !important;
  font-weight: 800 !important;
  color: var(--text-white);
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  grid-column: 1 / -1;
}

.related-videos .video-card {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
}

.related-videos .video-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(106, 75, 198, 0.4);
}

.related-videos .video-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-darker);
  overflow: hidden;
}

.related-videos .video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.related-videos .video-card:hover .video-thumb img {
  transform: scale(1.08);
}

.related-videos .duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.85);
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  color: var(--text-white);
  font-weight: 700;
  z-index: 10;
  line-height: 1.2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.related-videos .video-info {
  padding: 14px 16px;
}

.related-videos .video-info h3 {
  font-size: 15px !important;
  color: var(--text-white) !important;
  font-weight: 700 !important;
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
  background-clip: initial !important;
  grid-column: initial;
}

/* ===== FOOTER ===== */

footer {
  background: var(--bg-darker);
  padding: 40px 0 0 0;
  margin-top: 60px;
  border-top: 3px solid var(--primary-color);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-section h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 15px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: var(--text-gray);
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--primary-color);
}

/* ===== FOOTER LEGAL BAR ===== */

.footer-legal {
  background: rgba(0, 0, 0, 0.3);
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 0;
}

.footer-legal .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-legal-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-legal-links a {
  color: var(--text-gray);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  transition: all 0.3s ease;
}

.footer-legal-links a:hover {
  background: rgba(255, 107, 107, 0.2);
  color: var(--primary-color);
}

.footer-legal-text {
  text-align: center;
  color: var(--text-gray);
  font-size: 13px;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto !important;
  padding: 0 20px;
}

.footer-legal-text p {
  margin: 0;
  text-align: center;
}

.footer-legal-text a {
  color: var(--primary-color);
  text-decoration: underline;
}

.footer-legal-text a:hover {
  color: var(--hover-link);
}

.footer-badges {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-badge {
  padding: 8px 16px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-badge img {
  height: 30px;
  width: auto;
}

.footer-badge-text {
  font-size: 11px;
  color: var(--text-gray);
}

.copyright {
  text-align: center;
  color: var(--text-gray);
  font-size: 13px;
  margin-top: 15px;
}

/* ===== SCROLL TO TOP BUTTON ===== */

.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  z-index: 999;
  transition: all 0.3s ease;
  opacity: 0;
  transform: scale(0.8);
}

.scroll-to-top.visible {
  display: flex;
  opacity: 1;
  transform: scale(1);
}

.scroll-to-top:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 6px 30px rgba(255, 107, 107, 0.6);
}

.scroll-to-top:active {
  transform: translateY(-3px) scale(1.02);
}

.scroll-to-top svg {
  pointer-events: none;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* ===== RESPONSIVE - 1280px (4 COLUMNS GUARANTEED) ===== */

@media (min-width: 1280px) {
  .channel-grid,
  .video-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===== RESPONSIVE - TABLET & MOBILE (1024px ALATT HAMBURGER) ===== */

@media (max-width: 1024px) {
  /* Header container */
  header .container {
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
  }

  /* Hamburger menü balra */
  .hamburger-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 2000;
    padding: 8px;
    order: 1;
    flex-shrink: 0;
  }

  .hamburger-menu span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--text-white);
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  .hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .hamburger-menu.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  /* Logo középre */
  .logo {
    order: 2;
    font-size: 26px;
    flex: 1;
    justify-content: center;
    text-align: center;
  }

  /* Keresőmező jobbra */
  .search-box {
    order: 3;
    min-width: 200px;
    max-width: 300px;
    flex-shrink: 1;
  }
  
  .search-box input[type="text"] {
    min-width: 150px;
  }

  /* NAV - Slide-in menü balról */
  nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 80px 30px 30px 30px;
    transition: left 0.4s ease;
    z-index: 1500;
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.5);
    order: 0;
    overflow-y: auto;
    display: flex;
    justify-content: flex-start;
  }

  nav.active {
    left: 0;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
    width: 100%;
  }

  nav a {
    flex-direction: row;
    gap: 12px;
    font-size: 17px;
    padding: 12px 10px;
    width: 100%;
    justify-content: flex-start;
  }
  
  nav a svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
  }

  nav a span {
    display: block;
  }

  nav a::after {
    display: none;
  }
  
  /* Categories dropdown a slide-in menüben */
  .dropdown-nav {
    width: 100%;
  }
  
  .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding-right: 15px !important;
  }
  
  .dropdown-arrow {
    position: static;
    transform: none;
    margin-top: 0;
    margin-left: auto;
  }
  
  .mega-dropdown {
    position: static;
    transform: none;
    margin-top: 10px;
    min-width: 100%;
    max-width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    border: none;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
  }
  
  .mega-dropdown::before,
  .mega-dropdown::after {
    display: none;
  }
  
  .dropdown-nav.active .mega-dropdown {
    max-height: 800px;
    opacity: 1;
    visibility: visible;
  }
  
  .dropdown-nav.active .dropdown-arrow {
    transform: rotate(180deg);
  }
  
  .mega-dropdown-inner {
    grid-template-columns: 1fr;
    padding: 15px 10px;
    gap: 5px;
  }
  
  .mega-column {
    gap: 5px;
  }
  
  .mega-column a {
    font-size: 15px !important;
    padding: 10px 15px !important;
  }
  
  .mega-footer {
    padding: 12px 15px;
  }

  /* Overlay */
  .menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .menu-overlay.active {
    display: block;
    opacity: 1;
  }

  /* Video sidebar */
  .video-content-wrapper {
    flex-direction: column;
  }

  .video-sidebar {
    width: 100%;
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .sidebar-banner {
    width: 300px;
    height: 250px;
  }

  /* A-Z Categories */
  .az-categories-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  /* Related videos */
  .related-videos {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 20px !important;
  }

  /* Video & Channel grids */
  .channel-grid,
  .video-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
  }
}

/* ===== RESPONSIVE - MOBILE (768px ÉS KISEBB) ===== */

@media (max-width: 768px) {
  /* Header wrapper */
  header .container {
    flex-wrap: wrap;
  }

  /* Logo középre, kisebb */
  .logo {
    font-size: 24px;
  }

  /* Keresőmező teljes szélességben alul */
  .search-box {
    order: 4;
    width: 100%;
    margin-top: 3px;
    margin-bottom: 6px;
    min-width: 100%;
    max-width: 100%;
  }

  .search-box input[type="text"] {
    min-width: 0;
    width: 100%;
  }

  /* Slide-in menü szűkebb mobilon */
  nav {
    width: 280px;
  }

  /* Video sidebar - csak 1 banner */
  .video-sidebar {
    width: 100%;
    position: static;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .sidebar-banner:not(:first-child) {
    display: none !important;
  }

  .sidebar-banner {
    width: 100%;
    max-width: 300px;
  }

  /* Duration badge */
  .duration {
    bottom: 8px;
    right: 8px;
    padding: 4px 8px;
    font-size: 11px;
  }

  /* A-Z Categories */
  .az-categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .az-categories-section {
    padding: 20px;
  }

  /* Search pills */
  .search-pill {
    padding: 10px 18px;
    font-size: 13px;
  }

  /* SEO sections */
  .seo-section {
    padding: 20px;
  }

  .seo-section h2 {
    font-size: 22px;
  }

  .seo-section h3 {
    font-size: 18px;
  }

  .seo-section p {
    font-size: 15px;
  }

  /* Grids */
  .channel-grid,
  .video-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
  }

  /* Page header */
  .page-header h1 {
    font-size: 22px;
  }

  /* Video page */
  .video-details h1 {
    font-size: 22px;
  }

  .video-actions {
    flex-wrap: wrap;
  }

  .btn-action {
    flex: 1 1 calc(50% - 6px);
    justify-content: center;
  }

  /* Related videos */
  .related-videos {
    grid-template-columns: 1fr !important;
  }

  .related-videos > h3 {
    font-size: 28px !important;
  }

  /* Footer */
  .footer-legal-links {
    gap: 10px;
  }

  .footer-legal-links a {
    font-size: 12px;
    padding: 6px 12px;
  }

  .footer-legal-text {
    font-size: 12px;
    max-width: 100%;
    padding: 0 15px;
  }

  .footer-badges {
    flex-direction: column;
  }

  /* Scroll to top button */
  .scroll-to-top {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }

  .scroll-to-top svg {
    width: 20px;
    height: 20px;
  }
}

/* ===== RESPONSIVE - EXTRA SMALL MOBILE (480px ÉS KISEBB) ===== */

@media (max-width: 480px) {
  /* Logo még kisebb */
  .logo {
    font-size: 22px;
  }

  /* Grids 1 oszlop */
  .channel-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  /* Duration */
  .duration {
    bottom: 6px;
    right: 6px;
    padding: 3px 6px;
    font-size: 10px;
  }

  /* A-Z Categories 1 oszlop */
  .az-categories-grid {
    grid-template-columns: 1fr;
  }

  /* Search pills */
  .search-pills {
    gap: 8px;
  }

  .search-pill {
    padding: 8px 16px;
    font-size: 12px;
  }

  /* Page headers */
  .page-header h1 {
    font-size: 20px;
  }

  .video-details h1 {
    font-size: 18px;
  }

  /* Video actions teljes szélesség */
  .btn-action {
    flex: 1 1 100%;
  }

  /* Channel info */
  .channel-info-bar {
    flex-direction: column;
    text-align: center;
  }

  .btn-subscribe {
    width: 100%;
  }

  /* Pagination */
  .pagination {
    gap: 8px;
  }

  .page-link {
    padding: 10px 14px;
    font-size: 13px;
  }

  /* Related videos */
  .related-videos > h3 {
    font-size: 24px !important;
  }
}

/* ========================================
   404 ERROR PAGE - "OOPS! CONTENT NOT FOUND!" STYLE
======================================== */

.error-404-container {
  width: 100%;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 10px 10px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(255, 107, 107, 0.05));
}

.error-404-content {
  max-width: 600px;
  width: 100%;
  text-align: center;
}

/* Purple Home Icon */
.error-icon {
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-icon svg {
  filter: drop-shadow(0 4px 12px rgba(139, 92, 246, 0.3));
}

/* Error Title */
.error-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 10px;
  line-height: 1.3;
}

/* Error Description */
.error-description {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.error-description strong {
  color: var(--primary-color);
  font-weight: 700;
}

/* Go to Main Page Button */
.btn-main-page {
  display: inline-flex;
  align-items: center;
  /* gap: 10px; */
  padding: 10px 20px;
  background: #8b5cf6;
  color: var(--text-white);
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.btn-main-page:hover {
  background: #7c3aed;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.6);
}

.btn-main-page svg {
  flex-shrink: 0;
}

/* ===== MORE RELATED VIDEOS SECTION ===== */

.related-videos-section {
  /* margin: 60px 0 40px; */
  padding-top: 10px;
  border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.related-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 30px;
  text-align: left;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Video Grid (már létező stílus használata) */
.related-videos-section .video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin-bottom: 40px;
}

/* ===== RESPONSIVE - 404 ERROR PAGE ===== */

@media (max-width: 768px) {
  .error-404-container {
    padding: 60px 15px 40px;
    min-height: auto;
  }

  .error-icon svg {
    width: 60px;
    height: 60px;
  }

  .error-title {
    font-size: 26px;
  }

  .error-description {
    font-size: 15px;
  }

  .btn-main-page {
    padding: 14px 32px;
    font-size: 15px;
  }

  .related-title {
    font-size: 26px;
  }

  .related-videos-section .video-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .error-icon svg {
    width: 50px;
    height: 50px;
  }

  .error-title {
    font-size: 22px;
  }

  .error-description {
    font-size: 14px;
  }

  .btn-main-page {
    padding: 12px 28px;
    font-size: 14px;
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .related-title {
    font-size: 22px;
  }

  .related-videos-section .video-grid {
    grid-template-columns: 1fr;
}
}

/* Prevent long-press context menu on mobile */
.channel-thumb img,
.video-thumb img {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

@media (max-width: 1024px) {
  .video-content-wrapper {
    flex-direction: column;
  }

  .video-main {
    width: 100%;
  }

  .video-sidebar {
    width: 100%;
    position: static;
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .sidebar-banner {
    width: 300px;
    height: 250px;
    flex: 0 0 300px;
  }
}

@media (max-width: 768px) {
  .video-sidebar {
    justify-content: center;
  }

  .sidebar-banner {
    width: 300px;
    height: 250px;
    flex: 0 0 300px;
  }

  .video-sidebar .sidebar-banner:nth-child(2) {
    display: none;
  }
}

/* =========================================
   HÓESÉS CSAK A LOGÓN + KARÁCSONYFA
   ========================================= */

/* A LOGO kapja a hóanimációt */
header .logo {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 5px;
}

header .logo a {
  position: relative !important;
  display: inline-block !important;
  z-index: 100;
}

/* ELSŐ HÓRÉTEG - Szabálytalan esés */
header .logo::before {
  content: "";
  position: absolute;
  top: -30px;
  left: -15px;
  width: calc(100% + 60px);
  height: 120%;
  background-image: 
    radial-gradient(circle, white 0.8px, transparent 0.8px),
    radial-gradient(circle, rgba(255,255,255,0.9) 1px, transparent 1px),
    radial-gradient(circle, white 0.6px, transparent 0.6px),
    radial-gradient(circle, rgba(255,255,255,0.85) 0.9px, transparent 0.9px),
    radial-gradient(circle, white 0.7px, transparent 0.7px),
    radial-gradient(circle, rgba(255,255,255,0.95) 0.8px, transparent 0.8px),
    radial-gradient(circle, white 1px, transparent 1px),
    radial-gradient(circle, rgba(255,255,255,0.8) 0.9px, transparent 0.9px),
    radial-gradient(circle, white 0.6px, transparent 0.6px),
    radial-gradient(circle, rgba(255,255,255,0.9) 0.8px, transparent 0.8px);
  background-size: 
    25px 40px, 
    32px 50px, 
    20px 35px, 
    28px 45px,
    22px 38px,
    30px 48px,
    26px 42px,
    24px 39px,
    21px 36px,
    29px 46px;
  background-position: 
    0 0, 
    10px 5px, 
    18px 2px, 
    5px 12px,
    15px 8px,
    22px 15px,
    8px 18px,
    25px 4px,
    12px 20px,
    28px 10px;
  background-repeat: repeat;
  animation: snowfall-irregular 7s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
  opacity: 0.95;
}

/* MÁSODIK HÓRÉTEG - Más szabálytalan ritmus */
header .logo::after {
  content: "";
  position: absolute;
  top: -30px;
  left: -15px;
  width: calc(100% + 60px);
  height: 120%;
  background-image: 
    radial-gradient(circle, rgba(255,255,255,0.85) 1px, transparent 1px),
    radial-gradient(circle, rgba(255,255,255,0.7) 0.7px, transparent 0.7px),
    radial-gradient(circle, rgba(255,255,255,0.9) 0.9px, transparent 0.9px),
    radial-gradient(circle, rgba(255,255,255,0.75) 0.8px, transparent 0.8px),
    radial-gradient(circle, rgba(255,255,255,0.8) 0.6px, transparent 0.6px),
    radial-gradient(circle, rgba(255,255,255,0.85) 1px, transparent 1px),
    radial-gradient(circle, rgba(255,255,255,0.9) 0.8px, transparent 0.8px),
    radial-gradient(circle, rgba(255,255,255,0.75) 0.7px, transparent 0.7px);
  background-size: 
    30px 45px, 
    24px 40px, 
    28px 44px,
    22px 37px,
    26px 42px,
    31px 47px,
    23px 39px,
    27px 43px;
  background-position: 
    5px 3px, 
    16px 10px, 
    3px 15px,
    20px 7px,
    11px 18px,
    24px 12px,
    7px 20px,
    19px 5px;
  background-repeat: repeat;
  animation: snowfall-irregular 11s ease-in-out infinite;
  animation-delay: 2s;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}

/* SZABÁLYTALAN HÓESÉS - Gyorsul, lassul */
@keyframes snowfall-irregular {
  0% {
    transform: translateY(0);
    animation-timing-function: ease-out;
  }
  20% {
    transform: translateY(15%);
    animation-timing-function: ease-in;
  }
  40% {
    transform: translateY(35%);
    animation-timing-function: ease-out;
  }
  60% {
    transform: translateY(60%);
    animation-timing-function: ease-in-out;
  }
  80% {
    transform: translateY(85%);
    animation-timing-function: ease-in;
  }
  100% {
    transform: translateY(100%);
  }
}

/* KARÁCSONYFA - Külön elem */
.christmas-tree {
  position: relative;
  font-size: 32px;
  filter: drop-shadow(2px 3px 4px rgba(0,0,0,0.5));
  z-index: 101;
  transform-origin: bottom center;
  animation: tree-sway-strong 2s ease-in-out infinite;
  flex-shrink: 0;
}

.christmas-tree::before {
  content: "🎄";
}

/* FA LENGÉS */
@keyframes tree-sway-strong {
  0%, 100% {
    transform: rotate(-6deg);
  }
  50% {
    transform: rotate(6deg);
  }
}

/* MOBIL VERZIÓ */
@media (max-width: 768px) {
  header .logo::before {
    animation-duration: 9s;
    width: calc(100% + 50px);
  }
  
  header .logo::after {
    animation-duration: 13s;
    opacity: 0.75;
    width: calc(100% + 50px);
  }
  
  .christmas-tree {
    font-size: 26px;
  }
  
  @keyframes tree-sway-strong {
    0%, 100% {
      transform: rotate(-4deg);
    }
    50% {
      transform: rotate(4deg);
    }
  }
}

/* EXTRA KICSI MOBIL */
@media (max-width: 480px) {
  header .logo::before,
  header .logo::after {
    width: calc(100% + 40px);
  }
  
  .christmas-tree {
    font-size: 22px;
  }
}