.page-header {
  margin-bottom: var(--space-6);
  padding-top: calc(var(--header-height) + var(--space-8));
  text-align: center;
}

.videos-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
  padding: var(--space-6) 0;
  padding-bottom: var(--space-10);
  width: 100%;
}

.video-entry {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration-fast);
  cursor: pointer;
}

[data-theme="light"] .video-entry {
  background: rgba(0, 0, 0, 0.01);
}

.video-entry:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .video-entry:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.video-entry-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-5);
}

.video-play-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  border-radius: 50%;
  flex-shrink: 0;
  transition: all var(--duration-fast);
}

.video-entry:hover .video-play-icon {
  transform: scale(1.1);
}

.video-play-icon svg {
  width: 18px;
  height: 18px;
  color: #fff;
  margin-left: 2px;
}

.video-entry-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
}

.video-modal.active {
  display: flex;
}

.video-modal-content {
  position: relative;
  width: 100%;
  max-width: 900px;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.video-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--duration-fast);
}

.video-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.video-modal-close svg {
  width: 20px;
  height: 20px;
  color: #fff;
}

.video-modal-video {
  width: 100%;
  display: block;
}

.video-modal-video video {
  width: 100%;
  height: auto;
  max-height: 70vh;
}

.video-modal-video iframe {
  width: 100%;
  height: 500px;
  border: none;
}

@media (max-width: 768px) {
  .videos-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .video-entry-header {
    padding: var(--space-4);
  }

  .video-play-icon {
    width: 36px;
    height: 36px;
  }

  .video-play-icon svg {
    width: 16px;
    height: 16px;
  }

  .video-entry-title {
    font-size: 14px;
  }

  .video-modal-content {
    max-width: 100%;
  }

  .video-modal-video iframe {
    height: 280px;
  }
}