/* UI Style 3 - Layout C */

body.ui-style-3 {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
}

.content-card {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.video-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 24px rgba(102, 126, 234, 0.4);
}

.video-link {
  position: relative;
  overflow: hidden;
}

.video-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}

.video-link:hover::before {
  left: 100%;
}

nav a {
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #667eea;
  transition: all 0.3s;
  transform: translateX(-50%);
}

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

.tag {
  transition: all 0.3s;
  cursor: default;
}

.tag:hover {
  background: #667eea;
  color: white;
  transform: translateY(-2px);
}

h1, h2, h3 {
  position: relative;
  padding-bottom: 10px;
}

h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #667eea, #764ba2);
}

.info-section {
  transition: all 0.3s;
}

.info-section:hover {
  border-left-color: #764ba2;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 10px;
  }

  nav ul {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: hidden;
  }

  nav a {
    flex: 1 1 auto;
    text-align: center;
    padding: 6px 4px;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .video-grid {
    gap: 15px;
  }
}

@media (max-width: 480px) {
  nav a {
    font-size: 12px;
    padding: 5px 3px;
  }

  .logo {
    font-size: 20px;
  }
}
